forked from AuroraMiddleware/gtk
Adwaita: special case selection mode lists checks
...otherwise the special selection mode 40x40px checks are used shrinked to 16x16. See https://bugzilla.gnome.org/show_bug.cgi?id=754610
This commit is contained in:
parent
d52da39183
commit
f7894a7588
@ -2160,14 +2160,6 @@ GtkSwitch {
|
|||||||
&:selected, &:hover { icon-shadow: none; }
|
&:selected, &:hover { icon-shadow: none; }
|
||||||
}
|
}
|
||||||
|
|
||||||
//content view (grid/list)
|
|
||||||
.content-view {
|
|
||||||
background-color: darken($bg_color,7%);
|
|
||||||
&:hover { -gtk-image-effect: highlight; }
|
|
||||||
&:backdrop { background-color: darken($bg_color,7%); }
|
|
||||||
&.rubberband { @extend .rubberband; }
|
|
||||||
}
|
|
||||||
|
|
||||||
//selection-mode
|
//selection-mode
|
||||||
@each $s,$as in ('','-selectionmode'),
|
@each $s,$as in ('','-selectionmode'),
|
||||||
(':hover', '-hover-selectionmode'),
|
(':hover', '-hover-selectionmode'),
|
||||||
@ -2177,7 +2169,7 @@ GtkSwitch {
|
|||||||
(':checked:hover', '-checked-hover-selectionmode'),
|
(':checked:hover', '-checked-hover-selectionmode'),
|
||||||
(':checked:active', '-checked-active-selectionmode'),
|
(':checked:active', '-checked-active-selectionmode'),
|
||||||
(':backdrop:checked', '-checked-backdrop-selectionmode') {
|
(':backdrop:checked', '-checked-backdrop-selectionmode') {
|
||||||
.view.content-view.check#{$s} {
|
.view.content-view.check#{$s}:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox#{$as}.png"),
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox#{$as}.png"),
|
||||||
url("assets/checkbox#{$as}@2.png"));
|
url("assets/checkbox#{$as}@2.png"));
|
||||||
@ -3202,6 +3194,14 @@ GtkColorSwatch {
|
|||||||
* Misc *
|
* Misc *
|
||||||
********/
|
********/
|
||||||
|
|
||||||
|
//content view (grid/list)
|
||||||
|
.content-view {
|
||||||
|
background-color: darken($bg_color,7%);
|
||||||
|
&:hover { -gtk-image-effect: highlight; }
|
||||||
|
&:backdrop { background-color: darken($bg_color,7%); }
|
||||||
|
&.rubberband { @extend .rubberband; }
|
||||||
|
}
|
||||||
|
|
||||||
.scale-popup {
|
.scale-popup {
|
||||||
|
|
||||||
.osd & { @extend %osd; }
|
.osd & { @extend %osd; }
|
||||||
|
@ -2821,49 +2821,42 @@ GtkSwitch {
|
|||||||
.list-row .check:hover, list-row .radio:selected, list-row .radio:hover {
|
.list-row .check:hover, list-row .radio:selected, list-row .radio:hover {
|
||||||
icon-shadow: none; }
|
icon-shadow: none; }
|
||||||
|
|
||||||
.content-view {
|
.view.content-view.check:not(.list) {
|
||||||
background-color: #282c2c; }
|
|
||||||
.content-view:hover {
|
|
||||||
-gtk-image-effect: highlight; }
|
|
||||||
.content-view:backdrop {
|
|
||||||
background-color: #282c2c; }
|
|
||||||
|
|
||||||
.view.content-view.check {
|
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-selectionmode.png"), url("assets/checkbox-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-selectionmode.png"), url("assets/checkbox-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:hover {
|
.view.content-view.check:hover:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-hover-selectionmode.png"), url("assets/checkbox-hover-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-hover-selectionmode.png"), url("assets/checkbox-hover-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:active {
|
.view.content-view.check:active:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-active-selectionmode.png"), url("assets/checkbox-active-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-active-selectionmode.png"), url("assets/checkbox-active-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:backdrop {
|
.view.content-view.check:backdrop:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-backdrop-selectionmode.png"), url("assets/checkbox-backdrop-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-backdrop-selectionmode.png"), url("assets/checkbox-backdrop-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:checked {
|
.view.content-view.check:checked:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-selectionmode.png"), url("assets/checkbox-checked-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-selectionmode.png"), url("assets/checkbox-checked-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:checked:hover {
|
.view.content-view.check:checked:hover:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-hover-selectionmode.png"), url("assets/checkbox-checked-hover-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-hover-selectionmode.png"), url("assets/checkbox-checked-hover-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:checked:active {
|
.view.content-view.check:checked:active:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-active-selectionmode.png"), url("assets/checkbox-checked-active-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-active-selectionmode.png"), url("assets/checkbox-checked-active-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:backdrop:checked {
|
.view.content-view.check:backdrop:checked:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-backdrop-selectionmode.png"), url("assets/checkbox-checked-backdrop-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-backdrop-selectionmode.png"), url("assets/checkbox-checked-backdrop-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
@ -4278,6 +4271,13 @@ GtkColorSwatch {
|
|||||||
/********
|
/********
|
||||||
* Misc *
|
* Misc *
|
||||||
********/
|
********/
|
||||||
|
.content-view {
|
||||||
|
background-color: #282c2c; }
|
||||||
|
.content-view:hover {
|
||||||
|
-gtk-image-effect: highlight; }
|
||||||
|
.content-view:backdrop {
|
||||||
|
background-color: #282c2c; }
|
||||||
|
|
||||||
.osd .scale-popup .button.flat, .osd .scale-popup .sidebar-button.button, .osd .scale-popup .header-bar .titlebutton.button, .header-bar .osd .scale-popup .titlebutton.button,
|
.osd .scale-popup .button.flat, .osd .scale-popup .sidebar-button.button, .osd .scale-popup .header-bar .titlebutton.button, .header-bar .osd .scale-popup .titlebutton.button,
|
||||||
.osd .scale-popup .titlebar .titlebutton.button,
|
.osd .scale-popup .titlebar .titlebutton.button,
|
||||||
.titlebar .osd .scale-popup .titlebutton.button {
|
.titlebar .osd .scale-popup .titlebutton.button {
|
||||||
|
@ -2983,49 +2983,42 @@ GtkSwitch {
|
|||||||
.list-row .check:hover, list-row .radio:selected, list-row .radio:hover {
|
.list-row .check:hover, list-row .radio:selected, list-row .radio:hover {
|
||||||
icon-shadow: none; }
|
icon-shadow: none; }
|
||||||
|
|
||||||
.content-view {
|
.view.content-view.check:not(.list) {
|
||||||
background-color: #dbdbdb; }
|
|
||||||
.content-view:hover {
|
|
||||||
-gtk-image-effect: highlight; }
|
|
||||||
.content-view:backdrop {
|
|
||||||
background-color: #dbdbdb; }
|
|
||||||
|
|
||||||
.view.content-view.check {
|
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-selectionmode.png"), url("assets/checkbox-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-selectionmode.png"), url("assets/checkbox-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:hover {
|
.view.content-view.check:hover:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-hover-selectionmode.png"), url("assets/checkbox-hover-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-hover-selectionmode.png"), url("assets/checkbox-hover-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:active {
|
.view.content-view.check:active:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-active-selectionmode.png"), url("assets/checkbox-active-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-active-selectionmode.png"), url("assets/checkbox-active-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:backdrop {
|
.view.content-view.check:backdrop:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-backdrop-selectionmode.png"), url("assets/checkbox-backdrop-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-backdrop-selectionmode.png"), url("assets/checkbox-backdrop-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:checked {
|
.view.content-view.check:checked:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-selectionmode.png"), url("assets/checkbox-checked-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-selectionmode.png"), url("assets/checkbox-checked-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:checked:hover {
|
.view.content-view.check:checked:hover:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-hover-selectionmode.png"), url("assets/checkbox-checked-hover-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-hover-selectionmode.png"), url("assets/checkbox-checked-hover-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:checked:active {
|
.view.content-view.check:checked:active:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-active-selectionmode.png"), url("assets/checkbox-checked-active-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-active-selectionmode.png"), url("assets/checkbox-checked-active-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.view.content-view.check:backdrop:checked {
|
.view.content-view.check:backdrop:checked:not(.list) {
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-backdrop-selectionmode.png"), url("assets/checkbox-checked-backdrop-selectionmode@2.png"));
|
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-backdrop-selectionmode.png"), url("assets/checkbox-checked-backdrop-selectionmode@2.png"));
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
@ -4450,6 +4443,13 @@ GtkColorSwatch {
|
|||||||
/********
|
/********
|
||||||
* Misc *
|
* Misc *
|
||||||
********/
|
********/
|
||||||
|
.content-view {
|
||||||
|
background-color: #dbdbdb; }
|
||||||
|
.content-view:hover {
|
||||||
|
-gtk-image-effect: highlight; }
|
||||||
|
.content-view:backdrop {
|
||||||
|
background-color: #dbdbdb; }
|
||||||
|
|
||||||
.osd .scale-popup .button.flat, .osd .scale-popup .sidebar-button.button, .osd .scale-popup .header-bar .titlebutton.button, .header-bar .osd .scale-popup .titlebutton.button,
|
.osd .scale-popup .button.flat, .osd .scale-popup .sidebar-button.button, .osd .scale-popup .header-bar .titlebutton.button, .header-bar .osd .scale-popup .titlebutton.button,
|
||||||
.osd .scale-popup .titlebar .titlebutton.button,
|
.osd .scale-popup .titlebar .titlebutton.button,
|
||||||
.titlebar .osd .scale-popup .titlebutton.button {
|
.titlebar .osd .scale-popup .titlebutton.button {
|
||||||
|
Loading…
Reference in New Issue
Block a user