caseflow 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1135 @@
1
+ @import 'bourbon';
2
+ @import 'neat';
3
+ @import 'us_web_design_standards';
4
+ @import 'fonts';
5
+
6
+ $color-black: #000000;
7
+ $caseflow-background: #f9f9f9;
8
+
9
+ html,
10
+ body {
11
+ min-height: 100%;
12
+ }
13
+
14
+ body {
15
+ padding-bottom: 70px;
16
+ background: $caseflow-background;
17
+ }
18
+
19
+ a:visited {
20
+ color: $color-primary; // Override USWDS
21
+ }
22
+
23
+ .cf-success {
24
+ color: $color-green;
25
+ }
26
+
27
+ .cf-error {
28
+ color: $color-secondary-dark;
29
+ }
30
+
31
+ label {
32
+ font-weight: normal !important;
33
+ margin-top: 0; // Override USWDS
34
+ }
35
+
36
+ p {
37
+ margin-top: rem(20px);
38
+ margin-bottom: rem(20px);
39
+ }
40
+
41
+ .cf-doc-embed {
42
+ width: 100%;
43
+ height: 80vh;
44
+ }
45
+
46
+ .cf-notice {
47
+ padding: 8px 20px;
48
+ text-align: center;
49
+ background-color: $color-primary;
50
+ color: $color-white;
51
+
52
+ a {
53
+ color: $color-white;
54
+ text-decoration: underline;
55
+ }
56
+ }
57
+
58
+ //----------------------------------*
59
+ // Globals, Resets, and overrides
60
+ //-----------------------------------*/
61
+
62
+ .cf-txt-c {
63
+ text-align: center;
64
+ }
65
+
66
+ .cf-txt-r {
67
+ text-align: right;
68
+ }
69
+
70
+ .cf-txt-l {
71
+ text-align: left;
72
+ }
73
+
74
+ .cf-txt-uc {
75
+ text-transform: uppercase;
76
+ }
77
+
78
+ .cf-txt-example {
79
+ font-style: italic;
80
+ color: $color-gray;
81
+ vertical-align: middle;
82
+ }
83
+
84
+ // Use cf-push-row to wrap elements that float to the left or right
85
+ .cf-push-row {
86
+ @include clearfix;
87
+ }
88
+
89
+ .cf-push-left {
90
+ float: left;
91
+ }
92
+
93
+ .cf-push-right {
94
+ float: right;
95
+ }
96
+
97
+ abbr {
98
+ border: 0;
99
+ text-decoration: none;
100
+ }
101
+
102
+ h1,
103
+ h2,
104
+ h3,
105
+ h4,
106
+ h5,
107
+ h6 {
108
+ &:not(.usa-alert-heading) {
109
+ font-family: inherit;
110
+ margin-top: 0;
111
+ }
112
+ }
113
+
114
+ [hidden] {
115
+ display: none;
116
+ }
117
+
118
+ legend {
119
+ display: table; // Causes legend text to wrap in IE
120
+ font: inherit;
121
+ white-space: normal;
122
+ }
123
+
124
+ [disabled],
125
+ [readonly] {
126
+ background: $color-gray-lightest !important;
127
+ opacity: .5 !important;
128
+ }
129
+
130
+ dd {
131
+ margin-left: 0;
132
+ }
133
+
134
+ .cf-pos-fixed {
135
+ position: fixed;
136
+ }
137
+
138
+ //------------------------------------
139
+ // Icons
140
+ //-----------------------------------*/
141
+
142
+ [class|=cf-icon] {
143
+ display: inline-block;
144
+ height: .8em; // Should be an em
145
+ margin: 0 .1ex;
146
+ }
147
+
148
+ .cf-icon-missing {
149
+ vertical-align: -.15ex;
150
+ width: .8em;
151
+
152
+ path {
153
+ fill: $color-secondary-dark;
154
+ }
155
+ }
156
+
157
+ .cf-icon-found {
158
+ width: 1em;
159
+
160
+ path {
161
+ fill: $color-green;
162
+ }
163
+ }
164
+
165
+ .cf-icon-close {
166
+ display: block;
167
+ margin: auto;
168
+ width: 100%;
169
+ height: 100%;
170
+
171
+ path {
172
+ fill: $color-gray-light;
173
+ }
174
+
175
+ &:hover {
176
+ path {
177
+ fill: $color-gray-dark;
178
+ }
179
+ }
180
+ }
181
+
182
+ .cf-icon-success--bg {
183
+ background: image-url('icons/icon-check.svg') bottom no-repeat;
184
+ background-size: auto 2rem;
185
+ display: inline-block;
186
+ height: 3rem;
187
+ width: 3rem;
188
+ }
189
+
190
+ //--- Appeal button ---*/
191
+
192
+ .cf-apppeal-id {
193
+ box-sizing: border-box;
194
+ background: transparent;
195
+ border: 2px solid $color-gray;
196
+ color: $color-gray;
197
+ padding: 1rem;
198
+
199
+ &:hover {
200
+ color: $color-white;
201
+ background: $color-gray;
202
+ border-bottom: 2px solid $color-gray;
203
+
204
+ path {
205
+ fill: $color-white;
206
+ }
207
+ }
208
+ }
209
+
210
+ .cf-icon-appeal-id {
211
+ display: inline-block;
212
+ margin-left: .25rem;
213
+ vertical-align: -1px;
214
+ }
215
+
216
+ //------ Dropdowns --------*/
217
+ .cf-dropdown {
218
+ $large-screen: em(640) !default;
219
+ display: inline-block;
220
+ position: relative;
221
+
222
+ a {
223
+ color: inherit;
224
+ }
225
+ }
226
+
227
+ .cf-dropdown-trigger {
228
+ cursor: pointer;
229
+ background-color: $color-white;
230
+
231
+ &::after {
232
+ // CG: This image doesn't appear to exist in any repo (9/20/16)
233
+ background: image-url('arrow-down.svg') 50% 100% no-repeat;
234
+ background-size: 100% 100%;
235
+ content: ' ';
236
+ display: inline-block;
237
+ height: 1rem;
238
+ margin-left: 1rem;
239
+ width: 1rem;
240
+ }
241
+
242
+ &:hover {
243
+ text-decoration: none;
244
+ }
245
+ }
246
+
247
+ // Quick fix to property count lint
248
+ %overlay {
249
+ background: $color-white;
250
+ z-index: 1;
251
+ position: absolute;
252
+ }
253
+
254
+ .cf-dropdown-menu {
255
+ @include unstyled-list();
256
+ @include transition (all 0.2s ease-in-out);
257
+ @extend %overlay;
258
+ border: 1px solid $color-gray-lighter;
259
+ box-shadow: 0 0 10px -3px $color-gray;
260
+ cursor: pointer;
261
+ display: none;
262
+ text-align: left;
263
+ top: 2em;
264
+ width: 18rem;
265
+ padding: rem(10px) rem(20px);
266
+
267
+ &.active {
268
+ display: block;
269
+ }
270
+
271
+ a {
272
+ display: block;
273
+ }
274
+
275
+ li {
276
+ padding: rem(10px) 0;
277
+
278
+ &:last-child {
279
+ border-top: 1px solid $color-gray-lighter;
280
+ }
281
+ }
282
+ }
283
+
284
+ //------ Modals --------*/
285
+
286
+
287
+ // don't trip the accessibility warning for white on white, even if title isn't visible
288
+ svg title {
289
+ color: $color-black;
290
+ }
291
+
292
+ .cf-modal {
293
+ position: fixed;
294
+ left: 0;
295
+ top: 0;
296
+ height: 100%;
297
+ width: 100%;
298
+ display: none;
299
+
300
+ &.active {
301
+ display: block;
302
+ }
303
+
304
+ &::before {
305
+ content: ' ';
306
+ background: rgba($color-black, .4);
307
+ position: fixed;
308
+ height: inherit;
309
+ width: inherit;
310
+ }
311
+ }
312
+
313
+ .cf-modal-body {
314
+ @include transform(translateY(-50%));
315
+ top: 50%;
316
+ // Previous two lines vertically center this block
317
+ background: $color-white;
318
+ box-shadow: 0 0 2rem -3px rgba($color-base, .8);
319
+ color: $color-gray;
320
+ padding: 4.5rem;
321
+ position: relative;
322
+ margin-left: auto;
323
+ margin-right: auto;
324
+ max-width: 1040px;
325
+ width: 70%;
326
+ }
327
+
328
+ .cf-modal-title {
329
+ font-size: rem(50px);
330
+ text-align: center;
331
+ }
332
+
333
+ .cf-modal-close {
334
+ background: transparent;
335
+ height: 1.5rem;
336
+ padding: .1rem;
337
+ position: absolute;
338
+ right: rem(20px);
339
+ top: rem(20px);
340
+ width: 1.5rem;
341
+
342
+ &:hover,
343
+ &:focus,
344
+ &:active {
345
+ background: transparent;
346
+
347
+ path {
348
+ fill: $color-gray-dark;
349
+ }
350
+ }
351
+ }
352
+
353
+
354
+ .cf-modal-text,
355
+ .cf-modal-controls {
356
+ margin: auto;
357
+ width: 70%;
358
+ }
359
+
360
+ .cf-modal-text {
361
+ font-size: rem(20px);
362
+ line-height: 2;
363
+ text-align: center;
364
+ }
365
+
366
+ .cf-modal-controls {
367
+ position: relative;
368
+ bottom: 0;
369
+ margin-top: rem(60px);
370
+ }
371
+
372
+ // ===========================*
373
+ // Application navigation bar *
374
+ // ============================*/
375
+ .cf-nav {
376
+ background: $color-white;
377
+ color: $color-gray;
378
+ margin: 0;
379
+ padding: rem(30px) 0;
380
+ position: relative;
381
+ border-bottom: 1px solid $color-gray-lighter;
382
+
383
+ .usa-grid-full {
384
+ position: relative;
385
+ }
386
+ }
387
+
388
+ .cf-nav-dropdown {
389
+ position: absolute;
390
+ right: 0;
391
+ }
392
+
393
+
394
+ .cf-nav-whatsnew {
395
+ &::after {
396
+ color: $color-secondary-dark;
397
+ content: '\00A0\2605';
398
+ display: inline-block;
399
+ font-size: 1.25rem;
400
+ vertical-align: 2px;
401
+ }
402
+
403
+ &:hover::after {
404
+ color: $color-secondary;
405
+ }
406
+ }
407
+
408
+ .cf-header-link:hover {
409
+ h1 { color: $color-gray-light; }
410
+ text-decoration: none;
411
+ }
412
+
413
+ .cf-logo {
414
+ color: $color-gray-dark;
415
+ margin-right: rem(10px);
416
+ font-size: 1.7rem;
417
+ display: inline;
418
+ }
419
+
420
+ .cf-logo-image {
421
+ display: inline-block;
422
+ vertical-align: middle;
423
+ margin-top: -2px;
424
+ margin-right: .5em;
425
+ height: 32px;
426
+ width: 32px;
427
+ background-size: 32px;
428
+ }
429
+
430
+ .cf-application-title {
431
+ font-size: 1.7rem;
432
+ font-weight: normal;
433
+ display: inline;
434
+ }
435
+
436
+ .cf-app-screen {
437
+ margin: auto;
438
+ width: 90%;
439
+ }
440
+
441
+ .cf-name-header {
442
+ font-size: 3rem;
443
+ margin-bottom: 0;
444
+ }
445
+
446
+ //.cf-app-segment represents a chunk of an application's
447
+ // page Should be an immediate child of .cf-app. Avoid
448
+ // making .cf-app-segment a grandchild element of .cf-app.
449
+ .cf-app-segment {
450
+ // Clearfix
451
+ &::before,
452
+ &::after {
453
+ content: ' ';
454
+ display: block;
455
+ clear: both;
456
+ }
457
+
458
+ &--alt {
459
+ background: $color-white;
460
+ border: 1px solid $color-gray-lighter;
461
+ padding: rem(30px);
462
+ }
463
+
464
+ // Make the top margin larger whenever
465
+ // cf-app-segment is the first-child
466
+ &:first-child {
467
+ margin-top: rem(40px);
468
+ }
469
+ }
470
+
471
+ // Adds top margin when .cf-app-segment
472
+ // is preceded by an element
473
+ * + .cf-app-segment {
474
+ margin-top: rem(30px);
475
+ }
476
+
477
+ .cf-layout-3-up {
478
+ border: 1px solid $color-gray-lighter;
479
+ display: table;
480
+ width: 100%;
481
+
482
+ > * {
483
+ display: table-cell;
484
+ padding: 1.5rem;
485
+ vertical-align: middle;
486
+ width: 33%;
487
+ }
488
+
489
+ > *:nth-child(even) {
490
+ border-left: 1px solid $color-gray-lighter;
491
+ border-right: 1px solid $color-gray-lighter;
492
+ }
493
+
494
+ &-title {
495
+ color: $color-gray;
496
+ font-weight: inherit;
497
+ }
498
+
499
+ &-text {
500
+ font-weight: 600;
501
+ margin-bottom: 0;
502
+ margin-top: 1rem;
503
+ }
504
+ }
505
+
506
+ .cf-app-footer {
507
+ @include clearfix;
508
+ border-top: 1px solid $color-gray-lighter;
509
+ margin-top: rem(55px);
510
+ width: 100%;
511
+
512
+ > * {
513
+ padding-top: rem(55px);
514
+ }
515
+
516
+ p {
517
+ margin: 0;
518
+ }
519
+ }
520
+
521
+
522
+ //-----------------------------------*
523
+ // CSS based on Web Design Guidelines.
524
+ // - Uses Neat.bourbon.io as a grid
525
+ // - Uses patterns and components
526
+ // from refills.bourbon.io/unstyled/
527
+ //-----------------------------------*/
528
+
529
+ //===========================
530
+ // Tooltip
531
+ // =========================*/
532
+
533
+ .cf-tooltip {
534
+ display: inline-block;
535
+ position: relative;
536
+ }
537
+
538
+ .cf-tooltip-trigger {
539
+ &:hover + .cf-tooltip-text {
540
+ display: block;
541
+ }
542
+ }
543
+
544
+ .cf-tooltip-text {
545
+ @include transform(translateX(-50%));
546
+ background: $color-white;
547
+ box-shadow: 0 0 10px -3px $color-gray;
548
+ display: none;
549
+ left: 50%;
550
+ margin-top: rem(10px);
551
+ padding: rem(10px);
552
+ position: absolute;
553
+ width: rem(300px);
554
+
555
+ &::before {
556
+ @include transform(scaleX(1.2));
557
+ color: $color-white;
558
+ content: '\25B2';
559
+ display: block;
560
+ font-size: rem(15px);
561
+ text-align: center;
562
+ text-shadow: 0 -2px 2px rgba($color-gray, .5);
563
+ margin-top: rem(-25px);
564
+ position: relative;
565
+ z-index: -1;
566
+ }
567
+ }
568
+
569
+ //===========================
570
+ // Form controls
571
+ // =========================*/
572
+
573
+ input,
574
+ [type="text"],
575
+ [type="email"],
576
+ [type="password"],
577
+ [type="url"],
578
+ [type="tel"],
579
+ [type="number"],
580
+ [type="search"],
581
+ [type="file"],
582
+ [type="date"],
583
+ [type="datetime-local"],
584
+ [type="month"],
585
+ [type="time"],
586
+ [type="week"],
587
+ textarea,
588
+ select,
589
+ [type="checkbox"] + label,
590
+ [type="radio"] + label {
591
+ margin-bottom: 0;
592
+ }
593
+
594
+ // Overrides USWDS */
595
+ textarea {
596
+ max-width: 100% !important;
597
+ }
598
+
599
+ // Overrides USWDS */
600
+ form {
601
+ max-width: none !important;
602
+ }
603
+
604
+ .hidden-field {
605
+ display: none;
606
+ }
607
+
608
+ //------ Buttons --------*/
609
+ // I hate using !important, but web design standards
610
+ // form buttons have high specificity.
611
+ // Keep an eye on https://github.com/18F/web-design-standards/issues/891
612
+ [type="submit"],
613
+ [type="button"],
614
+ .usa-button {
615
+ margin-top: 0 !important;
616
+ margin-bottom: 0 !important;
617
+ margin-right: rem(20px);
618
+
619
+ &:last-child {
620
+ margin-right: 0 !important;
621
+ }
622
+ }
623
+
624
+ // Make a button look like a link */
625
+ .cf-btn-link {
626
+ background: transparent;
627
+ color: $color-primary;
628
+ display: inline-block;
629
+ font-weight: normal;
630
+ line-height: 1;
631
+ // I hate using !important, but web design standards
632
+ // form buttons have high specificity.
633
+ // Keep an eye on https://github.com/18F/web-design-standards/issues/891
634
+ -webkit-font-smoothing: inherit;
635
+ padding-top: 1rem !important;
636
+ padding-bottom: 1rem !important;
637
+
638
+ &:visited {
639
+ color: $color-primary;
640
+ }
641
+
642
+ // Removes padding, so that these links can be placed inline.
643
+ &--inline {
644
+ padding: 0 !important;
645
+ }
646
+
647
+ &:hover {
648
+ background-color: inherit;
649
+ color: $color-primary-darker;
650
+ text-decoration: underline;
651
+ }
652
+
653
+ &--confirm {
654
+ &:visited {
655
+ color: $color-secondary-dark;
656
+ }
657
+
658
+ color: $color-secondary-dark;
659
+ font-weight: bold;
660
+ }
661
+
662
+ &--cancel {
663
+ display: inline-block;
664
+ font-weight: bold;
665
+ padding-left: 1rem;
666
+ padding-right: 1rem;
667
+ }
668
+ }
669
+
670
+
671
+ .cf-btn-help {
672
+ background: transparent;
673
+ margin: 0;
674
+ padding: 0;
675
+
676
+ &:hover {
677
+ background: transparent;
678
+ }
679
+ }
680
+
681
+ //--- Table styles ---*/
682
+ .cf-table-wrap {
683
+ width: 100%;
684
+ overflow-x: auto;
685
+
686
+ table {
687
+ min-width: rem(400px);
688
+ width: 100%;
689
+ }
690
+ }
691
+
692
+ // Overrides table th, table td classes
693
+ // from web design standards
694
+ .cf-table-borderless {
695
+ th,
696
+ td {
697
+ border-width: 0;
698
+ }
699
+
700
+ tr {
701
+ border-bottom: 2px solid $color-gray-lightest;
702
+ }
703
+ }
704
+
705
+ //------ Dropdowns --------*/
706
+ .cf-dropdown {
707
+ $large-screen: em(640) !default;
708
+ display: inline-block;
709
+
710
+ a {
711
+ color: inherit;
712
+ }
713
+ }
714
+
715
+ .cf-dropdown-trigger {
716
+ cursor: pointer;
717
+ background-color: $color-white;
718
+
719
+ &::after {
720
+ // CG: This image doesn't appear to exist in any repo (9/20/16)
721
+ background: image-url('arrow-down.svg') 50% 100% no-repeat;
722
+ background-size: 100% 100%;
723
+ content: ' ';
724
+ display: inline-block;
725
+ height: 1rem;
726
+ margin-left: 1rem;
727
+ width: 1rem;
728
+ }
729
+
730
+ &:hover {
731
+ text-decoration: none;
732
+ }
733
+ }
734
+
735
+ // Quick fix to property count lint
736
+ %overlay {
737
+ background: $color-white;
738
+ z-index: 1;
739
+ position: absolute;
740
+ }
741
+
742
+ .cf-dropdown-menu {
743
+ @include unstyled-list();
744
+ @include transition (all 0.2s ease-in-out);
745
+ @extend %overlay;
746
+ border: 1px solid $color-gray-lighter;
747
+ box-shadow: 0 0 10px -3px $color-gray;
748
+ cursor: pointer;
749
+ display: none;
750
+ text-align: left;
751
+ top: 2em;
752
+ width: 18rem;
753
+ padding: rem(10px) rem(20px);
754
+
755
+ &.active {
756
+ display: block;
757
+ }
758
+
759
+ a {
760
+ display: block;
761
+ }
762
+
763
+ li {
764
+ padding: rem(10px) 0;
765
+
766
+ &:last-child {
767
+ border-top: 1px solid $color-gray-lighter;
768
+ }
769
+ }
770
+ }
771
+
772
+ // ===========================*
773
+ // Form-related states
774
+ // ============================*/
775
+
776
+ .required {
777
+ strong,
778
+ b {
779
+ &::after {
780
+ content: '* ';
781
+ color: $color-secondary-dark;
782
+ font-family: inherit;
783
+ font-weight: bold;
784
+ font-style: normal;
785
+ }
786
+ }
787
+
788
+ &-msg {
789
+ @extend .usa-input-error-message;
790
+
791
+ &::before {
792
+ content: '* ';
793
+ }
794
+ }
795
+ }
796
+
797
+ .cf-form {
798
+ header {
799
+ border-bottom: 1px solid $color-gray-lighter;
800
+ margin-bottom: rem(30px);
801
+ }
802
+
803
+ .cf-btn-forward {
804
+ display: inline-block;
805
+ margin-right: 0;
806
+ }
807
+ }
808
+
809
+ .cf-required {
810
+ color: $color-secondary;
811
+ }
812
+
813
+ .cf-subtext {
814
+ color: $color-gray;
815
+ }
816
+
817
+ .cf-characters-left {
818
+ color: $color-gray;
819
+ font-size: 0.9em;
820
+ font-style: italic;
821
+ height: 1em;
822
+ }
823
+
824
+ .cf-loading-indicator {
825
+ display: none;
826
+ background-color: $color-white;
827
+ border-radius: 5px;
828
+ padding: 0.4rem 2.7em;
829
+ svg { vertical-align: middle; }
830
+ }
831
+
832
+ .cf-is-loading {
833
+ .cf-submit {
834
+ display: none;
835
+ }
836
+
837
+ .cf-loading-indicator {
838
+ display: block;
839
+ }
840
+ }
841
+
842
+ fieldset {
843
+ margin-top: rem(20px);
844
+ margin-bottom: rem(20px);
845
+
846
+ > *,
847
+ .cf-form-textinput {
848
+ margin-bottom: 0;
849
+ }
850
+ }
851
+
852
+ * + .cf-form-textinput {
853
+ @include clearfix;
854
+ margin-top: rem(20px);
855
+ margin-bottom: rem(20px);
856
+ }
857
+
858
+ .cf-form-textarea {
859
+ clear: both;
860
+ max-width: rem(455px);
861
+ }
862
+
863
+ // Wrapping element for each option */
864
+ .cf-form-radio-options {
865
+ @include clearfix;
866
+ margin-top: rem(10px);
867
+ }
868
+
869
+ .cf-form-radio-option {
870
+ @include clearfix;
871
+ margin-bottom: rem(20px);
872
+
873
+ label {
874
+ margin-bottom: 0 !important;
875
+ }
876
+ }
877
+
878
+ .cf-form-radio-inline {
879
+ .cf-form-radio-option {
880
+ float: left;
881
+ padding-right: rem(30px);
882
+ margin-bottom: 0;
883
+ }
884
+ }
885
+
886
+ .cf-form-checkboxes.usa-grid-full {
887
+ margin-bottom: 0;
888
+ }
889
+
890
+ .cf-form-checkboxes,
891
+ .cf-form-cond-req {
892
+ margin-top: rem(20px);
893
+ margin-bottom: rem(20px);
894
+ }
895
+
896
+ .cf-form-checkbox {
897
+ &:not(:last-child) {
898
+ margin-bottom: rem(10px);
899
+ }
900
+ }
901
+
902
+ .usa-input-error {
903
+ [type="radio"] + label::before {
904
+ box-shadow: 0 0 0 2px $color-white, 0 0 0 4px $color-secondary-dark, 0 0 3px 4px $color-secondary, 0 0 7px 4px $color-secondary-dark;
905
+ }
906
+ }
907
+
908
+ //========================
909
+ // Certified success page
910
+ //==========================*/
911
+ .cf-app-msg-screen {
912
+ color: $color-gray;
913
+ }
914
+
915
+ .cf-msg-screen-heading {
916
+ font-size: rem(52px);
917
+ margin-bottom: 1rem;
918
+ text-align: center;
919
+ }
920
+
921
+ // "deck" is newspaper speak for "subhead"
922
+ .cf-msg-screen-deck {
923
+ text-align: center;
924
+ font-size: rem(20px);
925
+ font-weight: normal;
926
+ color: $color-gray;
927
+ line-height: 1.5;
928
+ margin-left: auto;
929
+ margin-right: auto;
930
+ // TODO: Refactor h1,h2,h3,h4,h5,h6 { &:not(.usa-alert-heading)}
931
+ // so that we don't have to use !important here.
932
+ margin-bottom: rem(65px) !important;
933
+ margin-top: rem(15px) !important;
934
+ width: 65%;
935
+ }
936
+
937
+ .cf-msg-screen-text {
938
+ width: 65%;
939
+ text-align: center;
940
+ margin-left: auto;
941
+ margin-right: auto;
942
+ }
943
+
944
+ .cf-list-checklist {
945
+ list-style-type: none;
946
+ margin: 5rem auto 6.5rem;
947
+ position: relative;
948
+ width: 50%;
949
+
950
+ li::before {
951
+ content: '';
952
+ }
953
+
954
+ .cf-icon-success--bg {
955
+ font-size: 2.5rem;
956
+ margin-right: 1.8rem;
957
+ }
958
+ }
959
+
960
+ .cf-login-input {
961
+ display: inline !important;
962
+ }
963
+
964
+ [id=username_input_id] ~ .cf-txt-example {
965
+ margin-left: rem(20px);
966
+ }
967
+
968
+ //------------------------------
969
+ // Help page
970
+ // -------------------------------
971
+ [id=help-page] {
972
+ dt {
973
+ font-weight: bold;
974
+ font-size: 1.1em;
975
+ margin: 3rem auto 0;
976
+ }
977
+
978
+ p {
979
+ margin-top: 0;
980
+ }
981
+
982
+ img {
983
+ box-shadow: 0 0 20px -5px rgba($color-black, .5);
984
+ clear: both;
985
+ display: block;
986
+ margin: 2rem;
987
+ max-width: 60rem;
988
+ height: auto;
989
+ }
990
+ }
991
+
992
+ .cf-help-image-wrapper {
993
+ text-align: center;
994
+ }
995
+
996
+ .cf-help-image {
997
+ max-width: 50%;
998
+ height: auto;
999
+ }
1000
+
1001
+ //---------------------------
1002
+ // Date picker overrides
1003
+ //----------------------------*/
1004
+ .ui-datepicker {
1005
+ background: $caseflow-background;
1006
+ box-shadow: 0 0 30px rgba($color-base, .8);
1007
+
1008
+ &-header {
1009
+ background: $color-gray;
1010
+ color: $color-white;
1011
+ text-align: center;
1012
+ padding: 1rem;
1013
+ position: relative;
1014
+ width: 100%;
1015
+ }
1016
+
1017
+ &-title {
1018
+ font-weight: bold;
1019
+ }
1020
+
1021
+ &-prev,
1022
+ &-next {
1023
+ color: $color-white;
1024
+ cursor: pointer;
1025
+ font-size: .85em;
1026
+ line-height: 1.6;
1027
+ position: absolute;
1028
+
1029
+ &:hover {
1030
+ color: $color-white;
1031
+ }
1032
+ }
1033
+
1034
+ &-prev {
1035
+ left: 1rem;
1036
+ }
1037
+
1038
+ &-next {
1039
+ right: 1rem;
1040
+ }
1041
+
1042
+ &-calendar {
1043
+ margin: 0;
1044
+
1045
+ th {
1046
+ background: $color-gray-light;
1047
+ color: $color-gray-dark;
1048
+ padding: 1rem;
1049
+ border-color: $color-gray;
1050
+
1051
+ &:first-child {
1052
+ border-left-color: $color-gray-light;
1053
+ }
1054
+
1055
+ &:last-child {
1056
+ border-right-color: $color-gray-light;
1057
+ }
1058
+ }
1059
+
1060
+ td {
1061
+ background: $caseflow-background;
1062
+ border-color: $color-gray-light;
1063
+ padding: 0;
1064
+ text-align: right;
1065
+ }
1066
+
1067
+ .ui-state-default {
1068
+ display: block;
1069
+ padding: 1rem;
1070
+ }
1071
+ }
1072
+ }
1073
+
1074
+ .cf-icon-missing {
1075
+ vertical-align: -.45ex;
1076
+ width: .8em;
1077
+ height: 1em;
1078
+
1079
+ path {
1080
+ fill: $color-secondary-dark;
1081
+ }
1082
+ }
1083
+
1084
+ .cf-icon-found {
1085
+ vertical-align: -.45ex;
1086
+ width: 1em;
1087
+ height: 1em;
1088
+
1089
+ path {
1090
+ fill: $color-green;
1091
+ }
1092
+ }
1093
+
1094
+ .cf-icon-alert {
1095
+ margin-right: .25em;
1096
+ vertical-align: -.25ex;
1097
+ width: 1em;
1098
+ height: 1em;
1099
+
1100
+ path {
1101
+ fill: $color-secondary;
1102
+ }
1103
+ }
1104
+
1105
+ .icon-loading-front {
1106
+ @include animation(backwardspin 9s linear infinite);
1107
+ }
1108
+
1109
+ .icon-loading-back {
1110
+ @include animation(spin 9s linear infinite);
1111
+ margin-left: -33px;
1112
+ }
1113
+
1114
+ @include keyframes(spin) {
1115
+ from {
1116
+ @include transform(rotate(0deg));
1117
+ }
1118
+
1119
+ to {
1120
+ @include transform(rotate(360deg));
1121
+ }
1122
+ }
1123
+
1124
+ @include keyframes(backwardspin) {
1125
+ from {
1126
+ @include transform(scale(1) rotate(-30deg));
1127
+ }
1128
+
1129
+ to {
1130
+ @include transform(scale(1) rotate(-390deg));
1131
+ }
1132
+ }
1133
+
1134
+ @import 'tabs';
1135
+ @import 'stats';