summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-10 17:22:27 +0200
committerraveit65 <[email protected]>2016-04-10 17:22:27 +0200
commitc5bfe755429e40d27bed0cc8ee0d9b59f289055f (patch)
tree85206cb340f338aa63b1bf1c1c7e6571fa1832f3 /desktop-themes
parent51f6e66e4e08037e4af7a4a5690ee9c094e25f9c (diff)
downloadmate-themes-c5bfe755429e40d27bed0cc8ee0d9b59f289055f.tar.bz2
mate-themes-c5bfe755429e40d27bed0cc8ee0d9b59f289055f.tar.xz
GTK+-3.20 TOK themes: OSD and inline-bar fixes for parole and gnome-weather
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/applications.css21
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css94
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/other-applications.css14
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/applications.css21
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css94
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/other-applications.css14
6 files changed, 180 insertions, 78 deletions
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/applications.css b/desktop-themes/TraditionalGreen/gtk-3.0/applications.css
index ea0994da..184982c5 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/applications.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/applications.css
@@ -31,7 +31,7 @@
background-color: @theme_base_color;
}
-GtkIconView.documents-main-view.check {
+iconview.documents-main-view.check {
background-repeat: no-repeat;
background-position: center;
background-color: @theme_base_color;
@@ -56,6 +56,25 @@ GtkIconView.documents-main-view.check {
border-radius: 3px;
}
+/* gnome-weather */
+
+#weather-page stack > scrolledwindow > viewport.frame,
+#weather-page stack > scrolledwindow > viewport.frame > grid > frame {
+ background-color: transparent;
+}
+
+#weather-page frame.weather-clear .linked.stack-switcher.osd > button,
+#weather-page frame.weather-overcast .linked.stack-switcher.osd > button,
+#weather-page frame.weather-overcast stack > scrolledwindow > .frame label {
+ color: @theme_fg_color;
+ text-shadow: none;
+}
+
+#weather-page frame.weather-clear .linked.stack-switcher.osd > button:checked,
+#weather-page frame.weather-overcast .linked.stack-switcher.osd > button:checked {
+ color: @osd_button_fg_active;
+}
+
/*********
* Unity *
*********/
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
index d91b67d8..dd2930cc 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
@@ -841,12 +841,29 @@ button {
button,
button.menuitem.menubar,
-toolbar.inline-toolbar button,
.titlebar .linked.raised button,
.titlebar .linked.raised button:checked {
padding: 5px 5px 6px; /* larger values makes the button arrow smaller*/
}
+toolbar.inline-toolbar button,
+toolbar.inline-toolbar button.image-button,
+toolbar.inline-toolbar button.text-button,
+toolbar.inline-toolbar button:checked,
+toolbar.inline-toolbar button.image-button:checked,
+toolbar.inline-toolbar button.text-button:checked {
+ padding: 3px;
+}
+
+toolbar.inline-toolbar button box.horizontal,
+toolbar.inline-toolbar button.image-button box.horizontal,
+toolbar.inline-toolbar button.text-button box.horizontal,
+toolbar.inline-toolbar button box.horizontal image,
+toolbar.inline-toolbar button.image-button box.horizontal image,
+toolbar.inline-toolbar button.text-button box.horizontal image {
+ border-image: none;
+}
+
toolbar.horizontal button,
toolbar.horizontal button:checked,
toolbar.primary-toolbar.horizontal button,
@@ -953,20 +970,20 @@ toolbar.primary-toolbar button {
border-color: transparent;
}
-toolbar.primary-toolbar button *:active,
-toolbar.inline-toolbar button *:active,
-button *:active,
-button *:active:focus,
-button *:focus {
+toolbar.primary-toolbar button:checked,
+toolbar.inline-toolbar button:checked,
+button:checked,
+button:checked:focus,
+button:focus {
color: @button_active_text_color;
}
-button *:disabled,
-button *:active:disabled {
+button:disabled,
+button:checked:disabled {
color: @insensitive_fg_color;
}
-button .separator {
+button separator {
color: shade(@internal_element_color, 1.30);
}
@@ -2331,7 +2348,7 @@ toolbar.inline-toolbar {
border-radius: 0;
border-style: solid;
-GtkToolbar-button-relief: normal;
- padding: 4px;
+ padding: 2px;
}
toolbar.inline-toolbar:last-child {
@@ -2437,7 +2454,7 @@ dialog filechooser placessidebar.sidebar.frame viewport.frame list row.activatab
background-color: @osd_bg;
}
-GtkOverlay.osd {
+overlay.osd {
background-color: transparent;
}
@@ -2447,6 +2464,7 @@ GtkOverlay.osd {
}
.osd button,
+.osd button:hover,
.osd button:checked {
border-width: 1px;
border-style: solid;
@@ -2454,6 +2472,11 @@ GtkOverlay.osd {
border-radius: 5px;
}
+.osd .horizontal > button {
+ padding: 4px 6px;
+ margin: 0px 1px;
+}
+
.osd button {
border-color: shade (@theme_bg_color, 0.4);
}
@@ -2477,55 +2500,59 @@ GtkOverlay.osd {
-gtk-icon-shadow: 0 -1px @osd_button_shadow;
}
-.osd.button {
+button.osd {
padding: 8px;
}
-.osd.button,
-.osd.button:checked {
+button.osd,
+button.osd:checked {
border-color: transparent;
}
-.osd.button,
-.osd.button:hover,
-.osd.button:checked {
+button.osd,
+button.osd:hover,
+button.osd:checked {
background-color: shade(@osd_bg, 1.10);
}
+button.osd {
+ background-image: none;
+ border-image: none;
+}
+
+button.osd:focus:hover:active {
+ border-image: none;
+}
+
.osd button,
.osd button:hover,
.osd button:checked {
background-color: transparent;
}
-.osd.button:disabled,
+button.osd:disabled,
.osd button:disabled {
background-image: none;
background-color: @osd_button_bg_insensitive;
}
-.osd.button:checked:disabled,
+button.osd:checked:disabled,
.osd button:checked:disabled {
background-image: none;
background-color: @osd_button_bg_insensitive_active;
}
-.osd.button:hover,
-.osd button:hover {
- color: @osd_button_fg_hover;
-}
-
-.osd.button:hover:active,
+button.osd:hover:active,
.osd button:hover:active,
-.osd.button:checked,
-.osd.button:checked:hover,
+button.osd:checked,
+button.osd:checked:hover,
.osd button:checked,
.osd button:checked:hover {
color: @osd_button_fg_active;
}
-.osd.button:disabled,
-.osd.button:checked:disabled,
+button.osd:disabled,
+button.osd:checked:disabled,
.osd button:disabled,
.osd button:checked:disabled {
color: @osd_button_fg_insensitive;
@@ -2533,16 +2560,19 @@ GtkOverlay.osd {
-gtk-icon-shadow: none;
}
-.osd.button:hover,
+button.osd:hover,
.osd button:hover {
+ color: @osd_button_fg_hover;
background-image: linear-gradient(to bottom,
@osd_button_bg_hover_a,
@osd_button_bg_hover_b 68%,
@osd_button_bg_hover_c);
+ border-image: none;
}
-.osd.button:checked,
-.osd.button:checked:hover,
+button.osd:checked,
+button.osd:checked:hover,
+button.osd:focus:hover:active,
.osd button:checked,
.osd button:checked:hover,
.osd GtkMenuButton.menu-button:checked {
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/other-applications.css b/desktop-themes/TraditionalGreen/gtk-3.0/other-applications.css
index 4c8ea703..6335f39a 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/other-applications.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/other-applications.css
@@ -1,10 +1,12 @@
-/* Parole media player needs more testing!
- hopefully do not set other stuff */
+/* Parole media player */
-/* background control panel */
-GtkPaned.horizontal .vertical GtkOverlay GtkRevealer.bottom .background.horizontal.osd {
- background-color: @theme_bg_color;
- color: @theme_fg_color;
+.osd #ParoleScale.horizontal {
+ background-color: transparent;
+}
+
+.osd #ParoleScale.horizontal trough {
+ min-height: 4px;
+ margin: 0px;
}
/* rhythmbox */
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/applications.css b/desktop-themes/TraditionalOk/gtk-3.0/applications.css
index ea0994da..184982c5 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/applications.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/applications.css
@@ -31,7 +31,7 @@
background-color: @theme_base_color;
}
-GtkIconView.documents-main-view.check {
+iconview.documents-main-view.check {
background-repeat: no-repeat;
background-position: center;
background-color: @theme_base_color;
@@ -56,6 +56,25 @@ GtkIconView.documents-main-view.check {
border-radius: 3px;
}
+/* gnome-weather */
+
+#weather-page stack > scrolledwindow > viewport.frame,
+#weather-page stack > scrolledwindow > viewport.frame > grid > frame {
+ background-color: transparent;
+}
+
+#weather-page frame.weather-clear .linked.stack-switcher.osd > button,
+#weather-page frame.weather-overcast .linked.stack-switcher.osd > button,
+#weather-page frame.weather-overcast stack > scrolledwindow > .frame label {
+ color: @theme_fg_color;
+ text-shadow: none;
+}
+
+#weather-page frame.weather-clear .linked.stack-switcher.osd > button:checked,
+#weather-page frame.weather-overcast .linked.stack-switcher.osd > button:checked {
+ color: @osd_button_fg_active;
+}
+
/*********
* Unity *
*********/
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
index cd8dc25b..7a428de8 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
@@ -841,12 +841,29 @@ button {
button,
button.menuitem.menubar,
-toolbar.inline-toolbar button,
.titlebar .linked.raised button,
.titlebar .linked.raised button:checked {
padding: 5px 5px 6px; /* larger values makes the button arrow smaller*/
}
+toolbar.inline-toolbar button,
+toolbar.inline-toolbar button.image-button,
+toolbar.inline-toolbar button.text-button,
+toolbar.inline-toolbar button:checked,
+toolbar.inline-toolbar button.image-button:checked,
+toolbar.inline-toolbar button.text-button:checked {
+ padding: 3px;
+}
+
+toolbar.inline-toolbar button box.horizontal,
+toolbar.inline-toolbar button.image-button box.horizontal,
+toolbar.inline-toolbar button.text-button box.horizontal,
+toolbar.inline-toolbar button box.horizontal image,
+toolbar.inline-toolbar button.image-button box.horizontal image,
+toolbar.inline-toolbar button.text-button box.horizontal image {
+ border-image: none;
+}
+
toolbar.horizontal button,
toolbar.horizontal button:checked,
toolbar.primary-toolbar.horizontal button,
@@ -953,20 +970,20 @@ toolbar.primary-toolbar button {
border-color: transparent;
}
-toolbar.primary-toolbar button *:active,
-toolbar.inline-toolbar button *:active,
-button *:active,
-button *:active:focus,
-button *:focus {
+toolbar.primary-toolbar button:checked,
+toolbar.inline-toolbar button:checked,
+button:checked,
+button:checked:focus,
+button:focus {
color: @button_active_text_color;
}
-button *:disabled,
-button *:active:disabled {
+button:disabled,
+button:checked:disabled {
color: @insensitive_fg_color;
}
-button .separator {
+button separator {
color: shade(@internal_element_color, 1.30);
}
@@ -2331,7 +2348,7 @@ toolbar.inline-toolbar {
border-radius: 0;
border-style: solid;
-GtkToolbar-button-relief: normal;
- padding: 4px;
+ padding: 2px;
}
toolbar.inline-toolbar:last-child {
@@ -2437,7 +2454,7 @@ dialog filechooser placessidebar.sidebar.frame viewport.frame list row.activatab
background-color: @osd_bg;
}
-GtkOverlay.osd {
+overlay.osd {
background-color: transparent;
}
@@ -2447,6 +2464,7 @@ GtkOverlay.osd {
}
.osd button,
+.osd button:hover,
.osd button:checked {
border-width: 1px;
border-style: solid;
@@ -2454,6 +2472,11 @@ GtkOverlay.osd {
border-radius: 5px;
}
+.osd .horizontal > button {
+ padding: 4px 6px;
+ margin: 0px 1px;
+}
+
.osd button {
border-color: shade (@theme_bg_color, 0.4);
}
@@ -2477,55 +2500,59 @@ GtkOverlay.osd {
-gtk-icon-shadow: 0 -1px @osd_button_shadow;
}
-.osd.button {
+button.osd {
padding: 8px;
}
-.osd.button,
-.osd.button:checked {
+button.osd,
+button.osd:checked {
border-color: transparent;
}
-.osd.button,
-.osd.button:hover,
-.osd.button:checked {
+button.osd,
+button.osd:hover,
+button.osd:checked {
background-color: shade(@osd_bg, 1.10);
}
+button.osd {
+ background-image: none;
+ border-image: none;
+}
+
+button.osd:focus:hover:active {
+ border-image: none;
+}
+
.osd button,
.osd button:hover,
.osd button:checked {
background-color: transparent;
}
-.osd.button:disabled,
+button.osd:disabled,
.osd button:disabled {
background-image: none;
background-color: @osd_button_bg_insensitive;
}
-.osd.button:checked:disabled,
+button.osd:checked:disabled,
.osd button:checked:disabled {
background-image: none;
background-color: @osd_button_bg_insensitive_active;
}
-.osd.button:hover,
-.osd button:hover {
- color: @osd_button_fg_hover;
-}
-
-.osd.button:hover:active,
+button.osd:hover:active,
.osd button:hover:active,
-.osd.button:checked,
-.osd.button:checked:hover,
+button.osd:checked,
+button.osd:checked:hover,
.osd button:checked,
.osd button:checked:hover {
color: @osd_button_fg_active;
}
-.osd.button:disabled,
-.osd.button:checked:disabled,
+button.osd:disabled,
+button.osd:checked:disabled,
.osd button:disabled,
.osd button:checked:disabled {
color: @osd_button_fg_insensitive;
@@ -2533,16 +2560,19 @@ GtkOverlay.osd {
-gtk-icon-shadow: none;
}
-.osd.button:hover,
+button.osd:hover,
.osd button:hover {
+ color: @osd_button_fg_hover;
background-image: linear-gradient(to bottom,
@osd_button_bg_hover_a,
@osd_button_bg_hover_b 68%,
@osd_button_bg_hover_c);
+ border-image: none;
}
-.osd.button:checked,
-.osd.button:checked:hover,
+button.osd:checked,
+button.osd:checked:hover,
+button.osd:focus:hover:active,
.osd button:checked,
.osd button:checked:hover,
.osd GtkMenuButton.menu-button:checked {
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/other-applications.css b/desktop-themes/TraditionalOk/gtk-3.0/other-applications.css
index 500f98fe..9ba43f62 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/other-applications.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/other-applications.css
@@ -1,10 +1,12 @@
-/* Parole media player needs more testing!
- hopefully do not set other stuff */
+/* Parole media player */
-/* background control panel */
-GtkPaned.horizontal .vertical GtkOverlay GtkRevealer.bottom .background.horizontal.osd {
- background-color: @theme_bg_color;
- color: @theme_fg_color;
+.osd #ParoleScale.horizontal {
+ background-color: transparent;
+}
+
+.osd #ParoleScale.horizontal trough {
+ min-height: 4px;
+ margin: 0px;
}
/* rhythmbox */