Commit 2ff9b630 authored by Andrew Shadura's avatar Andrew Shadura Committed by Package Import Robot

* Fix menus, notebooks, infobars and other widgets.

* Add popover widgets.
* Add support for client-side decorations.
parent 13da655a
This diff is collapsed.
01-fix-for-gtk-3.8.patch
01-fix-for-gtk-3.12.patch
02-fix-scrollbar-behaviour.patch
clearlooks-phenix-theme (3.0.16-6) unstable; urgency=low
* Fix menus, notebooks, infobars and other widgets.
* Add popover widgets.
* Add support for client-side decorations.
-- Andrew Shadura <andrewsh@debian.org> Fri, 09 May 2014 01:45:57 +0200
clearlooks-phenix-theme (3.0.16-5) unstable; urgency=medium
* Fix buttons and menus in GNOME applications.
......
From: Andrew Shadura <andrewsh@debian.org>
Subject: Some obvious fixes for GTK+ 3.8.
Subject: Some fixes for GTK+ 3.12.
--- a/gtk-3.0/gtk-widgets.css
+++ b/gtk-3.0/gtk-widgets.css
@@ -416,7 +416,7 @@
@@ -63,7 +63,11 @@
GtkImage,
GtkImage:insensitive,
GtkLabel,
-GtkLabel:insensitive {
+GtkLabel:insensitive,
+GtkBox,
+GtkBox:insensitive,
+GtkGrid,
+GtkGrid:insensitive {
background-color: transparent;
}
@@ -416,7 +420,7 @@
border-color: @border_color;
border-style: solid;
border-radius: 3px;
......@@ -12,7 +25,7 @@ Subject: Some obvious fixes for GTK+ 3.8.
padding: 0;
}
@@ -454,6 +454,11 @@
@@ -454,7 +458,13 @@
border-color: transparent;
}
......@@ -22,9 +35,38 @@ Subject: Some obvious fixes for GTK+ 3.8.
+}
+
/* We may want a background for focused buttons, but in the meantime let's remove it too */
+GtkMenuToolButton *,
.primary-toolbar .button,
.primary-toolbar .button:insensitive {
@@ -1042,22 +1047,19 @@
background-image: none;
@@ -535,6 +545,7 @@
.toolbar GtkComboBox .button:focus,
GtkComboBox.combobox-entry .button,
.primary-toolbar GtkComboBox.combobox-entry .button,
+.titlebar .titlebutton:hover,
GtkColorChooserWidget #add-color-button {
background-image: -gtk-gradient (linear,
left top,
@@ -680,6 +691,7 @@
border-radius: 3px;
border-style: solid;
border-width: 1px;
+ background-color: transparent;
}
.notebook tab.top {
@@ -770,6 +782,10 @@
@notebook_active_tab_gradient_b);
}
+.notebook tab * {
+ background-color: transparent;
+}
+
/* close button styling */
.notebook tab .button,
.notebook tab .button:active,
@@ -1042,22 +1058,19 @@
*********/
/* combobox menus */
......@@ -51,7 +93,7 @@ Subject: Some obvious fixes for GTK+ 3.8.
border-style: solid;
border-width: 1px;
border-color: @menu_border_color;
@@ -1065,7 +1067,7 @@
@@ -1065,7 +1078,7 @@
.menu.button {
background-image: none;
......@@ -60,7 +102,7 @@ Subject: Some obvious fixes for GTK+ 3.8.
color: @internal_element_color;
border-image: none;
@@ -1092,7 +1094,7 @@
@@ -1092,7 +1105,7 @@
/* this controls the general appearance of the menubar */
.menubar {
border-style: none;
......@@ -69,7 +111,7 @@ Subject: Some obvious fixes for GTK+ 3.8.
-GtkWidget-window-dragging: true;
-GtkMenuBar-internal-padding: 1;
background-image: -gtk-gradient (linear,
@@ -1106,6 +1108,7 @@
@@ -1106,6 +1119,7 @@
.menubar .menuitem {
border-style: none;
padding: 3px 5px;
......@@ -77,7 +119,7 @@ Subject: Some obvious fixes for GTK+ 3.8.
}
.menubar .menuitem:hover {
@@ -1114,6 +1117,7 @@
@@ -1114,6 +1128,7 @@
border-width: 1px 1px 0px;
border-color: @menubar_menuitem_hover_border_color;
border-radius: 3px 3px 0 0;
......@@ -85,18 +127,19 @@ Subject: Some obvious fixes for GTK+ 3.8.
background-image: -gtk-gradient (linear,
left top,
left bottom,
@@ -1133,6 +1137,10 @@
@@ -1131,6 +1146,11 @@
.menu .menuitem {
-GtkMenuItem-arrow-scaling: 0.5;
padding: 4px;
}
+.menu .menuitem > * {
+ background-color: transparent;
+ background-color: @menu_bg_color;
+}
+
.menu .menuitem:hover {
border-radius: 0;
+.menu .menuitem > * {
+ background-color: transparent;
}
@@ -1143,13 +1151,6 @@
.menu .menuitem:hover {
@@ -1143,13 +1163,6 @@
border-style: solid;
border-width: 1px;
border-color: @menubar_menuitem_hover_border_color;
......@@ -110,7 +153,7 @@ Subject: Some obvious fixes for GTK+ 3.8.
}
GtkTreeMenu .menuitem *:hover,
@@ -1158,6 +1159,13 @@
@@ -1158,6 +1171,13 @@
.menu .menuitem:hover,
.menu .menuitem *:hover {
color: @theme_selected_fg_color;
......@@ -124,7 +167,7 @@ Subject: Some obvious fixes for GTK+ 3.8.
}
.menu .menuitem:insensitive,
@@ -1184,6 +1192,7 @@
@@ -1184,6 +1204,7 @@
.menuitem.separator {
color: @menu_separator_color;
......@@ -132,7 +175,7 @@ Subject: Some obvious fixes for GTK+ 3.8.
-GtkMenuItem-horizontal-padding: 0;
}
@@ -1347,29 +1356,11 @@
@@ -1347,29 +1368,11 @@
***********/
.sidebar,
......@@ -164,3 +207,105 @@ Subject: Some obvious fixes for GTK+ 3.8.
.sidebar .radio,
.sidebar .radio:focus,
.sidebar .radio:selected {
@@ -1718,25 +1721,25 @@
border-style: solid;
}
-.info {
+.info > * {
background-color: @info_bg_color;
color: @info_fg_color;
border-color: darker(@info_bg_color);
}
-.warning {
+.warning > * {
background-color: @warning_bg_color;
color: @warning_fg_color;
border-color: darker(@warning_bg_color);
}
-.question {
+.question > * {
background-color: @question_bg_color;
color: @question_fg_color;
border-color: darker(@question_bg_color);
}
-.error {
+.error > * {
background-color: @error_bg_color;
color: @error_fg_color;
border-color: darker(@error_bg_color);
@@ -1762,3 +1765,61 @@
background-color: transparent;
}
+/************
+ * Titlebar *
+ ************/
+
+.titlebar {
+ background-image: linear-gradient(to bottom,
+ @theme_base_color,
+ @theme_bg_color);
+ background-color: transparent;
+ border-radius: 7px 7px 0px 0px;
+ border-bottom: 1px solid;
+ border-color: shade(@border_color, 1.30);
+}
+
+.titlebar > * {
+ background: none;
+}
+
+.tiled .titlebar {
+ border-radius: 0;
+}
+
+.maximized .titlebar {
+ border-radius: 0;
+}
+
+.titlebar .title {
+ font: Bold;
+}
+
+.titlebar .titlebutton {
+ background: none;
+ border-image: none;
+ padding: 5px 5px 6px 5px;
+}
+
+.window-frame {
+ border-width: 1px;
+ border-radius: 7px 7px 0 0;
+ border-style: solid;
+ margin: 10px;
+}
+
+/************
+ * Popovers *
+ ************/
+
+GtkPopover {
+ border: 1px solid;
+ border-radius: 7px;
+ border-color: @border_color;
+ background-clip: border-box;
+}
+
+GtkPopover > .toolbar,
+GtkPopover.osd > .toolbar .button {
+ background-color: transparent;
+}
--- a/gtk-3.0/gtk-widgets-img.css
+++ b/gtk-3.0/gtk-widgets-img.css
@@ -386,6 +386,7 @@
GtkSwitch.trough,
/* generic button borders */
.button,
+.titlebar .titlebutton:hover,
.primary-toolbar .button.raised,
.primary-toolbar .raised .button,
.primary-toolbar GtkComboBox .button,
01-fix-for-gtk-3.8.patch
01-fix-for-gtk-3.12.patch
02-fix-scrollbar-behaviour.patch
......@@ -386,6 +386,7 @@ GtkComboBox.combobox-entry .button,
GtkSwitch.trough,
/* generic button borders */
.button,
.titlebar .titlebutton:hover,
.primary-toolbar .button.raised,
.primary-toolbar .raised .button,
.primary-toolbar GtkComboBox .button,
......
......@@ -63,7 +63,11 @@ GtkWindow {
GtkImage,
GtkImage:insensitive,
GtkLabel,
GtkLabel:insensitive {
GtkLabel:insensitive,
GtkBox,
GtkBox:insensitive,
GtkGrid,
GtkGrid:insensitive {
background-color: transparent;
}
......@@ -460,6 +464,7 @@ GtkComboBox.combobox-entry .button {
}
/* We may want a background for focused buttons, but in the meantime let's remove it too */
GtkMenuToolButton *,
.primary-toolbar .button,
.primary-toolbar .button:insensitive {
background-image: none;
......@@ -540,6 +545,7 @@ GtkComboBox.combobox-entry .button {
.toolbar GtkComboBox .button:focus,
GtkComboBox.combobox-entry .button,
.primary-toolbar GtkComboBox.combobox-entry .button,
.titlebar .titlebutton:hover,
GtkColorChooserWidget #add-color-button {
background-image: -gtk-gradient (linear,
left top,
......@@ -685,6 +691,7 @@ GtkComboBox.combobox-entry .button:insensitive {
border-radius: 3px;
border-style: solid;
border-width: 1px;
background-color: transparent;
}
.notebook tab.top {
......@@ -775,6 +782,10 @@ GtkComboBox.combobox-entry .button:insensitive {
@notebook_active_tab_gradient_b);
}
.notebook tab * {
background-color: transparent;
}
/* close button styling */
.notebook tab .button,
.notebook tab .button:active,
......@@ -1135,6 +1146,7 @@ GtkTreeMenu .menuitem {
.menu .menuitem {
-GtkMenuItem-arrow-scaling: 0.5;
padding: 4px;
background-color: @menu_bg_color;
}
.menu .menuitem > * {
......@@ -1709,25 +1721,25 @@ GtkInfoBar:last-child,
border-style: solid;
}
.info {
.info > * {
background-color: @info_bg_color;
color: @info_fg_color;
border-color: darker(@info_bg_color);
}
.warning {
.warning > * {
background-color: @warning_bg_color;
color: @warning_fg_color;
border-color: darker(@warning_bg_color);
}
.question {
.question > * {
background-color: @question_bg_color;
color: @question_fg_color;
border-color: darker(@question_bg_color);
}
.error {
.error > * {
background-color: @error_bg_color;
color: @error_fg_color;
border-color: darker(@error_bg_color);
......@@ -1753,3 +1765,61 @@ GtkInfoBar:last-child,
background-color: transparent;
}
/************
* Titlebar *
************/
.titlebar {
background-image: linear-gradient(to bottom,
@theme_base_color,
@theme_bg_color);
background-color: transparent;
border-radius: 7px 7px 0px 0px;
border-bottom: 1px solid;
border-color: shade(@border_color, 1.30);
}
.titlebar > * {
background: none;
}
.tiled .titlebar {
border-radius: 0;
}
.maximized .titlebar {
border-radius: 0;
}
.titlebar .title {
font: Bold;
}
.titlebar .titlebutton {
background: none;
border-image: none;
padding: 5px 5px 6px 5px;
}
.window-frame {
border-width: 1px;
border-radius: 7px 7px 0 0;
border-style: solid;
margin: 10px;
}
/************
* Popovers *
************/
GtkPopover {
border: 1px solid;
border-radius: 7px;
border-color: @border_color;
background-clip: border-box;
}
GtkPopover > .toolbar,
GtkPopover.osd > .toolbar .button {
background-color: transparent;
}
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