_verification.scss 44.3 KB
Newer Older
1 2
// lms - views - verification flow
// ====================
3 4
@import '../base/grid-settings';
@import 'neat/neat'; // lib - Neat
5

6
// MISC: extends - button
7 8
%btn-verify-primary {
  @extend %btn-primary-green;
9 10 11 12
}

// ====================

13 14
// MISC: expandable UI
.is-expandable {
15
  .expandable-icon {
16
    @include transition(all $tmg-f2 ease-in-out 0s);
17

18 19
    display: inline-block;
    vertical-align: middle;
20
    margin-right: ($baseline/4);
21 22 23 24
  }

  // STATE: active
  &.is-ready {
25 26 27 28
    .expandable-icon {
      @include transform(rotate(-90deg));
    }

29
    .title-expand {
30
      @extend %ui-fake-link;
31

32 33
      color: $m-blue-d2;

34 35
      &:hover,
      &:focus {
36
        color: $m-blue;
37 38 39 40 41 42 43
      }
    }
  }

  // STATE: expanded
  &.is-expanded {
    .expandable-icon {
44
      @include transform(rotate(0));
45 46
      @include transform-origin(50% 50%);
    }
47 48 49
  }
}

50 51 52
// ====================

// VIEW: all verification steps
53
.verification-process {
54 55 56 57 58 59 60

  // reset: box-sizing (making things so right its scary)
  * {
    @include box-sizing(border-box);
  }

  // reset: typography
61
  font-family: $font-family-sans-serif;
62

63
  // reset: typography - heading
64 65 66 67 68 69
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
70
    @extend %t-title;
71

72
    color: $m-gray-d4;
73 74 75
  }

  // reset: typography - copy
76 77 78 79 80 81 82
  p,
  ol,
  ul,
  dl,
  input,
  select,
  textarea {
83
    font-family: $font-family-sans-serif;
84
    color: $m-gray-d1;
85
  }
86

87
  .copy {
88 89 90 91 92 93 94
    p,
    ul,
    li,
    dl,
    blockquote,
    input,
    select {
95
      margin-bottom: ($baseline*0.75);
96

97 98 99 100
      &:last-child {
        margin-bottom: 0;
      }
    }
101 102
  }

103 104
  // reset: copy/text

105 106

  // reset: forms
107 108
  input,
  textarea {
109 110
    font-style: normal;
    font-weight: 400;
111

112
    @include margin-right($baseline/5);
113

114 115 116 117 118
    padding: ($baseline/4) ($baseline/2);
  }

  textarea {
    padding: ($baseline/2);
119 120 121
  }

  label {
122
    @extend %t-weight4;
123

124
    font-family: $font-family-sans-serif;
125
    font-style: normal;
126
    color: $m-gray-d4;
127 128
  }

129
  // reset: navigation (needed due to edX's new global-header styling)
130
  .header-global-new .nav-global a {
131 132 133
    padding-bottom: ($baseline +1);
  }

134
  // HACK: fix global header height in verification flow ECOM-1808
135
  .header-global {
136 137 138
    height: 76px;
  }

139
  // HACK: nasty override due to our bad input/button styling
140 141 142 143
  button,
  input[type="submit"],
  input[type="button"],
  button[type="submit"] {
144
    @include font-size(16);
145

146
    @extend %t-weight4;
147

148 149 150
    text-transform: none;
    text-shadow: none;
    letter-spacing: 0;
151
  }
152

153 154 155 156 157 158 159 160
  .checkbox label {
    display: inline-block;
  }

  input[type="checkbox"] {
    width: auto;
  }

161
  //  reset: lists
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
  .list-actions,
  .list-steps,
  .progress-steps,
  .list-controls,
  .list-fields,
  .list-nav,
  .list-help,
  .list-faq,
  .nav-wizard,
  .list-reqs,
  .list-faq,
  .review-tasks,
  .list-tips,
  .wrapper-photos,
  .field-group,
  .list-info {
178
    @extend %ui-no-list;
179
  }
180

181
  // ====================
182

183
  // elements: layout
184
  .content-wrapper {
185
    background: $body-bg;
186
    padding-bottom: 0;
187 188 189
  }

  .container {
190
    background-color: $white;
191

192
    @include padding(($baseline*1.5), ($baseline*1.5), ($baseline*2), ($baseline*1.5));
193
  }
194

195 196 197
  // ====================

  // elements: common copy
198
  .title {
199 200
    @extend %t-title5;
    @extend %t-weight1;
201 202
  }

203
  .copy {
204
    @extend %t-weight1;
205
  }
206

207 208 209 210
  // ====================

  // elements - controls
  .action-primary {
211
    @extend %btn-verify-primary;
212 213 214
    // needed for override due to .register a:link styling
    border: 0 !important;
    color: $white !important;
215 216
  }

217 218 219 220 221 222 223 224
  // elements - controls
  .action-primary-blue {
    @extend %btn-primary-blue;
    // needed for override due to .register a:link styling
    border: 0 !important;
    color: $white !important;
  }

225
  .action-confirm {
226
    @extend %btn-verify-primary;
227 228 229
    // needed for override due to .register a:link styling
    border: 0 !important;
    color: $white !important;
230
  }
231 232 233

  // ====================

234
  // elements: page depth
235

236 237
  // ====================

238 239 240
  // UI: reports/tables
  .wrapper-report {
    .report {
241
      @extend %ui-window;
242 243

      width: flex-grid(12, 12);
244
      border-color: $m-gray-t3;
245
      border-collapse: collapse;
246 247

      tr {
248
        @include text-align(left);
249 250 251
      }

      td {
252
        @extend %t-weight3;
253

254 255 256 257 258 259
        vertical-align: middle;
        padding: ($baseline*0.75) $baseline;
        color: $m-gray-d3;
      }

      th {
260
        @extend %t-weight2;
261

262 263 264 265 266 267 268 269 270
        padding: ($baseline/2) $baseline;
      }

      thead {
        tr {
          border-bottom: 1px solid $m-gray-l3;
        }

        th[scope="col"] {
271 272
          @extend %t-title7;
          @extend %t-weight2;
273

274
          vertical-align: middle;
275
          color: $m-gray-d3;
276 277 278 279 280 281 282 283 284 285 286 287 288 289 290
          background: $m-gray-l4;
        }
      }

      tbody {
        tr {
          border-bottom: 1px solid $m-gray-l3;
        }
      }

      tfoot {
        background: $m-blue-t0;
      }
    }
  }
291

292
  .report-receipt-provider {
293
    @extend %ui-window;
294

295
    padding: ($baseline*0.75) $baseline;
296

297 298
    .provider-wrapper {
      width: 70%;
299

300 301 302
      @include float(left);

      .provider-info {
303
        margin-bottom: $baseline;
304 305 306 307 308 309 310 311
        font-weight: 600;
      }
    }

    .provider-buttons-logos {
      @include float(right);
      @include text-align(center);

312
      .provider-logo img {
313 314
        max-width: 160px;
        margin-bottom: $baseline * 0.5;
315
      }
316

317 318
      .complete-order {
        @include text-align(center);
319 320 321

        button {
          @extend %btn-pl-primary-base;
322

323 324
          white-space: nowrap;
        }
325 326 327
      }
    }
  }
