Commit 13da655a authored by Andrew Shadura's avatar Andrew Shadura Committed by Package Import Robot

Fix buttons and menus in GNOME applications.

parent b110294a
[Settings]
gtk-color-scheme = "base_color:#ffffff\nbg_color:#edeceb\nfg_color:#000000\nselected_bg_color:#86abd9\nselected_fg_color:#ffffff\ntooltip_bg_color:#f5f5b5\ntooltip_fg_color:#000000\ntext_color:#1a1a1a\nlink_color:#0000ee\nvisited_link_color:#551a8b"
gtk-auto-mnemonics = 0
gtk-visible-focus = automatic
01-fix-for-gtk-3.8.patch
02-fix-scrollbar-behaviour.patch
clearlooks-phenix-theme (3.0.16-5) unstable; urgency=medium
* Fix buttons and menus in GNOME applications.
-- Andrew Shadura <andrewsh@debian.org> Tue, 06 May 2014 23:00:35 +0200
clearlooks-phenix-theme (3.0.16-4) unstable; urgency=medium
* Restore the old scrollbar behaviour (middle and left click swapped).
-- Andrew Shadura <andrewsh@debian.org> Wed, 19 Mar 2014 09:44:49 +0100
clearlooks-phenix-theme (3.0.16-3) unstable; urgency=low
* Fix scrollbars in file open dialog.
......
......@@ -12,7 +12,37 @@ Subject: Some obvious fixes for GTK+ 3.8.
padding: 0;
}
@@ -1057,7 +1057,7 @@
@@ -454,6 +454,11 @@
border-color: transparent;
}
+/* We want anything inside the buttons to use their background */
+.button * {
+ background-color: transparent;
+}
+
/* We may want a background for focused buttons, but in the meantime let's remove it too */
.primary-toolbar .button,
.primary-toolbar .button:insensitive {
@@ -1042,22 +1047,19 @@
*********/
/* combobox menus */
-GtkTreeMenu.menu {
- background-color: @theme_base_color;
+GtkTreeMenu.menu,
+GtkTreeMenu.menu * {
+ background-color: @menu_bg_color;
}
GtkTreeMenu .menuitem {
padding: 2px;
}
-GtkTreeMenu .menuitem * {
- color: @theme_text_color;
-}
-
.menu {
background-color: @menu_bg_color;
color: @menu_fg_color;
......@@ -21,7 +51,7 @@ Subject: Some obvious fixes for GTK+ 3.8.
border-style: solid;
border-width: 1px;
border-color: @menu_border_color;
@@ -1065,7 +1065,7 @@
@@ -1065,7 +1067,7 @@
.menu.button {
background-image: none;
......@@ -30,7 +60,7 @@ Subject: Some obvious fixes for GTK+ 3.8.
color: @internal_element_color;
border-image: none;
@@ -1092,7 +1092,7 @@
@@ -1092,7 +1094,7 @@
/* this controls the general appearance of the menubar */
.menubar {
border-style: none;
......@@ -39,7 +69,7 @@ Subject: Some obvious fixes for GTK+ 3.8.
-GtkWidget-window-dragging: true;
-GtkMenuBar-internal-padding: 1;
background-image: -gtk-gradient (linear,
@@ -1106,6 +1106,7 @@
@@ -1106,6 +1108,7 @@
.menubar .menuitem {
border-style: none;
padding: 3px 5px;
......@@ -47,7 +77,7 @@ Subject: Some obvious fixes for GTK+ 3.8.
}
.menubar .menuitem:hover {
@@ -1114,6 +1115,7 @@
@@ -1114,6 +1117,7 @@
border-width: 1px 1px 0px;
border-color: @menubar_menuitem_hover_border_color;
border-radius: 3px 3px 0 0;
......@@ -55,15 +85,46 @@ Subject: Some obvious fixes for GTK+ 3.8.
background-image: -gtk-gradient (linear,
left top,
left bottom,
@@ -1130,6 +1132,7 @@
.menu .menuitem {
-GtkMenuItem-arrow-scaling: 0.5;
+ background-color: @menu_bg_color;
@@ -1133,6 +1137,10 @@
padding: 4px;
}
@@ -1184,6 +1187,7 @@
+.menu .menuitem > * {
+ background-color: transparent;
+}
+
.menu .menuitem:hover {
border-radius: 0;
}
@@ -1143,13 +1151,6 @@
border-style: solid;
border-width: 1px;
border-color: @menubar_menuitem_hover_border_color;
- background-image: -gtk-gradient (linear,
- left top,
- left bottom,
- from (@menubar_menuitem_hover_gradient_a),
- color-stop (0.50, @menubar_menuitem_hover_gradient_b),
- color-stop (0.50, @menubar_menuitem_hover_gradient_c),
- to (@menubar_menuitem_hover_gradient_d));
}
GtkTreeMenu .menuitem *:hover,
@@ -1158,6 +1159,13 @@
.menu .menuitem:hover,
.menu .menuitem *:hover {
color: @theme_selected_fg_color;
+ background-image: -gtk-gradient (linear,
+ left top,
+ left bottom,
+ from (@menubar_menuitem_hover_gradient_a),
+ color-stop (0.50, @menubar_menuitem_hover_gradient_b),
+ color-stop (0.50, @menubar_menuitem_hover_gradient_c),
+ to (@menubar_menuitem_hover_gradient_d));
}
.menu .menuitem:insensitive,
@@ -1184,6 +1192,7 @@
.menuitem.separator {
color: @menu_separator_color;
......@@ -71,14 +132,16 @@ Subject: Some obvious fixes for GTK+ 3.8.
-GtkMenuItem-horizontal-padding: 0;
}
@@ -1347,29 +1351,11 @@
@@ -1347,29 +1356,11 @@
***********/
.sidebar,
-.sidebar .view {
- background-color: @sidebar_bg_color;
-}
-
+.sidebar .view,
+.sidebar GtkScrolledWindow {
background-color: @sidebar_bg_color;
}
-.sidebar .scrollbar.trough {
- border-radius: 100px;
- border-style: solid;
......@@ -91,11 +154,9 @@ Subject: Some obvious fixes for GTK+ 3.8.
-}
-
-.sidebar .scrollbar.slider {
+.sidebar .view,
+.sidebar GtkScrolledWindow {
background-color: @sidebar_bg_color;
}
- background-color: @sidebar_bg_color;
-}
-
-.sidebar .scrollbar.slider:hover {
- background-color: @theme_base_color;
-}
......
diff --git a/gtk-3.0/settings.ini b/gtk-3.0/settings.ini
index e38d9b1..0bd15f9 100644
--- a/gtk-3.0/settings.ini
+++ b/gtk-3.0/settings.ini
@@ -2,4 +2,4 @@
gtk-color-scheme = "base_color:#ffffff\nbg_color:#edeceb\nfg_color:#000000\nselected_bg_color:#86abd9\nselected_fg_color:#ffffff\ntooltip_bg_color:#f5f5b5\ntooltip_fg_color:#000000\ntext_color:#1a1a1a\nlink_color:#0000ee\nvisited_link_color:#551a8b"
gtk-auto-mnemonics = 0
gtk-visible-focus = automatic
-
+gtk-primary-button-warps-slider = false
01-fix-for-gtk-3.8.patch
02-fix-scrollbar-behaviour.patch
......@@ -454,6 +454,11 @@ GtkComboBox.combobox-entry .button {
border-color: transparent;
}
/* We want anything inside the buttons to use their background */
.button * {
background-color: transparent;
}
/* We may want a background for focused buttons, but in the meantime let's remove it too */
.primary-toolbar .button,
.primary-toolbar .button:insensitive {
......@@ -1042,18 +1047,15 @@ GtkComboBox .button *:hover {
*********/
/* combobox menus */
GtkTreeMenu.menu {
background-color: @theme_base_color;
GtkTreeMenu.menu,
GtkTreeMenu.menu * {
background-color: @menu_bg_color;
}
GtkTreeMenu .menuitem {
padding: 2px;
}
GtkTreeMenu .menuitem * {
color: @theme_text_color;
}
.menu {
background-color: @menu_bg_color;
color: @menu_fg_color;
......@@ -1132,10 +1134,13 @@ GtkTreeMenu .menuitem * {
.menu .menuitem {
-GtkMenuItem-arrow-scaling: 0.5;
background-color: @menu_bg_color;
padding: 4px;
}
.menu .menuitem > * {
background-color: transparent;
}
.menu .menuitem:hover {
border-radius: 0;
}
......@@ -1146,13 +1151,6 @@ GtkTreeMenu .menuitem:hover,
border-style: solid;
border-width: 1px;
border-color: @menubar_menuitem_hover_border_color;
background-image: -gtk-gradient (linear,
left top,
left bottom,
from (@menubar_menuitem_hover_gradient_a),
color-stop (0.50, @menubar_menuitem_hover_gradient_b),
color-stop (0.50, @menubar_menuitem_hover_gradient_c),
to (@menubar_menuitem_hover_gradient_d));
}
GtkTreeMenu .menuitem *:hover,
......@@ -1161,6 +1159,13 @@ GtkTreeMenu .menuitem *:hover,
.menu .menuitem:hover,
.menu .menuitem *:hover {
color: @theme_selected_fg_color;
background-image: -gtk-gradient (linear,
left top,
left bottom,
from (@menubar_menuitem_hover_gradient_a),
color-stop (0.50, @menubar_menuitem_hover_gradient_b),
color-stop (0.50, @menubar_menuitem_hover_gradient_c),
to (@menubar_menuitem_hover_gradient_d));
}
.menu .menuitem:insensitive,
......
......@@ -2,4 +2,4 @@
gtk-color-scheme = "base_color:#ffffff\nbg_color:#edeceb\nfg_color:#000000\nselected_bg_color:#86abd9\nselected_fg_color:#ffffff\ntooltip_bg_color:#f5f5b5\ntooltip_fg_color:#000000\ntext_color:#1a1a1a\nlink_color:#0000ee\nvisited_link_color:#551a8b"
gtk-auto-mnemonics = 0
gtk-visible-focus = automatic
gtk-primary-button-warps-slider = false
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment