OLD | NEW |
1 @inspector-background-color: #221e1c; | 1 @inspector-background-color: #221e1c; |
2 @inspector-region-background-color: #282828; | 2 @inspector-controls-height: 67px; |
3 @inspector-divider-bottom: rgba(0, 0, 0, 0.3); | 3 @inspector-divider-bottom: rgba(0, 0, 0, 0.3); |
4 @inspector-divider-top: rgba(255, 255, 255, 0.05); | 4 @inspector-divider-top: rgba(255, 255, 255, 0.05); |
5 @inspector-status-border-color: #E2E2E2; | 5 @inspector-status-border-color: #E2E2E2; |
6 @inspector-subtitle-color: #555555; | 6 @inspector-subtitle-color: #555555; |
7 @inspector-width: 292px; | 7 @inspector-width: 292px; |
| 8 @inspector-main-padding: 20px; |
8 @confirm-button-color: #DD4814; | 9 @confirm-button-color: #DD4814; |
9 @deny-button-color: #BBB; | 10 @deny-button-color: #BBB; |
10 @disabled-input-background-color: #727272; | 11 @disabled-input-background-color: #727272; |
11 @disabled-input-text-color: #252525; | 12 @disabled-input-text-color: #252525; |
12 | 13 |
13 .yui3-juju-inspector { | 14 .yui3-juju-inspector { |
14 input[type=text]::-ms-clear { display: none; } | 15 input[type=text]::-ms-clear { display: none; } |
15 | 16 |
16 .customize-scrollbar; | 17 .customize-scrollbar; |
17 | 18 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 text-align: left; | 106 text-align: left; |
106 padding-top: 0; | 107 padding-top: 0; |
107 padding-bottom: 15px; | 108 padding-bottom: 15px; |
108 } | 109 } |
109 } | 110 } |
110 } | 111 } |
111 } | 112 } |
112 } | 113 } |
113 | 114 |
114 .juju-inspector { | 115 .juju-inspector { |
115 .create-border-radius(@border-radius); | 116 .create-border-radius(2px); |
116 position: absolute; | 117 position: absolute; |
117 top: 20px; | 118 top: 20px; |
118 right: 70px; | 119 right: 70px; |
119 width: @inspector-width; | 120 width: @inspector-width; |
120 min-height: 250px; | 121 min-height: 250px; |
121 border: 0; | 122 border: 0; |
122 background-color: @inspector-background-color; | 123 background-color: @inspector-background-color; |
123 color: #fff; | 124 color: #fff; |
124 /* Can be removed once the old inspector styles are removed. */ | 125 /* Can be removed once the old inspector styles are removed. */ |
125 margin: 0; | 126 margin: 0; |
| 127 font-size: 14px; |
126 | 128 |
127 h1, h2, h3, h4, h5, h6 { | 129 h1, h2, h3, h4, h5, h6 { |
128 background-color: @inspector-region-background-color; | |
129 padding-left: 1em; | 130 padding-left: 1em; |
130 } | 131 } |
131 | 132 hr { |
| 133 border-width: 1px 0; |
| 134 border-style: solid; |
| 135 border-top-color: @inspector-divider-bottom; |
| 136 border-bottom-color: @inspector-divider-top; |
| 137 } |
132 input[type=checkbox].hidden-checkbox { | 138 input[type=checkbox].hidden-checkbox { |
133 display: none; | 139 display: none; |
134 } | 140 } |
135 | 141 input[type=text] { |
| 142 min-height: 20px; |
| 143 font-size: 14px; |
| 144 } |
| 145 .text-in-input { |
| 146 display: block; |
| 147 margin: -24px 10px 0 0; |
| 148 color: #b5b5b5; |
| 149 text-align: right; |
| 150 } |
| 151 .config-field.boolean { |
| 152 margin-right: 10px; |
| 153 } |
136 .toggle { | 154 .toggle { |
137 font-size: 12px; | 155 font-size: 12px; |
138 | 156 |
139 span { | 157 span { |
140 display: inline-block; | 158 display: inline-block; |
141 vertical-align: top; | 159 vertical-align: top; |
142 line-height: 30px; | 160 line-height: 30px; |
143 } | 161 } |
144 .toggle-switch { | 162 .toggle-switch { |
145 display: inline-block; | 163 display: inline-block; |
146 vertical-align: top; | 164 vertical-align: top; |
147 float: right; | 165 float: right; |
148 | 166 |
149 label { | 167 label { |
150 height: 26px; | 168 height: 26px; |
151 width: 50px; | 169 width: 50px; |
152 background-color: @inspector-background-color; | 170 background-color: #282828; |
153 .create-border-radius(@border-radius); | 171 .create-border-radius(@border-radius); |
154 display: block; | 172 display: block; |
155 position: relative; | 173 position: relative; |
156 margin: 0; | 174 margin: 0; |
157 | 175 |
158 &.light { | |
159 background-color: @inspector-region-background-color; | |
160 } | |
161 .handle { | 176 .handle { |
162 height: 18px; | 177 height: 18px; |
163 width: 18px; | 178 width: 18px; |
164 background-color: @deny-button-color; | 179 background-color: @deny-button-color; |
165 .create-border-radius(@border-radius); | 180 .create-border-radius(@border-radius); |
166 position: absolute; | 181 position: absolute; |
167 margin: 4px; | 182 margin: 4px; |
168 cursor: pointer; | 183 cursor: pointer; |
169 text-align: center; | 184 text-align: center; |
170 left: 0; | 185 left: 0; |
(...skipping 11 matching lines...) Expand all Loading... |
182 } | 197 } |
183 input.hidden-checkbox:checked ~ label .handle { | 198 input.hidden-checkbox:checked ~ label .handle { |
184 left: 25px; | 199 left: 25px; |
185 background-color: @confirm-button-color; | 200 background-color: @confirm-button-color; |
186 } | 201 } |
187 input.hidden-checkbox:checked ~ label .handle:before { | 202 input.hidden-checkbox:checked ~ label .handle:before { |
188 content: '\2713'; | 203 content: '\2713'; |
189 } | 204 } |
190 } | 205 } |
191 } | 206 } |
192 | |
193 .controls { | 207 .controls { |
| 208 margin-top: 20px; |
| 209 border-top: 1px solid @inspector-divider-top; |
| 210 border-bottom: 1px solid @inspector-divider-bottom; |
194 | 211 |
195 button { | 212 button { |
196 .create-border-radius(@border-radius); | 213 .create-border-radius(@border-radius); |
197 width: 130px; | 214 width: 120px; |
198 height: 25px; | 215 height: 30px; |
199 margin: 10px 0; | 216 margin: 20px 0; |
200 border: none; | 217 border: none; |
201 color: white; | 218 color: #fff; |
202 font-weight: bold; | |
203 | 219 |
204 &.cancel { | 220 &.cancel { |
205 background-color: #A3A3A3; | 221 background-color: #A3A3A3; |
206 margin-left: 10px; | 222 margin-left: @inspector-main-padding; |
207 } | 223 } |
208 | 224 |
209 &.confirm { | 225 &.confirm { |
210 background-color: @confirm-button-color; | 226 background-color: @confirm-button-color; |
211 float: right; | 227 float: right; |
212 margin-right: 10px; | 228 margin-right: @inspector-main-padding; |
213 &:disabled { | 229 &:disabled { |
214 background-color: #802E0E; | 230 background-color: #802E0E; |
215 color: #eee; | 231 color: #eee; |
216 } | 232 } |
217 } | 233 } |
218 } | 234 } |
219 } | 235 } |
220 | 236 |
221 .unit-scaling { | 237 .unit-scaling { |
222 width: 255px; | 238 width: 255px; |
223 | 239 |
224 .current-unit-num-wrapper { | 240 .current-unit-num-wrapper { |
225 width: 95px; | 241 width: 95px; |
226 background-color: @inspector-region-background-color; | |
227 height: 30px; | 242 height: 30px; |
228 .create-border-radius(@border-radius); | 243 .create-border-radius(@border-radius); |
229 line-height: 30px; | 244 line-height: 30px; |
230 padding-left: 10px; | 245 padding-left: 10px; |
231 position: relative; | 246 position: relative; |
232 } | 247 } |
233 .units-starting-spinner { | 248 .units-starting-spinner { |
234 position: absolute; | 249 position: absolute; |
235 right: 10px; | 250 right: 10px; |
236 } | 251 } |
237 input.num-units-control { | 252 input.num-units-control { |
238 width: 107px; | 253 width: 87px; |
| 254 margin: 0 0 0 10px; |
| 255 padding-left: 10px; |
| 256 font-size: 14px; |
239 } | 257 } |
240 span { | 258 span { |
241 padding: 0 10px; | 259 padding: 0 10px; |
242 line-height: 30px; | 260 line-height: 30px; |
243 } | 261 } |
244 .constraint-details { | 262 .constraint-details { |
245 font-size: 11px; | 263 font-size: 11px; |
246 } | 264 } |
247 a.edit-constraints { | 265 a.edit-constraints { |
248 padding-left: 10px; | 266 padding-left: 10px; |
249 cursor: pointer; | 267 cursor: pointer; |
250 } | 268 } |
251 .editable-constraints { | 269 .editable-constraints { |
252 padding-left: 10px; | 270 padding-left: 10px; |
253 } | 271 } |
254 .unit-constraints-confirm { | 272 .unit-constraints-confirm { |
255 overflow: hidden; | 273 overflow: hidden; |
256 height: 130px; | 274 height: 130px; |
257 letter-spacing: normal; | 275 letter-spacing: normal; |
258 background-color: @inspector-region-background-color; | |
259 -moz-transition: .3s, height .3s; | 276 -moz-transition: .3s, height .3s; |
260 -webkit-transition: .25s, height .3s; | 277 -webkit-transition: .25s, height .3s; |
261 transition: .3s, height .3s; | 278 transition: .3s, height .3s; |
262 | 279 |
263 .constraint-details { | 280 .constraint-details { |
264 display: block; | 281 display: block; |
265 } | 282 } |
266 .inspector-buttons { | 283 .inspector-buttons { |
267 padding-bottom: 10px; | 284 padding-bottom: 10px; |
268 | 285 |
(...skipping 14 matching lines...) Expand all Loading... |
283 .settings-wrapper { | 300 .settings-wrapper { |
284 .border-box; | 301 .border-box; |
285 position: relative; | 302 position: relative; |
286 width: 100%; | 303 width: 100%; |
287 | 304 |
288 & > div { | 305 & > div { |
289 padding-right: 10px; | 306 padding-right: 10px; |
290 } | 307 } |
291 label { | 308 label { |
292 font-size: 14px; | 309 font-size: 14px; |
293 margin: 14px 0 7px 0; | 310 margin: 20px 0 10px 0; |
294 font-weight: bold; | 311 font-weight: bold; |
295 } | 312 } |
296 textarea { | 313 textarea { |
297 width: 100%; | 314 width: 100%; |
298 } | 315 } |
299 input[type=text] { | 316 input[type=text] { |
300 width: 150px; | 317 width: 150px; |
301 } | 318 } |
| 319 .constraint-label { |
| 320 margin: -25px 95px 0 0; |
| 321 } |
302 .settings-description { | 322 .settings-description { |
303 font-size: 12px; | 323 font-size: 12px; |
304 | 324 |
305 /* below hyphenation code was taken from: | 325 /* below hyphenation code was taken from: |
306 http://www.newnet-soft.com/blog/csstypography */ | 326 http://www.newnet-soft.com/blog/csstypography */ |
307 -ms-word-break: break-all; | 327 -ms-word-break: break-all; |
308 word-break: break-all; | 328 word-break: break-all; |
309 | 329 |
310 // Non standard for webkit | 330 // Non standard for webkit |
311 word-break: break-word; | 331 word-break: break-word; |
312 | 332 |
313 -webkit-hyphens: auto; | 333 -webkit-hyphens: auto; |
314 -moz-hyphens: auto; | 334 -moz-hyphens: auto; |
315 hyphens: auto; | 335 hyphens: auto; |
316 | 336 |
317 -webkit-hyphenate-before: 2; | 337 -webkit-hyphenate-before: 2; |
318 -webkit-hyphenate-after: 3; | 338 -webkit-hyphenate-after: 3; |
319 hyphenate-lines: 3; | 339 hyphenate-lines: 3; |
320 } | 340 } |
321 } | 341 } |
322 | 342 |
323 .config-file { | 343 .config-file { |
324 padding: 10px 5px 10px 5px; | 344 padding: 10px @inspector-main-padding; |
325 | 345 |
326 input { | 346 input { |
327 position: absolute; | 347 position: absolute; |
328 top: 0; | 348 top: 0; |
329 left: 0; | 349 left: 0; |
330 visibility: hidden; | 350 visibility: hidden; |
331 z-index: 0; | 351 z-index: 0; |
332 } | 352 } |
333 | 353 |
334 .fakebutton { | 354 .fakebutton { |
(...skipping 13 matching lines...) Expand all Loading... |
348 input[type=text] { | 368 input[type=text] { |
349 /* Fixes the bottom of the service name getting cutoff (IE10) */ | 369 /* Fixes the bottom of the service name getting cutoff (IE10) */ |
350 height: auto; | 370 height: auto; |
351 } | 371 } |
352 .header-slot { | 372 .header-slot { |
353 header { | 373 header { |
354 margin-bottom: 0; | 374 margin-bottom: 0; |
355 border-bottom: none; | 375 border-bottom: none; |
356 } | 376 } |
357 } | 377 } |
| 378 .controls { |
| 379 margin-top: 0; |
| 380 } |
| 381 .config-file { |
| 382 padding-right: 0; |
| 383 padding-left: 0; |
| 384 } |
358 .ghost-config-header { | 385 .ghost-config-header { |
359 font-size: 17px; | |
360 height: 35px; | 386 height: 35px; |
| 387 border-top: 1px solid @inspector-divider-top; |
| 388 font-size: 16px; |
361 line-height: 35px; | 389 line-height: 35px; |
362 padding-left: 35px; | 390 padding-left: @inspector-main-padding; |
363 } | 391 } |
364 .ghost-config-content { | 392 .ghost-config-content { |
365 padding: 15px 10px; | 393 padding: @inspector-main-padding; |
366 background-color: @inspector-region-background-color; | 394 border-bottom: 1px solid @inspector-divider-bottom; |
367 | 395 |
368 input[name=number-units] { | 396 input[name=number-units] { |
| 397 .border-box; |
369 display: inline-block; | 398 display: inline-block; |
370 width: 120px; | 399 width: 100%; |
371 margin-bottom: 0; | 400 margin-bottom: 0; |
| 401 padding-left: 10px; |
372 } | 402 } |
373 label[for=number-units] { | 403 .constraint-label { |
374 display: inline-block; | 404 margin-top: -34px; |
375 margin-left: 25px; | |
376 vertical-align: middle; | |
377 } | 405 } |
378 &.use-defaults { | 406 &.use-defaults { |
379 textarea { | 407 textarea, |
380 background-color: @disabled-input-background-color; | |
381 border-color: @inspector-background-color; | |
382 cursor: not-allowed; | |
383 color: @disabled-input-text-color; | |
384 } | |
385 input[type=text] { | 408 input[type=text] { |
386 background-color: @disabled-input-background-color; | 409 background-color: @disabled-input-background-color; |
387 border-color: @inspector-background-color; | 410 border-color: @inspector-background-color; |
388 cursor: not-allowed; | 411 cursor: not-allowed; |
389 color: @disabled-input-text-color; | 412 color: @disabled-input-text-color; |
390 } | 413 } |
391 .fakebutton { | 414 .fakebutton { |
392 color: @disabled-input-background-color; | 415 color: @disabled-input-background-color; |
393 border-color: @disabled-input-background-color; | 416 border-color: @disabled-input-background-color; |
394 cursor: default; | 417 cursor: default; |
395 } | 418 } |
396 } | 419 } |
397 } | 420 } |
| 421 .destroy-service-trigger { |
| 422 padding-top: 10px; |
| 423 } |
398 } | 424 } |
399 | 425 |
400 /* Resetting panel styles. Can be removed after old inspector styles are | 426 /* Resetting panel styles. Can be removed after old inspector styles are |
401 removed. (ServiceInspector) */ | 427 removed. (ServiceInspector) */ |
402 .charm-panel-configure { | 428 .charm-panel-configure { |
403 background: transparent; | 429 background: transparent; |
404 float: none; | 430 float: none; |
405 border: 0; | 431 border: 0; |
406 height: auto; | 432 height: auto; |
407 width: auto; | 433 width: auto; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 calculated height */ | 479 calculated height */ |
454 max-height: 250px; | 480 max-height: 250px; |
455 } | 481 } |
456 | 482 |
457 .content { | 483 .content { |
458 margin: 1em; | 484 margin: 1em; |
459 } | 485 } |
460 | 486 |
461 .header-slot { | 487 .header-slot { |
462 header { | 488 header { |
463 background-color: @inspector-region-background-color; | 489 padding: @inspector-main-padding; |
464 border-bottom: 1px solid #1C1817; | |
465 padding: 15px; | |
466 margin-bottom: 6px; | |
467 | 490 |
468 .service-charm { | 491 .service-charm { |
469 color: @charm-panel-background-color; | 492 color: @charm-panel-background-color; |
470 width: 100%; | 493 width: 100%; |
471 | 494 |
472 .service-name { | 495 .service-name { |
473 font-size: 20px; | 496 font-size: 20px; |
474 font-weight: 300; | 497 font-weight: 300; |
475 line-height: 1.2; | 498 line-height: 1.2; |
476 } | 499 } |
| 500 span.service-name { |
| 501 display: inline-block; |
| 502 margin-top: -0.1em; |
| 503 } |
477 input.service-name { | 504 input.service-name { |
478 width: 125px; | 505 width: 170px; |
| 506 height: 20px; |
| 507 font-size: 14px; |
479 } | 508 } |
480 .icon { | 509 .icon { |
481 width: 64px; | 510 margin-right: 10px; |
482 height: 64px; | 511 vertical-align: top; |
483 margin-right: 1em; | |
484 | 512 |
485 img { | 513 img { |
486 /* bootstrap sets this to middle */ | 514 /* bootstrap sets this to middle */ |
487 vertical-align: baseline; | 515 vertical-align: baseline; |
488 /* Required for sizing images in IE10 */ | |
489 width: 64px; | |
490 height: 64px; | |
491 } | 516 } |
492 } | 517 } |
| 518 .icon, |
| 519 .icon img { |
| 520 /* Required for sizing images in IE10 */ |
| 521 width: 30px; |
| 522 height: 30px; |
| 523 ···················· |
| 524 } |
493 .details-wrapper { | 525 .details-wrapper { |
494 width: 135px; | 526 width: 180px; |
495 overflow: hidden; | 527 overflow: hidden; |
496 white-space: nowrap; | 528 white-space: nowrap; |
497 text-overflow: ellipsis; | 529 text-overflow: ellipsis; |
498 } | 530 } |
499 .charm-url { | 531 .charm-url { |
500 font-size: 14px; | 532 font-size: 14px; |
501 font-weight: 400; | 533 font-weight: 400; |
502 line-height: 1.3; | 534 line-height: 1.3; |
503 cursor: pointer; | 535 cursor: pointer; |
504 text-decoration: underline; | 536 text-decoration: underline; |
505 } | 537 } |
506 .close { | 538 .close { |
507 /* required to overwrite bootstrap styles */ | 539 /* required to overwrite bootstrap styles */ |
508 text-shadow: none; | 540 text-shadow: none; |
509 color: #cbcbcb; | 541 color: #a0a0a0; |
510 font-weight: normal; | 542 font-weight: 200; |
511 opacity: 1; | 543 opacity: 1; |
512 font-size: 30px; | 544 font-size: 17px; |
| 545 line-height: 17px; |
513 /* not overwriting */ | 546 /* not overwriting */ |
514 vertical-align: top; | 547 vertical-align: top; |
| 548 margin-top: -6px; |
515 } | 549 } |
516 div { | 550 div { |
517 display: inline-block; | 551 display: inline-block; |
518 } | 552 } |
519 } | 553 } |
520 } | 554 } |
521 } | 555 } |
522 | 556 |
523 .viewlet-manager-navigation { | 557 .viewlet-manager-navigation { |
| 558 min-height: 9px; |
524 margin: 0; | 559 margin: 0; |
525 padding-left: 65px; | 560 padding-left: @inspector-main-padding; |
526 background-color: @inspector-region-background-color; | 561 background-color: #1c1817; |
| 562 border-top: 1px solid #12110f; |
527 | 563 |
528 li { | 564 li { |
529 display: inline-block; | 565 display: inline-block; |
530 margin-right: 40px; | |
531 | 566 |
532 &:last-child { | 567 &:last-child { |
533 margin-right: 0; | 568 margin-right: 0; |
534 } | 569 } |
535 a { | 570 a { |
536 .border-box; | 571 .border-box; |
537 display: block; | 572 display: block; |
538 height: 50px; | 573 height: 50px; |
539 padding-top: 13px; | 574 padding: 13px 20px 0 20px; |
540 | 575 |
541 &:hover { | 576 &:hover { |
542 text-decoration: none; | 577 text-decoration: none; |
543 } | 578 } |
544 &.active { | 579 &.active { |
545 border-bottom: 2px solid @charm-panel-orange; | 580 background-color: #12110f; |
| 581 border-bottom: 3px solid @charm-panel-orange; |
546 | 582 |
547 .normal { | 583 .normal { |
548 display: none; | 584 display: none; |
549 } | 585 } |
550 .selected { | 586 .selected { |
551 display: inline-block; | 587 display: inline-block; |
552 } | 588 } |
553 } | 589 } |
554 .selected { | 590 .selected { |
555 display: none; | 591 display: none; |
(...skipping 22 matching lines...) Expand all Loading... |
578 left: 0; | 614 left: 0; |
579 right: 0; | 615 right: 0; |
580 background-color: @inspector-background-color; | 616 background-color: @inspector-background-color; |
581 } | 617 } |
582 | 618 |
583 .view-container { | 619 .view-container { |
584 border-top: 1px solid @inspector-divider-top; | 620 border-top: 1px solid @inspector-divider-top; |
585 overflow: auto; | 621 overflow: auto; |
586 | 622 |
587 &.settings-config { | 623 &.settings-config { |
588 margin-bottom: 45px; | 624 margin-bottom: @inspector-controls-height + 20px; |
589 } | 625 } |
590 h2 { | 626 h2 { |
591 font-size: 18px; | 627 font-size: 18px; |
592 padding-left: 0; | 628 padding-left: 0; |
593 } | 629 } |
594 .settings-wrapper { | 630 .settings-wrapper { |
595 position: relative; | 631 position: relative; |
596 padding: 0 10px; | 632 padding: 0 @inspector-main-padding; |
597 | 633 |
598 label { | 634 label { |
599 font-size: 14px; | 635 font-size: 14px; |
600 margin: 14px 0 7px 0; | 636 margin: 20px 0 10px 0; |
601 font-weight: bold; | 637 font-weight: bold; |
602 } | 638 } |
603 .settings-description { | 639 .settings-description { |
604 font-size: 12px; | 640 font-size: 12px; |
605 } | 641 } |
606 .config-field, | 642 .config-field, |
607 .constraint-field { | 643 .constraint-field { |
608 -webkit-transition: background 1s linear; | 644 -webkit-transition: background 1s linear; |
609 -moz-transition: background 1s linear; | 645 -moz-transition: background 1s linear; |
610 -o-transition: background 1s linear; | 646 -o-transition: background 1s linear; |
611 transition: background 1s linear; | 647 transition: background 1s linear; |
612 background-repeat: no-repeat; | 648 background-repeat: no-repeat; |
613 background-position: right center; | 649 background-position: right center; |
614 background-url: none; | 650 background-url: none; |
615 margin-bottom: 0px; | 651 margin-bottom: 0px; |
616 min-height: 26px; | 652 min-height: 20px; |
| 653 } |
| 654 .config-field { |
617 width: 100%; | 655 width: 100%; |
618 | 656 |
619 &.boolean { | 657 &.boolean { |
620 width: auto; | 658 width: auto; |
621 } | 659 } |
622 } | 660 } |
623 .resolver { | 661 .resolver { |
624 color: black; | 662 color: black; |
625 background-color: white; | 663 background-color: white; |
626 border: 1px solid #dedede; | 664 border: 1px solid #dedede; |
627 border-radius: 1px; | 665 border-radius: 1px; |
| 666 |
628 div { | 667 div { |
629 width: 270px; | 668 width: 270px; |
630 } | 669 } |
631 } | 670 } |
632 .modified { | 671 .modified { |
633 background-color: #dedede; | 672 background-color: #dedede; |
634 background-image: url(/juju-ui/assets/images/field-changed.png
); | 673 background-image: url(/juju-ui/assets/images/field-changed.png
); |
635 } | 674 } |
636 .conflict-pending { | 675 .conflict-pending { |
637 background-color: #dedede; | 676 background-color: #dedede; |
638 background-image: url(/juju-ui/assets/images/field-conflict.pn
g); | 677 background-image: url(/juju-ui/assets/images/field-conflict.pn
g); |
639 } | 678 } |
640 .conflict { | 679 .conflict { |
641 background-color: #dedede; | 680 background-color: #dedede; |
642 background-image: url(/juju-ui/assets/images/field-resolved.pn
g); | 681 background-image: url(/juju-ui/assets/images/field-resolved.pn
g); |
643 } | 682 } |
644 } | 683 } |
645 .toggle { | 684 .toggle { |
646 padding: 10px; | 685 padding: 10px @inspector-main-padding; |
647 | 686 |
648 label { | 687 label { |
649 margin: 0; | 688 margin: 0; |
650 } | 689 } |
651 } | 690 } |
652 | |
653 } | 691 } |
654 | |
655 | |
656 .status { | 692 .status { |
657 display: inline-block; | 693 display: inline-block; |
658 width: 33%; | 694 width: 33%; |
659 text-align: center; | 695 text-align: center; |
| 696 |
660 &.running { | 697 &.running { |
661 background-color: #00b711; | 698 background-color: #00b711; |
662 } | 699 } |
663 &.pending { | 700 &.pending { |
664 background-color: #ede837; | 701 background-color: #ede837; |
665 } | 702 } |
666 &.error { | 703 &.error { |
667 background-color: #ba0000; | 704 background-color: #ba0000; |
668 } | 705 } |
669 } | 706 } |
670 .destroy-service-trigger{ | 707 .destroy-service-trigger { |
671 padding-left: 10px; | 708 padding-left: @inspector-main-padding; |
672 height: 20px; | 709 padding: 20px; |
| 710 border-top: 1px solid @inspector-divider-top; |
673 | 711 |
674 span { | 712 span { |
675 font-size: 11px; | |
676 font-weight: bold; | |
677 cursor: pointer; | 713 cursor: pointer; |
678 } | 714 } |
679 } | 715 } |
680 | 716 |
681 .destroy-service-prompt { | 717 .destroy-service-prompt { |
682 overflow: hidden; | 718 overflow: hidden; |
683 height: 95px; | 719 height: 95px; |
684 background-color: @inspector-region-background-color; | |
685 -moz-transition: .3s, height .3s; | 720 -moz-transition: .3s, height .3s; |
686 -webkit-transition: .25s, height .3s; | 721 -webkit-transition: .25s, height .3s; |
687 transition: .3s, height .3s; | 722 transition: .3s, height .3s; |
688 position: absolute; | 723 position: absolute; |
689 bottom: 0; | 724 bottom: 0; |
690 | 725 |
691 .message { | 726 .message { |
692 margin: 5px 15px; | 727 margin: 5px 15px; |
693 } | 728 } |
694 } | 729 } |
695 | 730 |
696 .destroy-service-prompt.closed { | 731 .destroy-service-prompt.closed { |
697 height: 0; | 732 height: 0; |
698 } | 733 } |
699 | |
700 | |
701 | |
702 .viewlet-wrapper{ | 734 .viewlet-wrapper{ |
703 h3, h2, legend { | 735 h3, h2, legend { |
| 736 .border-box; |
704 border-bottom: 1px solid @inspector-divider-bottom; | 737 border-bottom: 1px solid @inspector-divider-bottom; |
705 border-top: 1px solid @inspector-divider-top; | 738 border-top: 1px solid @inspector-divider-top; |
706 font-size: 14px; | 739 font-size: 14px; |
707 font-weight: 400; | 740 font-weight: 400; |
708 line-height: 1.5; | 741 line-height: 1.5; |
709 padding: 10px 20px; | 742 padding: 10px @inspector-main-padding; |
710 color: @charm-panel-configure-title-color; | 743 color: @charm-panel-configure-title-color; |
711 margin-bottom: 0; | 744 margin-bottom: 0; |
| 745 } |
| 746 h3, |
| 747 h2 { |
712 width: auto; | 748 width: auto; |
713 } | 749 } |
714 | 750 |
715 .content { | 751 .content { |
716 border-bottom: 1px solid @inspector-divider-bottom; | 752 border-bottom: 1px solid @inspector-divider-bottom; |
717 border-top: 1px solid @inspector-divider-top; | 753 border-top: 1px solid @inspector-divider-top; |
718 margin: 0; | 754 margin: 0; |
719 padding: 10px; | 755 padding: @inspector-main-padding; |
720 } | 756 } |
721 } | 757 } |
722 | 758 |
723 .overview-unit-list { | 759 .overview-unit-list { |
724 margin: 0; | 760 margin: 0; |
725 | 761 |
726 .action-button-wrapper { | 762 .action-button-wrapper { |
727 height: 50px; | 763 height: 50px; |
728 text-align: center; | 764 text-align: center; |
729 } | 765 } |
730 | 766 |
731 .status-unit-header { | 767 .status-unit-header { |
732 background-color: @inspector-region-background-color; | |
733 padding: 15px 15px 15px 40px; | 768 padding: 15px 15px 15px 40px; |
734 font-size: 14px; | 769 font-size: 14px; |
735 cursor: pointer; | 770 cursor: pointer; |
736 border-bottom: 1px solid @inspector-divider-bottom; | 771 border-bottom: 1px solid @inspector-divider-bottom; |
737 border-top: 1px solid @inspector-divider-top; | 772 border-top: 1px solid @inspector-divider-top; |
738 background-position: 20px center; | 773 background-position: 20px center; |
739 background-repeat: no-repeat; | 774 background-repeat: no-repeat; |
| 775 |
740 span { | 776 span { |
741 margin-right: 5px; | 777 margin-right: 5px; |
742 } | 778 } |
743 | 779 |
744 ul { | 780 ul { |
745 background: white; | 781 background: white; |
746 } | 782 } |
747 | 783 |
748 .chevron { | 784 .chevron { |
749 display: inline-block; | 785 display: inline-block; |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
865 } | 901 } |
866 .status-unit-content.landscape-security-upgrades ul li, | 902 .status-unit-content.landscape-security-upgrades ul li, |
867 .status-unit-content.landscape-needs-reboot ul li { | 903 .status-unit-content.landscape-needs-reboot ul li { |
868 background: url("/juju-ui/assets/images/inspector-charm-landscap
e.png") no-repeat scroll 35px center; | 904 background: url("/juju-ui/assets/images/inspector-charm-landscap
e.png") no-repeat scroll 35px center; |
869 } | 905 } |
870 } | 906 } |
871 | 907 |
872 } | 908 } |
873 | 909 |
874 } | 910 } |
OLD | NEW |