Adwaita: first stab at GtkScale and GtkProgressBar rewrite

...scale has marks stuff missing, coming soon.
This commit is contained in:
Lapo Calamandrei 2015-12-02 21:03:03 +01:00
parent 3ed71cf4a7
commit a291003ad4
4 changed files with 403 additions and 1094 deletions

View File

@ -15,6 +15,7 @@ $borders_edge: if($variant == 'light', white, transparentize($fg_color, 0.9));
$link_color: if($variant == 'light', darken($selected_bg_color,10%), lighten($selected_bg_color,20%)); $link_color: if($variant == 'light', darken($selected_bg_color,10%), lighten($selected_bg_color,20%));
$link_visited_color: if($variant == 'light', darken($selected_bg_color,20%), lighten($selected_bg_color,10%)); $link_visited_color: if($variant == 'light', darken($selected_bg_color,20%), lighten($selected_bg_color,10%));
$top_hilight: $borders_edge; $top_hilight: $borders_edge;
$dark_fill: mix($borders_color, $bg_color, 35%);
$scrollbar_bg_color: darken($bg_color, 7%); $scrollbar_bg_color: darken($bg_color, 7%);

View File

@ -2123,263 +2123,157 @@ checkbutton.text-button, radiobutton.text-button {
/************ /************
* GtkScale * * GtkScale *
************/ ************/
scale { scale {
// FIXME: rationalize // FIXME: rationalize
-GtkScale-slider-length: 20; -GtkScale-slider-length: 20;
-GtkRange-slider-width: 24; -GtkRange-slider-width: 24;
-GtkRange-trough-border: 2; -GtkRange-trough-border: 2;
outline-offset: -9px; outline-offset: -9px;
outline-radius: 4px; outline-radius: 6px;
&.fine-tune { &.fine-tune {
outline-offset: -7px; outline-offset: -7px;
outline-radius: 6px; outline-radius: 8px;
& highlight,
& fill, trough,
& trough { fill,
border-radius: 4px; highlight {
&:not(:first-child):not(:last-child),
&:only-child {
margin: 10px; margin: 10px;
} border-radius: 4px;
}
}
& trough,
& fill,
& highlight {
&:not(:first-child):not(:last-child),
&:only-child {
margin: 12px;
} }
} }
& trough:not(:first-child):not(:last-child), trough,
& trough:only-child { fill,
& slider { margin: 2px 0; } highlight { margin: 12px; }
}
&.vertical trough:not(:first-child):not(:last-child), &:not(.vertical) slider { margin: 2px 0; }
&.vertical trough:only-child {
& slider { margin: 0 2px; } &.vertical slider { margin: 0 2px; }
}
trough { @extend %trough; }
highlight { @extend %highlight; }
slider {
// FIXME: scale-has-marks-* missing
$_slider_edge_color: transparentize(black, 0.9);
@include button(normal, $edge: $_slider_edge_color);
border: 1px solid darken($borders_color, 3%);
border-radius: 100%;
&:hover { @include button(hover, $edge: $_slider_edge_color); }
&:active { border-color: $selected_borders_color; }
&:insensitive { @include button (insensitive); }
& trough {
border: 1px solid $borders_color;
border-radius: 3px;
background-color: mix($bg_color, $borders_color, 60%);
box-shadow: inset 1px 1px transparentize(black, 0.9),
_widget_edge();
& slider {
//FIXME: better gradient on the slider and hover state
@include button(normal);
border: 1px solid;
border-radius: 50%;
border-color: darken($borders_color,3%);
box-shadow: inset 0 1px if($variant=='light', white,
transparentize(white,0.85)),
inset 0 #{-2px} $bg_color,
inset 0 #{-1px} mix($bg_color, $borders_color, 50%);
&:hover {
@include button(hover);
border-color: darken($borders_color,3%);
border-radius: 50%; // needed for double marks scales
box-shadow: inset 0 1px if($variant=='light', white,
transparentize(white, 0.85)),
inset 0 #{-2px} if($variant=='light', white,
transparentize(white, 0.86)),
inset 0 #{-1px} mix($bg_color, $borders_color, 70%);
}
&:insensitive {
border-style: solid; // needed for double marks scales or they'll get
border-radius: 50%; // overridden
background-image: linear-gradient(to bottom, $insensitive_bg_color);
box-shadow: none;
}
&:backdrop { &:backdrop {
border-style: solid; // needed for double marks scales or they'll get @include button(backdrop);
border-radius: 50%; // overridden &:insensitive { @include button(backdrop-insensitive); }
border-color: darken($backdrop_borders_color,3%);
background-image: linear-gradient(to bottom, $backdrop_bg_color);
box-shadow: none;
} }
&:backdrop:insensitive {
@include button(backdrop-insensitive); // OSD
}
&:active {
@include button(active);
border: 1px solid if($variant=='light',darken($selected_borders_color,3%),
darken($selected_bg_color,15%));
}
//OSD sliders
.osd & { .osd & {
@include button(osd); @include button(osd);
background-color: opacify($osd_bg_color, 1); border-color: darken($osd_borders_color, 3%);
background-color: opacify($osd_bg_color, 1); // solid background needed here
&:hover { @include button(osd-hover); } &:hover { @include button(osd-hover); }
&:active { @include button(osd-active); } &:active { @include button(osd-active); }
&:backdrop { @include button(osd-backdrop); }
&:insensitive { @include button(osd-insensitive); }
&:backdrop {
@include button(osd-backdrop);
&:insensitive { @include button(osd-backdrop-insensitive); }
} }
} }
& highlight { }
@include progressbar_fill; }
%trough {
border: 1px solid $borders_color; border: 1px solid $borders_color;
border-radius: 3px; border-radius: 3px;
background-color: $dark_fill;
box-shadow: inset 1px 1px transparentize(black, 0.9),
_widget_edge();
&:insensitive {
background-color: $insensitive_bg_color;
box-shadow: _widget_edge(); box-shadow: _widget_edge();
&.vertical { @include progressbar_fill(vertical); } }
&:backdrop {
background-color: $backdrop_dark_fill;
border-color: $backdrop_borders_color;
box-shadow: none;
&:insensitive { background-color: $insensitive_bg_color; }
}
// OSD
.osd & {
border-color: $osd_borders_color;
background-color: transparentize($osd_borders_color, 0.2);
box-shadow: none;
outline-color: transparentize($osd_fg_color, 0.8);
&:insensitive { background-color: $osd_insensitive_bg_color; }
}
}
%highlight {
border: 1px solid $selected_borders_color;
border-radius: 3px;
background-color: $selected_bg_color;
&:insensitive {
background-color: transparent;
border-color: transparent;
}
&:backdrop { &:backdrop {
border-color: if($variant=='light', $selected_bg_color, border-color: if($variant=='light', $selected_bg_color,
$selected_borders_color); $selected_borders_color);
background-color: $selected_bg_color; &:insensitive {
box-shadow: none; background-color: transparent;
border-color: transparent;
} }
} }
& fill {
background: none;
background-color: red;
border: 1px solid $borders_color;
border-radius: 3px;
box-shadow: _widget_edge();
}
&:insensitive, &.vertical:insensitive {
border-color: $insensitive_borders_color;
background-image: none;
background-color: $insensitive_bg_color;
box-shadow: _widget_edge();
}
&:backdrop {
border-color: $backdrop_borders_color;
background-color: mix($backdrop_bg_color, $borders_color, 50%);
box-shadow: none;
}
&:backdrop:insensitive, .highlight:backdrop:insensitive {
border-color: $backdrop_borders_color;
background-color: $insensitive_bg_color;
}
//OSD troughs // OSD
.osd & { .osd & {
border-color: $osd_borders_color; border-color: $osd_borders_color;
box-shadow: none; &:insensitive { border-color: transparent; }
margin: 9px;
&.fine-tune { margin: 7px; }
background-color: transparentize($osd_borders_color, 0.2);
outline-color: transparentize($osd_fg_color, 0.8);
outline-offset: -8px;
&.highlight {
background-image: none;
background-color: $selected_bg_color;
}
&:insensitive, &:backdrop:insensitive {
border-color: transparent;
background-color: transparent;
}
&:backdrop {
border-color: $osd_borders_color;
background-image: none;
}
}
}
// scales on selected list rows
row:selected & {
border-color: $selected_borders_color;
box-shadow: inset 1px 1px transparentize(black, 0.9);
&:backdrop { box-shadow: none; }
&.highlight:backdrop { border-color: $selected_borders_color; }
&:insensitive,
&.highlight:insensitive {
border-color: $selected_bg_color;
box-shadow: none;
background-color: mix($selected_fg_color, $selected_bg_color, 50%);
background-image: none;
&:backdrop { background-color: mix($backdrop_selected_fg_color, $selected_bg_color, 50%); }
}
} }
} }
scale marks {
color: gtkalpha(currentColor, 0.5); // marks color
}
@each $d,$dn in ('', 'horz'),
('.vertical', 'vert') {
@each $ws,$w,$we in (':first-child:not(:last-child)','scale-has-marks-below','scale_marks_below'),
(':not(:first-child):last-child','scale-has-marks-above','scale_marks_above') {
scale#{$d} {
&.fine-tune trough#{$ws} { @extend %#{$we}_#{$dn}_ft; }
& trough#{$ws} {
@extend %#{$we}_#{$dn};
@each $s,$as in ('',''),
(':hover','-hover'),
(':active','-active'),
(':insensitive','-insensitive'),
(':backdrop','-backdrop'),
(':backdrop:insensitive','-backdrop-insensitive') {
& slider#{$s} {
$_url: 'assets/slider-#{$dn}-#{$w}#{$as}#{$asset_suffix}';
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url('#{$_url}.png'),
url('#{$_url}@2.png'));
background-repeat: no-repeat;
background-position: center;
box-shadow: none;
}
}
}
}
}
}
%scale_marks_above_horz { margin: 14px 10px 10px 10px; }
%scale_marks_below_horz { margin: 10px 10px 14px 10px; }
%scale_marks_above_vert { margin: 10px 10px 10px 14px; }
%scale_marks_below_vert { margin: 10px 14px 10px 10px; }
%scale_marks_above_horz_ft { margin: 12px 8px 8px 8px; }
%scale_marks_below_horz_ft { margin: 8px 8px 12px 8px; }
%scale_marks_above_vert_ft { margin: 8px 8px 8px 12px; }
%scale_marks_below_vert_ft { margin: 8px 12px 8px 8px; }
/***************** /*****************
* Progress bars * * Progress bars *
*****************/ *****************/
progressbar { progressbar {
// FIXME: insensitive state missing
padding: 0; padding: 0;
font-size: smaller; font-size: smaller;
color: transparentize($fg_color, 0.6); color: transparentize($fg_color, 0.6);
box-shadow: inset 1px 1px transparentize(black, 0.9), // needs to be set
_widget_edge(); // here ot it gets
// clipped
&:backdrop { box-shadow: _widget_edge(); // needs to be set here;
color: $backdrop_insensitive_color; &:backdrop { box-shadow: none; }
}
&.osd {
-GtkProgressBar-min-horizontal-bar-height: 3;
trough {
border-style: none;
background-color: transparent;
box-shadow: none;
}
}
trough {
border: 1px solid $borders_color;
border-radius: 3px;
background-color: mix($borders_color, $bg_color, 35%);
&:backdrop {
border-color: $backdrop_borders_color;
background-color: $backdrop_dark_fill;
box-shadow: 0 1px transparentize(white,1);
}
}
}
progressbar.horizontal progress { trough {
@include progressbar_fill; @extend %trough;
border: 1px solid $selected_borders_color; }
&:backdrop trough { @extend %trough:backdrop; } // looks like states are not passed to the trough component here
progress {
@extend %highlight;
border-radius: 1.5px; border-radius: 1.5px;
box-shadow: none; //needed for clipping
&.left { &.left {
border-top-left-radius: 3px; border-top-left-radius: 3px;
border-bottom-left-radius: 3px; border-bottom-left-radius: 3px;
@ -2388,40 +2282,18 @@ progressbar.horizontal progress {
border-top-right-radius: 3px; border-top-right-radius: 3px;
border-bottom-right-radius: 3px; border-bottom-right-radius: 3px;
} }
&.left.right {
box-shadow: none;
}
}
progressbar.vertical progress {
@include progressbar_fill(vertical);
border: 1px solid $selected_borders_color;
border-radius: 1.5px;
box-shadow: none; //needed for clipping
&.bottom {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
box-shadow: none;
}
&.top { &.top {
border-top-left-radius: 3px;
border-top-right-radius: 3px; border-top-right-radius: 3px;
border-top-left-radius: 3px;
} }
&:backdrop { &.bottom {
border-color: if($variant=='light', $selected_bg_color, border-bottom-right-radius: 3px;
$selected_borders_color); border-bottom-left-radius: 3px;
background-image: none;
background-color: $selected_bg_color;
box-shadow: none;
} }
&.osd {
background-image: none;
background-color: $selected_bg_color;
border-style: none;
border-radius: 0;
} }
}
&:backdrop progress { @extend %highlight:backdrop; } // states not passed here as well
}
/************* /*************
* Level Bar * * Level Bar *

View File

@ -2913,78 +2913,69 @@ scale {
-GtkRange-slider-width: 24; -GtkRange-slider-width: 24;
-GtkRange-trough-border: 2; -GtkRange-trough-border: 2;
outline-offset: -9px; outline-offset: -9px;
outline-radius: 4px; } outline-radius: 6px; }
scale.fine-tune { scale.fine-tune {
outline-offset: -7px; outline-offset: -7px;
outline-radius: 6px; } outline-radius: 8px; }
scale.fine-tune highlight, scale.fine-tune fill, scale.fine-tune trough { scale.fine-tune trough,
scale.fine-tune fill,
scale.fine-tune highlight {
margin: 10px;
border-radius: 4px; } border-radius: 4px; }
scale.fine-tune highlight:not(:first-child):not(:last-child), scale.fine-tune highlight:only-child, scale.fine-tune fill:not(:first-child):not(:last-child), scale.fine-tune fill:only-child, scale.fine-tune trough:not(:first-child):not(:last-child), scale.fine-tune trough:only-child { scale trough,
margin: 10px; } scale fill,
scale trough:not(:first-child):not(:last-child), scale trough:only-child, scale fill:not(:first-child):not(:last-child), scale fill:only-child, scale highlight:not(:first-child):not(:last-child), scale highlight:only-child { scale highlight {
margin: 12px; } margin: 12px; }
scale trough:not(:first-child):not(:last-child) slider, scale trough:only-child slider { scale:not(.vertical) slider {
margin: 2px 0; } margin: 2px 0; }
scale.vertical trough:not(:first-child):not(:last-child) slider, scale.vertical trough:only-child slider { scale.vertical slider {
margin: 0 2px; } margin: 0 2px; }
scale trough { scale slider {
border: 1px solid #1c1f1f;
border-radius: 3px;
background-color: #2d3232;
box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
scale trough slider {
color: #eeeeec; color: #eeeeec;
outline-color: rgba(238, 238, 236, 0.3); outline-color: rgba(238, 238, 236, 0.3);
border-color: #1c1f1f; border-color: #1c1f1f;
background-image: linear-gradient(to bottom, #454c4c, #393f3f 40%, #2d3232); background-image: linear-gradient(to bottom, #454c4c, #393f3f 40%, #2d3232);
text-shadow: 0 -1px rgba(0, 0, 0, 0.81176); text-shadow: 0 -1px rgba(0, 0, 0, 0.81176);
-gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.81176); -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.81176);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(238, 238, 236, 0.1); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(0, 0, 0, 0.1);
border: 1px solid; border: 1px solid #151717;
border-radius: 50%; border-radius: 100%; }
border-color: #151717; scale slider:hover {
box-shadow: inset 0 1px rgba(255, 255, 255, 0.15), inset 0 -2px #393f3f, inset 0 -1px #2b2f2f; }
scale trough slider:hover {
color: #eeeeec; color: #eeeeec;
outline-color: rgba(238, 238, 236, 0.3); outline-color: rgba(238, 238, 236, 0.3);
border-color: #1c1f1f; border-color: #1c1f1f;
background-image: linear-gradient(to bottom, #5b6464, #434a4a 40%, #393f3f); background-image: linear-gradient(to bottom, #5b6464, #434a4a 40%, #393f3f);
text-shadow: 0 -1px rgba(0, 0, 0, 0.77976); text-shadow: 0 -1px rgba(0, 0, 0, 0.77976);
-gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.77976); -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.77976);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(238, 238, 236, 0.1); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(0, 0, 0, 0.1); }
border-color: #151717; scale slider:active {
border-radius: 50%; border-color: #0f2b48; }
box-shadow: inset 0 1px rgba(255, 255, 255, 0.15), inset 0 -2px rgba(255, 255, 255, 0.14), inset 0 -1px #303535; } scale slider:insensitive {
scale trough slider:insensitive { color: #949796;
border-style: solid; border-color: #1c1f1f;
border-radius: 50%;
background-image: linear-gradient(to bottom, #333636); background-image: linear-gradient(to bottom, #333636);
box-shadow: none; } text-shadow: none;
scale trough slider:backdrop { -gtk-icon-shadow: none;
border-style: solid; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0.1); }
border-radius: 50%; scale slider:insensitive > .label {
border-color: #181a1a; color: inherit; }
scale slider:backdrop {
color: #949796;
border-color: #1f2222;
background-image: linear-gradient(to bottom, #393f3f); background-image: linear-gradient(to bottom, #393f3f);
box-shadow: none; } text-shadow: none;
scale trough slider:backdrop:insensitive { -gtk-icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0); }
scale slider:backdrop:insensitive {
color: #5d6767; color: #5d6767;
border-color: #1f2222; border-color: #1f2222;
background-image: linear-gradient(to bottom, #333636); background-image: linear-gradient(to bottom, #333636);
text-shadow: none; text-shadow: none;
-gtk-icon-shadow: none; -gtk-icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0); } box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0); }
scale trough slider:backdrop:insensitive > .label { scale slider:backdrop:insensitive > .label {
color: inherit; } color: inherit; }
scale trough slider:active { .osd scale slider {
color: #eeeeec;
outline-color: rgba(238, 238, 236, 0.3);
border-color: #1c1f1f;
background-image: linear-gradient(to bottom, #232727, #292d2d 40%, #2d3232);
text-shadow: 0 -1px rgba(0, 0, 0, 0.89176);
-gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.89176);
box-shadow: inset 0 1px rgba(0, 0, 0, 0.07), inset 0 2px 1px -2px rgba(0, 0, 0, 0.6), 0 1px rgba(238, 238, 236, 0.1);
border: 1px solid #14375d; }
.osd scale trough slider {
color: #eeeeec; color: #eeeeec;
border-color: rgba(0, 0, 0, 0.7); border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7)); background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7));
@ -2993,8 +2984,9 @@ scale {
text-shadow: 0 1px black; text-shadow: 0 1px black;
-gtk-icon-shadow: 0 1px black; -gtk-icon-shadow: 0 1px black;
outline-color: rgba(238, 238, 236, 0.3); outline-color: rgba(238, 238, 236, 0.3);
border-color: rgba(0, 0, 0, 0.7);
background-color: #202526; } background-color: #202526; }
.osd scale trough slider:hover { .osd scale slider:hover {
color: white; color: white;
border-color: rgba(0, 0, 0, 0.7); border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(60, 69, 71, 0.7)); background-image: linear-gradient(to bottom, rgba(60, 69, 71, 0.7));
@ -3003,7 +2995,7 @@ scale {
text-shadow: 0 1px black; text-shadow: 0 1px black;
-gtk-icon-shadow: 0 1px black; -gtk-icon-shadow: 0 1px black;
outline-color: rgba(238, 238, 236, 0.3); } outline-color: rgba(238, 238, 236, 0.3); }
.osd scale trough slider:active { .osd scale slider:active {
color: white; color: white;
border-color: rgba(0, 0, 0, 0.7); border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7)); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7));
@ -3012,7 +3004,15 @@ scale {
text-shadow: none; text-shadow: none;
-gtk-icon-shadow: none; -gtk-icon-shadow: none;
outline-color: rgba(238, 238, 236, 0.3); } outline-color: rgba(238, 238, 236, 0.3); }
.osd scale trough slider:backdrop { .osd scale slider:insensitive {
color: #878a89;
border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(53, 57, 58, 0.5));
background-clip: padding-box;
box-shadow: none;
text-shadow: none;
-gtk-icon-shadow: none; }
.osd scale slider:backdrop {
color: #eeeeec; color: #eeeeec;
border-color: rgba(0, 0, 0, 0.7); border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7)); background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7));
@ -3020,290 +3020,45 @@ scale {
box-shadow: none; box-shadow: none;
text-shadow: none; text-shadow: none;
-gtk-icon-shadow: none; } -gtk-icon-shadow: none; }
scale trough highlight {
background-image: linear-gradient(to bottom, #215d9c 2px, #266cb5); scale trough, progressbar trough {
border: 1px solid #1c1f1f; border: 1px solid #1c1f1f;
border-radius: 3px; border-radius: 3px;
box-shadow: 0 1px rgba(238, 238, 236, 0.1); } background-color: #2f3434;
scale trough highlight.vertical { box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
background-image: linear-gradient(to right, #215d9c 2px, #266cb5); } scale trough:insensitive, progressbar trough:insensitive {
scale trough highlight:backdrop {
border-color: #0f2b48;
background-color: #215d9c;
box-shadow: none; }
scale trough fill {
background: none;
background-color: red;
border: 1px solid #1c1f1f;
border-radius: 3px;
box-shadow: 0 1px rgba(238, 238, 236, 0.1); }
scale trough:insensitive, scale trough.vertical:insensitive {
border-color: #1c1f1f;
background-image: none;
background-color: #333636; background-color: #333636;
box-shadow: 0 1px rgba(238, 238, 236, 0.1); } box-shadow: 0 1px rgba(238, 238, 236, 0.1); }
scale trough:backdrop { scale trough:backdrop, progressbar trough:backdrop, progressbar:backdrop trough {
background-color: #303535;
border-color: #1f2222; border-color: #1f2222;
background-color: #2b2f2f;
box-shadow: none; } box-shadow: none; }
scale trough:backdrop:insensitive, scale trough .highlight:backdrop:insensitive { scale trough:backdrop:insensitive, progressbar trough:backdrop:insensitive, progressbar:backdrop trough:insensitive {
border-color: #1f2222;
background-color: #333636; } background-color: #333636; }
.osd scale trough { .osd scale trough, scale .osd trough, .osd progressbar trough, progressbar .osd trough {
border-color: rgba(0, 0, 0, 0.7); border-color: rgba(0, 0, 0, 0.7);
box-shadow: none;
margin: 9px;
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
outline-color: rgba(238, 238, 236, 0.2);
outline-offset: -8px; }
.osd scale trough.fine-tune {
margin: 7px; }
.osd scale trough.highlight {
background-image: none;
background-color: #215d9c; }
.osd scale trough:insensitive, .osd scale trough:backdrop:insensitive {
border-color: transparent;
background-color: transparent; }
.osd scale trough:backdrop {
border-color: rgba(0, 0, 0, 0.7);
background-image: none; }
row:selected scale {
border-color: #0f2b48;
box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1); }
row:selected scale:backdrop {
box-shadow: none; }
row:selected scale.highlight:backdrop {
border-color: #0f2b48; }
row:selected scale:insensitive, row:selected scale.highlight:insensitive {
border-color: #215d9c;
box-shadow: none; box-shadow: none;
background-color: #90aece; outline-color: rgba(238, 238, 236, 0.2); }
background-image: none; } .osd scale trough:insensitive, scale .osd trough:insensitive, .osd progressbar trough:insensitive, progressbar .osd trough:insensitive {
row:selected scale:insensitive:backdrop, row:selected scale.highlight:insensitive:backdrop { background-color: rgba(53, 57, 58, 0.5); }
background-color: #90aece; }
scale marks { scale highlight, progressbar progress {
color: alpha(currentColor,0.5); } border: 1px solid #0f2b48;
border-radius: 3px;
scale trough:first-child:not(:last-child) slider { background-color: #215d9c; }
border-style: none; scale highlight:insensitive, progressbar progress:insensitive {
border-radius: 0;
background-color: transparent; background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-dark.png"), url("assets/slider-horz-scale-has-marks-below-dark@2.png")); border-color: transparent; }
background-repeat: no-repeat; scale highlight:backdrop, progressbar progress:backdrop, progressbar:backdrop progress {
background-position: center; border-color: #0f2b48; }
box-shadow: none; } scale highlight:backdrop:insensitive, progressbar progress:backdrop:insensitive, progressbar:backdrop progress:insensitive {
scale trough:first-child:not(:last-child) slider:hover {
border-style: none;
border-radius: 0;
background-color: transparent; background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-hover-dark.png"), url("assets/slider-horz-scale-has-marks-below-hover-dark@2.png")); border-color: transparent; }
background-repeat: no-repeat; .osd scale highlight, scale .osd highlight, .osd progressbar progress, progressbar .osd progress {
background-position: center; border-color: rgba(0, 0, 0, 0.7); }
box-shadow: none; } .osd scale highlight:insensitive, scale .osd highlight:insensitive, .osd progressbar progress:insensitive, progressbar .osd progress:insensitive {
scale trough:first-child:not(:last-child) slider:active { border-color: transparent; }
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-active-dark.png"), url("assets/slider-horz-scale-has-marks-below-active-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:first-child:not(:last-child) slider:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-insensitive-dark.png"), url("assets/slider-horz-scale-has-marks-below-insensitive-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:first-child:not(:last-child) slider:backdrop {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-backdrop-dark.png"), url("assets/slider-horz-scale-has-marks-below-backdrop-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:first-child:not(:last-child) slider:backdrop:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-backdrop-insensitive-dark.png"), url("assets/slider-horz-scale-has-marks-below-backdrop-insensitive-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child slider {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-dark.png"), url("assets/slider-horz-scale-has-marks-above-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child slider:hover {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-hover-dark.png"), url("assets/slider-horz-scale-has-marks-above-hover-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child slider:active {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-active-dark.png"), url("assets/slider-horz-scale-has-marks-above-active-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child slider:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-insensitive-dark.png"), url("assets/slider-horz-scale-has-marks-above-insensitive-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child slider:backdrop {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-backdrop-dark.png"), url("assets/slider-horz-scale-has-marks-above-backdrop-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child slider:backdrop:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-backdrop-insensitive-dark.png"), url("assets/slider-horz-scale-has-marks-above-backdrop-insensitive-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:first-child:not(:last-child) slider {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-dark.png"), url("assets/slider-vert-scale-has-marks-below-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:first-child:not(:last-child) slider:hover {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-hover-dark.png"), url("assets/slider-vert-scale-has-marks-below-hover-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:first-child:not(:last-child) slider:active {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-active-dark.png"), url("assets/slider-vert-scale-has-marks-below-active-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:first-child:not(:last-child) slider:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-insensitive-dark.png"), url("assets/slider-vert-scale-has-marks-below-insensitive-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:first-child:not(:last-child) slider:backdrop {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-backdrop-dark.png"), url("assets/slider-vert-scale-has-marks-below-backdrop-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:first-child:not(:last-child) slider:backdrop:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-backdrop-insensitive-dark.png"), url("assets/slider-vert-scale-has-marks-below-backdrop-insensitive-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:not(:first-child):last-child slider {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-dark.png"), url("assets/slider-vert-scale-has-marks-above-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:not(:first-child):last-child slider:hover {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-hover-dark.png"), url("assets/slider-vert-scale-has-marks-above-hover-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:not(:first-child):last-child slider:active {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-active-dark.png"), url("assets/slider-vert-scale-has-marks-above-active-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:not(:first-child):last-child slider:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-insensitive-dark.png"), url("assets/slider-vert-scale-has-marks-above-insensitive-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:not(:first-child):last-child slider:backdrop {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-backdrop-dark.png"), url("assets/slider-vert-scale-has-marks-above-backdrop-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:not(:first-child):last-child slider:backdrop:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-backdrop-insensitive-dark.png"), url("assets/slider-vert-scale-has-marks-above-backdrop-insensitive-dark@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child {
margin: 14px 10px 10px 10px; }
scale trough:first-child:not(:last-child) {
margin: 10px 10px 14px 10px; }
scale.vertical trough:not(:first-child):last-child {
margin: 10px 10px 10px 14px; }
scale.vertical trough:first-child:not(:last-child) {
margin: 10px 14px 10px 10px; }
scale.fine-tune trough:not(:first-child):last-child {
margin: 12px 8px 8px 8px; }
scale.fine-tune trough:first-child:not(:last-child) {
margin: 8px 8px 12px 8px; }
scale.vertical.fine-tune trough:not(:first-child):last-child {
margin: 8px 8px 8px 12px; }
scale.vertical.fine-tune trough:first-child:not(:last-child) {
margin: 8px 12px 8px 8px; }
/***************** /*****************
* Progress bars * * Progress bars *
@ -3312,60 +3067,23 @@ progressbar {
padding: 0; padding: 0;
font-size: smaller; font-size: smaller;
color: rgba(238, 238, 236, 0.4); color: rgba(238, 238, 236, 0.4);
box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), 0 1px rgba(238, 238, 236, 0.1); } box-shadow: 0 1px rgba(238, 238, 236, 0.1); }
progressbar:backdrop { progressbar:backdrop {
color: #5d6767; }
progressbar.osd {
-GtkProgressBar-min-horizontal-bar-height: 3; }
progressbar.osd trough {
border-style: none;
background-color: transparent;
box-shadow: none; } box-shadow: none; }
progressbar trough { progressbar progress {
border: 1px solid #1c1f1f; border-radius: 1.5px; }
border-radius: 3px; progressbar progress.left {
background-color: #2f3434; }
progressbar trough:backdrop {
border-color: #1f2222;
background-color: #303535;
box-shadow: 0 1px rgba(255, 255, 255, 0); }
progressbar.horizontal progress {
background-image: linear-gradient(to bottom, #215d9c 2px, #266cb5);
border: 1px solid #0f2b48;
border-radius: 1.5px;
box-shadow: none; }
progressbar.horizontal progress.left {
border-top-left-radius: 3px; border-top-left-radius: 3px;
border-bottom-left-radius: 3px; } border-bottom-left-radius: 3px; }
progressbar.horizontal progress.right { progressbar progress.right {
border-top-right-radius: 3px; border-top-right-radius: 3px;
border-bottom-right-radius: 3px; } border-bottom-right-radius: 3px; }
progressbar.horizontal progress.left.right { progressbar progress.top {
box-shadow: none; } border-top-right-radius: 3px;
border-top-left-radius: 3px; }
progressbar.vertical progress { progressbar progress.bottom {
background-image: linear-gradient(to right, #215d9c 2px, #266cb5);
border: 1px solid #0f2b48;
border-radius: 1.5px;
box-shadow: none; }
progressbar.vertical progress.bottom {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px; border-bottom-right-radius: 3px;
box-shadow: none; } border-bottom-left-radius: 3px; }
progressbar.vertical progress.top {
border-top-left-radius: 3px;
border-top-right-radius: 3px; }
progressbar.vertical progress:backdrop {
border-color: #0f2b48;
background-image: none;
background-color: #215d9c;
box-shadow: none; }
progressbar.vertical progress.osd {
background-image: none;
background-color: #215d9c;
border-style: none;
border-radius: 0; }
/************* /*************
* Level Bar * * Level Bar *

View File

@ -3075,78 +3075,69 @@ scale {
-GtkRange-slider-width: 24; -GtkRange-slider-width: 24;
-GtkRange-trough-border: 2; -GtkRange-trough-border: 2;
outline-offset: -9px; outline-offset: -9px;
outline-radius: 4px; } outline-radius: 6px; }
scale.fine-tune { scale.fine-tune {
outline-offset: -7px; outline-offset: -7px;
outline-radius: 6px; } outline-radius: 8px; }
scale.fine-tune highlight, scale.fine-tune fill, scale.fine-tune trough { scale.fine-tune trough,
scale.fine-tune fill,
scale.fine-tune highlight {
margin: 10px;
border-radius: 4px; } border-radius: 4px; }
scale.fine-tune highlight:not(:first-child):not(:last-child), scale.fine-tune highlight:only-child, scale.fine-tune fill:not(:first-child):not(:last-child), scale.fine-tune fill:only-child, scale.fine-tune trough:not(:first-child):not(:last-child), scale.fine-tune trough:only-child { scale trough,
margin: 10px; } scale fill,
scale trough:not(:first-child):not(:last-child), scale trough:only-child, scale fill:not(:first-child):not(:last-child), scale fill:only-child, scale highlight:not(:first-child):not(:last-child), scale highlight:only-child { scale highlight {
margin: 12px; } margin: 12px; }
scale trough:not(:first-child):not(:last-child) slider, scale trough:only-child slider { scale:not(.vertical) slider {
margin: 2px 0; } margin: 2px 0; }
scale.vertical trough:not(:first-child):not(:last-child) slider, scale.vertical trough:only-child slider { scale.vertical slider {
margin: 0 2px; } margin: 0 2px; }
scale trough { scale slider {
border: 1px solid #a1a1a1;
border-radius: 3px;
background-color: #cfcfcf;
box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; }
scale trough slider {
color: #2e3436; color: #2e3436;
outline-color: rgba(46, 52, 54, 0.3); outline-color: rgba(46, 52, 54, 0.3);
border-color: #a1a1a1; border-color: #a1a1a1;
background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0);
text-shadow: 0 1px rgba(255, 255, 255, 0.76923); text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
-gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); -gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
box-shadow: inset 0 1px white, 0 1px white; box-shadow: inset 0 1px white, 0 1px rgba(0, 0, 0, 0.1);
border: 1px solid; border: 1px solid #999999;
border-radius: 50%; border-radius: 100%; }
border-color: #999999; scale slider:hover {
box-shadow: inset 0 1px white, inset 0 -2px #ededed, inset 0 -1px #c7c7c7; }
scale trough slider:hover {
color: #2e3436; color: #2e3436;
outline-color: rgba(46, 52, 54, 0.3); outline-color: rgba(46, 52, 54, 0.3);
border-color: #a1a1a1; border-color: #a1a1a1;
background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed); background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed);
text-shadow: 0 1px rgba(255, 255, 255, 0.76923); text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
-gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); -gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
box-shadow: inset 0 1px white, 0 1px white; box-shadow: inset 0 1px white, 0 1px rgba(0, 0, 0, 0.1); }
border-color: #999999; scale slider:active {
border-radius: 50%; border-color: #184472; }
box-shadow: inset 0 1px white, inset 0 -2px white, inset 0 -1px #d6d6d6; } scale slider:insensitive {
scale trough slider:insensitive { color: #8e9192;
border-style: solid;
border-radius: 50%;
background-image: linear-gradient(to bottom, #f4f4f4);
box-shadow: none; }
scale trough slider:backdrop {
border-style: solid;
border-radius: 50%;
border-color: #a1a1a1; border-color: #a1a1a1;
background-image: linear-gradient(to bottom, #f4f4f4);
text-shadow: none;
-gtk-icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; }
scale slider:insensitive > .label {
color: inherit; }
scale slider:backdrop {
color: #8e9192;
border-color: darkgray;
background-image: linear-gradient(to bottom, #ededed); background-image: linear-gradient(to bottom, #ededed);
box-shadow: none; } text-shadow: none;
scale trough slider:backdrop:insensitive { -gtk-icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
scale slider:backdrop:insensitive {
color: #c7c7c7; color: #c7c7c7;
border-color: darkgray; border-color: darkgray;
background-image: linear-gradient(to bottom, #f4f4f4); background-image: linear-gradient(to bottom, #f4f4f4);
text-shadow: none; text-shadow: none;
-gtk-icon-shadow: none; -gtk-icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
scale trough slider:backdrop:insensitive > .label { scale slider:backdrop:insensitive > .label {
color: inherit; } color: inherit; }
scale trough slider:active { .osd scale slider {
color: #2e3436;
outline-color: rgba(46, 52, 54, 0.3);
border-color: #a1a1a1;
background-image: linear-gradient(to bottom, #d6d6d6, gainsboro 40%, #e0e0e0);
text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
-gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
box-shadow: inset 0 1px rgba(0, 0, 0, 0.07), inset 0 2px 1px -2px rgba(0, 0, 0, 0.6), 0 1px white;
border: 1px solid #153d65; }
.osd scale trough slider {
color: #eeeeec; color: #eeeeec;
border-color: rgba(0, 0, 0, 0.7); border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7)); background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7));
@ -3155,8 +3146,9 @@ scale {
text-shadow: 0 1px black; text-shadow: 0 1px black;
-gtk-icon-shadow: 0 1px black; -gtk-icon-shadow: 0 1px black;
outline-color: rgba(238, 238, 236, 0.3); outline-color: rgba(238, 238, 236, 0.3);
border-color: rgba(0, 0, 0, 0.7);
background-color: #202526; } background-color: #202526; }
.osd scale trough slider:hover { .osd scale slider:hover {
color: white; color: white;
border-color: rgba(0, 0, 0, 0.7); border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(60, 69, 71, 0.7)); background-image: linear-gradient(to bottom, rgba(60, 69, 71, 0.7));
@ -3165,7 +3157,7 @@ scale {
text-shadow: 0 1px black; text-shadow: 0 1px black;
-gtk-icon-shadow: 0 1px black; -gtk-icon-shadow: 0 1px black;
outline-color: rgba(238, 238, 236, 0.3); } outline-color: rgba(238, 238, 236, 0.3); }
.osd scale trough slider:active { .osd scale slider:active {
color: white; color: white;
border-color: rgba(0, 0, 0, 0.7); border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7)); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7));
@ -3174,7 +3166,15 @@ scale {
text-shadow: none; text-shadow: none;
-gtk-icon-shadow: none; -gtk-icon-shadow: none;
outline-color: rgba(238, 238, 236, 0.3); } outline-color: rgba(238, 238, 236, 0.3); }
.osd scale trough slider:backdrop { .osd scale slider:insensitive {
color: #878a89;
border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(53, 57, 58, 0.5));
background-clip: padding-box;
box-shadow: none;
text-shadow: none;
-gtk-icon-shadow: none; }
.osd scale slider:backdrop {
color: #eeeeec; color: #eeeeec;
border-color: rgba(0, 0, 0, 0.7); border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7)); background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7));
@ -3182,290 +3182,45 @@ scale {
box-shadow: none; box-shadow: none;
text-shadow: none; text-shadow: none;
-gtk-icon-shadow: none; } -gtk-icon-shadow: none; }
scale trough highlight {
background-image: linear-gradient(to bottom, #4a90d9 2px, #63a0de); scale trough, progressbar trough {
border: 1px solid #a1a1a1; border: 1px solid #a1a1a1;
border-radius: 3px; border-radius: 3px;
box-shadow: 0 1px white; } background-color: #d2d2d2;
scale trough highlight.vertical { box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; }
background-image: linear-gradient(to right, #4a90d9 2px, #63a0de); } scale trough:insensitive, progressbar trough:insensitive {
scale trough highlight:backdrop {
border-color: #4a90d9;
background-color: #4a90d9;
box-shadow: none; }
scale trough fill {
background: none;
background-color: red;
border: 1px solid #a1a1a1;
border-radius: 3px;
box-shadow: 0 1px white; }
scale trough:insensitive, scale trough.vertical:insensitive {
border-color: #a1a1a1;
background-image: none;
background-color: #f4f4f4; background-color: #f4f4f4;
box-shadow: 0 1px white; } box-shadow: 0 1px white; }
scale trough:backdrop { scale trough:backdrop, progressbar trough:backdrop, progressbar:backdrop trough {
background-color: #d5d5d5;
border-color: darkgray; border-color: darkgray;
background-color: #c7c7c7;
box-shadow: none; } box-shadow: none; }
scale trough:backdrop:insensitive, scale trough .highlight:backdrop:insensitive { scale trough:backdrop:insensitive, progressbar trough:backdrop:insensitive, progressbar:backdrop trough:insensitive {
border-color: darkgray;
background-color: #f4f4f4; } background-color: #f4f4f4; }
.osd scale trough { .osd scale trough, scale .osd trough, .osd progressbar trough, progressbar .osd trough {
border-color: rgba(0, 0, 0, 0.7); border-color: rgba(0, 0, 0, 0.7);
box-shadow: none;
margin: 9px;
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
outline-color: rgba(238, 238, 236, 0.2);
outline-offset: -8px; }
.osd scale trough.fine-tune {
margin: 7px; }
.osd scale trough.highlight {
background-image: none;
background-color: #4a90d9; }
.osd scale trough:insensitive, .osd scale trough:backdrop:insensitive {
border-color: transparent;
background-color: transparent; }
.osd scale trough:backdrop {
border-color: rgba(0, 0, 0, 0.7);
background-image: none; }
row:selected scale {
border-color: #184472;
box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1); }
row:selected scale:backdrop {
box-shadow: none; }
row:selected scale.highlight:backdrop {
border-color: #184472; }
row:selected scale:insensitive, row:selected scale.highlight:insensitive {
border-color: #4a90d9;
box-shadow: none; box-shadow: none;
background-color: #a5c8ec; outline-color: rgba(238, 238, 236, 0.2); }
background-image: none; } .osd scale trough:insensitive, scale .osd trough:insensitive, .osd progressbar trough:insensitive, progressbar .osd trough:insensitive {
row:selected scale:insensitive:backdrop, row:selected scale.highlight:insensitive:backdrop { background-color: rgba(53, 57, 58, 0.5); }
background-color: #a5c8ec; }
scale marks { scale highlight, progressbar progress {
color: alpha(currentColor,0.5); } border: 1px solid #184472;
border-radius: 3px;
scale trough:first-child:not(:last-child) slider { background-color: #4a90d9; }
border-style: none; scale highlight:insensitive, progressbar progress:insensitive {
border-radius: 0;
background-color: transparent; background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below.png"), url("assets/slider-horz-scale-has-marks-below@2.png")); border-color: transparent; }
background-repeat: no-repeat; scale highlight:backdrop, progressbar progress:backdrop, progressbar:backdrop progress {
background-position: center; border-color: #4a90d9; }
box-shadow: none; } scale highlight:backdrop:insensitive, progressbar progress:backdrop:insensitive, progressbar:backdrop progress:insensitive {
scale trough:first-child:not(:last-child) slider:hover {
border-style: none;
border-radius: 0;
background-color: transparent; background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-hover.png"), url("assets/slider-horz-scale-has-marks-below-hover@2.png")); border-color: transparent; }
background-repeat: no-repeat; .osd scale highlight, scale .osd highlight, .osd progressbar progress, progressbar .osd progress {
background-position: center; border-color: rgba(0, 0, 0, 0.7); }
box-shadow: none; } .osd scale highlight:insensitive, scale .osd highlight:insensitive, .osd progressbar progress:insensitive, progressbar .osd progress:insensitive {
scale trough:first-child:not(:last-child) slider:active { border-color: transparent; }
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-active.png"), url("assets/slider-horz-scale-has-marks-below-active@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:first-child:not(:last-child) slider:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-insensitive.png"), url("assets/slider-horz-scale-has-marks-below-insensitive@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:first-child:not(:last-child) slider:backdrop {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-backdrop.png"), url("assets/slider-horz-scale-has-marks-below-backdrop@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:first-child:not(:last-child) slider:backdrop:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-backdrop-insensitive.png"), url("assets/slider-horz-scale-has-marks-below-backdrop-insensitive@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child slider {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above.png"), url("assets/slider-horz-scale-has-marks-above@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child slider:hover {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-hover.png"), url("assets/slider-horz-scale-has-marks-above-hover@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child slider:active {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-active.png"), url("assets/slider-horz-scale-has-marks-above-active@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child slider:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-insensitive.png"), url("assets/slider-horz-scale-has-marks-above-insensitive@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child slider:backdrop {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-backdrop.png"), url("assets/slider-horz-scale-has-marks-above-backdrop@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child slider:backdrop:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-backdrop-insensitive.png"), url("assets/slider-horz-scale-has-marks-above-backdrop-insensitive@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:first-child:not(:last-child) slider {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below.png"), url("assets/slider-vert-scale-has-marks-below@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:first-child:not(:last-child) slider:hover {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-hover.png"), url("assets/slider-vert-scale-has-marks-below-hover@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:first-child:not(:last-child) slider:active {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-active.png"), url("assets/slider-vert-scale-has-marks-below-active@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:first-child:not(:last-child) slider:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-insensitive.png"), url("assets/slider-vert-scale-has-marks-below-insensitive@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:first-child:not(:last-child) slider:backdrop {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-backdrop.png"), url("assets/slider-vert-scale-has-marks-below-backdrop@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:first-child:not(:last-child) slider:backdrop:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-backdrop-insensitive.png"), url("assets/slider-vert-scale-has-marks-below-backdrop-insensitive@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:not(:first-child):last-child slider {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above.png"), url("assets/slider-vert-scale-has-marks-above@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:not(:first-child):last-child slider:hover {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-hover.png"), url("assets/slider-vert-scale-has-marks-above-hover@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:not(:first-child):last-child slider:active {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-active.png"), url("assets/slider-vert-scale-has-marks-above-active@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:not(:first-child):last-child slider:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-insensitive.png"), url("assets/slider-vert-scale-has-marks-above-insensitive@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:not(:first-child):last-child slider:backdrop {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-backdrop.png"), url("assets/slider-vert-scale-has-marks-above-backdrop@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale.vertical trough:not(:first-child):last-child slider:backdrop:insensitive {
border-style: none;
border-radius: 0;
background-color: transparent;
background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-backdrop-insensitive.png"), url("assets/slider-vert-scale-has-marks-above-backdrop-insensitive@2.png"));
background-repeat: no-repeat;
background-position: center;
box-shadow: none; }
scale trough:not(:first-child):last-child {
margin: 14px 10px 10px 10px; }
scale trough:first-child:not(:last-child) {
margin: 10px 10px 14px 10px; }
scale.vertical trough:not(:first-child):last-child {
margin: 10px 10px 10px 14px; }
scale.vertical trough:first-child:not(:last-child) {
margin: 10px 14px 10px 10px; }
scale.fine-tune trough:not(:first-child):last-child {
margin: 12px 8px 8px 8px; }
scale.fine-tune trough:first-child:not(:last-child) {
margin: 8px 8px 12px 8px; }
scale.vertical.fine-tune trough:not(:first-child):last-child {
margin: 8px 8px 8px 12px; }
scale.vertical.fine-tune trough:first-child:not(:last-child) {
margin: 8px 12px 8px 8px; }
/***************** /*****************
* Progress bars * * Progress bars *
@ -3474,60 +3229,23 @@ progressbar {
padding: 0; padding: 0;
font-size: smaller; font-size: smaller;
color: rgba(46, 52, 54, 0.4); color: rgba(46, 52, 54, 0.4);
box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; } box-shadow: 0 1px white; }
progressbar:backdrop { progressbar:backdrop {
color: #c7c7c7; }
progressbar.osd {
-GtkProgressBar-min-horizontal-bar-height: 3; }
progressbar.osd trough {
border-style: none;
background-color: transparent;
box-shadow: none; } box-shadow: none; }
progressbar trough { progressbar progress {
border: 1px solid #a1a1a1; border-radius: 1.5px; }
border-radius: 3px; progressbar progress.left {
background-color: #d2d2d2; }
progressbar trough:backdrop {
border-color: darkgray;
background-color: #d5d5d5;
box-shadow: 0 1px rgba(255, 255, 255, 0); }
progressbar.horizontal progress {
background-image: linear-gradient(to bottom, #4a90d9 2px, #63a0de);
border: 1px solid #184472;
border-radius: 1.5px;
box-shadow: none; }
progressbar.horizontal progress.left {
border-top-left-radius: 3px; border-top-left-radius: 3px;
border-bottom-left-radius: 3px; } border-bottom-left-radius: 3px; }
progressbar.horizontal progress.right { progressbar progress.right {
border-top-right-radius: 3px; border-top-right-radius: 3px;
border-bottom-right-radius: 3px; } border-bottom-right-radius: 3px; }
progressbar.horizontal progress.left.right { progressbar progress.top {
box-shadow: none; } border-top-right-radius: 3px;
border-top-left-radius: 3px; }
progressbar.vertical progress { progressbar progress.bottom {
background-image: linear-gradient(to right, #4a90d9 2px, #63a0de);
border: 1px solid #184472;
border-radius: 1.5px;
box-shadow: none; }
progressbar.vertical progress.bottom {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px; border-bottom-right-radius: 3px;
box-shadow: none; } border-bottom-left-radius: 3px; }
progressbar.vertical progress.top {
border-top-left-radius: 3px;
border-top-right-radius: 3px; }
progressbar.vertical progress:backdrop {
border-color: #4a90d9;
background-image: none;
background-color: #4a90d9;
box-shadow: none; }
progressbar.vertical progress.osd {
background-image: none;
background-color: #4a90d9;
border-style: none;
border-radius: 0; }
/************* /*************
* Level Bar * * Level Bar *