Adwaita: .scrollbars-junction

This commit is contained in:
Lapo Calamandrei 2014-06-18 09:52:29 +02:00
parent 6432dd0234
commit 1566a5d9dd
3 changed files with 17 additions and 14 deletions

View File

@ -1024,12 +1024,7 @@ GtkPopover {
.button { .button {
border: none; border: none;
} }
&.trough { &.trough { @extend .scrollbars-junction; }
background-color: darken($bg_color, 5%);
&:backdrop {
background-color: transparent;
}
}
&.slider { &.slider {
border-radius: 20px; border-radius: 20px;
border: 3px solid transparent; //margin :/ border: 3px solid transparent; //margin :/
@ -1052,6 +1047,12 @@ GtkPopover {
} }
} }
.scrollbars-junction { // the small square between two scrollbars
background-color: darken($bg_color, 5%);
&:backdrop { background-color: transparent; }
}
/********** /**********
* Switch * * Switch *
**********/ **********/

View File

@ -1155,10 +1155,6 @@ GtkPopover {
-GtkRange-trough-under-steppers: 1; } -GtkRange-trough-under-steppers: 1; }
.scrollbar .button { .scrollbar .button {
border: none; } border: none; }
.scrollbar.trough {
background-color: #2d3232; }
.scrollbar.trough:backdrop {
background-color: transparent; }
.scrollbar.slider { .scrollbar.slider {
border-radius: 20px; border-radius: 20px;
border: 3px solid transparent; border: 3px solid transparent;
@ -1174,6 +1170,11 @@ GtkPopover {
.scrollbar.slider.fine-tune:prelight:active { .scrollbar.slider.fine-tune:prelight:active {
background-color: #215d9c; } background-color: #215d9c; }
.scrollbars-junction, .scrollbar.trough {
background-color: #2d3232; }
.scrollbars-junction:backdrop, .scrollbar.trough:backdrop {
background-color: transparent; }
/********** /**********
* Switch * * Switch *
**********/ **********/

View File

@ -1155,10 +1155,6 @@ GtkPopover {
-GtkRange-trough-under-steppers: 1; } -GtkRange-trough-under-steppers: 1; }
.scrollbar .button { .scrollbar .button {
border: none; } border: none; }
.scrollbar.trough {
background-color: #e0e0e0; }
.scrollbar.trough:backdrop {
background-color: transparent; }
.scrollbar.slider { .scrollbar.slider {
border-radius: 20px; border-radius: 20px;
border: 3px solid transparent; border: 3px solid transparent;
@ -1174,6 +1170,11 @@ GtkPopover {
.scrollbar.slider.fine-tune:prelight:active { .scrollbar.slider.fine-tune:prelight:active {
background-color: #4a90d9; } background-color: #4a90d9; }
.scrollbars-junction, .scrollbar.trough {
background-color: #e0e0e0; }
.scrollbars-junction:backdrop, .scrollbar.trough:backdrop {
background-color: transparent; }
/********** /**********
* Switch * * Switch *
**********/ **********/