This repository was archived by the owner on Feb 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +91
-58
lines changed Expand file tree Collapse file tree 4 files changed +91
-58
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 317
317
display : inline-block;
318
318
margin-right : 0.4em ; }
319
319
320
+ /* basic styling */
321
+ .sg-pattern-state : before {
322
+ margin-right : 4px ;
323
+ content : "\2022" ;
324
+ display : inline-block;
325
+ margin-bottom : -4px ;
326
+ font-size : 18px ;
327
+ vertical-align : bottom; }
328
+
329
+ /* nav styling */
330
+ .sg-nav .sg-pattern-state : before {
331
+ margin-top : -4px ;
332
+ margin-bottom : 0 ;
333
+ margin-left : -4px ;
334
+ height : 20px ;
335
+ display : block;
336
+ float : left; }
337
+
338
+ .sg-sub-nav .sg-pattern-state : before {
339
+ margin-left : -11px ;
340
+ margin-right : 4px ; }
341
+
342
+ /* call out for pattern's pattern state */
343
+ span .sg-pattern-state {
344
+ color : # 999 ; }
345
+
346
+ span .sg-pattern-state : before {
347
+ margin-bottom : -3px ;
348
+ margin-left : 4px ; }
349
+
350
+ /* pattern states */
351
+ .inprogress : before {
352
+ color : # FF4136 !important ; }
353
+
354
+ .inreview : before {
355
+ color : # FFCC00 !important ; }
356
+
357
+ .complete : before {
358
+ color : # 2ECC40 !important ; }
359
+
320
360
/*------------------------------------*\
321
361
$PATTERN LAB VIEWPORT
322
362
\*------------------------------------*/
438
478
.sg-pattern-head a : hover {
439
479
color : # 222222 ; }
440
480
441
- /* Clean View */
442
- .sg-clean .sg-main {
443
- padding : 0 ; }
444
-
445
481
.sg-colors {
446
482
overflow : hidden; }
447
483
.sg-colors li {
Original file line number Diff line number Diff line change @@ -467,6 +467,56 @@ $animate-quick: 0.2s;
467
467
}
468
468
}
469
469
470
+ // Pattern States (active, inprogress, complete, etc)
471
+
472
+ /* basic styling */
473
+ .sg-pattern-state :before {
474
+ margin-right : 4px ;
475
+ content : " \2022 " ;
476
+ display : inline-block ;
477
+ margin-bottom : -4px ;
478
+ font-size : 18px ;
479
+ vertical-align : bottom ;
480
+ }
481
+
482
+ /* nav styling */
483
+ .sg-nav .sg-pattern-state :before {
484
+ margin-top : -4px ;
485
+ margin-bottom : 0 ;
486
+ margin-left : -4px ;
487
+ height : 20px ;
488
+ display : block ;
489
+ float : left ;
490
+ }
491
+
492
+ .sg-sub-nav .sg-pattern-state :before {
493
+ margin-left : -11px ;
494
+ margin-right : 4px ;
495
+ }
496
+
497
+ /* call out for pattern's pattern state */
498
+ span .sg-pattern-state {
499
+ color : #999 ;
500
+ }
501
+
502
+ span .sg-pattern-state :before {
503
+ margin-bottom : -3px ;
504
+ margin-left : 4px ;
505
+ }
506
+
507
+ /* pattern states */
508
+ .inprogress :before {
509
+ color : #FF4136 !important ;
510
+ }
511
+
512
+ .inreview :before {
513
+ color : #FFCC00 !important ;
514
+ }
515
+
516
+ .complete :before {
517
+ color : #2ECC40 !important ;
518
+ }
519
+
470
520
471
521
472
522
/* ------------------------------------*\
@@ -627,11 +677,6 @@ $animate-quick: 0.2s;
627
677
}
628
678
}
629
679
630
- /* Clean View */
631
- .sg-clean .sg-main {
632
- padding : 0 ;
633
- }
634
-
635
680
// Style Guide color swatches
636
681
.sg-colors {
637
682
overflow : hidden ;
@@ -724,7 +769,7 @@ $animate-quick: 0.2s;
724
769
display : block ;
725
770
}
726
771
727
- // Visually emphasize annotated elements
772
+ // Annotated elements Styles
728
773
.has-annotation {
729
774
cursor : help !important ;
730
775
box-shadow : 0 0 10px $sg-secondary ;
Original file line number Diff line number Diff line change 14
14
<meta name =" viewport" content =" width=device-width, initial-scale=1.0" />
15
15
<link rel =" stylesheet" href =" styleguide/css/styleguide.css?{ { cacheBuster } } " media =" all" />
16
16
<link rel =" stylesheet" href =" styleguide/css/vendor/typeahead.css?{ { cacheBuster } } " media =" all" />
17
- <link rel =" stylesheet" href =" styleguide/css/states.css?{ { cacheBuster } } " media =" all" />
18
17
<link rel =" stylesheet" href =" styleguide/css/vendor/prism.css?{ { cacheBuster } } " media =" all" />
19
18
20
19
<script src =" styleguide/js/vendor/jquery.js" ></script >
You can’t perform that action at this time.
0 commit comments