Merge lp:~daker/ubuntu-html5-theme/dark-theme-part1 into lp:~ubuntu-html5-theme-devs/ubuntu-html5-theme/ambiance

Proposed by Adnane Belmadiaf
Status: Work in progress
Proposed branch: lp:~daker/ubuntu-html5-theme/dark-theme-part1
Merge into: lp:~ubuntu-html5-theme-devs/ubuntu-html5-theme/ambiance
Diff against target: 1042 lines (+577/-156)
20 files modified
0.1/ambiance/css/appTemplate.css (+23/-8)
0.1/ambiance/css/content.css (+70/-0)
0.1/ambiance/css/default.css (+0/-86)
0.1/ambiance/css/shapes.css (+6/-6)
0.1/ambiance/css/sliders.css (+9/-9)
0.1/ambiance/css/text-input.css (+6/-6)
0.1/ambiance/css/themes/suru-dark/buttons.css (+31/-0)
0.1/ambiance/css/themes/suru-dark/content.css (+44/-0)
0.1/ambiance/css/themes/suru-dark/listitems.css (+68/-0)
0.1/ambiance/css/themes/suru-dark/popover.css (+32/-0)
0.1/ambiance/css/themes/suru-dark/sliders.css (+37/-0)
0.1/ambiance/css/themes/suru-dark/tabs.css (+47/-0)
0.1/ambiance/css/themes/suru-dark/text-input.css (+74/-0)
0.1/ambiance/css/themes/suru-dark/toggles.css (+51/-0)
0.1/ambiance/css/themes/suru-dark/toolbars.css (+34/-0)
0.1/ambiance/css/toggles.css (+15/-11)
0.1/examples/widgets/Buttons.html (+7/-7)
0.1/examples/widgets/ListItems.html (+8/-8)
0.1/examples/widgets/Toggles.html (+8/-8)
0.1/examples/widgets/UbuntuShape.html (+7/-7)
To merge this branch: bzr merge lp:~daker/ubuntu-html5-theme/dark-theme-part1
Reviewer Review Type Date Requested Status
Ubuntu HTML5 Theme Developers Pending
Review via email: mp+173851@code.launchpad.net

Commit message

Added dark theme CSS
Renamed default.css to content.css
Added some tweaks to make easy for us to extend CSS for themes
CSS/HTML fixes

To post a comment you must log in.
69. By Adnane Belmadiaf

Fixed merge conflicts

70. By Adnane Belmadiaf

Renamed dark theme to suru-dark
Fixed CSS licence

Revision history for this message
Alexandre Abreu (abreu-alexandre) wrote :

Is it still relevant?

Unmerged revisions

70. By Adnane Belmadiaf

Renamed dark theme to suru-dark
Fixed CSS licence

69. By Adnane Belmadiaf

Fixed merge conflicts

68. By Adnane Belmadiaf

Removed unused css

67. By Adnane Belmadiaf

Renamed default.css to content.css

66. By Adnane Belmadiaf