328 329
  // ====================

330
  // UI: help
331
  .help-item {
332
    .title {
333
      @extend %hd-lv4;
334

335 336 337 338
      margin-bottom: ($baseline/4);
    }

    .copy {
339
      @extend %copy-detail;
340
    }
341 342

    strong {
343
      color: $m-gray-d2;
344
    }
345 346
  }

347 348
  // ====================

349 350
  // UI : message
  .wrapper-msg {
351
    margin-bottom: ($baseline*1.5);
352 353 354
    border-bottom: ($baseline/4) solid $m-blue;
    padding: $baseline ($baseline*1.5);
    background: tint($m-blue, 95%);
355

356 357
    .msg {
      @include clearfix();
358

359 360 361 362 363 364
      max-width: grid-width(12);
      min-width: 760px;
      width: flex-grid(12);
      margin: 0 auto;
    }

365 366
    .msg-content,
    .msg-icon {
367
      display: block;
368

369
      @include float(left);
370
    }
371

372
    .msg-content {
373
      width: flex-grid(11, 12);
374 375

      .title {
376 377
        @extend %t-title6;
        @extend %t-weight4;
378
      }
379

380
      .copy {
381
        @extend %t-copy-sub1;
382 383 384
      }
    }

385
    .msg-icon {
386 387
      width: flex-grid(1, 12);

388
      @extend %t-icon2;
389

390
      @include margin-right(flex-gutter());
391

392
      text-align: center;
393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
      color: $m-blue;
    }
  }

  // UI: error
  .wrapper-msg-error {
    border-bottom-color: $red;
    background: tint($red, 95%);

    .msg-icon {
      color: $red;
    }

    .msg-content {
      .title {
        color: $red;
      }
410 411 412
    }
  }

413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431
  // UI: error
  .wrapper-msg-activate {
    border-bottom-color: $m-pink;
    background: tint($m-pink, 95%);

    .msg-icon {
      color: $m-pink;
    }

    .msg-content {
      .title {
        color: $m-pink;
      }
    }
  }

  // ====================

  // UI: inline messages
432 433
  .msg-inline {
    &.msg-error {
434 435
      .copy,
      .copy p {
436
        color: $red;
437 438
      }
    }
439
  }
440

441 442 443 444
  // ====================

  // UI: page header
  .page-header {
445
    width: flex-grid(12, 12);
446 447
    margin-bottom: 0;
    border-bottom: none;
448 449 450

    .title {
      @include clearfix();
451 452

      width: flex-grid(12, 12);
453
      margin: 0;
454

455 456
      .sts-course,
      .sts-track {
457
        display: inline-block;
458 459 460
        vertical-align: middle;
      }

461
      .sts-track {
462 463
        width: flex-grid(3, 12);

464
        @include text-align(right);
465

466
        .sts-track-value {
467
          @extend %copy-badge;
468

469
          display: inline-block;
470
          background: $verified-color-lvl3;
471 472
          color: $white;
          font-weight: 600;
473 474

          .context {
475
            opacity: 0.8;
476
            color: $white;
477
            letter-spacing: 0.1rem;
478
          }
479
        }
480 481 482 483 484 485

        &.professional-ed {
          .sts-track-value {
            background-color: $professional-color-lvl1;
          }
        }
486
      }
487

488 489 490 491
      .sts-label,
      .sts-course-org,
      .sts-course-number,
      .sts-course-name {
492
        @extend %t-title5;
493
        @extend %t-weight4;
494

495 496
        @include font-size(14);
        @include line-height(14);
497

498 499 500
        display: inline-block;
        color: $gray;
        text-transform: none;
501 502
      }

503 504 505 506
      .sts-label {
        margin: 0;
        border: none;
        padding: 0;
507 508
      }

509 510
      .sts-course {
        width: initial;
511 512 513
      }

      .sts-course-org {
514
        @include margin-right(0);
515 516
      }

517 518
      .wrapper-sts {
        display: inline-block;
519
        width: flex-grid(9, 12);
520
        margin-bottom: ($baseline/4);
521
      }
522

523 524
      .title .sts-track {
        display: inline-block;
525

526 527 528
        .sts-track-value {
          background: $verified-color-lvl3;
        }
529

530 531 532 533
        &.professional-ed {
          .sts-track-value {
            background-color: $professional-color-lvl1;
          }
534
        }
535 536 537 538
      }
    }
  }

539 540
  // ====================

541 542 543 544 545 546 547
  // UI : progress
  .wrapper-progress {
    position: relative;
    margin-bottom: ($baseline*1.5);
  }

  .progress-sts {
548
    @include size($baseline/4);
549

550
    @extend %ui-depth1;
551

552 553
    position: absolute;
    top: 43px;
554

555
    @include left(7%);
556

557
    display: block;
558
    width: 83%;
559 560 561 562 563 564 565
    margin: 0 auto;
    background: $m-gray-l4;

    .progress-sts-value {
      width: 0%;
      height: 100%;
      display: block;
566
      background: $verified-color-lvl4;
567 568
    }
  }
569

570
  .progress {
571
    width: flex-grid(12, 12);
572 573
    margin: 0 auto;
    border-bottom: ($baseline/4) solid $m-gray-l4;
574

575
    .progress-steps {
576
      @include clearfix();
577

578 579
      position: relative;
      top: ($baseline/4);
580 581
      display: table;
      width: 100%;
582
    }
583

584
    .progress-step {
585
      @extend %ui-depth2;
586

587
      position: relative;
588
      display: table-cell;
589
      height: ($baseline*6);
590
      padding: $baseline $baseline ($baseline*1.5) $baseline;
591 592
      text-align: center;

593 594 595
      .wrapper-step-number,
      .step-number,
      .step-name {
596 597 598 599 600
        display: block;
      }

      .wrapper-step-number {
        @include size(($baseline*2) ($baseline*2));
601

602 603 604 605 606 607
        margin: 0 auto ($baseline/2) auto;
        border-radius: ($baseline*10);
        border: ($baseline/5) solid $m-gray-l4;
        background: $white;

        .step-number {
608 609
          @extend %t-title7;
          @extend %t-weight4;
610

611
          @include line-height(0);
612
          @include margin(16px, auto, 0, auto);
613

614 615 616 617 618
          color: $m-gray-l1;
        }
      }

      .step-name {
619 620
        @extend %t-title7;
        @extend %t-weight4;
621

622 623 624 625
        color: $m-gray-l1;
      }

      // confirmation step w/ icon
626
      &.progress-step-icon {
627 628
        .step-number {
          margin-top: ($baseline/2);
629 630 631
        }
      }

632 633
      // STATE: is completed
      &.is-completed {
634
        border-bottom: ($baseline/5) solid $verified-color-lvl3;
635 636

        .wrapper-step-number {
637
          border-color: $verified-color-lvl3;
638 639
        }

640 641
        .step-number,
        .step-name {
642 643 644 645 646 647 648
          color: $m-gray-l3;
        }
      }

      // STATE: is current
      &.is-current {
        border-bottom: ($baseline/5) solid $m-blue-d1;
649
        opacity: 1;
650 651 652 653

        .wrapper-step-number {
          border-color: $m-blue-d1;
        }
654

655 656
        .step-number,
        .step-name {
657
          color: $m-gray-d3;
658 659
        }
      }
660
    }
661
  }
