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

Delta Between Two Patch Sets: lib/views/stylesheet.less

Issue 14700043: Add support for an initial onboarding walkthrough
Left Patch Set: Add support for an initial onboarding walkthrough Created 11 years, 6 months ago
Right Patch Set: Add support for an initial onboarding walkthrough Created 11 years, 6 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « app/views/onboarding.js ('k') | test/index.html » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 2
3 General CSS Notes 3 General CSS Notes
4 ================= 4 =================
5 5
6 z-indexes 6 z-indexes
7 ---------- 7 ----------
8 The rule of thumb for the z-index values to use is setup below 8 The rule of thumb for the z-index values to use is setup below
9 9
10 - Ground level: < 100 is for things that are flat on the surface without 10 - Ground level: < 100 is for things that are flat on the surface without
(...skipping 29 matching lines...) Expand all
40 @charm-panel-cancel-button-bottom-gradient: #818080; 40 @charm-panel-cancel-button-bottom-gradient: #818080;
41 @charm-panel-cancel-button-shadow: #515050; 41 @charm-panel-cancel-button-shadow: #515050;
42 @charm-panel-background-color: #eeeeee; 42 @charm-panel-background-color: #eeeeee;
43 @charm-panel-border-color: #BEBEBE; 43 @charm-panel-border-color: #BEBEBE;
44 @charm-panel-border-top-color: #E0DEDE; 44 @charm-panel-border-top-color: #E0DEDE;
45 @charm-panel-series-color: #CBCBCB; 45 @charm-panel-series-color: #CBCBCB;
46 @charm-panel-configure-color: #505050; 46 @charm-panel-configure-color: #505050;
47 @charm-panel-padding-left: 10px; 47 @charm-panel-padding-left: 10px;
48 @charm-panel-width: 292px; 48 @charm-panel-width: 292px;
49 @navbar-color: #2D2D2D!important; 49 @navbar-color: #2D2D2D!important;
50 @navbar-height: 79px; 50 @navbar-height: 60px;
51 @navbar-border-dark: #191514;
52 @navbar-border-light: #2d2928;
51 @navbar-bottom-height: 50px; 53 @navbar-bottom-height: 50px;
52 @navbar-bottom-border-height: 8px;
53 @navbar-divider-colour: #333; 54 @navbar-divider-colour: #333;
54 @text-colour: #505050; 55 @text-colour: #505050;
55 @border-radius: 2px; 56 @border-radius: 2px;
56 @environment-menu-background-color: #ffffff; 57 @environment-menu-background-color: #ffffff;
57 @environment-menu-hover-background: #f2f2f2; 58 @environment-menu-hover-background: #f2f2f2;
58 59
59 // Imports need to be after vars. 60 // Imports need to be after vars.
60 @import "typography.less"; 61 @import "typography.less";
61 62
62 /* Mixins */ 63 /* Mixins */
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 top: 0; 276 top: 0;
276 right: 0; 277 right: 0;
277 background: url(/juju-ui/assets/images/right_shadow.png) repeat-y; 278 background: url(/juju-ui/assets/images/right_shadow.png) repeat-y;
278 margin-right: -12px; 279 margin-right: -12px;
279 width: 12px; 280 width: 12px;
280 } 281 }
281 282
282 .navbar { 283 .navbar {
283 min-width: 800px; 284 min-width: 800px;
284 // Need to subtract the bottom-border-height. 285 // Need to subtract the bottom-border-height.
285 height: @navbar-height - @navbar-bottom-border-height; 286 height: @navbar-height;
286 margin: -@navbar-height 0 0 0; 287 margin: -@navbar-height 0 0 0;
287 background-color: #221e1b; 288 background-color: #221e1b;
288 border-bottom: @navbar-bottom-border-height solid #1c1815;
289 289
290 .navbar-inner { 290 .navbar-inner {
291 height: 70px;
292 border-bottom: 1px solid #14100f;
293 // The following are resets to override Bootstrap styles 291 // The following are resets to override Bootstrap styles
294 margin: 0; 292 margin: 0;
295 padding: 0; 293 padding: 0;
296 background: transparent; 294 background: transparent;
297 min-height: auto; 295 min-height: auto;
298 border-radius: 0; 296 border-radius: 0;
299 box-shadow: none; 297 box-shadow: none;
300 298
301 .brand { 299 &,
302 margin: 20px 60px 0 10px; 300 a {
303 padding: 0; 301 color: #d7d3d0;
304 } 302 font-size: 14px;
305 #browser-nav { 303 font-weight: 300;
306 float: left; 304 }
307 margin: 0 20px 0 0; 305
306 ul {
307 margin: 0;
308 padding: 0; 308 padding: 0;
309 list-style: none; 309 list-style: none;
310 310 }
311 ul { 311 #browser-nav {
312 margin: 0 20px 0 0; 312 padding: 0;
313 padding: 0; 313
314 list-style: none; 314 &:after {
315 } 315 content: '';
316 316 display: block;
317 li {
318 float: left; 317 float: left;
319 318 height: @navbar-height;
320 a { 319 background-color: #f00;
321 .border-box; 320 border-left: 1px solid @navbar-border-light;
322 display: block; 321 }
323 height: 70px; 322 & > ul > li,
324 margin-right: 30px; 323 & > ul > li > a {
325 padding: 30px 0 0 0; 324 .border-box;
326 font-size: 12pt; 325 display: block;
327 font-weight: 300; 326 float: left;
328 color: #f2f2e6; 327 height: @navbar-height;
328 padding: 20px 20px 0 20px;
329 border-width: 0 1px;
330 border-style: solid;
331 border-left-color: @navbar-border-light;
332 border-right-color: @navbar-border-dark;
333 }
334 & > ul > li {
335 float: left;
336
337 &:first-child {
338 border-left: none;
339 }
340 .brand {
341 padding-top: 15px;
342 padding-right: 30px;
343 }
344 & > a {
345 float: none;
346 margin: -20px -20px 0 -20px;
347 border: none;
329 348
330 &:hover { 349 &:hover {
331 text-decoration: none; 350 text-decoration: none;
332 } 351 }
333 &.active { 352 &.active {
334 border-bottom: 3px solid @charm-panel-orange; 353 border-bottom: 3px solid @charm-panel-orange;
335 } 354 }
336 i { 355 i {
337 margin-right: 6px; 356 margin-right: 6px;
338 } 357 }
339 } 358 }
340 } 359 &.import-export {
341 } 360 padding: 24px 0 0 0;
342 #environment-switcher { 361
343 float: left; 362 a {
344 height: 47px; 363 display: block;
345 padding: 25px 0 0 10px; 364 float: left;
346 } 365 height: 15px;
347 .nav { 366 margin: 0;
348 float: right; 367 padding: 0 10px;
349 margin: 0; 368 line-height: 15px;
350 369
351 » .import-export { 370 &:first-child {
352 » » cursor: pointer; 371 border-left: 1px solid @navbar-border-dark;
353 » } 372 }
354 » #import-trigger { 373 &:last-child {
355 » » padding: 25px 5px 0 0; 374 border-right: 1px solid @navbar-border-light;;
356 » » /* XXX bac: remove the hiding when import is implemented. */ 375 }
357 » » display: none; 376 // Ugly classes to display the correct sprite for the
358 » } 377 // state. We might be able to turn this into a mixin
359 » #export-trigger { 378 // if we need to redo the same thing often.
360 » » padding: 25px 10px 0 5px; 379 &:focus,
361 » } 380 &:hover {
362 381 .sprite.hover {
363 li, 382 display: block;
364 li a { 383 }
365 color: #fff; 384 .sprite.normal {
366 } 385 display: none;
367 & > li { 386 }
368 .type13; 387 }
369 height: 50px; 388 .sprite.hover {
370 margin: 0; 389 display: none;
371 padding: 16px 10px 0 20px; 390 }
372 color: #fff; 391 .sprite {
373 392 display: block;
374 & > a.button.inverse { 393 margin: 1px 0 0 0;
375 background-color: #1f1b18; 394 }
376
377 &:hover {
378 background-color: #1f1b18;
379 } 395 }
380 } 396 #import-trigger {
381 #notifications, 397 /* XXX bac: remove the hiding when import is implemented . */
382 #notifications a, 398 display: none;
383 #notifications li {
384 color: #333;
385 }
386 #notifications {
387 #notify-indicator {
388 .button;
389 margin: 0 9px 0 0;
390 padding: 6px 12px;
391 } 399 }
392 #notify-list { 400 #export-trigger {
393 white-space: normal; 401 /* XXX huwshimi: remove the following line when import i s implemented. */
394 overflow: auto;
395 margin-right: 10px;
396 border: none; 402 border: none;
397 } 403 }
398 } 404 }
399 405 &.notifications-nav {
406 position: relative;
407 padding: 0;
408
409 #notifications {
410 & > span {
411 .border-box;
412 display: block;
413 height: @navbar-height;
414 padding: 15px 20px 0 20px;
415
416 &.open {
417 background-color: #000;
418
419 #notify-list {
420 .create-border-radius(0);
421 top: @navbar-height;
422 width: 290px;
423 margin: 0;
424 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
425 }
426 }
427 #notify-indicator {
428 .button;
429 margin: 0 9px 0 0;
430 padding: 6px 12px;
431 }
432 #notify-list {
433 .customize-scrollbar;
434 padding: 0;
435 background-color: #eee;
436 border: none;
437 white-space: normal;
438
439 &.active {
440 }
441 &:before,
442 &:after {
443 display: none;
444 }
445 a,
446 li {
447 color: #333;
448 }
449 h3 {
450 padding: 11px 20px;
451 background-color: #000;
452 color: #f2f2e6;
453 font-size: 16px;
454 font-weight: 300;
455 }
456 ul {
457 max-height: 500px;
458 overflow-y: auto;
459
460 .notice {
461 border-top: 1px solid #efefef;
462 border-bottom: 1px solid #e2e2e2;
463 padding: 20px;
464
465 &:first-child {
466 border-top: none;
467 }
468 &:last-child {
469 border-bottom: none;
470 }
471 h4 {
472 font-weight: normal;
473 margin-bottom: 10px;
474 }
475 small {
476 display: block;
477 margin-top: 5px;
478 font-size: 0.7em;
479 color: #d0d0d0;
480 }
481 .error {
482 background-color: rgba(255, 0, 0, 0. 1);
483 }
484 }
485 }
486 }
487 }
488 }
489 }
490 }
491 }
492 .right-nav {
493 float: right;
494 margin: 0 20px 0 0;
495
496 a.button.inverse {
497 margin-top: 12px;
498 background-color: #1f1b18;
499
500 &:hover {
501 background-color: #1f1b18;
502 }
400 } 503 }
401 } 504 }
402 } 505 }
403 } 506 }
404 .bottom-navbar { 507 .bottom-navbar {
405 min-width: 800px; 508 min-width: 800px;
406 height: @navbar-bottom-height; 509 height: @navbar-bottom-height;
407 position: relative; 510 position: relative;
408 background: url(/juju-ui/assets/images/bottom_bar.png) repeat-x; 511 background: url(/juju-ui/assets/images/bottom_bar.png) repeat-x;
409 512
(...skipping 23 matching lines...) Expand all
433 margin-top: 1px; 536 margin-top: 1px;
434 margin-left: 5px; 537 margin-left: 5px;
435 } 538 }
436 } 539 }
437 } 540 }
438 } 541 }
439 #content { 542 #content {
440 position: relative; 543 position: relative;
441 background-color: #fff; 544 background-color: #fff;
442 width: 100%; 545 width: 100%;
443 border-top: 1px solid #252120;
444 } 546 }
445 #main { 547 #main {
446 overflow: hidden; 548 overflow: hidden;
447 .view-container { 549 .view-container {
448 overflow-y: auto; 550 overflow-y: auto;
449 } 551 }
450 } 552 }
451 .crosshatch-background { 553 .crosshatch-background {
452 background: url(/juju-ui/assets/images/pattern_tile.png) repeat; 554 background: url(/juju-ui/assets/images/pattern_tile.png) repeat;
453 } 555 }
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 956
855 .pending { 957 .pending {
856 fill: rgb(236, 168, 23); 958 fill: rgb(236, 168, 23);
857 } 959 }
858 960
859 .running { 961 .running {
860 fill: rgb(56, 180, 74); 962 fill: rgb(56, 180, 74);
861 } 963 }
862 } 964 }
863 965
864 /*
865 * Notification system
866 */
867 #notify-list {
868 white-space: nowrap;
869 max-height: 500px;
870 overflow-y: scroll;
871 }
872 .notice {
873 border-top: 1px solid #D0D0D0;
874 padding: 20px;
875
876 &:first-child {
877 border: none;
878 }
879 h4 {
880 font-weight: normal;
881 margin-bottom: 10px;
882 }
883 small {
884 display: block;
885 margin-top: 5px;
886 font-size: 0.7em;
887 color: #d0d0d0;
888 }
889 .error {
890 background-color: rgba(255, 0, 0, 0.1);
891 }
892 }
893 #service-footer { 966 #service-footer {
894 text-align: center; 967 text-align: center;
895 968
896 .footer-right { 969 .footer-right {
897 float: right; 970 float: right;
898 } 971 }
899 .footer-left { 972 .footer-left {
900 float: left; 973 float: left;
901 } 974 }
902 input { 975 input {
903 width: 3em; 976 width: 3em;
904 margin-bottom: 0; 977 margin-bottom: 0;
905 } 978 }
906 } 979 }
907 980
908 /* 981 /*
909 * Notifier widget. 982 * Notifier widget.
910 */ 983 */
911 #notifier-box { 984 #notifier-box {
912 position: absolute; 985 position: absolute;
913 right: 0px; 986 top: @navbar-height;
914 top: 0px; 987 left: 50%;
988 margin: -10px 0 0 -125px;
915 z-index: 9999; 989 z-index: 9999;
916 990
917 .yui3-notifier-content { 991 .yui3-notifier-content {
918 @background-color: black; 992 @box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
919 @margin-left: 41px;
920 @margin-top: 13px;
921 @opacity: 0.8;
922 // Using a variable here because LESS strips commas in mixin args.
923 @box-shadow: 0 2px 4px lighten(@background-color, 10%),
924 0 1px 2px lighten(@background-color, 20%) inset;
925 .create-border-radius(@border-radius); 993 .create-border-radius(@border-radius);
926 .create-box-shadow(@box-shadow); 994 .create-box-shadow(@box-shadow);
927 background-color: @background-color; 995 position: realtive;
928 margin: 6px; 996 width: 250px;
929 opacity: @opacity; 997 margin-top: 5px;
930 overflow: hidden; 998 padding: 7px 10px;
931 width: 277px; 999 background-color: #fff;
932 1000 color: #333;
933 &:hover { 1001 font-size: 12px;
934 cursor: pointer; 1002
935 opacity: @opacity - 0.1; 1003 &:first-child {
936 } 1004 margin-top: 0;
937 h3 { 1005
938 color: #FDF6E3; 1006 &:before {
939 font-size: 16px; 1007 content: '';
940 font-weight: normal; 1008 position: absolute;
941 margin-top: @margin-top; 1009 display: block;
942 margin-left: @margin-left; 1010 top: -5px;
943 } 1011 left: 50%;
944 div { 1012 width: 10px;
945 color: #DDD7C6; 1013 height: 10px;
946 font-size: 12px; 1014 margin-left: -6px;
947 line-height: 16px; 1015 background-color: #fff;
948 margin-left: @margin-left; 1016 -webkit-transform: rotate(45deg);
949 margin-bottom: 12px; 1017 transform: rotate(45deg);
950 } 1018 }
951 .sprite { 1019 }
952 float: left; 1020 div:last-child {
953 margin-top: @margin-top + 5px; 1021 color: #aaa;
954 margin-left: 12px;
955 opacity: 1;
956 } 1022 }
957 } 1023 }
958 } 1024 }
959 1025
960 /* 1026 /*
961 * Feedback box 1027 * Feedback box
962 */ 1028 */
963 #feedback-box { 1029 #feedback-box {
964 position: absolute; 1030 position: absolute;
965 right: -40px; 1031 right: -40px;
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
2144 @import "content-panel.less"; 2210 @import "content-panel.less";
2145 @import "juju-inspector.less"; 2211 @import "juju-inspector.less";
2146 2212
2147 /** Views **/ 2213 /** Views **/
2148 @import "browser/editorial.less"; 2214 @import "browser/editorial.less";
2149 @import "browser/minimized.less"; 2215 @import "browser/minimized.less";
2150 @import "browser/search.less"; 2216 @import "browser/search.less";
2151 2217
2152 /** Cookies **/ 2218 /** Cookies **/
2153 @import "cookies.less"; 2219 @import "cookies.less";
LEFTRIGHT

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