Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(401)

Side by Side Diff: lib/views/juju-inspector.less

Issue 11526043: Landing ants latest inspector style branch
Patch Set: Landing ants latest inspector style branch Created 11 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « app/templates/serviceOverview.handlebars ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 @inspector-background-color: #333; 1 @inspector-background-color: #333;
2 @inspector-region-background-color: #282828; 2 @inspector-region-background-color: #282828;
3 @inspector-divider-bottom: rgba(0, 0, 0, 0.3);
4 @inspector-divider-top: rgba(255, 255, 255, 0.05);
5 @inspector-status-border-color: #E2E2E2;
6 @inspector-subtitle-color: #555555;
7
3 8
4 .yui3-juju-inspector { 9 .yui3-juju-inspector {
5 position: absolute; 10 position: absolute;
6 top: 20px; 11 top: 20px;
7 right: 35px; 12 right: 35px;
8 width: 292px; 13 width: 292px;
9 min-height: 250px; 14 min-height: 250px;
10 background-color: @inspector-background-color; 15 background-color: @inspector-background-color;
11 color: #fff; 16 color: #fff;
12 margin: 0; /* can be removed once the old inspector styles are removed*/ 17 margin: 0; /* can be removed once the old inspector styles are removed*/
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 float: left; 51 float: left;
47 margin-right: 1em; 52 margin-right: 1em;
48 background: transparent url(/juju-ui/assets/images/charm_64.png) lef t top no-repeat; 53 background: transparent url(/juju-ui/assets/images/charm_64.png) lef t top no-repeat;
49 } 54 }
50 55
51 .service-name { 56 .service-name {
52 font-size: 16pt; 57 font-size: 16pt;
53 } 58 }
54 } 59 }
55 60
56 .status-unit-content {
57 transition: 1s, max-height 1s;
58 -webkit-transition: 1s, max-height 1s;
59 overflow: hidden;
60 /* max height is being set inline in views/service.js.
61 It is calculated on the number of units in the list. */
62
63 &.close-unit {
64 max-height: 0px !important;
65 }
66
67 a {
68 cursor: pointer;
69 }
70 }
71
72 .view-container { 61 .view-container {
73 overflow: auto; 62 overflow: auto;
74 padding: 15px; 63 padding: 15px;
75 64
76 &.settings-config { 65 &.settings-config {
77 66
78 .settings-wrapper { 67 .settings-wrapper {
79 position: relative; 68 position: relative;
80 69
81 label { 70 label {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 294
306 .left-breakout { 295 .left-breakout {
307 position: absolute; 296 position: absolute;
308 top: 0px; 297 top: 0px;
309 right: 292px; 298 right: 292px;
310 width: 500px; 299 width: 500px;
311 color: rgb(80, 80, 80); 300 color: rgb(80, 80, 80);
312 background-color: rgb(255, 255, 255); 301 background-color: rgb(255, 255, 255);
313 } 302 }
314 303
304
305 .viewlet-wrapper{
306 h3 {
307 border-bottom: 1px solid @inspector-divider-bottom;
308 border-top: 1px solid @inspector-divider-top;
309 font-size: 14px;
310 font-weight: 400;
311 line-height: 1.5;
312 padding: 10px 20px;
313 }
314
315 .content {
316 border-bottom: 1px solid @inspector-divider-bottom;
317 margin: 0;
318 padding: 10px;
319 }
320
321 .service-charm {
322 span {
323 font-size: 14px;
324 font-weight: 400;
325 line-height: 1.5;
326 color: @inspector-subtitle-color;
327 }
328
329 .service-name {
330 font-size: 20px;
331 font-weight: 300;
332 line-height: 1.2;
333 color: @charm-panel-background-color;
334 }
335 }
336 }
337
338 .overview-unit-list {
339 margin-left: 0;
340
341 .status-unit-header {
342 background-color: @inspector-region-background-color;
343 padding: 15px;
344 font-size: 16px;
345 cursor: pointer;
346 border-bottom: 1px solid @inspector-divider-bottom;
347 border-top: 1px solid @inspector-divider-top;
348
349 span {
350 margin-right: 5px;
351 }
352
353 ul {
354 background: white;
355 }
356 }
357
358 .status-unit-content {
359 -moz-transition: .5s, max-height .5s;
360 -webkit-transition: .5s, max-height .5s;
361 transition: .5s, max-height .5s;
362 overflow: hidden;
363 background: @charm-panel-background-color;
364 /* max height is being set inline in views/service.js.
365 It is calculated on the number of units in the list. */
366
367 &.close-unit {
368 max-height: 0px !important;
369 }
370
371 a {
372 cursor: pointer;
373 color: @text-colour;
374 text-decoration: underline;
375 }
376
377 ul {
378 margin-left: 0;
379 border-bottom: 1px solid @charm-panel-border-color;
380 }
381
382 li {
383 list-style-type: none;
384 padding: 7px 0 7px 10px;
385 border-top: 1px solid @inspector-status-border-color;
386 }
387
388 input[type="checkbox"] {
389 margin-right: 10px;
390 }
391
392 button.unit-action-button,
393 input[type="checkbox"] {
394 .create-border-radius(@border-radius);
395 .create-box-shadow(0 2px 2px -2px #777 inset);
396 background: @charm-panel-series-color;
397 }
398
399 button.unit-action-button {
400 border: 0;
401 padding: 5px;
402 width: 70px;
403 text-align: center;
404 margin: 20px 3px 0;
405 }
406 button.resolve {
407 margin-left: 25px;
408 }
409 }
410 }
411
315 } 412 }
OLDNEW
« no previous file with comments | « app/templates/serviceOverview.handlebars ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b