662

663 664 665 666 667 668 669
  // ====================

  // UI: slides
  .carousel {

    // carousel item
    .carousel-item {
670
      opacity: 0;
671 672
    }

673 674
    // STATE: active
    .carousel-active {
675
      opacity: 1;
676 677
    }

678
    .view {
679
      width: flex-grid(12, 12);
680 681

      > .title {
682
        @extend %hd-lv2;
683

684 685 686 687
        color: $m-blue-d1;
      }

      .instruction {
688
        @extend %t-copy-lead1;
689

690 691
        margin-bottom: $baseline;
      }
692 693
    }

694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711
    @mixin help {
      margin-bottom: ($baseline*1.5);

      &:last-child {
        margin-bottom: 0;
      }

      .title {
        @extend %hd-lv3;
      }

      .copy {
        @extend %copy-detail;
      }
    }

    .requirements {
      margin-bottom: 10px;
712

713 714 715 716
      @include outer-container;

      .title {
        @extend %hd-lv3;
717

718 719 720 721 722 723 724 725 726
        margin-bottom: 10px;
      }

      .requirement {
        @include help();

        border: 1px solid #e5e5e5;
        border-top: 5px solid #f4d78a;
        padding: 10px;
727
        box-shadow: 1px 1px 3px #888;
728 729 730 731 732 733

        // TODO Determine why this is not responsive.
        @include span-columns(6);
      }
    }

734 735
    .wrapper-task {
      @include clearfix();
736

737
      width: flex-grid(12,12);
738
      margin: $baseline 0;
739

740
      .wrapper-help {
741
        @include float(right);
742 743

        width: flex-grid(6, 12);
744
        padding: 0 $baseline;
745

746
        .help {
747
          @include help();
748

749 750 751 752
          .example {
            color: $m-gray-l2;
          }

753 754
          // help - general list
          .list-help {
755
            margin-top: ($baseline/2);
756
            color: $black;
757

758 759 760 761 762 763 764 765 766 767 768
            .help-item {
              margin-bottom: ($baseline/4);
              border-bottom: 1px solid $m-gray-l4;
              padding-bottom: ($baseline/4);

              &:last-child {
                margin-bottom: 0;
                border-bottom: none;
                padding-bottom: 0;
              }
            }
769 770 771 772

            .help-item-emphasis {
              @extend %t-weight4;
            }
773 774
          }

775 776 777 778
          .copy-extra {
            color: $black;
          }

779 780 781 782
          // help - faq
          .list-faq {
            margin-bottom: $baseline;
          }
783 784 785
        }
      }

786
      .task {
787
        @extend %ui-window;
788

789 790
        @include float(left);
        @include margin-right(flex-gutter());
791 792

        width: flex-grid(6, 12);
793
      }
794

795 796 797
      .controls {
        padding: ($baseline*0.75) $baseline;
        background: $m-gray-l4;
798
        text-align: center;
799

800 801 802
        .list-controls {
          position: relative;
        }
803

804 805
        .control {
          .action {
806
            @extend %btn-primary-blue;
807

808 809
            padding: ($baseline/2) ($baseline*0.75);

810
            .icon {
811
              @extend %t-icon4;
812

813
              padding: ($baseline*0.25) ($baseline*0.5);
814 815 816 817 818 819 820 821 822 823 824 825
              display: block;
            }
          }

          // STATE: hidden
          &.is-hidden {
            visibility: hidden;
          }

          // STATE: shown
          &.is-shown {
            visibility: visible;
826 827
          }

828 829 830
          // STATE: approved
          &.approved {
            .action {
831
              @extend %btn-verify-primary;
832

833
              padding: ($baseline/2) ($baseline*0.75);
834 835
            }
          }
836 837
        }

838 839 840
        // control - redo
        .control-redo {
          position: absolute;
841

842
          @include left($baseline/2);
843 844
        }

845
        // control - take/do, retake
846 847
        .control-do,
        .control-retake {
848
          @include left(45%);
849 850
        }

851 852
        // control - approve
        .control-approve {
853
          position: absolute;
854

855
          @include right($baseline/2);
856 857 858 859 860
        }
      }

      .msg {
        @include clearfix();
861

862 863 864
        margin-top: ($baseline*2);

        .copy {
865
          @include float(left);
866 867 868

          width: flex-grid(8, 12);

869
          @include margin-right(flex-gutter());
870 871 872 873 874
        }

        .list-actions {
          position: relative;
          top: -($baseline/2);
875

876
          @include float(left);
877

878
          width: flex-grid(4, 12);
879

880
          @include text-align(right);
881 882

          .action-retakephotos a {
883
            @extend %btn-primary-blue;
884

885
            @include font-size(14);
886

887
            padding: ($baseline/2) ($baseline*0.75);
888 889 890 891 892 893 894 895 896 897 898 899
          }
        }
      }

      .msg-followup {
        border-top: ($baseline/10) solid $m-gray-t0;
        padding-top: $baseline;
      }
    }

    // indiv slides - review
    #wrapper-review {
900 901 902
      color: $black;

      .page-title {
903
        @extend %t-strong;
904

905 906 907 908 909
        border-bottom: 2px solid $m-gray-d3;
        padding-bottom: ($baseline*0.75);
        margin-bottom: $baseline;
        text-transform: inherit;
      }
910

911
      .review {
912 913
        .certificate {
          @include font-size(18);
914

915 916 917 918 919
          background-repeat: no-repeat;
          padding-left: ($baseline*2.5);
          overflow: hidden;
          min-height: 32px;

920 921
          p {
            @include line-height(22);
922

923
            @extend %t-strong;
924

925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941
            margin-top: 0;
            color: $black;
          }

          .purchase {
            @include float(right);
            @include margin-left($baseline*0.75);

            text-align: right;

            .product-info {
              @include font-size(22);

              @extend %t-strong;

              color: $blue;
            }
942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957
          }

          &.verified_icon {
            background-image: url('#{$static-path}/images/icon-sm-verified.png');
          }

          &.no-id-professional_icon,
          &.professional_icon {
            background-image: url('#{$static-path}/images/icon-sm-professional.png');
          }
        }

        .payment-buttons {
          overflow: auto;
          padding-bottom: ($baseline/4);
          margin: {
958 959
            top: ($baseline / 2);
            bottom: ($baseline * 0.75);
960 961 962 963 964 965
          };

          .payment-button {
            padding: ($baseline*0.4) $baseline;
            min-width: 200px;
          }
966

967 968 969 970 971 972 973 974 975 976 977
          .action-primary-blue {
            &.is-selected {
              background: $blue !important;
            }
          }
        }

        .border-gray {
          border-bottom: 2px solid $gray;
          margin: ($baseline*1.12) 0;
        }
978
      }
979 980 981 982 983 984

      .container {
        padding: ($baseline*0.75) 0;

        p {
          @include line-height(22);
985

986 987
          color: $black;
        }
988

989 990
        .photo-requirement {
          @include font-size(12);
991

992 993 994 995 996 997 998
          position: relative;
          padding-left: ($baseline*2);
          margin-top: ($baseline*0.75);
          background-repeat: no-repeat;
          background-position: left top;

          .fa {
999 1000 1001 1002
            position: absolute;
            left: 0;
            color: $mediumGrey;
          }
1003

1004 1005 1006 1007
          h6 {
            font-weight: bold;
            color: $extraDarkGrey;
          }
1008 1009 1010 1011 1012
        }
      }



1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024

      .review-task {
        margin-bottom: ($baseline*1.5);
        padding: ($baseline*0.75) $baseline;
        border-radius: ($baseline/10);
        background: $m-gray-l4;

        &:last-child {
          margin-bottom: 0;
        }

        > .title {
1025
          @extend %hd-lv3;
1026 1027
        }

1028
        .copy {
1029
          @extend %copy-base;
1030

1031
          strong {
1032
            @extend %t-weight5;
1033

1034 1035 1036
            color: $m-gray-d4;
          }
        }
1037 1038
      }

1039 1040 1041 1042
      // individual task - photos
      .review-task-photos {
        .wrapper-photos {
          @include clearfix();
1043 1044

          width: flex-grid(12, 12);
1045 1046 1047
          margin: $baseline 0;

          .wrapper-photo {
1048
            @include float(left);
1049 1050 1051

            width: flex-grid(6, 12);

1052
            @include margin-right(flex-gutter());
1053 1054

            &:last-child {
1055
              @include margin-right(0);
1056 1057 1058
            }

            .placeholder-photo {
1059
              @extend %ui-window;
1060

1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071
              padding: ($baseline*0.75) $baseline;

              img {
                display: block;
                width: 100%;
                margin: 0 auto;
              }
            }
          }

          .help-tips {
1072
            @include margin-left($baseline);
1073 1074

            .title {
1075
              @extend %hd-lv5;
1076 1077 1078
            }

            .copy {
1079
              @extend %copy-detail;
1080 1081 1082 1083
            }

            // help - general list
            .list-tips {
1084
              color: $black;
1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099

              .tip {
                margin-bottom: ($baseline/4);
                border-bottom: 1px solid $m-gray-t0;
                padding-bottom: ($baseline/4);

                &:last-child {
                  margin-bottom: 0;
                  border-bottom: none;
                  padding-bottom: 0;
                }
              }
            }
          }
        }
1100 1101
      }

1102 1103 1104 1105 1106
      // individual task - name
      .review-task-name {
        @include clearfix();

        .copy {
1107
          @include float(left);
1108 1109 1110

          width: flex-grid(8, 12);

1111
          @include margin-right(flex-gutter());
1112 1113 1114 1115 1116
        }

        .list-actions {
          position: relative;
          top: -($baseline);
1117

1118
          @include float(left);
1119 1120 1121

          width: flex-grid(4, 12);

1122
          @include text-align(right);
1123 1124

          .action-editname a {
1125
            @extend %btn-primary-blue;
1126

1127
            @include font-size(14);
1128

1129
            padding: ($baseline/2) ($baseline*0.75);
1130 1131
          }
        }
1132 1133
      }

1134 1135 1136 1137
      // individual task - contribution
      .review-task-contribution {
        .list-fields {
          @include clearfix();
1138

1139 1140 1141
          margin: $baseline 0;

          .field {
1142 1143
            @include float(left);
            @include margin-right(($baseline/2));
1144

1145 1146 1147 1148
            padding: ($baseline/2) ($baseline*0.75);
            background: $m-gray-t0;

            &:last-child {
1149
              @include margin-right(0);
1150 1151 1152 1153 1154 1155 1156
            }
          }

          .field-group-other {
            .contribution-option {
              display: inline-block;
              vertical-align: middle;
1157

1158
              @include margin-right($baseline/4);
1159

1160
              padding: 3px 0;
1161 1162

              &:last-child {
1163
                @include margin-right(0);
1164 1165 1166
              }
            }

1167 1168
            .contribution-option-other1 label,
            .contribution-option-other2 label {
1169
              @extend %text-sr;
1170 1171
            }
          }
1172 1173
        }
      }
1174 1175 1176
    }
  }

