Adwaita: set scrollbar style props in a general wildcard
trying to make webkit happy.
This commit is contained in:
@ -1834,6 +1834,7 @@ notebook {
|
||||
**************/
|
||||
|
||||
scrollbar {
|
||||
@at-root * {
|
||||
-GtkRange-slider-width: 13;
|
||||
-GtkRange-trough-border: 0;
|
||||
-GtkScrollbar-has-backward-stepper: false;
|
||||
@ -1843,6 +1844,7 @@ scrollbar {
|
||||
// where it belongs
|
||||
-GtkRange-stepper-spacing: 0;
|
||||
-GtkRange-trough-under-steppers: 1;
|
||||
}
|
||||
|
||||
$_slider_margin: 3px;
|
||||
$_slider_fine_tune_margin: 4px;
|
||||
|
||||
@ -2458,7 +2458,7 @@ notebook {
|
||||
/**************
|
||||
* Scrollbars *
|
||||
**************/
|
||||
scrollbar {
|
||||
* {
|
||||
-GtkRange-slider-width: 13;
|
||||
-GtkRange-trough-border: 0;
|
||||
-GtkScrollbar-has-backward-stepper: false;
|
||||
@ -2466,11 +2466,11 @@ scrollbar {
|
||||
-GtkScrollbar-min-slider-length: 42;
|
||||
-GtkRange-stepper-spacing: 0;
|
||||
-GtkRange-trough-under-steppers: 1; }
|
||||
scrollbar button, scrollbar headerbar button.titlebutton, headerbar scrollbar button.titlebutton,
|
||||
scrollbar .titlebar button.titlebutton,
|
||||
.titlebar scrollbar button.titlebutton {
|
||||
scrollbar button, scrollbar headerbar button.titlebutton, headerbar scrollbar button.titlebutton,
|
||||
scrollbar .titlebar button.titlebutton,
|
||||
.titlebar scrollbar button.titlebutton {
|
||||
border: none; }
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
|
||||
opacity: 0.4;
|
||||
-GtkRange-slider-width: 5px; }
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
|
||||
@ -2487,15 +2487,15 @@ scrollbar {
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
|
||||
margin-left: 2px;
|
||||
margin-right: 2px; }
|
||||
scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
|
||||
scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
|
||||
opacity: 0.7; }
|
||||
scrollbar trough {
|
||||
scrollbar trough {
|
||||
background-color: #282c2c;
|
||||
border: 1px none #1c1f1f; }
|
||||
scrollbar trough:backdrop {
|
||||
background-color: #323737;
|
||||
border-color: #1f2222; }
|
||||
scrollbar slider {
|
||||
scrollbar slider {
|
||||
background-color: #a6a8a7; }
|
||||
scrollbar slider:hover {
|
||||
background-color: #cacbc9; }
|
||||
@ -2505,31 +2505,31 @@ scrollbar {
|
||||
background-color: #5d6262; }
|
||||
scrollbar slider:insensitive {
|
||||
background-color: transparent; }
|
||||
scrollbar slider {
|
||||
scrollbar slider {
|
||||
border-radius: 100px;
|
||||
margin: 3px; }
|
||||
scrollbar.fine-tune slider {
|
||||
scrollbar.fine-tune slider {
|
||||
margin: 4px; }
|
||||
scrollbar.vertical slider {
|
||||
scrollbar.vertical slider {
|
||||
margin-left: 4px; }
|
||||
scrollbar.vertical slider:dir(rtl) {
|
||||
margin-left: 3px;
|
||||
margin-right: 4px; }
|
||||
scrollbar.vertical.fine-tune slider {
|
||||
scrollbar.vertical.fine-tune slider {
|
||||
margin-left: 5px; }
|
||||
scrollbar.vertical.fine-tune slider:dir(rtl) {
|
||||
margin-left: 4px;
|
||||
margin-right: 5px; }
|
||||
scrollbar.vertical trough {
|
||||
scrollbar.vertical trough {
|
||||
border-left-style: solid; }
|
||||
scrollbar.vertical trough:dir(rtl) {
|
||||
border-left-style: none;
|
||||
border-right-style: solid; }
|
||||
scrollbar.horizontal slider {
|
||||
scrollbar.horizontal slider {
|
||||
margin-top: 4px; }
|
||||
scrollbar.horizontal.fine-tune slider {
|
||||
scrollbar.horizontal.fine-tune slider {
|
||||
margin-top: 5px; }
|
||||
scrollbar.horizontal trough {
|
||||
scrollbar.horizontal trough {
|
||||
border-top-style: solid; }
|
||||
|
||||
/**********
|
||||
|
||||
@ -2464,7 +2464,7 @@ notebook {
|
||||
/**************
|
||||
* Scrollbars *
|
||||
**************/
|
||||
scrollbar {
|
||||
* {
|
||||
-GtkRange-slider-width: 13;
|
||||
-GtkRange-trough-border: 0;
|
||||
-GtkScrollbar-has-backward-stepper: false;
|
||||
@ -2472,11 +2472,11 @@ scrollbar {
|
||||
-GtkScrollbar-min-slider-length: 42;
|
||||
-GtkRange-stepper-spacing: 0;
|
||||
-GtkRange-trough-under-steppers: 1; }
|
||||
scrollbar button, scrollbar headerbar button.titlebutton, headerbar scrollbar button.titlebutton,
|
||||
scrollbar .titlebar button.titlebutton,
|
||||
.titlebar scrollbar button.titlebutton {
|
||||
scrollbar button, scrollbar headerbar button.titlebutton, headerbar scrollbar button.titlebutton,
|
||||
scrollbar .titlebar button.titlebutton,
|
||||
.titlebar scrollbar button.titlebutton {
|
||||
border: none; }
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
|
||||
opacity: 0.4;
|
||||
-GtkRange-slider-width: 5px; }
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
|
||||
@ -2493,15 +2493,15 @@ scrollbar {
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
|
||||
margin-left: 2px;
|
||||
margin-right: 2px; }
|
||||
scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
|
||||
scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
|
||||
opacity: 0.7; }
|
||||
scrollbar trough {
|
||||
scrollbar trough {
|
||||
background-color: #d7d7d5;
|
||||
border: 1px none #9d9d99; }
|
||||
scrollbar trough:backdrop {
|
||||
background-color: #e1e1df;
|
||||
border-color: #a5a5a1; }
|
||||
scrollbar slider {
|
||||
scrollbar slider {
|
||||
background-color: #787c7d; }
|
||||
scrollbar slider:hover {
|
||||
background-color: #535859; }
|
||||
@ -2511,31 +2511,31 @@ scrollbar {
|
||||
background-color: #c3c4c4; }
|
||||
scrollbar slider:insensitive {
|
||||
background-color: transparent; }
|
||||
scrollbar slider {
|
||||
scrollbar slider {
|
||||
border-radius: 100px;
|
||||
margin: 3px; }
|
||||
scrollbar.fine-tune slider {
|
||||
scrollbar.fine-tune slider {
|
||||
margin: 4px; }
|
||||
scrollbar.vertical slider {
|
||||
scrollbar.vertical slider {
|
||||
margin-left: 4px; }
|
||||
scrollbar.vertical slider:dir(rtl) {
|
||||
margin-left: 3px;
|
||||
margin-right: 4px; }
|
||||
scrollbar.vertical.fine-tune slider {
|
||||
scrollbar.vertical.fine-tune slider {
|
||||
margin-left: 5px; }
|
||||
scrollbar.vertical.fine-tune slider:dir(rtl) {
|
||||
margin-left: 4px;
|
||||
margin-right: 5px; }
|
||||
scrollbar.vertical trough {
|
||||
scrollbar.vertical trough {
|
||||
border-left-style: solid; }
|
||||
scrollbar.vertical trough:dir(rtl) {
|
||||
border-left-style: none;
|
||||
border-right-style: solid; }
|
||||
scrollbar.horizontal slider {
|
||||
scrollbar.horizontal slider {
|
||||
margin-top: 4px; }
|
||||
scrollbar.horizontal.fine-tune slider {
|
||||
scrollbar.horizontal.fine-tune slider {
|
||||
margin-top: 5px; }
|
||||
scrollbar.horizontal trough {
|
||||
scrollbar.horizontal trough {
|
||||
border-top-style: solid; }
|
||||
|
||||
/**********
|
||||
|
||||
Reference in New Issue
Block a user