Adwaita: scale with marks style fixes

after GtkRange gadgettification the theme needs some adjustments
for the new widget structure.
This commit is contained in:
Lapo Calamandrei
2016-03-02 21:34:03 +01:00
parent 4a5801b902
commit fde1aac57a
3 changed files with 41 additions and 13 deletions

View File

@ -2483,6 +2483,10 @@ treeview.view radio {
scale {
// sizing
$_marks_lenght: 6px;
$_marks_distance: 6px;
min-height: 10px;
min-width: 10px;
padding: 12px;
@ -2582,14 +2586,22 @@ scale {
}
}
marks { color: gtkalpha(currentColor, 0.4); }
&.horizontal mark indicator {
min-height: 8px;
marks {
color: gtkalpha(currentColor, 0.4);
&.top { margin-bottom: $_marks_distance; }
&.bottom { margin-top: $_marks_distance; }
&.left { margin-right: $_marks_distance; }
&.right { margin-left: $_marks_distance; }
}
&.horizontal indicator {
min-height: $_marks_lenght;
min-width: 1px;
}
&.vertical mark indicator {
&.vertical indicator {
min-height: 1px;
min-width: 8px;
min-width: $_marks_lenght;
}
// *WARNING* scale with marks madness following

View File

@ -2760,12 +2760,20 @@ scale {
-gtk-icon-shadow: none; }
scale marks {
color: alpha(currentColor,0.4); }
scale.horizontal mark indicator {
min-height: 8px;
scale marks.top {
margin-bottom: 6px; }
scale marks.bottom {
margin-top: 6px; }
scale marks.left {
margin-right: 6px; }
scale marks.right {
margin-left: 6px; }
scale.horizontal indicator {
min-height: 6px;
min-width: 1px; }
scale.vertical mark indicator {
scale.vertical indicator {
min-height: 1px;
min-width: 8px; }
min-width: 6px; }
scale.color.horizontal trough > trough > slider, scale.horizontal contents:last-child:not(:only-child) > trough > slider {
margin: -9px;
border-style: none;

View File

@ -2791,12 +2791,20 @@ scale {
-gtk-icon-shadow: none; }
scale marks {
color: alpha(currentColor,0.4); }
scale.horizontal mark indicator {
min-height: 8px;
scale marks.top {
margin-bottom: 6px; }
scale marks.bottom {
margin-top: 6px; }
scale marks.left {
margin-right: 6px; }
scale marks.right {
margin-left: 6px; }
scale.horizontal indicator {
min-height: 6px;
min-width: 1px; }
scale.vertical mark indicator {
scale.vertical indicator {
min-height: 1px;
min-width: 8px; }
min-width: 6px; }
scale.color.horizontal trough > trough > slider, scale.horizontal contents:last-child:not(:only-child) > trough > slider {
margin: -9px;
border-style: none;