1177 1178 1179
  // UI: camera states
  .cam {
    .placeholder-cam {
1180
      position: relative;
1181 1182 1183 1184 1185 1186 1187
      width: 95%;
      height: 375px;
      margin: ($baseline/2) auto;
      background: $m-blue-l5;

      // placeholders
      .placeholder-art {
1188 1189 1190 1191 1192 1193 1194
        opacity: 0.7;
        z-index: 100;

        .copy {
          position: absolute;
          top: 40%;
          margin: 0 40px;
1195

1196
          @include text-align(center);
1197
        }
1198 1199 1200
      }

      // previously defined in HTML
1201 1202
      video,
      canvas {
1203
        position: relative;
1204
        display: block;
1205

1206
        @include size(100% 100%);
1207

1208
        z-index: 500;
1209
      }
1210 1211 1212 1213 1214
    }

    .controls {
      height: ($baseline*4);
    }
1215 1216 1217 1218 1219

    .preview {
      width: 100%;
      height: 100%;
    }
1220
  }
1221 1222 1223

  // ====================

1224 1225 1226 1227
  // UI: deco - divider
  .deco-divider {
    position: relative;
    display: block;
1228
    margin: $baseline 0 ($baseline*2);
1229
    border-top: ($baseline/5) solid $m-gray-l4;
1230

1231
    .copy {
1232 1233
      @extend %t-copy-lead1;
      @extend %t-weight4;
1234

1235 1236
      @include left(calc(50% - 46px));

1237 1238 1239 1240 1241
      position: absolute;
      top: -($baseline*1.25);
      padding: ($baseline/2) ($baseline*1.5);
      background: white;
      text-align: center;
1242
      color: $gray-d2;
1243 1244 1245 1246 1247 1248 1249 1250
    }
  }


  // ====================

  // UI: nav - wizard
  .nav-wizard {
1251
    @extend %ui-well;
1252

1253
    @include clearfix();
1254 1255

    width: flex-grid(12, 12);
1256 1257
    border-radius: ($baseline/10);
    background: $m-gray-l4;
1258
    padding: ($baseline*0.75) $baseline;
1259 1260

    .help-inline {
1261
      @extend %t-copy-sub1;
1262

1263
      @include float(left);
1264 1265 1266

      width: flex-grid(6, 12);

1267
      @include margin(($baseline*0.75), flex-gutter(), 0, 0);
1268
    }
1269

1270 1271 1272 1273
    // STATE: is ready
    &.is-ready {
      background: $m-blue-l4;
    }
1274

1275 1276
    &.is-not-ready {
      background: $m-gray-l4;
1277 1278

      .action-primary {
1279
        @extend %btn-primary-disabled;
1280
      }
1281 1282 1283 1284 1285 1286 1287 1288 1289 1290
    }
  }

  // ====================

  // UI: forms - payment
  .contribution-options {
    .contribution-option {
      border-radius: ($baseline/5);

1291 1292 1293
      .label,
      label,
      input {
1294 1295
        display: inline-block;
        vertical-align: middle;
1296 1297
      }

1298 1299
      .label,
      label {
1300
        margin-bottom: 0;
1301
        padding: 6px 0;
1302
      }
1303

1304 1305 1306
      input {
        margin-right: ($baseline/4);
      }
1307

1308 1309 1310
      .deco-denomination,
      .label-value,
      .denomination-name {
1311 1312 1313 1314 1315
        display: inline-block;
        vertical-align: middle;
      }

      .label-value {
1316
        @extend %t-weight4;
1317 1318 1319 1320
      }

      .denomination-name {
        @include font-size(14);
1321

1322 1323 1324 1325 1326
        color: $m-gray-l1;
      }

      // specific fields
      #contribution-other-amt {
1327
        width: ($baseline*4.5);
1328 1329 1330 1331 1332 1333 1334
        padding: ($baseline/4) ($baseline/2);
      }
    }
  }

  // ====================

