summaryrefslogtreecommitdiff
path: root/debian/patches/css-fixups.patch
blob: 6eea638be0468e46156f6858fb90711c0c9f72b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
Description: Minor CSS fixups.
Author: Andrew Shadura <andrew.shadura@collabora.co.uk>
X-Dgit-Generated: 7.0-1 97eaf73c21b0bcc303f7fdbf58fe7602f6e2469b

Includes following changes:

 * e41be36 Remove strange padding from horisontal stack switchers.
 * c8c605e Make comboboxes look nicer.
 * df4f5bf Fix menus.
 * e705071 Fix font definitions.
 * f5dfb4a Remove stray closing brace.

---

--- clearlooks-phenix-theme-7.0.orig/README.md
+++ clearlooks-phenix-theme-7.0/README.md
@@ -34,7 +34,7 @@ Here are screenshots (if applicable, cli
 	
 	- for GTK 3.14: [download Clearlooks-Phénix v6](https://github.com/jpfleury/clearlooks-phenix/archive/v6.zip);
 	
-	- for GTK 3.20: [download Clearlooks-Phénix v6](https://github.com/jpfleury/clearlooks-phenix/archive/master.zip).
+	- for GTK 3.20: [download Clearlooks-Phénix v7](https://github.com/jpfleury/clearlooks-phenix/archive/master.zip).
 	
 	To find your GTK version:
 	
--- clearlooks-phenix-theme-7.0.orig/gtk-3.0/applications.css
+++ clearlooks-phenix-theme-7.0/gtk-3.0/applications.css
@@ -18,8 +18,6 @@
 	border-image: none;
 }
 
-}
-
 /*******************
  * gnome-documents *
  *******************/
--- clearlooks-phenix-theme-7.0.orig/gtk-3.0/gtk-widgets.css
+++ clearlooks-phenix-theme-7.0/gtk-3.0/gtk-widgets.css
@@ -1154,6 +1154,11 @@ combobox arrow {
 	min-height: 16px;
 	min-width: 16px;
 }
+
+combobox arrow:disabled {
+	background-color: transparent;
+}
+
 combobox entry.combo,
 combobox button.combo {
 	padding: 5px 5px 5px 5px;
@@ -1206,7 +1211,7 @@ combobox > .linked > button.combo:focus:
 combobox > .linked > button.combo:disabled:last-child {
 	border-image-width: 3px 3px 4px 0;
 	border-radius: 0 3px 3px 0;
-	border-width: 0;
+	border-width: 0 1;
 }
 combobox > .linked > entry.combo:only-child,
 combobox > .linked > button.combo:only-child,
@@ -1591,10 +1596,10 @@ treemenu menuitem {
 
 menu,
 .menu {
-	font: normal;
+	font-weight: normal;
 	background-color: @menu_bg_color;
 	color: @menu_fg_color;
-	padding: 1px;
+	padding: 0px;
 	border-style: solid;
 	border-width: 1px;
 	border-color: @menu_border_color;
@@ -1630,7 +1635,7 @@ menu button:disabled,
 menubar,
 .menubar {
 	border-style: none;
-	padding: 4px;
+	padding: 0px;
 	-GtkWidget-window-dragging: true;
 	background-image: -gtk-gradient (linear,
 	                  left top,
@@ -1973,7 +1978,7 @@ placessidebar .view {
 
 assistant .sidebar highlight {
 	color: @theme_fg_color;
-	font: bold;
+	font-weight: bold;
 }
 
 assistant .sidebar {
@@ -2523,7 +2528,7 @@ infobar:last-child,
 }
 
 .titlebar .title {
-	font: Bold;
+	font-weight: bold;
 }
 
 /*.titlebar :first-child {*/
@@ -2539,8 +2544,13 @@ decoration {
 	box-shadow: none;
 }
 
-window decoration {
-	border: solid 2px @insensitive_border_color;
+window.background decoration {
+    border: solid 2px @insensitive_border_color;
+}
+
+combobox window.background decoration,
+menuitem window.background decoration {
+    border: none 0 transparent;
 }
 
 tooltip.csd decoration {
@@ -2572,7 +2582,6 @@ headerbar {
 
 headerbar.titlebar > stackswitcher.linked.stack-switcher > button,
 headerbar.titlebar > stackswitcher.linked.stack-switcher > button:checked:hover {
-	padding: 6px 12px;
 	border-width: 1px 1px 1px 0px;
 }