summaryrefslogtreecommitdiff
path: root/desktop-themes/GreenLaguna/gtk-3.0
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2014-09-12 22:43:05 +0200
committerraveit65 <[email protected]>2014-09-12 22:43:05 +0200
commit311e673606bbc22ab4e1ab595d1dd766a1b22dbd (patch)
treeed38c0248f92e1a9cd0c118992379babf96e49f7 /desktop-themes/GreenLaguna/gtk-3.0
parent22ce1eecbda120a8d341b3178fe8c89bf1105084 (diff)
downloadmate-themes-311e673606bbc22ab4e1ab595d1dd766a1b22dbd.tar.bz2
mate-themes-311e673606bbc22ab4e1ab595d1dd766a1b22dbd.tar.xz
GreenLaguna, GTK3-3.14: adjust to GTK3-3.13 changes
https://git.gnome.org/browse/gtk+/commit/?id=4e077d4638b4ecfaf67afbab5082b9d47499af4f https://bugzilla.redhat.com/show_bug.cgi?id=1136994 - GtkCheckButton - GtkRadioButton
Diffstat (limited to 'desktop-themes/GreenLaguna/gtk-3.0')
-rw-r--r--desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css28
-rw-r--r--desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css97
2 files changed, 93 insertions, 32 deletions
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css
index 0f40565c..225d2d2f 100644
--- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css
+++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css
@@ -153,74 +153,78 @@ GtkSwitch.trough:active {
.check,
.check row:selected,
.check row:selected:focus {
- background-image: url("assets/checkbox-unchecked.svg");
+ -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked.svg"));
}
.check:insensitive,
.check row:selected:insensitive,
.check row:selected:focus:insensitive {
- background-image: url("assets/checkbox-unchecked-insensitive.svg");
+ -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-insensitive.svg"));
}
+.check:checked,
.check:active,
+.check row:selected:checked,
.check row:selected:active,
.check row:selected:focus:active {
- background-image: url("assets/checkbox-checked.svg");
+ -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked.svg"));
}
.check:active:insensitive,
.check row:selected:active:insensitive,
.check row:selected:focus:active:insensitive
{
- background-image: url("assets/checkbox-checked-insensitive.svg");
+ -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-insensitive.svg"));
}
.check:inconsistent,
.check row:selected:inconsistent,
.check row:selected:focus:inconsistent {
- background-image: url("assets/checkbox-mixed.svg");
+ -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed.svg"));
}
.check:inconsistent:insensitive,
.check row:selected:inconsistent:insensitive,
.check row:selected:focus:inconsistent:insensitive {
- background-image: url("assets/checkbox-mixed-insensitive.svg");
+ -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-insensitive.svg"));
}
.radio,
.radio row:selected,
.radio row:selected:focus {
- background-image: url("assets/radio-unselected.svg");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-unselected.svg"));
}
.radio:insensitive,
.radio row:selected:insensitive,
.radio row:selected:focus:insensitive {
- background-image: url("assets/radio-unselected-insensitive.svg");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-unselected-insensitive.svg"));
}
+.radio:checked,
.radio:active,
+.radio row:selected:checked,
.radio row:selected:active,
.radio row:selected:focus:active {
- background-image: url("assets/radio-selected.svg");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-selected.svg"));
}
.radio:active:insensitive,
.radio row:selected:active:insensitive,
.radio row:selected:focus:active:insensitive {
- background-image: url("assets/radio-selected-insensitive.svg");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-selected-insensitive.svg"));
}
.radio:inconsistent,
.radio row:selected:inconsistent,
.radio row:selected:focus:inconsistent {
- background-image: url("assets/radio-mixed.svg");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed.svg"));
}
.radio:inconsistent:insensitive,
.radio row:selected:inconsistent:insensitive,
.radio row:selected:focus:inconsistent:insensitive {
- background-image: url("assets/radio-mixed-insensitive.svg");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-insensitive.svg"));
}
/*.menuitem:active,
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
index 08ea4f7d..bd76f78c 100644
--- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
@@ -1822,6 +1822,12 @@ GtkProgressBar.osd.progressbar {
color: #747473;
}
+/****************************************************************************************
+ * Give and take related to recent gtk3 development, *
+ * to achieve full size of the icon menu of some of the applications whose notification *
+ * icons appear in the system tray, the "shadow" is disabled. *
+ ****************************************************************************************/
+/*
.window-frame {
border-color: @theme_bg_color;
border-radius: 7px 7px 0 0;
@@ -1830,9 +1836,10 @@ GtkProgressBar.osd.progressbar {
background-color: @theme_bg_color;
box-shadow: 0 0 0 2px @osd_button_shadow, 0 2px 8px 3px @osd_button_shadow;
- /* this is used for the resize cursor area */
+ * this is used for the resize cursor area
margin: 10px;
}
+*/
/****************************
* Suggested action buttons *
@@ -2050,25 +2057,75 @@ GtkColorSwatch:selected:hover {
border-color: alpha(black, 0.5);
}
-/***************************
- * Radio and Check Buttons *
- ***************************/
-.radio,
-.check,
-.radio:selected,
-.check:selected,
-.radio:selected:focus,
-.check:selected:focus,
-.cell.radio,
-.cell.check,
-.cell.radio:selected,
-.cell.check:selected,
-.cell.radio:selected:focus,
-.cell.check:selected:focus {
- background-color: transparent;
- border-width: 0px;
- border-style: none;
-}
+/*****************************************************************************************************
+ * Check and Radio items *
+ * Related to recent gtk3 development, to reveal checkboxes as part of the dialogue *
+ * of some of the applications whose notification icons appear in the system tray *
+ * the reference section of the HighContrast theme is used. *
+ * https://git.gnome.org/browse/gnome-themes-standard/tree/themes/HighContrast/gtk-3.0/gtk.css#n1398 *
+ *****************************************************************************************************/
+
+GtkCheckButton.text-button, GtkRadioButton.text-button {
+ padding: 1px;
+ outline-offset: 0; }
+
+.check {
+ color: rgba(0, 0, 0, 0.1);
+ background-image: none;
+ -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked.svg")); }
+ .check:hover {
+ color: #7f7f7f; }
+ .check:checked, .check:active {
+ -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked.svg"));
+ color: #000; }
+ .check:checked:hover, .check:active:hover {
+ color: #7f7f7f; }
+ .check:checked:insensitive, .check:active:insensitive {
+ -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-insensitive.svg"));
+ color: #7f7f7f; }
+ .check:checked:insensitive:backdrop, .check:active:insensitive:backdrop {
+ color: #7f7f7f; }
+ .check:checked:backdrop, .check:active:backdrop {
+ color: #000; }
+ .check:insensitive {
+ color: rgba(127, 127, 127, 0.1); }
+ .check:insensitive:backdrop {
+ color: transparent; }
+ .check:inconsistent {
+ -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed.svg")); }
+ .check:backdrop {
+ color: rgba(0, 0, 0, 0.1); }
+ .check:backdrop:selected {
+ color: rgba(255, 255, 255, 0.1); }
+
+.radio {
+ color: rgba(0, 0, 0, 0.1);
+ background-image: none;
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-unselected.svg")); }
+ .radio:hover {
+ color: #7f7f7f; }
+ .radio:checked, .radio:active {
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-selected.svg"));
+ color: #000; }
+ .radio:checked:hover, .radio:active:hover {
+ color: #7f7f7f; }
+ .radio:checked:insensitive, .radio:active:insensitive {
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-selected-insensitive.svg"));
+ color: #7f7f7f; }
+ .radio:checked:insensitive:backdrop, .radio:active:insensitive:backdrop {
+ color: #7f7f7f; }
+ .radio:checked:backdrop, .radio:active:backdrop {
+ color: #000; }
+ .radio:insensitive {
+ color: rgba(127, 127, 127, 0.1); }
+ .radio:insensitive:backdrop {
+ color: transparent; }
+ .radio:inconsistent {
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed.svg")); }
+ .radio:backdrop {
+ color: rgba(0, 0, 0, 0.1); }
+ .radio:backdrop:selected {
+ color: rgba(255, 255, 255, 0.1); }
/*****************
* GtkCheckButton *