Adwaita: fix scale popup button size

This commit is contained in:
Lapo Calamandrei 2016-02-14 14:21:01 +01:00
parent ea423318f1
commit 72db203672
3 changed files with 11 additions and 20 deletions

View File

@ -3568,17 +3568,14 @@ colorswatch {
.scale-popup { .scale-popup {
.osd & { @extend %osd; } .osd & { @extend %osd; }
.osd & button.flat { //FIXME: quick hack, redo properly .osd & button.flat { //FIXME: quick hack, redo properly
padding: 6px; border-style: none;
border-style: none; border-radius: 5px;
border-radius: 5px; }
}
button { // +/- buttons on GtkVolumeButton popup button { // +/- buttons on GtkVolumeButton popup
padding: 6px;
&:hover { &:hover {
@extend %undecorated_button; @extend %undecorated_button;
background-color: transparentize($fg_color,0.9); background-color: transparentize($fg_color,0.9);

View File

@ -4288,14 +4288,11 @@ colorswatch#editor-color-sample {
.osd .scale-popup button.flat, .osd .scale-popup notebook > header > tabs > arrow, .osd .scale-popup button.sidebar-button, .osd .scale-popup headerbar button.titlebutton, headerbar .osd .scale-popup button.titlebutton, .osd .scale-popup button.flat, .osd .scale-popup notebook > header > tabs > arrow, .osd .scale-popup button.sidebar-button, .osd .scale-popup headerbar button.titlebutton, headerbar .osd .scale-popup button.titlebutton,
.osd .scale-popup .titlebar button.titlebutton, .osd .scale-popup .titlebar button.titlebutton,
.titlebar .osd .scale-popup button.titlebutton { .titlebar .osd .scale-popup button.titlebutton {
padding: 6px;
border-style: none; border-style: none;
border-radius: 5px; } border-radius: 5px; }
.scale-popup button { .scale-popup button:hover {
padding: 6px; } background-color: rgba(238, 238, 236, 0.1);
.scale-popup button:hover { border-radius: 5px; }
background-color: rgba(238, 238, 236, 0.1);
border-radius: 5px; }
/********************** /**********************
* Window Decorations * * Window Decorations *

View File

@ -4429,14 +4429,11 @@ colorswatch#editor-color-sample {
.osd .scale-popup button.flat, .osd .scale-popup notebook > header > tabs > arrow, .osd .scale-popup button.sidebar-button, .osd .scale-popup headerbar button.titlebutton, headerbar .osd .scale-popup button.titlebutton, .osd .scale-popup button.flat, .osd .scale-popup notebook > header > tabs > arrow, .osd .scale-popup button.sidebar-button, .osd .scale-popup headerbar button.titlebutton, headerbar .osd .scale-popup button.titlebutton,
.osd .scale-popup .titlebar button.titlebutton, .osd .scale-popup .titlebar button.titlebutton,
.titlebar .osd .scale-popup button.titlebutton { .titlebar .osd .scale-popup button.titlebutton {
padding: 6px;
border-style: none; border-style: none;
border-radius: 5px; } border-radius: 5px; }
.scale-popup button { .scale-popup button:hover {
padding: 6px; } background-color: rgba(46, 52, 54, 0.1);
.scale-popup button:hover { border-radius: 5px; }
background-color: rgba(46, 52, 54, 0.1);
border-radius: 5px; }
/********************** /**********************
* Window Decorations * * Window Decorations *