Adwaita: add inconsistent hover check/radios

This commit is contained in:
Lapo Calamandrei 2014-06-24 20:17:38 +02:00
parent 64b3884e98
commit 2aed2cddd5
3 changed files with 21 additions and 0 deletions

View File

@ -1209,6 +1209,7 @@ $asset_suffix: if($variant=='dark', '-dark', '');
(':backdrop', '-unchecked-backdrop'),
(':backdrop:insensitive', '-unchecked-backdrop-insensitive'),
(':inconsistent', '-mixed'),
(':inconsistent:hover', '-mixed-hover'),
(':inconsistent:selected', '-mixed-active'),
(':inconsistent:backdrop', '-mixed-backdrop'),
(':inconsistent:insensitive', '-mixed-insensitive'),

View File

@ -1415,6 +1415,11 @@ GtkSwitch {
background-repeat: no-repeat;
background-position: center; }
.check:inconsistent:hover {
background-image: -gtk-scaled(url("assets/checkbox-mixed-hover-dark.png"), url("assets/checkbox-mixed-hover-dark@2.png"));
background-repeat: no-repeat;
background-position: center; }
.check:inconsistent:selected {
background-image: -gtk-scaled(url("assets/checkbox-mixed-active-dark.png"), url("assets/checkbox-mixed-active-dark@2.png"));
background-repeat: no-repeat;
@ -1562,6 +1567,11 @@ GtkSwitch {
background-repeat: no-repeat;
background-position: center; }
.radio:inconsistent:hover {
background-image: -gtk-scaled(url("assets/radio-mixed-hover-dark.png"), url("assets/radio-mixed-hover-dark@2.png"));
background-repeat: no-repeat;
background-position: center; }
.radio:inconsistent:selected {
background-image: -gtk-scaled(url("assets/radio-mixed-active-dark.png"), url("assets/radio-mixed-active-dark@2.png"));
background-repeat: no-repeat;

View File

@ -1414,6 +1414,11 @@ GtkSwitch {
background-repeat: no-repeat;
background-position: center; }
.check:inconsistent:hover {
background-image: -gtk-scaled(url("assets/checkbox-mixed-hover.png"), url("assets/checkbox-mixed-hover@2.png"));
background-repeat: no-repeat;
background-position: center; }
.check:inconsistent:selected {
background-image: -gtk-scaled(url("assets/checkbox-mixed-active.png"), url("assets/checkbox-mixed-active@2.png"));
background-repeat: no-repeat;
@ -1561,6 +1566,11 @@ GtkSwitch {
background-repeat: no-repeat;
background-position: center; }
.radio:inconsistent:hover {
background-image: -gtk-scaled(url("assets/radio-mixed-hover.png"), url("assets/radio-mixed-hover@2.png"));
background-repeat: no-repeat;
background-position: center; }
.radio:inconsistent:selected {
background-image: -gtk-scaled(url("assets/radio-mixed-active.png"), url("assets/radio-mixed-active@2.png"));
background-repeat: no-repeat;