1335 1336 1337
  // help - faq
  .list-faq {
    .faq-question {
1338
      @extend %hd-lv3;
1339

1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350
      border-bottom: 1px solid $m-gray-l4;
      padding-bottom: ($baseline/4);
    }

    .faq-answer {
      margin-bottom: ($baseline*1.25);
    }
  }

  // ====================

1351 1352
  // UI: main content
  .content-main {
1353
    width: flex-grid(12, 12);
1354 1355

    > .title {
1356
      @extend %hd-lv2;
1357

1358
      color: $m-blue-d1;
1359 1360
    }

1361
    .instruction {
1362
      @extend %t-copy-lead1;
1363

1364
      margin-bottom: $baseline;
1365
    }
1366
  }
1367

1368
  // ====================
1369

1370 1371 1372 1373 1374
  // UI: supplemental content
  .wrapper-content-supplementary {
    margin: ($baseline*1.5) 0;
    border-top: ($baseline/4) solid $m-gray-l4;
  }
1375

1376
  .content-supplementary {
1377 1378 1379
    @include box-sizing(border-box);
    @include outer-container;
    @include span-columns(12);
1380

1381 1382
    .list-help {
      @include clearfix();
1383

1384
      .help-item {
1385
        @include fill-parent;
1386

1387
        margin-bottom: 25px;
1388

1389
        &:last-child {
1390
          margin: 0;
1391
        }
1392 1393
      }
    }
1394

1395
    @include media(550px) {
1396 1397 1398
      .list-help {
        .help-item {
          @include span-columns(4);
1399

1400 1401 1402 1403 1404
          margin-bottom: 0;

          &.help-item-technical {
            @include span-columns(8);
          }
1405 1406
        }
      }
1407 1408 1409
    }
  }

1410 1411
  // ====================

1412 1413
  // VIEW: select a track
  &.step-select-track {
1414 1415
    .container {
      min-width: 0;
1416
      max-width: map-get($container-max-widths, xl);
1417
    }
1418

1419
    .sts-track {
1420
      @extend %text-sr;
1421 1422
    }

1423 1424
    .form-register-choose {
      @include clearfix();
1425

1426
      margin: ($baseline*2) 0;
1427

1428
      .deco-divider {
1429
        @include fill-parent;
1430
        @include float(left);
1431 1432 1433
      }
    }

1434 1435
    .register-choice,
    .help-register {
1436
      @include float(left);
1437 1438 1439
    }

    .register-choice {
1440
      @include fill-parent;
1441
      @include margin(0, flex-gutter(), $baseline, 0);
1442

1443 1444 1445 1446 1447
      border-top: ($baseline/4) solid $m-gray-d4;
      padding: $baseline ($baseline*1.5);
      background: $m-gray-l4;

      &:last-child {
1448
        margin-bottom: 0;
1449 1450
      }

1451 1452
      .wrapper-copy,
      .list-actions {
1453 1454 1455 1456 1457
        display: inline-block;
        vertical-align: middle;
      }

      .list-actions {
1458
        @include fill-parent;
1459 1460
        @include text-align(right);
        @include float(right);
1461

1462 1463 1464
        margin: ($baseline/4) 0;
        border-top: none;
        clear: both;
1465 1466 1467
      }

      .title {
1468 1469
        @extend %t-title5;
        @extend %t-weight5;
1470

1471
        margin-bottom: ($baseline/2);
1472
        width: calc(100% - 30px);
1473 1474 1475
      }

      .copy {
1476
        @extend %t-copy-base;
1477 1478
      }

1479 1480
      .wrapper-copy-inline {
        @extend %t-copy-base;
1481

1482 1483 1484 1485 1486 1487
        display: inline-block;
        width: 100%;
      }

      .copy-inline {
        @extend %t-copy-base;
1488

1489 1490 1491
        display: inline-block;
      }

1492 1493 1494 1495 1496
      .action-select {
        @include fill-parent;

        input {
          @extend %t-weight4;
1497

1498 1499 1500 1501
          padding: ($baseline/2) ($baseline*0.75);
          width: 100%;
          white-space: normal;
        }
1502 1503 1504 1505 1506
      }
    }

    .register-choice-audit {
      border-color: $m-blue-d1;
1507

1508 1509 1510
      .deco-ribbon {
        position: relative;
        top: -($baseline*2.5);
1511

1512 1513
        @include right(-($baseline*0.35));
        @include float(right);
1514

1515 1516 1517
        display: block;
        width: ($baseline*2.9);
        height: ($baseline*4.2);
1518 1519 1520
      }

      .list-actions {
1521
        margin: ($baseline) 0;
1522 1523 1524
      }

      .action-select input {
1525
        @extend %btn-primary-blue;
1526 1527 1528 1529
      }
    }

    .register-choice-certificate {
1530
      border-color: $verified-color-lvl3;
1531 1532
      position: relative;

1533
      .deco-ribbon {
1534
        position: absolute;
1535
        top: -10px;
1536

1537
        @include right($baseline);
1538

1539
        display: block;
1540 1541
        width: 45px;
        height: 45px;
1542
        background: transparent url('#{$static-path}/images/verified-ribbon.png') no-repeat 0 0;
1543 1544
      }

1545 1546
      .action-intro,
      .action-select {
1547 1548 1549 1550 1551
        display: inline-block;
        vertical-align: middle;
      }

      .action-intro {
1552
        @include fill-parent;
1553

1554
        @extend %copy-detail;
1555

1556
        @include text-align(left);
1557 1558 1559
      }

      .action-select input {
1560
        @extend %btn-verify-primary;
1561 1562
      }

1563 1564
      // extra register options/info
      .title-expand {
1565
        @extend %t-copy-sub1;
1566

1567 1568 1569 1570 1571 1572 1573 1574
        font-weight: 500 !important;
        display: inline-block;
        margin: 0;
      }

      .expandable-area {
        margin: $baseline 0;
      }
1575 1576
    }

1577
    .help-register {
1578
      @include span-columns(4);
1579

1580
      .title {
1581 1582
        @extend %hd-lv4;
        @extend %t-weight4;
1583

1584
        margin-top: $baseline;
1585
        margin-bottom: ($baseline/2);
1586 1587
      }

1588
      .copy {
1589
        @extend %copy-detail;
1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602
      }
    }

    // progress indicator
    .progress-sts-value {
      width: 0%;
    }

    // contribution selection
    .field-certificate-contribution {
      margin: $baseline 0;

      .label {
1603 1604
        @extend %hd-lv4;
        @extend %t-weight4;
1605

1606
        margin-bottom: ($baseline/2);
1607
      }
1608
    }
1609

1610 1611
    .contribution-options {
      @include clearfix();
1612
      @include fill-parent;
1613

1614 1615
      margin: 0;

1616
      &::after {
1617 1618 1619
        clear: none;
        display: none;
      }
1620 1621

      .field {
1622
        @include fill-parent;
1623 1624
        @include float(left);
        @include margin(0, ($baseline/2), ($baseline/2), 0);
1625

1626 1627 1628 1629 1630
        padding: ($baseline/2) ($baseline*0.75);
        background: $m-gray-t0;

        input {
          width: auto;
1631
          padding: 0;
1632 1633 1634
        }

        &:last-child {
1635
          @include margin-right(0);
1636
        }
1637
      }
1638

1639
      #contribution-other-amt {
1640
        width: ($baseline*4.5);
1641 1642
        padding: ($baseline/4) ($baseline/2);
      }
1643

1644 1645 1646 1647
      .field-group-other {
        .contribution-option {
          display: inline-block;
          vertical-align: middle;
1648

1649
          @include margin-right($baseline/4);
1650

1651
          padding: 1px 0;
1652

1653
          &:last-child {
1654
            @include margin-right(0);
1655 1656
          }
        }
1657

1658 1659
        .contribution-option-other1 label,
        .contribution-option-other2 label {
1660
          @extend %text-sr;
1661 1662 1663
        }
      }
    }