Dark Theme

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '0.1/ambiance/css/appTemplate.css'
2--- 0.1/ambiance/css/appTemplate.css 2013-07-17 15:27:43 +0000
3+++ 0.1/ambiance/css/appTemplate.css 2013-07-19 14:57:28 +0000
4@@ -5,19 +5,34 @@
5 * This file is part of ubuntu-html5-theme.
6 *
7 * This package is free software; you can redistribute it and/or modify
8- * it under the terms of the GNU Lesser General Public License as
9- * published by the Free Software Foundation; either version 3 of the
10+ * it under the terms of the GNU Lesser General Public License as
11+ * published by the Free Software Foundation; either version 3 of the
12 * License, or
13 * (at your option) any later version.
14-
15+
16 * This package is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20-
21- * You should have received a copy of the GNU Lesser General Public
22- * License along with this program. If not, see
23- * <http://www.gnu.org/licenses/>
24+
25+ * You should have received a copy of the GNU Lesser General Public
26+ * License along with this program. If not, see
27+ * <http://www.gnu.org/licenses/>.
28 */
29
30-@import url("default.css");
31\ No newline at end of file
32+@import url("reset.css");
33+@import url("content.css");
34+@import url("header.css");
35+@import url("pagestack.css");
36+@import url("tabs.css");
37+@import url("text-input.css");
38+@import url("progress-bars.css");
39+@import url("dialogs.css");
40+@import url("buttons.css");
41+@import url("sliders.css");
42+@import url("toggles.css");
43+@import url("popover.css");
44+@import url("listitems.css");
45+@import url("toolbars.css");
46+@import url("shapes.css");
47+@import url("indexbar.css");
48\ No newline at end of file
49
50=== added file '0.1/ambiance/css/content.css'
51--- 0.1/ambiance/css/content.css 1970-01-01 00:00:00 +0000
52+++ 0.1/ambiance/css/content.css 2013-07-19 14:57:28 +0000
53@@ -0,0 +1,70 @@
54+/*
55+ * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
56+ *
57+ * This file is part of ubuntu-html5-theme.
58+ *
59+ * This package is free software; you can redistribute it and/or modify
60+ * it under the terms of the Lesser GNU General Public License as
61+ * published by the Free Software Foundation; either version 3 of the
62+ * License, or
63+ * (at your option) any later version.
64+
65+ * This package is distributed in the hope that it will be useful,
66+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
67+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68+ * GNU General Public License for more details.
69+
70+ * You should have received a copy of the GNU Lesser General Public
71+ * License along with this program. If not, see
72+ * <http://www.gnu.org/licenses/>
73+ */
74+
75+* {
76+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
77+}
78+
79+body {
80+ background: #ededf0 url("../img/background_paper@30.png") repeat top left;
81+ font-family: Ubuntu;
82+ font-weight: normal;
83+}
84+
85+[data-role="content"] {
86+ background: transparent;
87+ border-top: 1px solid #f0f0f0;
88+ height: auto;
89+ min-height: auto;
90+ width: 100%;
91+ font-size: 1rem "Ubuntu";
92+ color: #787878;
93+}
94+
95+[data-role="content"] p {
96+ font: 0.9rem "Ubuntu";
97+ color: #787878;
98+}
99+
100+[data-role="content"] h1,
101+[data-role="content"] h2,
102+[data-role="content"] h3 {
103+ color: #747278;
104+ font: 1.3rem "Ubuntu Light";
105+ font-weight: bold;
106+}
107+
108+[data-role="content"] h2 {
109+ font-size: 1.1rem;
110+}
111+
112+[data-role="content"] h3 {
113+ font-size: 0.9rem;
114+}
115+
116+[data-role="content"] img {
117+ margin: 0 auto;
118+ max-width: 98%;
119+}
120+
121+.inset {
122+ margin-bottom: 10px;
123+}
124\ No newline at end of file
125
126=== removed file '0.1/ambiance/css/default.css'
127--- 0.1/ambiance/css/default.css 2013-07-19 13:18:03 +0000
128+++ 0.1/ambiance/css/default.css 1970-01-01 00:00:00 +0000
129@@ -1,86 +0,0 @@
130-/*
131- * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
132- * License granted by Canonical Limited
133- *
134- * This file is part of ubuntu-html5-theme.
135- *
136- * This package is free software; you can redistribute it and/or modify
137- * it under the terms of the GNU Lesser General Public License as
138- * published by the Free Software Foundation; either version 3 of the
139- * License, or
140- * (at your option) any later version.
141-
142- * This package is distributed in the hope that it will be useful,
143- * but WITHOUT ANY WARRANTY; without even the implied warranty of
144- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
145- * GNU General Public License for more details.
146-
147- * You should have received a copy of the GNU Lesser General Public
148- * License along with this program. If not, see
149- * <http://www.gnu.org/licenses/>
150- */
151-
152-@import url("reset.css");
153-@import url("tabs.css");
154-@import url("pagestack.css");
155-@import url("text-input.css");
156-@import url("progress-bars.css");
157-@import url("dialogs.css");
158-@import url("buttons.css");
159-@import url("sliders.css");
160-@import url("toggles.css");
161-@import url("popover.css");
162-@import url("listitems.css");
163-@import url("toolbars.css");
164-@import url("shapes.css");
165-@import url("indexbar.css");
166-
167-* {
168- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
169-}
170-
171-body {
172- background: #ededf0 url("../img/background_paper@30.png") repeat top left;
173- font-family: Ubuntu;
174- font-weight: normal;
175-}
176-
177-[data-role="content"] {
178- background: #ededf0 url("../img/background_paper@30.png") repeat top left;
179- border-top: 1px solid #f0f0f0;
180- height: auto;
181- min-height: auto;
182- width: 100%;
183- font-size: 1rem "Ubuntu";
184- color: #787878;
185-}
186-
187-[data-role="content"] p {
188- font: 0.9rem "Ubuntu";
189- color: #787878;
190-}
191-
192-[data-role="content"] h1,
193-[data-role="content"] h2,
194-[data-role="content"] h3 {
195- color: #747278;
196- font: 1.3rem "Ubuntu Light";
197- font-weight: bold;
198-}
199-
200-[data-role="content"] h2 {
201- font-size: 1.1rem;
202-}
203-
204-[data-role="content"] h3 {
205- font-size: 0.9rem;
206-}
207-
208-[data-role="content"] img {
209- margin: 0 auto;
210- max-width: 98%;
211-}
212-
213-.inset {
214- margin-bottom: 10px;
215-}
216\ No newline at end of file
217
218=== modified file '0.1/ambiance/css/shapes.css'
219--- 0.1/ambiance/css/shapes.css 2013-07-17 15:27:43 +0000
220+++ 0.1/ambiance/css/shapes.css 2013-07-19 14:57:28 +0000
221@@ -5,18 +5,18 @@
222 * This file is part of ubuntu-html5-theme.
223 *
224 * This package is free software; you can redistribute it and/or modify
225- * it under the terms of the GNU Lesser General Public License as
226- * published by the Free Software Foundation; either version 3 of the
227+ * it under the terms of the GNU Lesser General Public License as
228+ * published by the Free Software Foundation; either version 3 of the
229 * License, or
230 * (at your option) any later version.
231-
232+
233 * This package is distributed in the hope that it will be useful,
234 * but WITHOUT ANY WARRANTY; without even the implied warranty of
235 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
236 * GNU General Public License for more details.
237-
238- * You should have received a copy of the GNU Lesser General Public
239- * License along with this program. If not, see
240+
241+ * You should have received a copy of the GNU Lesser General Public
242+ * License along with this program. If not, see
243 * <http://www.gnu.org/licenses/>.
244 */
245
246
247=== modified file '0.1/ambiance/css/sliders.css'
248--- 0.1/ambiance/css/sliders.css 2013-07-17 15:27:43 +0000
249+++ 0.1/ambiance/css/sliders.css 2013-07-19 14:57:28 +0000
250@@ -5,18 +5,18 @@
251 * This file is part of ubuntu-html5-theme.
252 *
253 * This package is free software; you can redistribute it and/or modify
254- * it under the terms of the GNU Lesser General Public License as
255- * published by the Free Software Foundation; either version 3 of the
256+ * it under the terms of the GNU Lesser General Public License as
257+ * published by the Free Software Foundation; either version 3 of the
258 * License, or
259 * (at your option) any later version.
260-
261+
262 * This package is distributed in the hope that it will be useful,
263 * but WITHOUT ANY WARRANTY; without even the implied warranty of
264 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
265 * GNU General Public License for more details.
266-
267- * You should have received a copy of the GNU Lesser General Public
268- * License along with this program. If not, see
269+
270+ * You should have received a copy of the GNU Lesser General Public
271+ * License along with this program. If not, see
272 * <http://www.gnu.org/licenses/>.
273 */
274
275@@ -32,7 +32,7 @@
276 -webkit-box-sizing: border-box;
277 box-sizing: border-box;
278 border-radius: 6px;
279- padding: 5px 0;
280+ padding: 5px 3px;
281 -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
282 box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
283 }
284@@ -43,8 +43,8 @@
285 -webkit-box-sizing: border-box;
286 box-sizing: border-box;
287 border-radius: 6px;
288- width: 38px;
289- height: 35px;
290+ width: 30px;
291+ height: 30px;
292 background-color: #bbbbbb;
293 -webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.1);
294 box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.1);
295
296=== modified file '0.1/ambiance/css/text-input.css'
297--- 0.1/ambiance/css/text-input.css 2013-07-17 15:27:43 +0000
298+++ 0.1/ambiance/css/text-input.css 2013-07-19 14:57:28 +0000
299@@ -5,18 +5,18 @@
300 * This file is part of ubuntu-html5-theme.
301 *
302 * This package is free software; you can redistribute it and/or modify
303- * it under the terms of the GNU Lesser General Public License as
304- * published by the Free Software Foundation; either version 3 of the
305+ * it under the terms of the GNU Lesser General Public License as
306+ * published by the Free Software Foundation; either version 3 of the
307 * License, or
308 * (at your option) any later version.
309-
310+
311 * This package is distributed in the hope that it will be useful,
312 * but WITHOUT ANY WARRANTY; without even the implied warranty of
313 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
314 * GNU General Public License for more details.
315-
316- * You should have received a copy of the GNU Lesser General Public
317- * License along with this program. If not, see
318+
319+ * You should have received a copy of the GNU Lesser General Public
320+ * License along with this program. If not, see
321 * <http://www.gnu.org/licenses/>.
322 */
323
324
325=== added directory '0.1/ambiance/css/themes'
326=== added directory '0.1/ambiance/css/themes/suru-dark'
327=== added file '0.1/ambiance/css/themes/suru-dark/buttons.css'
328--- 0.1/ambiance/css/themes/suru-dark/buttons.css 1970-01-01 00:00:00 +0000
329+++ 0.1/ambiance/css/themes/suru-dark/buttons.css 2013-07-19 14:57:28 +0000
330@@ -0,0 +1,31 @@
331+/*
332+ * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
333+ * License granted by Canonical Limited
334+ *
335+ * This file is part of ubuntu-html5-theme.
336+ *
337+ * This package is free software; you can redistribute it and/or modify
338+ * it under the terms of the GNU Lesser General Public License as
339+ * published by the Free Software Foundation; either version 3 of the
340+ * License, or
341+ * (at your option) any later version.
342+
343+ * This package is distributed in the hope that it will be useful,
344+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
345+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
346+ * GNU General Public License for more details.
347+
348+ * You should have received a copy of the GNU Lesser General Public
349+ * License along with this program. If not, see
350+ * <http://www.gnu.org/licenses/>.
351+ */
352+
353+/* ----------------------------------
354+ * Buttons
355+ * ---------------------------------- */
356+
357+[data-role="button"]{
358+ background: -webkit-linear-gradient(top, #dd4814 0%,#d9722d 100%);
359+ background: linear-gradient(to bottom, #dd4814 0%,#d9722d 100%);
360+ color: #fff;
361+}
362\ No newline at end of file
363
364=== added file '0.1/ambiance/css/themes/suru-dark/content.css'
365--- 0.1/ambiance/css/themes/suru-dark/content.css 1970-01-01 00:00:00 +0000
366+++ 0.1/ambiance/css/themes/suru-dark/content.css 2013-07-19 14:57:28 +0000
367@@ -0,0 +1,44 @@
368+/*
369+ * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
370+ * License granted by Canonical Limited
371+ *
372+ * This file is part of ubuntu-html5-theme.
373+ *
374+ * This package is free software; you can redistribute it and/or modify
375+ * it under the terms of the GNU Lesser General Public License as
376+ * published by the Free Software Foundation; either version 3 of the
377+ * License, or
378+ * (at your option) any later version.
379+
380+ * This package is distributed in the hope that it will be useful,
381+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
382+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
383+ * GNU General Public License for more details.
384+
385+ * You should have received a copy of the GNU Lesser General Public
386+ * License along with this program. If not, see
387+ * <http://www.gnu.org/licenses/>.
388+ */
389+
390+* {
391+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
392+}
393+
394+body {
395+ background: #211d1d;
396+}
397+
398+[data-role="content"] {
399+ border-top: 1px solid rgba(255, 255, 255, 0.05);
400+ color: #787878;
401+}
402+
403+[data-role="content"] p {
404+ color: #787878;
405+}
406+
407+[data-role="content"] h1,
408+[data-role="content"] h2,
409+[data-role="content"] h3 {
410+ color: #747278;
411+}
412\ No newline at end of file
413
414=== added file '0.1/ambiance/css/themes/suru-dark/listitems.css'
415--- 0.1/ambiance/css/themes/suru-dark/listitems.css 1970-01-01 00:00:00 +0000
416+++ 0.1/ambiance/css/themes/suru-dark/listitems.css 2013-07-19 14:57:28 +0000
417@@ -0,0 +1,68 @@
418+/*
419+ * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
420+ * License granted by Canonical Limited
421+ *
422+ * This file is part of ubuntu-html5-theme.
423+ *
424+ * This package is free software; you can redistribute it and/or modify
425+ * it under the terms of the GNU Lesser General Public License as
426+ * published by the Free Software Foundation; either version 3 of the
427+ * License, or
428+ * (at your option) any later version.
429+
430+ * This package is distributed in the hope that it will be useful,
431+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
432+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
433+ * GNU General Public License for more details.
434+
435+ * You should have received a copy of the GNU Lesser General Public
436+ * License along with this program. If not, see
437+ * <http://www.gnu.org/licenses/>.
438+ */
439+
440+/* ----------------------------------
441+ * Lists
442+ * ---------------------------------- */
443+
444+[data-role="list"] {
445+ border-top: 0;
446+}
447+
448+/* Title divisors */
449+[data-role="list"] header {
450+ color: rgba(243, 243, 231, 0.2);
451+ border-bottom: 1px solid rgba(0, 0, 0, 0.3);
452+}
453+
454+/* List items */
455+[data-role="list"] li {
456+ border-bottom: 1px solid rgba(0, 0, 0, 0.3);
457+ border-top: 1px solid rgba(255, 255, 255, 0.05);
458+
459+ color: rgba(243, 243, 231, 0.2);
460+}
461+
462+/* Pressed State */
463+[data-role="list"] li > a {
464+ color: inherit;
465+ border: 0;
466+}
467+
468+[data-role="list"] li > a:active {
469+ background: inherit;
470+ border: 0;
471+}
472+
473+/* Text content */
474+[data-role="list"] li p {
475+
476+}
477+
478+[data-role="list"] li p:only-child,
479+[data-role="list"] li p:first-of-type:last-of-type {
480+ color: #888888;
481+}
482+
483+[data-role="list"] li p:last-child {
484+ color: #ffffff;
485+}
486
487=== added file '0.1/ambiance/css/themes/suru-dark/popover.css'
488--- 0.1/ambiance/css/themes/suru-dark/popover.css 1970-01-01 00:00:00 +0000
489+++ 0.1/ambiance/css/themes/suru-dark/popover.css 2013-07-19 14:57:28 +0000
490@@ -0,0 +1,32 @@
491+/*
492+ * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
493+ * License granted by Canonical Limited
494+ *
495+ * This file is part of ubuntu-html5-theme.
496+ *
497+ * This package is free software; you can redistribute it and/or modify
498+ * it under the terms of the GNU Lesser General Public License as
499+ * published by the Free Software Foundation; either version 3 of the
500+ * License, or
501+ * (at your option) any later version.
502+
503+ * This package is distributed in the hope that it will be useful,
504+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
505+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
506+ * GNU General Public License for more details.
507+
508+ * You should have received a copy of the GNU Lesser General Public
509+ * License along with this program. If not, see
510+ * <http://www.gnu.org/licenses/>.
511+ */
512+
513+.popover {
514+ background: rgba(255, 255, 255, 0.98);
515+ -webkit-box-shadow: 0 -5px 7.76px 0.24px rgba(0, 0, 0, 0.5);
516+ box-shadow: 0 -5px 7.76px 0.24px rgba(0, 0, 0, 0.5);
517+ color: #888888;
518+}
519+
520+.list li a {
521+ color: #888888;
522+}
523\ No newline at end of file
524
525=== added file '0.1/ambiance/css/themes/suru-dark/sliders.css'
526--- 0.1/ambiance/css/themes/suru-dark/sliders.css 1970-01-01 00:00:00 +0000
527+++ 0.1/ambiance/css/themes/suru-dark/sliders.css 2013-07-19 14:57:28 +0000
528@@ -0,0 +1,37 @@
529+/*
530+ * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
531+ * License granted by Canonical Limited
532+ *
533+ * This file is part of ubuntu-html5-theme.
534+ *
535+ * This package is free software; you can redistribute it and/or modify
536+ * it under the terms of the GNU Lesser General Public License as
537+ * published by the Free Software Foundation; either version 3 of the
538+ * License, or
539+ * (at your option) any later version.
540+
541+ * This package is distributed in the hope that it will be useful,
542+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
543+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
544+ * GNU General Public License for more details.
545+
546+ * You should have received a copy of the GNU Lesser General Public
547+ * License along with this program. If not, see
548+ * <http://www.gnu.org/licenses/>.
549+ */
550+
551+/* ----------------------------------
552+ * Sliders
553+ * ---------------------------------- */
554+
555+input[type=range] {
556+ background: transparent;
557+ box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.05), inset 0 1px 3px 0 rgba(0, 0, 0, 0.9);
558+ -webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.05), inset 0 1px 3px 0 rgba(0, 0, 0, 0.9);
559+}
560+
561+input[type="range"]::-webkit-slider-thumb {
562+ background-color: #dd4814;
563+ box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.05), inset 0 1px 5px 0 rgba(0, 0, 0, 0.9);
564+ -webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.05), inset 0 1px 5px 0 rgba(0, 0, 0, 0.9);
565+}
566\ No newline at end of file
567
568=== added file '0.1/ambiance/css/themes/suru-dark/tabs.css'
569--- 0.1/ambiance/css/themes/suru-dark/tabs.css 1970-01-01 00:00:00 +0000
570+++ 0.1/ambiance/css/themes/suru-dark/tabs.css 2013-07-19 14:57:28 +0000
571@@ -0,0 +1,47 @@
572+/*
573+ * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
574+ * License granted by Canonical Limited
575+ *
576+ * This file is part of ubuntu-html5-theme.
577+ *
578+ * This package is free software; you can redistribute it and/or modify
579+ * it under the terms of the GNU Lesser General Public License as
580+ * published by the Free Software Foundation; either version 3 of the
581+ * License, or
582+ * (at your option) any later version.
583+
584+ * This package is distributed in the hope that it will be useful,
585+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
586+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
587+ * GNU General Public License for more details.
588+
589+ * You should have received a copy of the GNU Lesser General Public
590+ * License along with this program. If not, see
591+ * <http://www.gnu.org/licenses/>.
592+ */
593+
594+/* ----------------------------------
595+ * Tabs
596+ * ---------------------------------- */
597+
598+[data-role="header"]{
599+ background: #211d1d;
600+ color: #f3f3e7;
601+ border-bottom: 14px solid rgba(0, 0, 0, 0.2);
602+}
603+
604+[data-role="header"] div.tabs-inner {
605+ border-bottom: 1px solid rgba(0, 0, 0, 0.3);
606+}
607+
608+[data-role="header"] div.tabs-inner li > a {
609+ color: rgba(243, 243, 231, 0.2);
610+}
611+
612+[data-role="header"] div.tabs-inner .active > a {
613+ color: #f3f3e7;
614+}
615+
616+[data-role="header"] div.tabs-inner .inactive > a {
617+ color: rgba(243, 243, 231, 0.2);
618+}
619\ No newline at end of file
620
621=== added file '0.1/ambiance/css/themes/suru-dark/text-input.css'
622--- 0.1/ambiance/css/themes/suru-dark/text-input.css 1970-01-01 00:00:00 +0000
623+++ 0.1/ambiance/css/themes/suru-dark/text-input.css 2013-07-19 14:57:28 +0000
624@@ -0,0 +1,74 @@
625+/*
626+ * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
627+ * License granted by Canonical Limited
628+ *
629+ * This file is part of ubuntu-html5-theme.
630+ *
631+ * This package is free software; you can redistribute it and/or modify
632+ * it under the terms of the GNU Lesser General Public License as
633+ * published by the Free Software Foundation; either version 3 of the
634+ * License, or
635+ * (at your option) any later version.
636+
637+ * This package is distributed in the hope that it will be useful,
638+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
639+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
640+ * GNU General Public License for more details.
641+
642+ * You should have received a copy of the GNU Lesser General Public
643+ * License along with this program. If not, see
644+ * <http://www.gnu.org/licenses/>.
645+ */
646+
647+/* ----------------------------------
648+ * Text inputs
649+ * ---------------------------------- */
650+
651+input[type="text"],
652+input[type="password"],
653+input[type="email"],
654+input[type="tel"],
655+input[type="search"],
656+input[type="url"],
657+input[type="number"],
658+textarea {
659+ background: #fff;
660+ color: rgba(136, 136, 136, 0.5);
661+ box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1), inset 0 1px 3px 0 rgba(0, 0, 0, 0.9);
662+ -webkit-box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1), inset 0 1px 3px 0 rgba(0, 0, 0, 0.9);
663+}
664+
665+input[type="text"]:focus,
666+input[type="password"]:focus,
667+input[type="email"]:focus,
668+input[type="tel"]:focus,
669+input[type="search"]:focus,
670+input[type="url"]:focus,
671+input[type="number"]:focus,
672+textarea:focus {
673+ background: #fff;
674+ color: #757373;
675+}
676+
677+input[type="text"][disabled],
678+input[type="password"][disabled],
679+input[type="email"][disabled],
680+input[type="tel"][disabled],
681+input[type="search"][disabled],
682+input[type="url"][disabled],
683+input[type="number"][disabled],
684+textarea[disabled] {
685+ background: rgba(255, 255, 255, 0.1);
686+ color: darkgray;
687+}
688+
689+input[type="text"]:not([value]),
690+input[type="password"]:not([value]),
691+input[type="email"]:not([value]),
692+input[type="tel"]:not([value]),
693+input[type="search"]:not([value]),
694+input[type="url"]:not([value]),
695+input[type="number"]:not([value]),
696+textarea:not([value]) {
697+ color: #757373;
698+}
699\ No newline at end of file
700
701=== added file '0.1/ambiance/css/themes/suru-dark/toggles.css'
702--- 0.1/ambiance/css/themes/suru-dark/toggles.css 1970-01-01 00:00:00 +0000
703+++ 0.1/ambiance/css/themes/suru-dark/toggles.css 2013-07-19 14:57:28 +0000
704@@ -0,0 +1,51 @@
705+/*
706+ * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
707+ * License granted by Canonical Limited
708+ *
709+ * This file is part of ubuntu-html5-theme.
710+ *
711+ * This package is free software; you can redistribute it and/or modify
712+ * it under the terms of the GNU Lesser General Public License as
713+ * published by the Free Software Foundation; either version 3 of the
714+ * License, or
715+ * (at your option) any later version.
716+
717+ * This package is distributed in the hope that it will be useful,
718+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
719+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
720+ * GNU General Public License for more details.
721+
722+ * You should have received a copy of the GNU Lesser General Public
723+ * License along with this program. If not, see
724+ * <http://www.gnu.org/licenses/>.
725+ */
726+
727+
728+label:not([for]) input[type="checkbox"] + span {
729+ background: rgba(187, 187, 187, 0.4);
730+ box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.05), inset 0 1px 5px 0 rgba(0, 0, 0, 0.9);
731+ -webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.05), inset 0 1px 5px 0 rgba(0, 0, 0, 0.9);
732+ border-bottom: 0;
733+}
734+
735+input[type="checkbox"]:disabled + span {
736+ background: rgba(192, 192, 192, 0.5)!important;
737+}
738+
739+input[type="checkbox"]:disabled:checked + span {
740+ background: rgba(221, 72, 20, 0.5) url(../img/CheckMark@18.png) no-repeat 0.5rem 0.5rem!important;
741+ background-size: 53% 53%!important;
742+}
743+
744+label input[type="checkbox"][data-role="switch"] + span.toggle > span.toggle-handle {
745+ background: rgba(187, 187, 187, 0.7);
746+ box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.05), inset 0 1px 5px 0 rgba(0, 0, 0, 0.9);
747+ -webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.05), inset 0 1px 5px 0 rgba(0, 0, 0, 0.9);
748+ border-bottom: 0;
749+}
750+
751+label input[type="checkbox"][data-role="switch"]:checked + span.toggle > span.toggle-handle {
752+ background: rgb(221, 72, 20);
753+ -webkit-transform: translate3d(38px, 0, 0);
754+ transform: translate3d(38px, 0, 0);
755+}
756
757=== added file '0.1/ambiance/css/themes/suru-dark/toolbars.css'
758--- 0.1/ambiance/css/themes/suru-dark/toolbars.css 1970-01-01 00:00:00 +0000
759+++ 0.1/ambiance/css/themes/suru-dark/toolbars.css 2013-07-19 14:57:28 +0000
760@@ -0,0 +1,34 @@
761+/*
762+ * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
763+ * License granted by Canonical Limited
764+ *
765+ * This file is part of ubuntu-html5-theme.
766+ *
767+ * This package is free software; you can redistribute it and/or modify
768+ * it under the terms of the GNU Lesser General Public License as
769+ * published by the Free Software Foundation; either version 3 of the
770+ * License, or
771+ * (at your option) any later version.
772+
773+ * This package is distributed in the hope that it will be useful,
774+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
775+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
776+ * GNU General Public License for more details.
777+
778+ * You should have received a copy of the GNU Lesser General Public
779+ * License along with this program. If not, see
780+ * <http://www.gnu.org/licenses/>.
781+ */
782+
783+/* ----------------------------------
784+ * Toolbars
785+ * ---------------------------------- */
786+[data-role="footer"] nav {
787+ background: #ededf0 url("../img/background_paper@30.png") repeat-x top left;
788+}
789+
790+
791+[data-role="footer"] nav ul li,
792+[data-role="footer"] nav ul li a {
793+ color: #888888;
794+}
795\ No newline at end of file
796
797=== modified file '0.1/ambiance/css/toggles.css'
798--- 0.1/ambiance/css/toggles.css 2013-07-17 15:27:43 +0000
799+++ 0.1/ambiance/css/toggles.css 2013-07-19 14:57:28 +0000
800@@ -5,21 +5,25 @@
801 * This file is part of ubuntu-html5-theme.
802 *
803 * This package is free software; you can redistribute it and/or modify
804- * it under the terms of the GNU Lesser General Public License as
805- * published by the Free Software Foundation; either version 3 of the
806+ * it under the terms of the GNU Lesser General Public License as
807+ * published by the Free Software Foundation; either version 3 of the
808 * License, or
809 * (at your option) any later version.
810-
811+
812 * This package is distributed in the hope that it will be useful,
813 * but WITHOUT ANY WARRANTY; without even the implied warranty of
814 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
815 * GNU General Public License for more details.
816-
817- * You should have received a copy of the GNU Lesser General Public
818- * License along with this program. If not, see
819+
820+ * You should have received a copy of the GNU Lesser General Public
821+ * License along with this program. If not, see
822 * <http://www.gnu.org/licenses/>.
823 */
824
825+ /* ----------------------------------
826+ * Toggles
827+ * ---------------------------------- */
828+
829 label:not([for]) {
830 display: inline-block;
831 vertical-align: middle;
832@@ -71,7 +75,7 @@
833 background-size: 53% 53%!important;
834 }
835
836-label input[type="checkbox"][data-type="switch"] + span.toggle {
837+label input[type="checkbox"][data-role="switch"] + span.toggle {
838 position: absolute;
839 left: 50%;
840 top: 50%;
841@@ -83,7 +87,7 @@
842 background: transparent;
843 }
844
845-label input[type="checkbox"][data-type="switch"] + span.toggle > span.toggle-bg {
846+label input[type="checkbox"][data-role="switch"] + span.toggle > span.toggle-bg {
847 background: transparent url(../img/Checkbox.png) no-repeat 0.5rem 0.6rem;
848 background-size: 80% 50%;
849 position: absolute;
850@@ -95,7 +99,7 @@
851
852 }
853
854-label input[type="checkbox"][data-type="switch"] + span.toggle > span.toggle-handle {
855+label input[type="checkbox"][data-role="switch"] + span.toggle > span.toggle-handle {
856 position: absolute;
857 top: 2px;
858 left: 2px;
859@@ -113,11 +117,11 @@
860 border-bottom: 1px solid #f5f5f5;
861 }
862
863-label input[type="checkbox"][data-type="switch"]:checked + span.toggle {
864+label input[type="checkbox"][data-role="switch"]:checked + span.toggle {
865 background: transparent;
866 }
867
868-label input[type="checkbox"][data-type="switch"]:checked + span.toggle > span.toggle-handle {
869+label input[type="checkbox"][data-role="switch"]:checked + span.toggle > span.toggle-handle {
870 background: rgb(221, 72, 20);
871 -webkit-transform: translate3d(38px, 0, 0);
872 transform: translate3d(38px, 0, 0);
873
874=== modified file '0.1/examples/widgets/Buttons.html'
875--- 0.1/examples/widgets/Buttons.html 2013-07-17 15:27:43 +0000
876+++ 0.1/examples/widgets/Buttons.html 2013-07-19 14:57:28 +0000
877@@ -5,18 +5,18 @@
878 This file is part of ubuntu-html5-theme.
879
880 This package is free software; you can redistribute it and/or modify
881- it under the terms of the GNU Lesser General Public License as
882- published by the Free Software Foundation; either version 3 of the
883+ it under the terms of the GNU Lesser General Public License as
884+ published by the Free Software Foundation; either version 3 of the
885 License, or
886 (at your option) any later version.
887-
888+
889 This package is distributed in the hope that it will be useful,
890 but WITHOUT ANY WARRANTY; without even the implied warranty of
891 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
892 GNU General Public License for more details.
893-
894- You should have received a copy of the GNU Lesser General Public
895- License along with this program. If not, see
896+
897+ You should have received a copy of the GNU Lesser General Public
898+ License along with this program. If not, see
899 <http://www.gnu.org/licenses/>.
900 -->
901
902@@ -49,7 +49,7 @@
903 </nav>
904 </header>
905
906- <div class="content">
907+ <div data-role="content">
908 <h1>Buttons</h1>
909 <div class="inset">
910 <button data-role="button">Standard</button>
911
912=== modified file '0.1/examples/widgets/ListItems.html'
913--- 0.1/examples/widgets/ListItems.html 2013-07-17 15:27:43 +0000
914+++ 0.1/examples/widgets/ListItems.html 2013-07-19 14:57:28 +0000
915@@ -5,18 +5,18 @@
916 This file is part of ubuntu-html5-theme.
917
918 This package is free software; you can redistribute it and/or modify
919- it under the terms of the GNU Lesser General Public License as
920- published by the Free Software Foundation; either version 3 of the
921+ it under the terms of the GNU Lesser General Public License as
922+ published by the Free Software Foundation; either version 3 of the
923 License, or
924 (at your option) any later version.
925-
926+
927 This package is distributed in the hope that it will be useful,
928 but WITHOUT ANY WARRANTY; without even the implied warranty of
929 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
930 GNU General Public License for more details.
931-
932- You should have received a copy of the GNU Lesser General Public
933- License along with this program. If not, see
934+
935+ You should have received a copy of the GNU Lesser General Public
936+ License along with this program. If not, see
937 <http://www.gnu.org/licenses/>.
938 -->
939
940@@ -156,7 +156,7 @@
941 <li>
942 <p>Label</p>
943 <label>
944- <input type="checkbox" data-type="switch" checked="">
945+ <input type="checkbox" data-role="switch" checked="">
946 <span class="toggle">
947 <span class="toggle-handle"></span>
948 <span class="toggle-bg"></span>
949@@ -166,7 +166,7 @@
950 <li>
951 <p>Label</p>
952 <label>
953- <input type="checkbox" data-type="switch" checked="">
954+ <input type="checkbox" data-role="switch" checked="">
955 <span class="toggle">
956 <span class="toggle-handle"></span>
957 <span class="toggle-bg"></span>
958
959=== modified file '0.1/examples/widgets/Toggles.html'
960--- 0.1/examples/widgets/Toggles.html 2013-07-17 15:27:43 +0000
961+++ 0.1/examples/widgets/Toggles.html 2013-07-19 14:57:28 +0000
962@@ -5,18 +5,18 @@
963 This file is part of ubuntu-html5-theme.
964
965 This package is free software; you can redistribute it and/or modify
966- it under the terms of the GNU Lesser General Public License as
967- published by the Free Software Foundation; either version 3 of the
968+ it under the terms of the GNU Lesser General Public License as
969+ published by the Free Software Foundation; either version 3 of the
970 License, or
971 (at your option) any later version.
972-
973+
974 This package is distributed in the hope that it will be useful,
975 but WITHOUT ANY WARRANTY; without even the implied warranty of
976 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
977 GNU General Public License for more details.
978-
979- You should have received a copy of the GNU Lesser General Public
980- License along with this program. If not, see
981+
982+ You should have received a copy of the GNU Lesser General Public
983+ License along with this program. If not, see
984 <http://www.gnu.org/licenses/>.
985 -->
986
987@@ -76,7 +76,7 @@
988 </div>
989 <div class="inset">
990 <label>
991- <input type="checkbox" data-type="switch" checked="">
992+ <input type="checkbox" data-role="switch" checked="">
993 <span class="toggle">
994 <span class="toggle-handle"></span>
995 <span class="toggle-bg"></span>
996@@ -85,7 +85,7 @@
997 </div>
998 <div class="inset">
999 <label>
1000- <input type="checkbox" data-type="switch">
1001+ <input type="checkbox" data-role="switch">
1002 <span class="toggle">
1003 <span class="toggle-handle"></span>
1004 <span class="toggle-bg"></span>
1005
1006=== modified file '0.1/examples/widgets/UbuntuShape.html'
1007--- 0.1/examples/widgets/UbuntuShape.html 2013-07-17 15:27:43 +0000
1008+++ 0.1/examples/widgets/UbuntuShape.html 2013-07-19 14:57:28 +0000
1009@@ -5,18 +5,18 @@
1010 This file is part of ubuntu-html5-theme.
1011
1012 This package is free software; you can redistribute it and/or modify
1013- it under the terms of the GNU Lesser General Public License as
1014- published by the Free Software Foundation; either version 3 of the
1015+ it under the terms of the GNU Lesser General Public License as
1016+ published by the Free Software Foundation; either version 3 of the
1017 License, or
1018 (at your option) any later version.
1019-
1020+
1021 This package is distributed in the hope that it will be useful,
1022 but WITHOUT ANY WARRANTY; without even the implied warranty of
1023 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1024 GNU General Public License for more details.
1025-
1026- You should have received a copy of the GNU Lesser General Public
1027- License along with this program. If not, see
1028+
1029+ You should have received a copy of the GNU Lesser General Public
1030+ License along with this program. If not, see
1031 <http://www.gnu.org/licenses/>.
1032 -->
1033
1034@@ -51,7 +51,7 @@
1035
1036 <div data-role="content">
1037 <div data-role="shape">
1038- <img src="img/map_icon.png">
1039+ <img src="../../ambiance/img/map_icon.png">
1040 </div>
1041 </div>
1042 </div>

Subscribers

People subscribed via source and target branches