Merge lp:~willcooke/ubuntu-themes/geditspecific into lp:ubuntu-themes

Proposed by Will Cooke on 2015-11-26
Status: Merged
Approved by: Sebastien Bacher on 2015-11-27
Approved revision: 458
Merged at revision: 457
Proposed branch: lp:~willcooke/ubuntu-themes/geditspecific
Merge into: lp:ubuntu-themes
Diff against target: 234 lines (+219/-0)
2 files modified
Ambiance/gtk-3.0/apps/gedit.css (+109/-0)
Radiance/gtk-3.0/apps/gedit.css (+110/-0)
To merge this branch: bzr merge lp:~willcooke/ubuntu-themes/geditspecific
Reviewer Review Type Date Requested Status
Sebastien Bacher 2015-11-26 Approve on 2015-11-26
Review via email: mp+278682@code.launchpad.net

Commit message

Revised theme support for new version of Gedit.

Description of the change

Revised theme support for new version of Gedit.

To post a comment you must log in.
Sebastien Bacher (seb128) wrote :

Looks better indeed!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Ambiance/gtk-3.0/apps/gedit.css'
2--- Ambiance/gtk-3.0/apps/gedit.css 2014-10-02 08:55:17 +0000
3+++ Ambiance/gtk-3.0/apps/gedit.css 2015-11-26 14:27:27 +0000
4@@ -58,3 +58,112 @@
5 margin: 2px;
6 padding: 2px;
7 }
8+
9+
10+/* Things from Adwaita start here...*/
11+
12+GeditOpenDocumentSelector .open-document-selector-treeview:prelight {
13+ background-color: alpha(@selected_bg_color, 0.4);
14+}
15+
16+/* Only normal state is handle */
17+.open-document-selector-path-label {
18+ color: @backdrop_text_color;
19+ font-size: smaller;
20+}
21+
22+.gedit-document-panel-group-row,
23+.gedit-document-panel-group-row:hover {
24+ border-top: 1px solid shade(@bg_color, 0.90);
25+ background-color: shade(@bg_color,0.95);
26+}
27+
28+.gedit-document-panel-document-row:hover {
29+ background-color: shade(@bg_color,1.1);
30+}
31+
32+
33+.gedit-document-panel-document-row:selected,
34+.gedit-document-panel-document-row:selected:hover {
35+ background-color: @selected_bg_color;
36+}
37+
38+/* sidepane close button styling (copied from the gtk tab close button) */
39+.gedit-document-panel .list-row .button {
40+ color: transparent;
41+ border-image: none;
42+ background-image: none;
43+ background-color: transparent;
44+ border-radius: 3px;
45+ border-style: solid;
46+ border-color: transparent;
47+ border-width: 1px;
48+ padding: 1px;
49+ icon-shadow: none;
50+}
51+
52+.gedit-document-panel .prelight-row .button {
53+ color: black;
54+ border-color: transparent;
55+}
56+
57+.gedit-document-panel .prelight-row:selected .button {
58+ color: white;
59+}
60+
61+.gedit-document-panel .prelight-row .button:backdrop {
62+ color: black;
63+}
64+
65+.gedit-document-panel-placeholder-row {
66+ border: none;
67+ background-color: mix(@bg_color, @selected_bg_color, 0.20);
68+}
69+
70+GeditStatusbar {
71+ border-top: 1px solid @borders;
72+}
73+
74+GeditStatusbar .button.flat {
75+ border-radius: 0;
76+ border-bottom: none;
77+}
78+
79+.notebook GeditCloseButton.button GtkImage {
80+ padding: 1px;
81+}
82+
83+.notebook GeditCloseButton.button {
84+ background-color: transparent;
85+ background-image: none;
86+ border-image: none;
87+ border-radius: 3px;
88+}
89+
90+.gedit-document-panel-document-row {
91+ padding: 5px;
92+}
93+
94+
95+.notebook GeditCloseButton.button:prelight{
96+ border-color: shade(@bg_color,0.65);
97+}
98+
99+.notebook GeditTabLabel.active-page GeditCloseButton.button:prelight{
100+ border-color: darker(@bg_color);
101+}
102+
103+.notebook GeditCloseButton:backdrop.button:prelight{
104+ border-color: shade(@bg_color,0.75);
105+ border-image: none;
106+ border-style: solid;
107+ background-color: transparent;
108+}
109+
110+.notebook GeditTabLabel.active-page GeditCloseButton:backdrop.button:prelight{
111+ border-color: shade(@bg_color,0.85);
112+ border-image: none;
113+ border-style: solid;
114+ background-color: transparent;
115+}
116+
117
118=== modified file 'Radiance/gtk-3.0/apps/gedit.css'
119--- Radiance/gtk-3.0/apps/gedit.css 2014-10-02 08:55:17 +0000
120+++ Radiance/gtk-3.0/apps/gedit.css 2015-11-26 14:27:27 +0000
121@@ -58,3 +58,113 @@
122 margin: 2px;
123 padding: 2px;
124 }
125+
126+
127+/* Things from Adwaita start here...*/
128+
129+GeditOpenDocumentSelector .open-document-selector-treeview:prelight {
130+ background-color: alpha(@selected_bg_color, 0.4);
131+}
132+
133+/* Only normal state is handle */
134+.open-document-selector-path-label {
135+ color: @backdrop_text_color;
136+ font-size: smaller;
137+}
138+
139+.gedit-document-panel-group-row,
140+.gedit-document-panel-group-row:hover {
141+ border-top: 1px solid shade(@bg_color, 0.90);
142+ background-color: shade(@bg_color,0.95);
143+}
144+
145+.gedit-document-panel-document-row:hover {
146+ background-color: shade(@bg_color,1.1);
147+}
148+
149+
150+.gedit-document-panel-document-row:selected,
151+.gedit-document-panel-document-row:selected:hover {
152+ background-color: @selected_bg_color;
153+}
154+
155+/* sidepane close button styling (copied from the gtk tab close button) */
156+.gedit-document-panel .list-row .button {
157+ color: transparent;
158+ border-image: none;
159+ background-image: none;
160+ background-color: transparent;
161+ border-radius: 3px;
162+ border-style: solid;
163+ border-color: transparent;
164+ border-width: 1px;
165+ padding: 1px;
166+ icon-shadow: none;
167+}
168+
169+.gedit-document-panel .prelight-row .button {
170+ color: black;
171+ border-color: transparent;
172+}
173+
174+.gedit-document-panel .prelight-row:selected .button {
175+ color: white;
176+}
177+
178+.gedit-document-panel .prelight-row .button:backdrop {
179+ color: black;
180+}
181+
182+.gedit-document-panel-placeholder-row {
183+ border: none;
184+ background-color: mix(@bg_color, @selected_bg_color, 0.20);
185+}
186+
187+GeditStatusbar {
188+ border-top: 1px solid @borders;
189+}
190+
191+GeditStatusbar .button.flat {
192+ border-radius: 0;
193+ border-bottom: none;
194+}
195+
196+.notebook GeditCloseButton.button GtkImage {
197+ padding: 1px;
198+}
199+
200+.notebook GeditCloseButton.button {
201+ background-color: transparent;
202+ background-image: none;
203+ border-image: none;
204+ border-radius: 3px;
205+}
206+
207+.gedit-document-panel-document-row {
208+ padding: 5px;
209+}
210+
211+
212+.notebook GeditCloseButton.button:prelight{
213+ border-color: shade(@bg_color,0.65);
214+}
215+
216+.notebook GeditTabLabel.active-page GeditCloseButton.button:prelight{
217+ border-color: darker(@bg_color);
218+}
219+
220+.notebook GeditCloseButton:backdrop.button:prelight{
221+ border-color: shade(@bg_color,0.75);
222+ border-image: none;
223+ border-style: solid;
224+ background-color: transparent;
225+}
226+
227+.notebook GeditTabLabel.active-page GeditCloseButton:backdrop.button:prelight{
228+ border-color: shade(@bg_color,0.85);
229+ border-image: none;
230+ border-style: solid;
231+ background-color: transparent;
232+}
233+
234+

Subscribers

People subscribed via source and target branches