1664 1665 1666 1667 1668 1669 1670

    @include media(min-width 550px max-width 768px) {
      .contribution-options {
        .field {
          @include span-columns(6);

          &:nth-of-type(even) {
1671
            @include margin-right(0);
1672 1673 1674 1675 1676 1677
          }
        }
      }

      .register-choice {
        .list-actions {
1678
          @include float(left);
1679

1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692
          width: auto;
        }

        .action-select {
          width: initial;

          input {
            width: initial;
          }
        }
      }
    }

1693
    @include media($edx-bp-large) {
1694 1695 1696 1697 1698 1699 1700 1701 1702
      .contribution-options {
        .field {
          width: auto;
        }
      }

      .register-choice {
        .list-actions {
          @include span-columns(4);
1703

1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716
          width: auto;
        }

        .action-select {
          width: initial;

          input {
            width: initial;
          }
        }
      }
    }

1717
    @include media($edx-bp-huge) {
1718 1719
      .register-choice {
        .list-actions {
1720
          @include float(right);
1721

1722 1723 1724 1725
          clear: none;
        }
      }
    }
1726
  }
1727

1728 1729
  // VIEW: requirements
  &.step-requirements {
1730 1731 1732 1733
    .help-item-technical {
      display: none;
    }

1734 1735 1736 1737 1738 1739
    // progress nav
    .progress .progress-step {

      // STATE: is current
      &#progress-step0 {
        border-bottom: ($baseline/5) solid $m-blue-d1;
1740
        opacity: 1;
1741 1742 1743 1744 1745

        .wrapper-step-number {
          border-color: $m-blue-d1;
        }

1746 1747
        .step-number,
        .step-name {
1748 1749 1750 1751 1752
          color: $m-gray-d3;
        }
      }
    }

1753 1754 1755 1756
    // progress indicator
    .progress-sts-value {
      width: 0%;
    }
1757

1758 1759
    .list-reqs {
      @include clearfix();
1760 1761

      width: flex-grid(12, 12);
1762
      text-align: center;
1763

1764
      .req {
1765
        @extend %ui-window;
1766

1767
        @include margin-right(flex-gutter());
1768

1769 1770
        display: inline-block;
        vertical-align: top;
1771
        width: flex-grid(4, 12);
1772
        min-height: ($baseline*15);
1773
        border-color: $verified-color-lvl4;
1774
        text-align: center;
1775

1776
        &:last-child {
1777
          @include margin-right(0);
1778
        }
1779

1780
        .title {
1781 1782
          @extend %t-title5;
          @extend %t-weight4;
1783

1784
          padding: $baseline;
1785 1786
          border-bottom: 1px solid $verified-color-lvl4;
          background: $verified-color-lvl5;
1787

1788
        }
1789

1790 1791 1792
        .placeholder-art {
          position: relative;
          display: inline-block;
1793
          margin: $baseline 0 ($baseline/2);
1794
          padding: $baseline;
1795
          background: $verified-color-lvl3;
1796 1797 1798
          border-radius: ($baseline*10);

          *[class^="icon"] {
1799
            @extend %t-icon1;
1800

1801 1802
            color: $white;
          }
1803

1804 1805
          .fa-stack-1x,
          .fa-stack-2x {
1806 1807
            position: relative;
          }
1808

1809
          .fa-stack-2x {
1810
            @extend %ui-depth1;
1811 1812
          }

1813
          .fa-stack-1x {
1814 1815
            @extend %ui-depth2;
            @extend %t-icon5;
1816

1817
            position: absolute;
1818

1819
            @include left(24px);
1820

1821
            top: 34px;
1822
            background: $verified-color-lvl3;
1823
            padding: 3px 5px;
1824
          }
1825 1826 1827 1828 1829

          .id-photo {
            width: 23px;
            padding: 3px 0;
          }
1830 1831 1832 1833 1834 1835

          &.old-id-card {
            width: 88px;
            height: 88px;

            .fa-list-alt {
1836
              @include left(-7px);
1837 1838 1839 1840
            }

            .id-photo {
              top: 13px;
1841

1842
              @include left(-3px);
1843

1844 1845 1846
              line-height: 1.1em;
            }
          }
1847
        }
1848

1849 1850 1851 1852
        .copy {
          padding: ($baseline/2) $baseline;
        }

1853 1854
        .copy-super,
        .copy-sub {
1855 1856 1857 1858
          display: block;
        }

        .copy-super {
1859
          @extend %t-copy-base;
1860

1861
          margin-bottom: ($baseline/2);
1862
          color: $verified-color-lvl1;
1863 1864 1865
        }

        .copy-sub {
1866
          @extend %t-copy-sub2;
1867 1868 1869 1870 1871
        }

        .actions {
          padding: ($baseline/2) $baseline;
        }
1872
      }
1873 1874 1875

      // specific requirements
      .req-activate {
1876
        @include float(left);
1877

1878
        text-align: center;
1879
        border-color: $m-pink-l3;
1880 1881

        .title {
1882 1883
          @extend %t-title5;
          @extend %t-weight4;
1884

1885 1886 1887
          border-bottom-color: $m-pink-l3;
          background: tint($m-pink, 95%);
          color: $m-pink;
1888 1889 1890
        }

        .placeholder-art {
1891
          background: $m-pink-l1;
1892 1893 1894
        }

        .copy-super {
1895
          @extend %t-copy-lead1;
1896

1897 1898 1899 1900
          color: $m-pink;
        }

        .copy-sub {
1901
          @extend %t-copy-base;
1902 1903 1904 1905 1906 1907
        }
      }

      // CASE: account not activated
      &.account-not-activated {
        .req {
1908
          width: flex-grid(3, 12);
1909 1910 1911
          min-height: ($baseline*18);
        }
      }
1912
    }
