Merge lp:~james-page/horizon/theme-resync into lp:~openstack-ubuntu-testing/horizon/grizzly

Proposed by James Page
Status: Merged
Approved by: Chuck Short
Approved revision: 151
Merged at revision: 151
Proposed branch: lp:~james-page/horizon/theme-resync
Merge into: lp:~openstack-ubuntu-testing/horizon/grizzly
Diff against target: 461 lines (+444/-0)
2 files modified
debian/changelog (+7/-0)
debian/theme/css/ubuntu.css (+437/-0)
To merge this branch: bzr merge lp:~james-page/horizon/theme-resync
Reviewer Review Type Date Requested Status
Openstack Ubuntu Testers Pending
Review via email: mp+160103@code.launchpad.net

Description of the change

Fixup ubuntu theme for release.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-04-10 17:24:27 +0000
3+++ debian/changelog 2013-04-22 13:12:31 +0000
4@@ -1,3 +1,10 @@
5+horizon (1:2013.1-0ubuntu3) raring; urgency=low
6+
7+ * Re-sync Ubuntu theme with upstream changes, fixing instance network
8+ selection dialog and network topology screens (LP: #1157918).
9+
10+ -- James Page <james.page@ubuntu.com> Mon, 22 Apr 2013 14:09:04 +0100
11+
12 horizon (1:2013.1-0ubuntu2) raring; urgency=low
13
14 * Recompress static JS and CSS and generate new manifest.json for
15
16=== modified file 'debian/theme/css/ubuntu.css'
17--- debian/theme/css/ubuntu.css 2012-10-09 18:04:20 +0000
18+++ debian/theme/css/ubuntu.css 2013-04-22 13:12:31 +0000
19@@ -5056,6 +5056,443 @@
20 margin-right: 2px;
21 }
22
23+/* Styling for draged network object */
24+#networkListSortContainer {
25+ display: none;
26+}
27+.networklist {
28+ padding: 6px;
29+ background: #eee;
30+ border: 1px solid #ccc;
31+ min-height: 2em;
32+ width: auto !important;
33+ -webkit-box-sizing: border-box;
34+ -moz-box-sizing: border-box;
35+ box-sizing: border-box;
36+}
37+.networklist li {
38+ width: 226px;
39+ list-style-type: none;
40+ margin: 6px auto;
41+ padding: 3px;
42+ background: #fff;
43+ border: 1px solid #aaa;
44+ line-height: 18px;
45+ border-radius: 3px;
46+ cursor: move;
47+ padding-left: 23px;
48+ background: #ffffff url(/static/dashboard/img/drag.png) no-repeat 11px 50%;
49+}
50+.networklist li em {
51+ font-size: 0.5em;
52+ line-height: 1em;
53+ color: #999;
54+ font-style: normal;
55+ margin-left: 0.8em;
56+}
57+.networklist li i {
58+ margin-right: 5px;
59+ vertical-align: middle;
60+}
61+.networklist li a.btn {
62+ -webkit-box-sizing: border-box;
63+ -moz-box-sizing: border-box;
64+ box-sizing: border-box;
65+ font-size: 11px;
66+ line-height: 12px;
67+ padding: 2px 5px 3px;
68+ margin-right: 1px;
69+ width: 18px;
70+ text-align: center;
71+ right: 5px;
72+ vertical-align: middle;
73+ float: right;
74+}
75+.networklist li a.btn:before {
76+ content: "+";
77+}
78+.networklist li.ui-sortable-helper {
79+ background-color: #def;
80+}
81+.networklist li.ui-state-highlight {
82+ border: 1px dotted #ccc;
83+ background: #efefef;
84+ height: 0.5em;
85+}
86+.networklist li:after {
87+ visibility: hidden;
88+ display: block;
89+ font-size: 0;
90+ content: " ";
91+ clear: both;
92+ height: 0;
93+}
94+#selected_network {
95+ margin-bottom: 1.5em;
96+ counter-reset: v1 0;
97+ background: #edf9ff;
98+ border: 1px solid #c0d9e4;
99+}
100+#selected_network li {
101+ position: relative;
102+}
103+#selected_network li a.btn:before {
104+ content: "-";
105+}
106+#selected_network li:before {
107+ content: "nic:" counter(v1);
108+ counter-increment: v1;
109+ display: inline-block;
110+ margin-right: 5px;
111+ background: #666;
112+ color: #fff;
113+ font-size: 90%;
114+ padding: 0px 4px;
115+ vertical-align: middle;
116+ border-radius: 2px;
117+ position: absolute;
118+ left: -2em;
119+}
120+#selected_network.dragging li:before {
121+ content: "nic:";
122+ background-color: rgba(102, 102, 102, 0.5);
123+ padding-right: 10px;
124+}
125+#selected_network.dragging li.ui-state-highlight:before {
126+ content: "";
127+ background: transparent;
128+}
129+/* Styling for network topology */
130+@-webkit-keyframes progress-bar-stripes {
131+ from {
132+ background-position: 20px 0;
133+ }
134+ to {
135+ background-position: 0 0;
136+ }
137+}
138+@-moz-keyframes progress-bar-stripes {
139+ from {
140+ background-position: 20px 0;
141+ }
142+ to {
143+ background-position: 0 0;
144+ }
145+}
146+@-ms-keyframes progress-bar-stripes {
147+ from {
148+ background-position: 20px 0;
149+ }
150+ to {
151+ background-position: 0 0;
152+ }
153+}
154+@-o-keyframes progress-bar-stripes {
155+ from {
156+ background-position: 0 0;
157+ }
158+ to {
159+ background-position: 20px 0;
160+ }
161+}
162+@keyframes progress-bar-stripes {
163+ from {
164+ background-position: 20px 0;
165+ }
166+ to {
167+ background-position: 0 0;
168+ }
169+}
170+#topologyCanvas {
171+ -webkit-box-sizing: border-box;
172+ -moz-box-sizing: border-box;
173+ -ms-box-sizing: border-box;
174+ -o-box-sizing: border-box;
175+ box-sizing: border-box;
176+ width: 100%;
177+ height: 500px;
178+ padding: 25px;
179+ padding-left: 50px;
180+ background: #efefef;
181+}
182+#topologyCanvas div.nodata {
183+ font-size: 150%;
184+ font-weight: bold;
185+ text-align: center;
186+ padding-top: 200px;
187+ display: none;
188+}
189+div.networks {
190+ height: 100%;
191+}
192+div.network {
193+ -webkit-box-sizing: border-box;
194+ -moz-box-sizing: border-box;
195+ -ms-box-sizing: border-box;
196+ -o-box-sizing: border-box;
197+ box-sizing: border-box;
198+ float: left;
199+ width: 270px;
200+ height: 100%;
201+ position: relative;
202+}
203+div.network .nicname {
204+ -webkit-box-sizing: border-box;
205+ -moz-box-sizing: border-box;
206+ -ms-box-sizing: border-box;
207+ -o-box-sizing: border-box;
208+ box-sizing: border-box;
209+ height: 100%;
210+ width: 17px;
211+ border-radius: 17px;
212+ z-index: 200;
213+ color: #fff;
214+ position: absolute;
215+ left: -8px;
216+ top: 0px;
217+ cursor: pointer;
218+}
219+div.network .nicname:hover {
220+ background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
221+ background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
222+ background-image: -ms-linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
223+ background-image: -o-linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
224+ background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
225+ background-size: 10px 10px;
226+}
227+div.network .nicname.nourl {
228+ cursor: auto;
229+}
230+div.network .nicname.nourl:hover {
231+ background-image: none;
232+}
233+div.network .nicname h3 {
234+ font-size: 12px;
235+ line-height: 1;
236+ position: relative;
237+ font-weight: normal;
238+ top: 55%;
239+ color: #fff;
240+ left: -1px;
241+ letter-spacing: 0.2em;
242+ -webkit-transform: rotate(-90deg);
243+ -moz-transform: rotate(-90deg);
244+ -ms-transform: rotate(-90deg);
245+ -o-transform: rotate(-90deg);
246+ transform: rotate(-90deg);
247+ white-space: nowrap;
248+ text-shadow: 0px 0px 5px #000;
249+}
250+div.network .nicname span.ip {
251+ position: absolute;
252+ bottom: -10px;
253+ left: 20px;
254+ color: #000;
255+ display: block;
256+ font-weight: normal;
257+ font-size: 90%;
258+ letter-spacing: 0.2em;
259+ -webkit-transform: rotate(-90deg);
260+ -moz-transform: rotate(-90deg);
261+ -ms-transform: rotate(-90deg);
262+ -o-transform: rotate(-90deg);
263+ transform: rotate(-90deg);
264+ -webkit-transform-origin: 0% 0%;
265+ -moz-transform-origin: 0% 0%;
266+ -ms-transform-origin: 0% 0%;
267+ -o-transform-origin: 0% 0%;
268+ transform-origin: 0% 0%;
269+ white-space: nowrap;
270+ text-shadow: 0px 0px 2px #fff,0px 0px 2px #fff;
271+}
272+div.network .router,
273+div.network .server,
274+div.network .device {
275+ -webkit-box-sizing: border-box;
276+ -moz-box-sizing: border-box;
277+ -ms-box-sizing: border-box;
278+ -o-box-sizing: border-box;
279+ box-sizing: border-box;
280+ cursor: pointer;
281+ width: 90px;
282+ border: 3px solid #444;
283+ position: absolute;
284+ top: 30px;
285+ left: 90px;
286+ color: #fff;
287+ padding: 0 3px;
288+ background: #666;
289+ margin-bottom: 20px;
290+ border-radius: 8px;
291+}
292+div.network .router:before,
293+div.network .server:before,
294+div.network .device:before {
295+ content: "";
296+ width: 20px;
297+ height: 20px;
298+ border: 2px solid #444;
299+ line-height: 1.2;
300+ position: absolute;
301+ border-radius: 20px;
302+ top: -10px;
303+ left: -10px;
304+ background: #ffffff url(/static/dashboard/img/router.png) no-repeat center center;
305+ background-size: 16px 16px;
306+}
307+div.network .router:after,
308+div.network .server:after,
309+div.network .device:after {
310+ content: "";
311+ width: 100%;
312+ line-height: 1.2;
313+ position: absolute;
314+ text-align: center;
315+ border-radius: 0;
316+ background: #444;
317+ color: #fff;
318+ font-size: 11px;
319+ height: 1.5em;
320+ bottom: 0px;
321+ left: 0px;
322+}
323+div.network .router span.devicename,
324+div.network .server span.devicename,
325+div.network .device span.devicename {
326+ position: absolute;
327+ color: #fff;
328+ bottom: 0px;
329+ font-size: 12px;
330+ line-height: 14px;
331+ width: 100%;
332+ text-align: center;
333+ z-index: 300;
334+ left: -2px;
335+}
336+div.network .router span.name,
337+div.network .server span.name,
338+div.network .device span.name {
339+ overflow: hidden;
340+ white-space: nowrap;
341+ text-overflow: ellipsis;
342+ display: block;
343+ font-size: 12px;
344+ position: relative;
345+ z-index: 10;
346+ text-align: center;
347+ top: 4px;
348+ padding: 0 3px;
349+}
350+div.network .router div.port,
351+div.network .server div.port,
352+div.network .device div.port {
353+ text-align: right;
354+ min-width: 90px;
355+ height: 10px;
356+ font: 0px/0px sans-serif;
357+ position: absolute;
358+ left: -91px;
359+ top: 8px;
360+ background-color: #37a9e3;
361+ background-image: none;
362+ -webkit-background-size: 20px 20px;
363+ -moz-background-size: 20px 20px;
364+ -o-background-size: 20px 20px;
365+ background-size: 20px 20px;
366+ z-index: 100;
367+}
368+div.network .router div.port span.ip,
369+div.network .server div.port span.ip,
370+div.network .device div.port span.ip {
371+ -webkit-box-sizing: border-box;
372+ -moz-box-sizing: border-box;
373+ -ms-box-sizing: border-box;
374+ -o-box-sizing: border-box;
375+ box-sizing: border-box;
376+ color: #333;
377+ font-size: 9px;
378+ line-height: 1;
379+ text-shadow: 0px -1px #ffffff;
380+ position: relative;
381+ top: -1em;
382+ width: 90px;
383+ display: inline-block;
384+ padding-right: 8px;
385+ padding-left: 8px;
386+ word-wrap: break-word;
387+ word-break: break-all;
388+}
389+div.network .router div.port.right,
390+div.network .server div.port.right,
391+div.network .device div.port.right {
392+ left: auto;
393+ right: -92px;
394+ width: 92px;
395+ text-align: left;
396+}
397+div.network .router:hover,
398+div.network .server:hover,
399+div.network .device:hover {
400+ border-color: #222;
401+}
402+div.network .router:hover div.port,
403+div.network .server:hover div.port,
404+div.network .device:hover div.port {
405+ cursor: pointer;
406+ background-color: #2688c0;
407+ -webkit-animation: progress-bar-stripes 1s linear infinite;
408+ -moz-animation: progress-bar-stripes 1s linear infinite;
409+ -ms-animation: progress-bar-stripes 1s linear infinite;
410+ -o-animation: progress-bar-stripes 1s linear infinite;
411+ animation: progress-bar-stripes 1s linear infinite;
412+}
413+div.network .router:hover div.port:hover,
414+div.network .server:hover div.port:hover,
415+div.network .device:hover div.port:hover {
416+ -webkit-animation: progress-bar-stripes 0.3s linear infinite;
417+ -moz-animation: progress-bar-stripes 0.3s linear infinite;
418+ -ms-animation: progress-bar-stripes 0.3s linear infinite;
419+ -o-animation: progress-bar-stripes 0.3s linear infinite;
420+ animation: progress-bar-stripes 0.3s linear infinite;
421+}
422+div.network .router:hover div.port.nourl,
423+div.network .server:hover div.port.nourl,
424+div.network .device:hover div.port.nourl {
425+ cursor: auto;
426+ background-image: none;
427+}
428+div.network .router:hover div.port.nourl:hover,
429+div.network .server:hover div.port.nourl:hover,
430+div.network .device:hover div.port.nourl:hover {
431+ background-image: none;
432+}
433+div.network .router:hover:after,
434+div.network .server:hover:after,
435+div.network .device:hover:after {
436+ background-color: #222;
437+ border-color: #222;
438+}
439+div.network .device {
440+ border: none;
441+ background: transparent;
442+}
443+div.network .server {
444+ background: #fff;
445+ color: #333;
446+}
447+div.network .server:before {
448+ background: #ffffff url(/static/dashboard/img/server.png) no-repeat center center;
449+ background-size: 14px 14px;
450+}
451+.launchButtons {
452+ text-align: right;
453+ margin: 10px 0px 15px 10px;
454+}
455+.launchButtons a.btn {
456+ margin-left: 10px;
457+}
458+
459+
460 /* Graham Bancroft graham.bancroft@canonical.com 03 October 2012 */
461 @import url("https://fonts.googleapis.com/css?family=Ubuntu:300,400,400italic");
462

Subscribers

People subscribed via source and target branches