_export.scss 3.11 KB
Newer Older
1 2 3
// studio - views - course export
// ====================

4
.view-export {
5

6 7 8 9 10 11
  // UI: basic layout
  .content-primary, .content-supplementary {
    @include box-sizing(border-box);
  }

  .content-primary {
12
    @extend .ui-col-wide;
13 14 15
  }

  .content-supplementary {
16
    @extend .ui-col-narrow;
17 18 19 20 21 22 23 24 25 26 27 28 29 30
  }


  // UI: introduction
  .introduction {

    .title {
      @extend %cont-text-sr;
    }
  }

  // UI: export controls
  .export-controls {
    @include box-sizing(border-box);
31
    @extend %ui-window;
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 76 77 78 79 80 81 82 83 84 85 86
    padding: $baseline ($baseline*1.5) ($baseline*1.5) ($baseline*1.5);

    .title {
      @extend %t-title4;
    }

    .action-export {
      @extend %btn-primary-blue;
      @extend %t-action1;
      display: block;
      margin: $baseline 0;
      padding: ($baseline*0.75) $baseline;
    }

    .action {

      [class^="icon"] {
        @extend %t-icon2;
        display: inline-block;
        vertical-align: middle;
        margin-right: ($baseline/4);
      }

      .copy {
        display: inline-block;
        vertical-align: middle;
      }
    }
  }


  // UI: export rules
  .export-contents {
    @include clearfix();
    margin: ($baseline*2) 0;

    .export-includes, .export-excludes {
      width: flex-grid(4,9);

      .item-detail {
        @extend %t-copy-sub1;
        @extend %wipe-last-child;
        padding-bottom: ($baseline/4);
        border-bottom: 1px solid $gray-l4;
        margin-bottom: ($baseline/4);
      }
    }

    .export-includes {
      float: left;
    }

    .export-excludes {
      float: right;
    }
87 88
  }

89
  // OLD
90
  .description {
91
    @extend %t-copy-sub1;
92 93 94 95 96
    float: left;
    width: 62%;
    margin-right: 3%;

    h2 {
97
      @extend %t-title5;
98
      @extend %t-strong;
99 100 101 102
      margin-bottom: 20px;
    }

    strong {
103
      @extend %t-strong;
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
    }

    p + p {
      margin-top: 20px;
    }

    ul {
      margin: 20px 0;
      list-style: disc inside;

      li {
        margin: 0 0 5px 0;
      }
    }
  }

  .export-form-wrapper {
121

122 123 124 125 126 127 128 129 130 131 132
    .export-form {
      float: left;
      width: 35%;
      padding: 25px 30px 35px;
      @include box-sizing(border-box);
      border: 1px solid $mediumGrey;
      border-radius: 3px;
      background: $lightGrey;
      text-align: center;

      h2 {
133
        @extend %t-title4;
134
        @extend %t-light;
135 136 137 138
        margin-bottom: 30px;
      }

      .error-block {
139
        @extend %t-copy-sub1;
140 141 142 143 144 145 146 147 148
        display: none;
        margin-bottom: 15px;
      }

      .error-block {
        color: $error-red;
      }

      .button-export {
149
        @include green-button();
150
        @extend %t-action1;
151 152 153 154
        padding: 10px 50px 11px;
      }

      .message-status {
155
        @extend %t-copy-sub2;
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
        margin-top: 10px;
      }

      .progress-bar {
        display: none;
        width: 350px;
        height: 30px;
        margin: 30px auto 10px;
        border: 1px solid $blue;

        &.loaded {
          border-color: #66b93d;

          .progress-fill {
            background: #66b93d;
          }
        }
      }

      .progress-fill {
        width: 0%;
        height: 30px;
        background: $blue;
        color: #fff;
        line-height: 48px;
      }
    }
  }
184
}