Adwaita: popover style fixes

This commit is contained in:
Lapo Calamandrei 2016-01-12 01:03:47 +01:00
parent 21a2fce8ba
commit 1c3bad3d90
4 changed files with 11 additions and 32 deletions

View File

@ -34,6 +34,7 @@ $osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 50%);
$osd_borders_color: transparentize(black, 0.3);
$sidebar_bg_color: mix($bg_color, $base_color, 50%);
$base_hover_color: transparentize($fg_color, 0.95);
$tooltip_borders_color: transparentize(white, 0.9);

View File

@ -791,7 +791,7 @@ modelbutton.flat,
outline-offset: -2px;
@extend %undecorated_button;
&:hover { background-color: mix($fg_color, $bg_color, 10%); }
&:hover { background-color: $base_hover_color; } // FIXME
&:selected { @extend %selected_items; }
@ -903,7 +903,7 @@ spinbutton {
&:hover {
color: $fg_color;
background-color: transparentize($fg_color, 0.95);
background-color: $base_hover_color;
}
&:disabled { color: transparentize($insensitive_fg_color, 0.7); }
@ -1752,12 +1752,6 @@ popover.background {
background-color: transparent;
}
button.flat,
button.flat:hover {
text-shadow: none;
transition: none;
}
&, .csd & {
&.touch-selection,
&.magnifier {
@ -1769,6 +1763,8 @@ popover.background {
&.osd { @extend %osd; }
}
separator { margin: 3px; }
list separator { margin: 0px; }
}

View File

@ -1223,7 +1223,7 @@ modelbutton.flat,
outline-offset: -2px; }
modelbutton.flat:hover,
.menuitem.button.flat:hover {
background-color: #4b5150; }
background-color: rgba(238, 238, 236, 0.05); }
modelbutton.flat check:last-child,
modelbutton.flat radio:last-child,
.menuitem.button.flat check:last-child,
@ -2240,19 +2240,10 @@ popover.background {
popover.background > .location-bar {
border-style: none;
background-color: transparent; }
popover.background button.flat, popover.background button.sidebar-button, popover.background headerbar button.titlebutton, headerbar popover.background button.titlebutton,
popover.background .titlebar button.titlebutton,
.titlebar popover.background button.titlebutton,
popover.background button.flat:hover,
popover.background button.sidebar-button:hover,
popover.background headerbar button.titlebutton:hover,
headerbar popover.background button.titlebutton:hover,
popover.background .titlebar button.titlebutton:hover,
.titlebar popover.background button.titlebutton:hover {
text-shadow: none;
transition: none; }
popover.background.touch-selection, popover.background.magnifier, .csd popover.background.touch-selection, .csd popover.background.magnifier {
border: 1px solid rgba(255, 255, 255, 0.1); }
popover.background separator {
margin: 3px; }
popover.background list separator {
margin: 0px; }

View File

@ -1223,7 +1223,7 @@ modelbutton.flat,
outline-offset: -2px; }
modelbutton.flat:hover,
.menuitem.button.flat:hover {
background-color: #d5d6d5; }
background-color: rgba(46, 52, 54, 0.05); }
modelbutton.flat check:last-child,
modelbutton.flat radio:last-child,
.menuitem.button.flat check:last-child,
@ -2250,19 +2250,10 @@ popover.background {
popover.background > .location-bar {
border-style: none;
background-color: transparent; }
popover.background button.flat, popover.background button.sidebar-button, popover.background headerbar button.titlebutton, headerbar popover.background button.titlebutton,
popover.background .titlebar button.titlebutton,
.titlebar popover.background button.titlebutton,
popover.background button.flat:hover,
popover.background button.sidebar-button:hover,
popover.background headerbar button.titlebutton:hover,
headerbar popover.background button.titlebutton:hover,
popover.background .titlebar button.titlebutton:hover,
.titlebar popover.background button.titlebutton:hover {
text-shadow: none;
transition: none; }
popover.background.touch-selection, popover.background.magnifier, .csd popover.background.touch-selection, .csd popover.background.magnifier {
border: 1px solid rgba(255, 255, 255, 0.1); }
popover.background separator {
margin: 3px; }
popover.background list separator {
margin: 0px; }