_course-create.scss 2.06 KB
Newer Older
Mathew Peterson committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
// studio - views - course creation page
// ====================

.view-course-create {

  // basic layout
  // --------------------
  .content-primary, .content-supplementary {
    @include box-sizing(border-box);
    float: left;
  }

  .content-primary {
    width: flex-grid(9, 12);
    margin-right: flex-gutter();
  }

  .content-supplementary {
    width: flex-grid(3, 12);
  }

  //

  // header/masthead
  // --------------------
  .mast .page-header-super {

    .course-original-title-id, .course-original-title {
      display: block;
    }

    .course-original-title-id {
      @extend %t-title5;
    }
  }


  // course re-run form
  // --------------------
  .rerun-course {

    .row {
      @include clearfix();
      margin-bottom: ($baseline*0.75);
    }

    .column {
      float: left;
      width: 48%;
    }

    .column:first-child {
      margin-right: 4%;
    }

    label {
      @extend %t-title7;
      display: block;
      font-weight: 700;
    }

    .rerun-course-org,
    .rerun-course-number,
    .rerun-course-name,
    .rerun-course-run {
      width: 100%;
    }

    .rerun-course-name {
      @extend %t-title5;
      font-weight: 300;
    }

    .rerun-course-save {
      @include blue-button;
76 77 78 79 80 81

      .icon {
        display: inline-block;
        vertical-align: middle;
        margin-right: ($baseline/4);
      }
Mathew Peterson committed
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
    }

    .rerun-course-cancel {
      @include white-button;
    }

    .item-details {
      padding-bottom: 0;
    }

    .wrap-error {
      @include transition(opacity $tmg-f2 ease 0s);
      opacity: 0;
    }

    .wrap-error.is-shown {
      opacity: 1;
    }

    .message-status {
      display: block;
      margin-bottom: 0;
      padding: ($baseline*.5) ($baseline*1.5) 8px ($baseline*1.5);
      font-weight: bold;
    }

    // NOTE: override for modern button styling until all buttons (in _forms.scss) can be converted
    .actions {

      .action-primary {
        @include blue-button;
        @extend %t-action2;
      }

      .action-secondary {
        @include grey-button;
        @extend %t-action2;
      }
    }
  }
}