_index.scss 7.51 KB
Newer Older
1 2
// how it works/not signed in index
.index {
3

4 5 6 7 8 9 10
  &.not-signedin {

    .wrapper-header {
      margin-bottom: 0;
    }

    .wrapper-footer {
11 12
      margin: 0;
      border-top: 2px solid $gray-l3;
13

14 15 16 17 18 19 20 21
      footer.primary {
        border: none;
        margin-top: 0;
        padding-top: 0;
      }
    }

    .wrapper-content-header, .wrapper-content-features, .wrapper-content-cta {
22
      @include box-sizing(border-box);
23 24 25 26 27 28 29
      margin: 0;
      padding: 0 $baseline;
      position: relative;
      width: 100%;
    }

    .content {
30
      @include clearfix();
31 32 33 34 35 36 37 38
      @include font-size(16);
      max-width: $fg-max-width;
      min-width: $fg-min-width;
      width: flex-grid(12);
      margin: 0 auto;
      color: $gray-d2;
    
      header {
39 40 41
        border: none;
        padding-bottom: 0;
        margin-bottom: 0;
42 43
      }

44 45 46 47
      h1, h2, h3, h4, h5, h6 {
        color: $gray-d3;
      }

48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
      h2 {

      }

      h3 {

      }

      h4 {

      }
    }

    // welcome content
    .wrapper-content-header {
63
      @include linear-gradient($blue-l1,$blue,$blue-d1);
64 65
      padding-bottom: ($baseline*4);
      padding-top: ($baseline*4);
66 67 68
    }

    .content-header {
69
      position: relative;
70 71
      text-align: center;
      color: $white;
72 73

      h1 {
74 75 76 77 78
        @include font-size(52);
        float: none;
        margin: 0 0 ($baseline/2) 0;
        border-bottom: 1px solid $blue-l1;
        padding: 0;
79
        font-weight: 500;
80
        color: $white;
81 82
      }

83 84 85 86 87 88 89 90 91 92 93
      .logo {
        @include text-hide();
        position: relative;
        top: 3px;
        display: inline-block;
        vertical-align: baseline;
        width: 282px;
        height: 57px;
        background: transparent url('../img/logo-edx-studio-white.png') 0 0 no-repeat;
      }

94 95 96
      .tagline {
        @include font-size(24);
        margin: 0;
97
        color: $blue-l3;
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 123 124 125 126 127 128 129 130
    .arrow_box {
      position: relative;
      background: #fff;
      border: 4px solid #000;
    }
    .arrow_box:after, .arrow_box:before {
      top: 100%;
      border: solid transparent;
      content: " ";
      height: 0;
      width: 0;
      position: absolute;
      pointer-events: none;
    }

    .arrow_box:after {
      border-color: rgba(255, 255, 255, 0);
      border-top-color: #fff;
      border-width: 30px;
      left: 50%;
      margin-left: -30px;
    }
    .arrow_box:before {
      border-color: rgba(0, 0, 0, 0);
      border-top-color: #000;
      border-width: 36px;
      left: 50%;
      margin-left: -36px;
    }

131 132
    // feature content
    .wrapper-content-features {
133
      @include box-shadow(0 -1px ($baseline/4) $shadow);
134
      padding-bottom: ($baseline*2);
135
      padding-top: ($baseline*3);
136 137
      background: $white;
    }
138

139
    .content-features {
140

141 142 143 144 145 146 147 148 149 150
      .list-features {

      }

      // indiv features
      .feature {
        @include clearfix();
        margin: 0 0 ($baseline*2) 0;
        border-bottom: 1px solid $gray-l4;
        padding: 0 0 ($baseline*2) 0;
151

152
        .img {
153
          @include box-sizing(border-box);
154 155 156 157
          float: left;
          width: flex-grid(3, 12);
          margin-right: flex-gutter();

158
          a {
159 160 161 162
            @include box-sizing(border-box);
            @include box-shadow(0 1px ($baseline/10) $shadow-l1);
            position: relative;
            top: 0;
163
            display: block;
164
            overflow: hidden;
165 166 167 168 169
            border: 1px solid $gray-l3;
            padding: ($baseline/4);
            background: $white;

            .action-zoom {
170
              @include transition(bottom .50s ease-in-out);
171
              position: absolute;
172 173 174
              bottom: -30px;
              right: ($baseline/2);
              opacity: 0;
175 176

              .ss-icon {
177
                @include font-size(18);
178
                @include border-top-radius(3px);
179
                display: inline-block;
180
                padding: ($baseline/4) ($baseline/2);
181 182 183 184 185 186 187 188 189 190
                background: $blue;
                color: $white;
                text-align: center;
              }
            }

            &:hover {
              border-color: $blue;

              .action-zoom {
191 192
                opacity: 1.0;
                bottom: -2px;
193 194
              }
            }
195 196
          }

197 198 199 200 201 202 203 204 205
          img {
            display: block;
            width: 100%;
            height: 100%;
          }
        }

        .copy {
          float: left;
206
          width: flex-grid(9, 12);
207 208 209
          margin-top: -($baseline/4);

          h3 {
210
            margin: 0 0 ($baseline/2) 0;
211 212 213 214 215 216
            @include font-size(24);
            font-weight: 600;
          }

          > p {
            @include font-size(18);
217 218 219 220
            color: $gray-d1;
          }

          strong {
221
            color: $gray-d2;
222
            font-weight: 500;
223 224 225 226 227
          }

          .list-proofpoints {
            @include clearfix();
            @include font-size(14);
228
            width: flex-grid(9, 9);
229 230 231
            margin: ($baseline*1.5) 0 0 0;

            .proofpoint {
232 233
              @include box-sizing(border-box);
              @include border-radius(($baseline/4));
234
              @include transition(color .50s ease-in-out);
235 236
              position: relative;
              top: 0;
237
              float: left;
238
              width: flex-grid(3, 9);
239
              min-height: ($baseline*8);
240
              margin-right: flex-gutter();
241
              padding: ($baseline*0.75) $baseline;
242
              color: $gray-l1;
243 244 245 246

              .title {
                @include font-size(16);
                margin: 0 0 ($baseline/4) 0;
247
                font-weight: 500;
248 249 250 251
                color: $gray-d3;
              }

              &:hover {
252
                @include box-shadow(0 1px ($baseline/10) $shadow-l1);
253
                background: $blue-l5;
254 255
                top: -($baseline/5);

256
                .title {
257
                  color: $blue;
258
                }
259 260 261 262
              }

              &:last-child {
                margin-right: 0;
263 264 265 266 267
              }
            }
          }
        }

268 269 270 271 272 273 274

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

275 276 277 278 279 280 281 282 283 284 285
        &:nth-child(even) {

          .img {
            float: right;
            margin-right: 0;
            margin-left: flex-gutter();
          }

          .copy {
            float: right;
            text-align: right;
286 287
          }

288 289 290 291 292 293 294 295 296 297 298 299 300
          .list-proofpoints {

            .proofpoint {
              float: right;
              width: flex-grid(3, 9);
              margin-left: flex-gutter();
              margin-right: 0;

              &:last-child {
                margin-left: 0;
              }
            }
          }
301 302 303 304 305 306 307 308 309 310 311 312
        }
      }
    }

    // call to action content
    .wrapper-content-cta {
      padding-bottom: ($baseline*2);
      padding-top: ($baseline*2);
      background: $white;
    }

    .content-cta {
313 314
      border-top: 1px solid $gray-l4;

315 316 317 318 319
      header {
        border: none;
        margin: 0;
        padding: 0;
      }
320 321

      .list-actions {
322 323
        position: relative;
        margin-top: -($baseline*1.5);
324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348

        li {
          width: flex-grid(6, 12); 
          margin: 0 auto;
        }

        .action {
          display: block;
          width: 100%;
          text-align: center;
        }

        .action-primary {
          @include blue-button;
          @include transition(all .15s);
          @include font-size(18);
          padding: ($baseline*0.75) ($baseline/2);
          font-weight: 600;
          text-align: center;
          text-transform: uppercase;
        }

        .action-secondary {
          @include font-size(14);
          margin-top: ($baseline/2);
349 350 351 352
        }
      }
    }
  }
353
}