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,306 +2123,178 @@ 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,
highlight {
margin: 10px;
border-radius: 4px; border-radius: 4px;
&:not(:first-child):not(:last-child),
&:only-child {
margin: 10px;
}
} }
} }
& trough, trough,
& fill, fill,
& highlight { highlight { margin: 12px; }
&:not(:first-child):not(:last-child),
&:only-child {
margin: 12px;
}
}
& trough:not(:first-child):not(:last-child), &:not(.vertical) slider { margin: 2px 0; }
& trough:only-child {
& slider { margin: 2px 0; } &.vertical slider { margin: 0 2px; }
}
&.vertical trough:not(:first-child):not(:last-child), trough { @extend %trough; }
&.vertical trough:only-child {
& slider { margin: 0 2px; } 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 {
border-style: solid; // needed for double marks scales or they'll get
border-radius: 50%; // overridden
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);
}
&:active {
@include button(active);
border: 1px solid if($variant=='light',darken($selected_borders_color,3%),
darken($selected_bg_color,15%));
}
//OSD sliders
.osd & {
@include button(osd);
background-color: opacify($osd_bg_color, 1);
&:hover { @include button(osd-hover); }
&:active { @include button(osd-active); }
&:backdrop { @include button(osd-backdrop); }
}
}
& highlight {
@include progressbar_fill;
border: 1px solid $borders_color;
border-radius: 3px;
box-shadow: _widget_edge();
&.vertical { @include progressbar_fill(vertical); }
&:backdrop {
border-color: if($variant=='light', $selected_bg_color,
$selected_borders_color);
background-color: $selected_bg_color;
box-shadow: none;
}
}
& 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 { &:backdrop {
border-color: $backdrop_borders_color; @include button(backdrop);
background-color: mix($backdrop_bg_color, $borders_color, 50%); &:insensitive { @include button(backdrop-insensitive); }
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; @include button(osd);
box-shadow: none; border-color: darken($osd_borders_color, 3%);
margin: 9px; background-color: opacify($osd_bg_color, 1); // solid background needed here
&.fine-tune { margin: 7px; }
background-color: transparentize($osd_borders_color, 0.2); &:hover { @include button(osd-hover); }
outline-color: transparentize($osd_fg_color, 0.8);
outline-offset: -8px; &:active { @include button(osd-active); }
&.highlight {
background-image: none; &:insensitive { @include button(osd-insensitive); }
background-color: $selected_bg_color;
}
&:insensitive, &:backdrop:insensitive {
border-color: transparent;
background-color: transparent;
}
&:backdrop { &:backdrop {
border-color: $osd_borders_color; @include button(osd-backdrop);
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 { &:insensitive { @include button(osd-backdrop-insensitive); }
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; } %trough {
%scale_marks_below_horz { margin: 10px 10px 14px 10px; } border: 1px solid $borders_color;
%scale_marks_above_vert { margin: 10px 10px 10px 14px; } border-radius: 3px;
%scale_marks_below_vert { margin: 10px 14px 10px 10px; } background-color: $dark_fill;
%scale_marks_above_horz_ft { margin: 12px 8px 8px 8px; } box-shadow: inset 1px 1px transparentize(black, 0.9),
%scale_marks_below_horz_ft { margin: 8px 8px 12px 8px; } _widget_edge();
%scale_marks_above_vert_ft { margin: 8px 8px 8px 12px; }
%scale_marks_below_vert_ft { margin: 8px 12px 8px 8px; } &:insensitive {
background-color: $insensitive_bg_color;
box-shadow: _widget_edge();
}
&: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 {
border-color: if($variant=='light', $selected_bg_color,
$selected_borders_color);
&:insensitive {
background-color: transparent;
border-color: transparent;
}
}
// OSD
.osd & {
border-color: $osd_borders_color;
&:insensitive { border-color: transparent; }
}
}
/***************** /*****************
* 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 { trough {
border: 1px solid $borders_color; @extend %trough;
border-radius: 3px; }
background-color: mix($borders_color, $bg_color, 35%);
&:backdrop { &:backdrop trough { @extend %trough:backdrop; } // looks like states are not passed to the trough component here
border-color: $backdrop_borders_color;
background-color: $backdrop_dark_fill; progress {
box-shadow: 0 1px transparentize(white,1); @extend %highlight;
border-radius: 1.5px;
&.left {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
&.right {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
&.top {
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
&.bottom {
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
} }
} }
}
progressbar.horizontal progress { &:backdrop progress { @extend %highlight:backdrop; } // states not passed here as well
@include progressbar_fill;
border: 1px solid $selected_borders_color;
border-radius: 1.5px;
box-shadow: none; //needed for clipping
&.left {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
&.right {
border-top-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 {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
&:backdrop {
border-color: if($variant=='light', $selected_bg_color,
$selected_borders_color);
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;
}
}
/************* /*************
* Level Bar * * Level Bar *
*************/ *************/

View File

@ -2913,397 +2913,152 @@ 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; color: #eeeeec;
border-radius: 3px; outline-color: rgba(238, 238, 236, 0.3);
background-color: #2d3232; border-color: #1c1f1f;
box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), 0 1px rgba(238, 238, 236, 0.1); } background-image: linear-gradient(to bottom, #454c4c, #393f3f 40%, #2d3232);
scale trough slider { text-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(0, 0, 0, 0.1);
border: 1px solid #151717;
border-radius: 100%; }
scale 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, #454c4c, #393f3f 40%, #2d3232); background-image: linear-gradient(to bottom, #5b6464, #434a4a 40%, #393f3f);
text-shadow: 0 -1px rgba(0, 0, 0, 0.81176); text-shadow: 0 -1px rgba(0, 0, 0, 0.77976);
-gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.81176); -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: 1px solid; scale slider:active {
border-radius: 50%; border-color: #0f2b48; }
border-color: #151717; scale slider:insensitive {
box-shadow: inset 0 1px rgba(255, 255, 255, 0.15), inset 0 -2px #393f3f, inset 0 -1px #2b2f2f; } color: #949796;
scale trough slider:hover { border-color: #1c1f1f;
color: #eeeeec; background-image: linear-gradient(to bottom, #333636);
outline-color: rgba(238, 238, 236, 0.3); text-shadow: none;
border-color: #1c1f1f; -gtk-icon-shadow: none;
background-image: linear-gradient(to bottom, #5b6464, #434a4a 40%, #393f3f); box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0.1); }
text-shadow: 0 -1px rgba(0, 0, 0, 0.77976); scale slider:insensitive > .label {
-gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.77976); color: inherit; }
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(238, 238, 236, 0.1); scale slider:backdrop {
border-color: #151717; color: #949796;
border-radius: 50%; border-color: #1f2222;
box-shadow: inset 0 1px rgba(255, 255, 255, 0.15), inset 0 -2px rgba(255, 255, 255, 0.14), inset 0 -1px #303535; } background-image: linear-gradient(to bottom, #393f3f);
scale trough slider:insensitive { text-shadow: none;
border-style: solid; -gtk-icon-shadow: none;
border-radius: 50%; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0); }
background-image: linear-gradient(to bottom, #333636); scale slider:backdrop:insensitive {
box-shadow: none; }
scale trough slider:backdrop {
border-style: solid;
border-radius: 50%;
border-color: #181a1a;
background-image: linear-gradient(to bottom, #393f3f);
box-shadow: none; }
scale trough 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; color: #eeeeec;
outline-color: rgba(238, 238, 236, 0.3); border-color: rgba(0, 0, 0, 0.7);
border-color: #1c1f1f; background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7));
background-image: linear-gradient(to bottom, #232727, #292d2d 40%, #2d3232); background-clip: padding-box;
text-shadow: 0 -1px rgba(0, 0, 0, 0.89176); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
-gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.89176); text-shadow: 0 1px black;
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); -gtk-icon-shadow: 0 1px black;
border: 1px solid #14375d; } outline-color: rgba(238, 238, 236, 0.3);
.osd scale trough slider { border-color: rgba(0, 0, 0, 0.7);
color: #eeeeec; background-color: #202526; }
.osd scale slider:hover {
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(32, 37, 38, 0.7)); background-image: linear-gradient(to bottom, rgba(60, 69, 71, 0.7));
background-clip: padding-box; background-clip: padding-box;
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
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); }
background-color: #202526; } .osd scale slider:active {
.osd scale trough slider:hover { color: white;
color: white;
border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(60, 69, 71, 0.7));
background-clip: padding-box;
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
text-shadow: 0 1px black;
-gtk-icon-shadow: 0 1px black;
outline-color: rgba(238, 238, 236, 0.3); }
.osd scale trough slider:active {
color: white;
border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7));
background-clip: padding-box;
box-shadow: none;
text-shadow: none;
-gtk-icon-shadow: none;
outline-color: rgba(238, 238, 236, 0.3); }
.osd scale trough slider:backdrop {
color: #eeeeec;
border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7));
background-clip: padding-box;
box-shadow: none;
text-shadow: none;
-gtk-icon-shadow: none; }
scale trough highlight {
background-image: linear-gradient(to bottom, #215d9c 2px, #266cb5);
border: 1px solid #1c1f1f;
border-radius: 3px;
box-shadow: 0 1px rgba(238, 238, 236, 0.1); }
scale trough highlight.vertical {
background-image: linear-gradient(to right, #215d9c 2px, #266cb5); }
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;
box-shadow: 0 1px rgba(238, 238, 236, 0.1); }
scale trough:backdrop {
border-color: #1f2222;
background-color: #2b2f2f;
box-shadow: none; }
scale trough:backdrop:insensitive, scale trough .highlight:backdrop:insensitive {
border-color: #1f2222;
background-color: #333636; }
.osd scale trough {
border-color: rgba(0, 0, 0, 0.7);
box-shadow: none;
margin: 9px;
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); border-color: rgba(0, 0, 0, 0.7);
background-image: none; } background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7));
row:selected scale { background-clip: padding-box;
border-color: #0f2b48; box-shadow: none;
box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1); } text-shadow: none;
row:selected scale:backdrop { -gtk-icon-shadow: none;
box-shadow: none; } outline-color: rgba(238, 238, 236, 0.3); }
row:selected scale.highlight:backdrop { .osd scale slider:insensitive {
border-color: #0f2b48; } color: #878a89;
row:selected scale:insensitive, row:selected scale.highlight:insensitive { border-color: rgba(0, 0, 0, 0.7);
border-color: #215d9c; background-image: linear-gradient(to bottom, rgba(53, 57, 58, 0.5));
box-shadow: none; background-clip: padding-box;
background-color: #90aece; box-shadow: none;
background-image: none; } text-shadow: none;
row:selected scale:insensitive:backdrop, row:selected scale.highlight:insensitive:backdrop { -gtk-icon-shadow: none; }
background-color: #90aece; } .osd scale slider:backdrop {
color: #eeeeec;
border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7));
background-clip: padding-box;
box-shadow: none;
text-shadow: none;
-gtk-icon-shadow: none; }
scale marks { scale trough, progressbar trough {
color: alpha(currentColor,0.5); } border: 1px solid #1c1f1f;
border-radius: 3px;
background-color: #2f3434;
box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
scale trough:insensitive, progressbar trough:insensitive {
background-color: #333636;
box-shadow: 0 1px rgba(238, 238, 236, 0.1); }
scale trough:backdrop, progressbar trough:backdrop, progressbar:backdrop trough {
background-color: #303535;
border-color: #1f2222;
box-shadow: none; }
scale trough:backdrop:insensitive, progressbar trough:backdrop:insensitive, progressbar:backdrop trough:insensitive {
background-color: #333636; }
.osd scale trough, scale .osd trough, .osd progressbar trough, progressbar .osd trough {
border-color: rgba(0, 0, 0, 0.7);
background-color: rgba(0, 0, 0, 0.5);
box-shadow: none;
outline-color: rgba(238, 238, 236, 0.2); }
.osd scale trough:insensitive, scale .osd trough:insensitive, .osd progressbar trough:insensitive, progressbar .osd trough:insensitive {
background-color: rgba(53, 57, 58, 0.5); }
scale trough:first-child:not(:last-child) slider { scale highlight, progressbar progress {
border-style: none; border: 1px solid #0f2b48;
border-radius: 0; border-radius: 3px;
background-color: transparent; background-color: #215d9c; }
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")); scale highlight:insensitive, progressbar progress:insensitive {
background-repeat: no-repeat; background-color: transparent;
background-position: center; border-color: transparent; }
box-shadow: none; } scale highlight:backdrop, progressbar progress:backdrop, progressbar:backdrop progress {
scale trough:first-child:not(:last-child) slider:hover { border-color: #0f2b48; }
border-style: none; scale highlight:backdrop:insensitive, progressbar progress:backdrop:insensitive, progressbar:backdrop progress:insensitive {
border-radius: 0; background-color: transparent;
background-color: transparent; border-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")); .osd scale highlight, scale .osd highlight, .osd progressbar progress, progressbar .osd progress {
background-repeat: no-repeat; border-color: rgba(0, 0, 0, 0.7); }
background-position: center; .osd scale highlight:insensitive, scale .osd highlight:insensitive, .osd progressbar progress:insensitive, progressbar .osd progress:insensitive {
box-shadow: none; } border-color: transparent; }
scale trough:first-child:not(:last-child) slider:active {
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; }
progressbar trough {
border: 1px solid #1c1f1f;
border-radius: 3px;
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-bottom-left-radius: 3px; }
progressbar.horizontal progress.right {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px; }
progressbar.horizontal progress.left.right {
box-shadow: none; } box-shadow: none; }
progressbar progress {
progressbar.vertical progress { border-radius: 1.5px; }
background-image: linear-gradient(to right, #215d9c 2px, #266cb5); progressbar progress.left {
border: 1px solid #0f2b48; border-top-left-radius: 3px;
border-radius: 1.5px; border-bottom-left-radius: 3px; }
box-shadow: none; } progressbar progress.right {
progressbar.vertical progress.bottom { border-top-right-radius: 3px;
border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; }
border-bottom-right-radius: 3px; progressbar progress.top {
box-shadow: none; } border-top-right-radius: 3px;
progressbar.vertical progress.top { border-top-left-radius: 3px; }
border-top-left-radius: 3px; progressbar progress.bottom {
border-top-right-radius: 3px; } border-bottom-right-radius: 3px;
progressbar.vertical progress:backdrop { border-bottom-left-radius: 3px; }
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,397 +3075,152 @@ 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; color: #2e3436;
border-radius: 3px; outline-color: rgba(46, 52, 54, 0.3);
background-color: #cfcfcf; border-color: #a1a1a1;
box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; } background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0);
scale trough slider { 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 white, 0 1px rgba(0, 0, 0, 0.1);
border: 1px solid #999999;
border-radius: 100%; }
scale 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, #fafafa, #ededed 40%, #e0e0e0); 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: 1px solid; scale slider:active {
border-radius: 50%; border-color: #184472; }
border-color: #999999; scale slider:insensitive {
box-shadow: inset 0 1px white, inset 0 -2px #ededed, inset 0 -1px #c7c7c7; } color: #8e9192;
scale trough slider:hover { border-color: #a1a1a1;
color: #2e3436; background-image: linear-gradient(to bottom, #f4f4f4);
outline-color: rgba(46, 52, 54, 0.3); text-shadow: none;
border-color: #a1a1a1; -gtk-icon-shadow: none;
background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed); box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; }
text-shadow: 0 1px rgba(255, 255, 255, 0.76923); scale slider:insensitive > .label {
-gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); color: inherit; }
box-shadow: inset 0 1px white, 0 1px white; scale slider:backdrop {
border-color: #999999; color: #8e9192;
border-radius: 50%; border-color: darkgray;
box-shadow: inset 0 1px white, inset 0 -2px white, inset 0 -1px #d6d6d6; } background-image: linear-gradient(to bottom, #ededed);
scale trough slider:insensitive { text-shadow: none;
border-style: solid; -gtk-icon-shadow: none;
border-radius: 50%; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
background-image: linear-gradient(to bottom, #f4f4f4); scale slider:backdrop:insensitive {
box-shadow: none; }
scale trough slider:backdrop {
border-style: solid;
border-radius: 50%;
border-color: #a1a1a1;
background-image: linear-gradient(to bottom, #ededed);
box-shadow: none; }
scale trough 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; color: #eeeeec;
outline-color: rgba(46, 52, 54, 0.3); border-color: rgba(0, 0, 0, 0.7);
border-color: #a1a1a1; background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7));
background-image: linear-gradient(to bottom, #d6d6d6, gainsboro 40%, #e0e0e0); background-clip: padding-box;
text-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
-gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); text-shadow: 0 1px black;
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; -gtk-icon-shadow: 0 1px black;
border: 1px solid #153d65; } outline-color: rgba(238, 238, 236, 0.3);
.osd scale trough slider { border-color: rgba(0, 0, 0, 0.7);
color: #eeeeec; background-color: #202526; }
.osd scale slider:hover {
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(32, 37, 38, 0.7)); background-image: linear-gradient(to bottom, rgba(60, 69, 71, 0.7));
background-clip: padding-box; background-clip: padding-box;
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
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); }
background-color: #202526; } .osd scale slider:active {
.osd scale trough slider:hover { color: white;
color: white;
border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(60, 69, 71, 0.7));
background-clip: padding-box;
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
text-shadow: 0 1px black;
-gtk-icon-shadow: 0 1px black;
outline-color: rgba(238, 238, 236, 0.3); }
.osd scale trough slider:active {
color: white;
border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7));
background-clip: padding-box;
box-shadow: none;
text-shadow: none;
-gtk-icon-shadow: none;
outline-color: rgba(238, 238, 236, 0.3); }
.osd scale trough slider:backdrop {
color: #eeeeec;
border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7));
background-clip: padding-box;
box-shadow: none;
text-shadow: none;
-gtk-icon-shadow: none; }
scale trough highlight {
background-image: linear-gradient(to bottom, #4a90d9 2px, #63a0de);
border: 1px solid #a1a1a1;
border-radius: 3px;
box-shadow: 0 1px white; }
scale trough highlight.vertical {
background-image: linear-gradient(to right, #4a90d9 2px, #63a0de); }
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;
box-shadow: 0 1px white; }
scale trough:backdrop {
border-color: darkgray;
background-color: #c7c7c7;
box-shadow: none; }
scale trough:backdrop:insensitive, scale trough .highlight:backdrop:insensitive {
border-color: darkgray;
background-color: #f4f4f4; }
.osd scale trough {
border-color: rgba(0, 0, 0, 0.7);
box-shadow: none;
margin: 9px;
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); border-color: rgba(0, 0, 0, 0.7);
background-image: none; } background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7));
row:selected scale { background-clip: padding-box;
border-color: #184472; box-shadow: none;
box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1); } text-shadow: none;
row:selected scale:backdrop { -gtk-icon-shadow: none;
box-shadow: none; } outline-color: rgba(238, 238, 236, 0.3); }
row:selected scale.highlight:backdrop { .osd scale slider:insensitive {
border-color: #184472; } color: #878a89;
row:selected scale:insensitive, row:selected scale.highlight:insensitive { border-color: rgba(0, 0, 0, 0.7);
border-color: #4a90d9; background-image: linear-gradient(to bottom, rgba(53, 57, 58, 0.5));
box-shadow: none; background-clip: padding-box;
background-color: #a5c8ec; box-shadow: none;
background-image: none; } text-shadow: none;
row:selected scale:insensitive:backdrop, row:selected scale.highlight:insensitive:backdrop { -gtk-icon-shadow: none; }
background-color: #a5c8ec; } .osd scale slider:backdrop {
color: #eeeeec;
border-color: rgba(0, 0, 0, 0.7);
background-image: linear-gradient(to bottom, rgba(32, 37, 38, 0.7));
background-clip: padding-box;
box-shadow: none;
text-shadow: none;
-gtk-icon-shadow: none; }
scale marks { scale trough, progressbar trough {
color: alpha(currentColor,0.5); } border: 1px solid #a1a1a1;
border-radius: 3px;
background-color: #d2d2d2;
box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; }
scale trough:insensitive, progressbar trough:insensitive {
background-color: #f4f4f4;
box-shadow: 0 1px white; }
scale trough:backdrop, progressbar trough:backdrop, progressbar:backdrop trough {
background-color: #d5d5d5;
border-color: darkgray;
box-shadow: none; }
scale trough:backdrop:insensitive, progressbar trough:backdrop:insensitive, progressbar:backdrop trough:insensitive {
background-color: #f4f4f4; }
.osd scale trough, scale .osd trough, .osd progressbar trough, progressbar .osd trough {
border-color: rgba(0, 0, 0, 0.7);
background-color: rgba(0, 0, 0, 0.5);
box-shadow: none;
outline-color: rgba(238, 238, 236, 0.2); }
.osd scale trough:insensitive, scale .osd trough:insensitive, .osd progressbar trough:insensitive, progressbar .osd trough:insensitive {
background-color: rgba(53, 57, 58, 0.5); }
scale trough:first-child:not(:last-child) slider { scale highlight, progressbar progress {
border-style: none; border: 1px solid #184472;
border-radius: 0; border-radius: 3px;
background-color: transparent; background-color: #4a90d9; }
background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below.png"), url("assets/slider-horz-scale-has-marks-below@2.png")); scale highlight:insensitive, progressbar progress:insensitive {
background-repeat: no-repeat; background-color: transparent;
background-position: center; border-color: transparent; }
box-shadow: none; } scale highlight:backdrop, progressbar progress:backdrop, progressbar:backdrop progress {
scale trough:first-child:not(:last-child) slider:hover { border-color: #4a90d9; }
border-style: none; scale highlight:backdrop:insensitive, progressbar progress:backdrop:insensitive, progressbar:backdrop progress:insensitive {
border-radius: 0; background-color: transparent;
background-color: transparent; border-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")); .osd scale highlight, scale .osd highlight, .osd progressbar progress, progressbar .osd progress {
background-repeat: no-repeat; border-color: rgba(0, 0, 0, 0.7); }
background-position: center; .osd scale highlight:insensitive, scale .osd highlight:insensitive, .osd progressbar progress:insensitive, progressbar .osd progress:insensitive {
box-shadow: none; } border-color: transparent; }
scale trough:first-child:not(:last-child) slider:active {
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; }
progressbar trough {
border: 1px solid #a1a1a1;
border-radius: 3px;
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-bottom-left-radius: 3px; }
progressbar.horizontal progress.right {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px; }
progressbar.horizontal progress.left.right {
box-shadow: none; } box-shadow: none; }
progressbar progress {
progressbar.vertical progress { border-radius: 1.5px; }
background-image: linear-gradient(to right, #4a90d9 2px, #63a0de); progressbar progress.left {
border: 1px solid #184472; border-top-left-radius: 3px;
border-radius: 1.5px; border-bottom-left-radius: 3px; }
box-shadow: none; } progressbar progress.right {
progressbar.vertical progress.bottom { border-top-right-radius: 3px;
border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; }
border-bottom-right-radius: 3px; progressbar progress.top {
box-shadow: none; } border-top-right-radius: 3px;
progressbar.vertical progress.top { border-top-left-radius: 3px; }
border-top-left-radius: 3px; progressbar progress.bottom {
border-top-right-radius: 3px; } border-bottom-right-radius: 3px;
progressbar.vertical progress:backdrop { border-bottom-left-radius: 3px; }
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 *