pull/526/head
Megax 2016-08-25 16:08:04 +02:00
parent ea2a1710ee
commit db7bed2454
2 changed files with 28 additions and 8 deletions
gtk-3.0/scss/widgets
gtk-3.20/scss/widgets

View File

@ -56,10 +56,20 @@ $suffix: if($variant == "dark", "-dark", "");
.check { @include toggle("checkbox"); }
GtkIconView.content-view.cell.check {
-gtk-icon-source: url("assets/grid-selection-unchecked#{$suffix}.png");
&:active { -gtk-icon-source: url("assets/grid-selection-checked#{$suffix}.png"); }
//selection-mode
@each $s,$as in ('', '-unchecked'),
(':hover', '-unchecked'),
(':active', '-checked'),
(':backdrop', '-unchecked'),
(':checked', '-checked'),
(':checked:hover', '-checked'),
(':checked:active', '-checked'),
(':backdrop:checked', '-checked') {
.view.content-view.check#{$s}:not(list) {
-gtk-icon-shadow: none;
-gtk-icon-source: url("../assets/grid-selection#{$as}#{$suffix}.svg");
background-color: transparent;
}
}
}

View File

@ -66,10 +66,20 @@ $suffix: if($variant == "dark", "-dark", "");
margin-left: $spacing;
}
iconview.content-view.cell.check {
-gtk-icon-source: url("assets/grid-selection-unchecked#{$suffix}.png");
&:active { -gtk-icon-source: url("assets/grid-selection-checked#{$suffix}.png"); }
//selection-mode
@each $s,$as in ('', '-unchecked'),
(':hover', '-unchecked'),
(':active', '-checked'),
(':backdrop', '-unchecked'),
(':checked', '-checked'),
(':checked:hover', '-checked'),
(':checked:active', '-checked'),
(':backdrop:checked', '-checked') {
.view.content-view.check#{$s}:not(list) {
-gtk-icon-shadow: none;
-gtk-icon-source: url("../assets/grid-selection#{$as}#{$suffix}.svg");
background-color: transparent;
}
}
}