1913
  }
1914

1915 1916
  // VIEW: take cam photo
  &.step-photos-cam {
1917

1918 1919 1920 1921
    // progress nav
    .progress .progress-step {

      // STATE: is completed
1922
      &#progress-step0 {
1923
        border-bottom: ($baseline/5) solid $verified-color-lvl3;
1924 1925

        .wrapper-step-number {
1926
          border-color: $verified-color-lvl3;
1927 1928
        }

1929 1930
        .step-number,
        .step-name {
1931 1932 1933 1934 1935 1936 1937
          color: $m-gray-l3;
        }
      }

      // STATE: is current
      &#progress-step1 {
        border-bottom: ($baseline/5) solid $m-blue-d1;
1938
        opacity: 1;
1939 1940 1941 1942 1943

        .wrapper-step-number {
          border-color: $m-blue-d1;
        }

1944 1945
        .step-number,
        .step-name {
1946 1947 1948 1949 1950
          color: $m-gray-d3;
        }
      }
    }

1951 1952
    // progress indicator
    .progress-sts-value {
1953
      width: 14%;
1954
    }
1955
  }
1956

1957 1958
  // VIEW: take id photo
  &.step-photos-id {
1959

1960 1961 1962 1963
    // progress nav
    .progress .progress-step {

      // STATE: is completed
1964 1965
      &#progress-step0,
      &#progress-step1 {
1966
        border-bottom: ($baseline/5) solid $verified-color-lvl3;
1967 1968

        .wrapper-step-number {
1969
          border-color: $verified-color-lvl3;
1970 1971
        }

1972 1973
        .step-number,
        .step-name {
1974 1975 1976 1977 1978 1979 1980
          color: $m-gray-l3;
        }
      }

      // STATE: is current
      &#progress-step2 {
        border-bottom: ($baseline/5) solid $m-blue-d1;
1981
        opacity: 1;
1982 1983 1984 1985 1986

        .wrapper-step-number {
          border-color: $m-blue-d1;
        }

1987 1988
        .step-number,
        .step-name {
1989 1990 1991 1992 1993
          color: $m-gray-d3;
        }
      }
    }

1994 1995
    // progress indicator
    .progress-sts-value {
1996
      width: 36%;
1997
    }
1998
  }
1999

2000 2001
  // VIEW: review photos
  &.step-review {
2002 2003 2004 2005
    .help-item-technical {
      display: none;
    }

2006
    .modal.edit-name .submit input {
2007
      color: $white;
2008
    }
2009

2010 2011 2012 2013 2014 2015
    .modal {
      fieldset {
        margin-top: $baseline;
      }

      .close-modal {
2016
        @include font-size(24);
2017

2018 2019
        color: $m-blue-d3;

2020 2021
        &:hover,
        &:focus {
2022 2023 2024 2025 2026 2027
          color: $m-blue-d1;
          border: none;
        }
      }
    }

2028
    .nav-wizard {
2029
      .prompt-verify {
2030 2031
        @include float(left);
        @include margin(0, flex-gutter(), 0, 0);
2032 2033

        width: flex-grid(6, 12);
2034 2035

        .title {
2036
          @extend %hd-lv4;
2037

2038 2039 2040 2041
          margin-bottom: ($baseline/4);
        }

        .copy {
2042 2043
          @extend %t-copy-sub1;
          @extend %t-weight3;
2044 2045 2046 2047 2048 2049
        }

        .list-actions {
          margin-top: ($baseline/2);
        }

2050
        .action-verify label {
2051
          @extend %t-copy-sub1;
2052
        }
2053 2054 2055
      }

      .wizard-steps {
2056
        margin-top: ($baseline/2);
2057 2058

        .wizard-step {
2059
          @include margin-right(flex-gutter());
2060

2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071
          display: inline-block;
          vertical-align: middle;

          &:last-child {
            margin-right: 0;
          }
        }
      }

      .step-match {
        label {
2072
          @extend %t-copy-sub1;
2073
        }
2074
      }
2075 2076
    }

2077 2078 2079 2080
    // progress nav
    .progress .progress-step {

      // STATE: is completed
2081 2082 2083
      &#progress-step0,
      &#progress-step1,
      &#progress-step2 {
2084
        border-bottom: ($baseline/5) solid $verified-color-lvl3;
2085 2086

        .wrapper-step-number {
2087
          border-color: $verified-color-lvl3;
2088 2089
        }

2090 2091
        .step-number,
        .step-name {
2092 2093 2094 2095 2096 2097 2098
          color: $m-gray-l3;
        }
      }

      // STATE: is current
      &#progress-step3 {
        border-bottom: ($baseline/5) solid $m-blue-d1;
2099
        opacity: 1;
2100 2101 2102 2103 2104

        .wrapper-step-number {
          border-color: $m-blue-d1;
        }

2105 2106
        .step-number,
        .step-name {
2107 2108 2109 2110 2111
          color: $m-gray-d3;
        }
      }
    }

2112 2113
    // progress indicator
    .progress-sts-value {
2114
      width: 55%;
2115
    }
2116
  }
2117

2118
  // VIEW: confirmation/receipt
2119
  &.step-confirmation {
2120 2121 2122 2123
    .help-item-technical {
      display: none;
    }

2124 2125 2126 2127
    // progress nav
    .progress .progress-step {

      // STATE: is completed
2128 2129 2130 2131 2132
      &#progress-step0,
      &#progress-step1,
      &#progress-step2,
      &#progress-step3,
      &#progress-step4 {
2133
        border-bottom: ($baseline/5) solid $verified-color-lvl3;
2134 2135

        .wrapper-step-number {
2136
          border-color: $verified-color-lvl3;
2137 2138
        }

2139 2140
        .step-number,
        .step-name {
2141 2142 2143 2144 2145 2146 2147
          color: $m-gray-l3;
        }
      }

      // STATE: is current
      &#progress-step5 {
        border-bottom: ($baseline/5) solid $m-blue-d1;
2148
        opacity: 1;
2149 2150 2151 2152 2153

        .wrapper-step-number {
          border-color: $m-blue-d1;
        }

2154 2155
        .step-number,
        .step-name {
2156 2157 2158 2159 2160
          color: $m-gray-d3;
        }
      }
    }

2161 2162 2163
    // progress indicator
    .progress-sts-value {
      width: 100%;
2164
    }
2165

2166 2167 2168 2169 2170 2171
    // information elements
    .list-info {
      .info-item {
        margin-bottom: ($baseline*1.5);
        border-bottom: ($baseline/4) solid $m-gray-l4;
        padding-bottom: ($baseline*1.5);
2172

2173 2174 2175
        &:last-child {
          margin-bottom: 0;
          border-bottom: none;
2176
          padding-bottom: 0;
2177 2178
        }

2179
        > .title {
2180
          @extend %hd-lv3;
2181

2182
          margin-bottom: $baseline;
2183
        }
2184

2185
        .copy {
2186
          @extend %copy-base;
2187

2188 2189 2190 2191
          margin-bottom: $baseline;
        }
      }
    }
2192

