Adwaita: scale popup quick fix

This commit is contained in:
Lapo Calamandrei 2015-06-18 12:33:04 +02:00
parent 58813a0db1
commit 5e616e0298
3 changed files with 36 additions and 13 deletions

View File

@ -3187,16 +3187,27 @@ GtkColorSwatch {
* Misc *
********/
.scale-popup .button { // +/- buttons on GtkVolumeButton popup
padding: 6px;
&:hover {
@extend %undecorated_button;
background-color: transparentize($fg_color,0.9);
border-radius: 5px;
.scale-popup {
.osd & { @extend %osd; }
.osd & .button.flat { //FIXME: quick hack, redo properly
padding: 6px;
border-style: none;
border-radius: 5px;
}
.button { // +/- buttons on GtkVolumeButton popup
padding: 6px;
&:hover {
@extend %undecorated_button;
background-color: transparentize($fg_color,0.9);
border-radius: 5px;
}
&:backdrop,
&:backdrop:hover,
&:backdrop:insensitive { @extend %undecorated_button; }
}
&:backdrop,
&:backdrop:hover,
&:backdrop:insensitive { @extend %undecorated_button; }
}
GtkVolumeButton.button { padding: 8px; }

View File

@ -120,7 +120,7 @@ GtkTextView {
outline-offset: -2px; }
.popover.osd, .app-notification,
.app-notification.frame, .osd {
.app-notification.frame, .osd .scale-popup, .osd {
color: #eeeeec;
border: none;
background-color: rgba(32, 37, 38, 0.7);
@ -129,7 +129,7 @@ GtkTextView {
box-shadow: none;
text-shadow: 0 1px black;
icon-shadow: 0 1px black; }
.popover.osd:backdrop, .app-notification:backdrop, .osd:backdrop {
.popover.osd:backdrop, .app-notification:backdrop, .osd .scale-popup:backdrop, .osd:backdrop {
text-shadow: none; }
/*********************
@ -4274,6 +4274,12 @@ GtkColorSwatch {
/********
* Misc *
********/
.osd .scale-popup .button.flat, .osd .scale-popup .sidebar-button.button, .osd .scale-popup .header-bar .titlebutton.button, .header-bar .osd .scale-popup .titlebutton.button,
.osd .scale-popup .titlebar .titlebutton.button,
.titlebar .osd .scale-popup .titlebutton.button {
padding: 6px;
border-style: none;
border-radius: 5px; }
.scale-popup .button, .scale-popup .header-bar .button.titlebutton, .header-bar .scale-popup .button.titlebutton,
.scale-popup .titlebar .button.titlebutton,
.titlebar .scale-popup .button.titlebutton {

View File

@ -120,7 +120,7 @@ GtkTextView {
outline-offset: -2px; }
.popover.osd, .app-notification,
.app-notification.frame, .osd {
.app-notification.frame, .osd .scale-popup, .osd {
color: #eeeeec;
border: none;
background-color: rgba(32, 37, 38, 0.7);
@ -129,7 +129,7 @@ GtkTextView {
box-shadow: none;
text-shadow: 0 1px black;
icon-shadow: 0 1px black; }
.popover.osd:backdrop, .app-notification:backdrop, .osd:backdrop {
.popover.osd:backdrop, .app-notification:backdrop, .osd .scale-popup:backdrop, .osd:backdrop {
text-shadow: none; }
/*********************
@ -4446,6 +4446,12 @@ GtkColorSwatch {
/********
* Misc *
********/
.osd .scale-popup .button.flat, .osd .scale-popup .sidebar-button.button, .osd .scale-popup .header-bar .titlebutton.button, .header-bar .osd .scale-popup .titlebutton.button,
.osd .scale-popup .titlebar .titlebutton.button,
.titlebar .osd .scale-popup .titlebutton.button {
padding: 6px;
border-style: none;
border-radius: 5px; }
.scale-popup .button, .scale-popup .header-bar .button.titlebutton, .header-bar .scale-popup .button.titlebutton,
.scale-popup .titlebar .button.titlebutton,
.titlebar .scale-popup .button.titlebutton {