Merge lp:~daker/ubuntu-html5-theme/fix.progressbar into lp:~ubuntu-html5-theme-devs/ubuntu-html5-theme/ambiance

Proposed by Adnane Belmadiaf
Status: Merged
Approved by: Alexandre Abreu
Approved revision: 86
Merged at revision: 93
Proposed branch: lp:~daker/ubuntu-html5-theme/fix.progressbar
Merge into: lp:~ubuntu-html5-theme-devs/ubuntu-html5-theme/ambiance
Diff against target: 146 lines (+36/-31)
2 files modified
0.1/ambiance/css/progress-bars.css (+27/-24)
0.1/examples/widgets/ProgressBars.html (+9/-7)
To merge this branch: bzr merge lp:~daker/ubuntu-html5-theme/fix.progressbar
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Alexandre Abreu Approve
Review via email: mp+188205@code.launchpad.net

Commit message

Updated the progressbar component to match the design

To post a comment you must log in.
Revision history for this message
Alexandre Abreu (abreu-alexandre) :
review: Approve
Revision history for this message
Alexandre Abreu (abreu-alexandre) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '0.1/ambiance/css/progress-bars.css'
--- 0.1/ambiance/css/progress-bars.css 2013-07-17 15:27:43 +0000
+++ 0.1/ambiance/css/progress-bars.css 2013-09-28 20:21:05 +0000
@@ -5,18 +5,18 @@
5 * This file is part of ubuntu-html5-theme.5 * This file is part of ubuntu-html5-theme.
6 *6 *
7 * This package is free software; you can redistribute it and/or modify7 * 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 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 9 * published by the Free Software Foundation; either version 3 of the
10 * License, or10 * License, or
11 * (at your option) any later version.11 * (at your option) any later version.
12 12
13 * This package is distributed in the hope that it will be useful,13 * This package is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.16 * GNU General Public License for more details.
17 17
18 * You should have received a copy of the GNU Lesser General Public 18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this program. If not, see 19 * License along with this program. If not, see
20 * <http://www.gnu.org/licenses/>.20 * <http://www.gnu.org/licenses/>.
21 */21 */
2222
@@ -27,7 +27,7 @@
27/* Spinner */27/* Spinner */
28progress {28progress {
29 -webkit-appearance: none;29 -webkit-appearance: none;
30 height: 10px;30 height: 35px;
31}31}
3232
33progress:not([value]) {33progress:not([value]) {
@@ -51,34 +51,37 @@
51progress:not([value])::-webkit-progress-bar {51progress:not([value])::-webkit-progress-bar {
52 background: none;52 background: none;
53 -webkit-box-shadow: none;53 -webkit-box-shadow: none;
54
55}54}
5655
57/* Progress bar */56/* Progress bar */
58progress[value]::-webkit-progress-value {57progress[value]::-webkit-progress-value {
59 width: 100%;58 width: 100%;
60 background: #027ce0;59 background: #dd4814;
61 border: none;60 border: none;
61 border-radius: 6px;
62 display: block;62 display: block;
63 -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
64 box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
63}65}
6466
65progress[value]::-webkit-progress-bar {67progress[value]::-webkit-progress-bar {
66 background: #fff;
67 padding: 1px;68 padding: 1px;
68 -webkit-box-shadow: inset 0px 1px 5px rgba(0, 0, 0, 0.3);69 background-color: rgba(192, 192, 192, 0.1);
69 -webkit-border-radius: 3px;70 width: 200px;
70 box-shadow: inset 0px 1px 5px rgba(0, 0, 0, 0.3);71 height: 35px;
71 border-radius: 3px;72 -webkit-box-sizing: border-box;
73 box-sizing: border-box;
74 border-radius: 6px;
75 padding: 0;
76 -webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.1);
77 box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.1);
72}78}
7379
74
75/* Infinite Progress bar */80/* Infinite Progress bar */
76progress[value].infinite::-webkit-progress-value {81progress[value].infinite::-webkit-progress-value {
77 background-color: #027ce0;82 -webkit-appearance: none;
78 background-size: 15px 15px , 100% 100%, 100% 100%;83 /*-webkit-animation: 1.9s move infinite steps(15);
79 background-image: -webkit-linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);84 animation: 1.9s move infinite steps(15);*/
80 -webkit-animation: 1.9s move infinite steps(15);
81 animation: 1.9s move infinite steps(15);
82}85}
8386
84/* Animations */87/* Animations */
@@ -87,7 +90,7 @@
87 to { -webkit-transform: rotate(360deg); }90 to { -webkit-transform: rotate(360deg); }
88}91}
8992
90@-webkit-keyframes move {
91 0% { background-position: -100px 0px, 0 0, 0 0 }
92 100% { background-position: 0px 0px, 0 0, 0 0 }
93}
94\ No newline at end of file93\ No newline at end of file
94/*@-webkit-keyframes move {
95 0% { width: -100px 0, 0 0, 0 0 }
96 100% { width: 0 0, 0 0, 0 0 }
97}*/
95\ No newline at end of file98\ No newline at end of file
9699
=== modified file '0.1/ambiance/img/spinner@30.png'
97Binary files 0.1/ambiance/img/spinner@30.png 2013-06-08 14:24:51 +0000 and 0.1/ambiance/img/spinner@30.png 2013-09-28 20:21:05 +0000 differ100Binary files 0.1/ambiance/img/spinner@30.png 2013-06-08 14:24:51 +0000 and 0.1/ambiance/img/spinner@30.png 2013-09-28 20:21:05 +0000 differ
=== modified file '0.1/ambiance/img/spinner@8.png'
98Binary files 0.1/ambiance/img/spinner@8.png 2013-06-08 14:24:51 +0000 and 0.1/ambiance/img/spinner@8.png 2013-09-28 20:21:05 +0000 differ101Binary files 0.1/ambiance/img/spinner@8.png 2013-06-08 14:24:51 +0000 and 0.1/ambiance/img/spinner@8.png 2013-09-28 20:21:05 +0000 differ
=== modified file '0.1/examples/widgets/ProgressBars.html'
--- 0.1/examples/widgets/ProgressBars.html 2013-07-17 15:27:43 +0000
+++ 0.1/examples/widgets/ProgressBars.html 2013-09-28 20:21:05 +0000
@@ -5,18 +5,18 @@
5 This file is part of ubuntu-html5-theme.5 This file is part of ubuntu-html5-theme.
66
7 This package is free software; you can redistribute it and/or modify7 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 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 9 published by the Free Software Foundation; either version 3 of the
10 License, or10 License, or
11 (at your option) any later version.11 (at your option) any later version.
12 12
13 This package is distributed in the hope that it will be useful,13 This package is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.16 GNU General Public License for more details.
17 17
18 You should have received a copy of the GNU Lesser General Public 18 You should have received a copy of the GNU Lesser General Public
19 License along with this program. If not, see 19 License along with this program. If not, see
20 <http://www.gnu.org/licenses/>.20 <http://www.gnu.org/licenses/>.
21-->21-->
2222
@@ -54,7 +54,9 @@
54 <progress></progress>54 <progress></progress>
55 <progress class="bigger"></progress>55 <progress class="bigger"></progress>
56 </div>56 </div>
57 <progress value="80" max="100"></progress>57 <div class="inset">
58 <progress value="80" max="100"></progress>
59 </div>
58 <div class="inset">60 <div class="inset">
59 <progress class="infinite" value="100" max="100"></progress>61 <progress class="infinite" value="100" max="100"></progress>
60 </div>62 </div>

Subscribers

People subscribed via source and target branches