2193 2194 2195 2196
    // information - course
    .course-info {
      .options {
        .action-course {
2197
          @extend %btn-primary-blue;
2198

2199
          @include font-size(14);
2200

2201
          padding: 5px 10px;
2202
        }
2203
      }
2204

2205 2206
      .course-actions {
        .action-dashboard {
2207
          @extend %btn-primary-blue;
2208 2209 2210
        }
      }
    }
2211

2212 2213
    .instruction {
      display: inline-block;
2214
      width: flex-grid(8, 12);
2215 2216 2217 2218 2219
      vertical-align: top;
    }

    .actions-next {
      display: inline-block;
2220
      width: flex-grid(4, 12);
2221 2222 2223 2224 2225 2226
      vertical-align: top;
      margin-top: $baseline;
    }

    .nav-item {
      display: block;
2227

2228
      @include margin(0, 0, $baseline, 0);
2229

2230
      text-align: center;
2231

2232
      &.conditional::after {
2233 2234 2235 2236 2237
        content: "or";
        display: block;
        margin: $baseline 0;
      }
    }
2238 2239 2240 2241 2242
  }

  .reverify-success-step {
    .title {
      @extend %t-title4;
2243

2244 2245 2246
      text-align: left;
      text-transform: none;
    }
2247

2248 2249 2250
    .wrapper-actions {
      margin-top: 20px;
    }
2251 2252
  }
}
2253

2254 2255 2256 2257 2258
.reverify-blocked {
  @include padding(($baseline*1.5), ($baseline*1.5), ($baseline*2), ($baseline*1.5));

  .title {
    @extend %t-title4;
2259

2260 2261 2262 2263 2264 2265 2266 2267 2268
    text-align: left;
    text-transform: none;
  }

  .wrapper-actions {
    margin-top: 20px;
  }

  .action-primary {
2269
    @extend %btn-primary-blue;
2270 2271
  }
}
2272

2273 2274 2275
//reverify notification special styles
.msg-reverify {
  .reverify-list {
2276
    margin: ($baseline/4) 0;
2277
  }
2278
}
2279

2280 2281 2282 2283 2284 2285 2286 2287 2288 2289
.facephoto.view {
  .wrapper-task {
    #facecam {
      float: left;
    }

    .wrapper-help {
      float: right;
    }
  }
2290 2291
}

2292
// ====================
2293 2294 2295 2296

// STATE: already verified
.register.is-verified {
  .nav-wizard .price-value {
2297
    @extend %t-weight4;
2298

2299
    @include font-size(16);
2300

2301 2302 2303 2304
    margin-top: 18px;
    color: $m-blue-d1;
  }

2305 2306 2307 2308
  .title {
    font-weight: 400;
  }

2309 2310 2311 2312
  // progress nav
  .progress .progress-step {

    // STATE: is completed
2313
    &#progress-step1 {
2314
      border-bottom: ($baseline/5) solid $verified-color-lvl3;
2315 2316

      .wrapper-step-number {
2317
        border-color: $verified-color-lvl3;
2318 2319
      }

2320 2321
      .step-number,
      .step-name {
2322 2323 2324 2325 2326 2327 2328
        color: $m-gray-l3;
      }
    }

    // STATE: is current
    &#progress-step2 {
      border-bottom: ($baseline/5) solid $m-blue-d1;
2329
      opacity: 1;
2330 2331 2332 2333 2334

      .wrapper-step-number {
        border-color: $m-blue-d1;
      }

2335 2336
      .step-number,
      .step-name {
2337 2338 2339 2340 2341 2342 2343
        color: $m-gray-d3;
      }
    }
  }

  // progress indicator
  .progress-sts {
2344
    width: 75%;
2345

2346
    @include left(13%);
2347 2348 2349 2350 2351 2352
  }

  .progress-sts-value {
    width: 32% !important;
  }
}
2353

2354 2355
// ====================

2356 2357 2358
// STATE: upgrading registration type
.register.is-upgrading {
  .form-register-choose {
2359
    margin-top: ($baseline*2) !important;
2360 2361
  }
}
2362 2363 2364

// STATE: re-verifying
.register.is-not-verified {
2365 2366 2367 2368
  .help-item-emphasis {
    color: $m-pink;
  }

2369 2370 2371
  // progress indicator
  .progress-sts {
    width: 72%;
2372

2373
    @include left(15%);
2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384
  }

  // VIEW: photo
  &.step-photos {

    // progress nav
    .progress .progress-step {

      // STATE: is current
      &#progress-step1 {
        border-bottom: ($baseline/5) solid $m-blue-d1;
2385
        opacity: 1;
2386 2387 2388 2389 2390

        .wrapper-step-number {
          border-color: $m-blue-d1;
        }

2391 2392
        .step-number,
        .step-name {
2393 2394 2395 2396 2397 2398
          color: $m-gray-d3;
        }
      }
    }

    .progress-sts-value {
2399
      width: 0 !important;
2400 2401 2402 2403 2404 2405 2406 2407 2408 2409
    }
  }

  // VIEW: ID
  &.step-photos-id {

    // progress nav
    .progress .progress-step {

      // STATE: is completed
2410
      &#progress-step1 {
2411 2412 2413 2414 2415 2416
        border-bottom: ($baseline/5) solid $verified-color-lvl3;

        .wrapper-step-number {
          border-color: $verified-color-lvl3;
        }

2417 2418
        .step-number,
        .step-name {
2419 2420 2421 2422 2423 2424 2425
          color: $m-gray-l3;
        }
      }

      // STATE: is current
      &#progress-step2 {
        border-bottom: ($baseline/5) solid $m-blue-d1;
2426
        opacity: 1;
2427 2428 2429 2430 2431

        .wrapper-step-number {
          border-color: $m-blue-d1;
        }

2432 2433
        .step-number,
        .step-name {
2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450
          color: $m-gray-d3;
        }
      }
    }

    .progress-sts-value {
      width: 40% !important;
    }
  }

  // VIEW: REVIEW
  &.step-review {

    // progress nav
    .progress .progress-step {

      // STATE: is completed
2451
      &#progress-step1, &#progress-step2 {
2452 2453 2454 2455 2456 2457
        border-bottom: ($baseline/5) solid $verified-color-lvl3;

        .wrapper-step-number {
          border-color: $verified-color-lvl3;
        }

2458 2459
        .step-number,
        .step-name {
2460 2461 2462 2463 2464 2465 2466
          color: $m-gray-l3;
        }
      }

      // STATE: is current
      &#progress-step3 {
        border-bottom: ($baseline/5) solid $m-blue-d1;
2467
        opacity: 1;
2468 2469 2470 2471 2472

        .wrapper-step-number {
          border-color: $m-blue-d1;
        }

2473 2474
        .step-number,
        .step-name {
2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492
          color: $m-gray-d3;
        }
      }
    }

    .progress-sts-value {
      width: 70% !important;
    }
  }

  &.step-confirmation {
    .content-confirmation {
      margin-bottom: ($baseline*2);
    }

    .view {
      .title {
        @extend %hd-lv2;
2493

2494 2495 2496 2497 2498
        color: $m-blue-d1;
      }

      .instruction {
        @extend %t-copy-lead1;
2499

2500 2501 2502 2503 2504
        margin-bottom: $baseline;
      }
    }
  }
}