_index.scss 7.18 KB
Newer Older
1 2 3
// studio - views - how it works
// ====================

4
.view-howitworks {
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

  &.not-signedin {

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

    .wrapper-content-header, .wrapper-content-features, .wrapper-content-cta {
      @include box-sizing(border-box);
      margin: 0;
      padding: 0 $baseline;
      position: relative;
      width: 100%;
    }

    .content {
21
      @extend %t-copy-base;
22 23 24 25 26 27
      @include clearfix();
      max-width: $fg-max-width;
      min-width: $fg-min-width;
      width: flex-grid(12);
      margin: 0 auto;
      color: $gray-d2;
Brian Talbot committed
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
      header {
        border: none;
        padding-bottom: 0;
        margin-bottom: 0;
      }

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

      h2 {

      }

      h3 {

      }

      h4 {

      }
    }

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

    .content-header {
      position: relative;
      text-align: center;
      color: $white;

      h1 {
65
        @extend %t-title2;
66 67 68 69 70 71 72 73
        float: none;
        margin: 0 0 ($baseline/2) 0;
        border-bottom: 1px solid $blue-l1;
        padding: 0;
        font-weight: 500;
        color: $white;
      }

74 75 76 77
      .wrapper-text-welcome, .logo {
        display: inline-block;
      }

78
      .logo {
79
        font-weight: 600;
80
        margin-left: ($baseline/2);
81 82 83
      }

      .tagline {
84
        @extend %t-title4;
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
        margin: 0;
        color: $blue-l3;
      }
    }

    .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;
    }

    // feature content
    .wrapper-content-features {
122
      box-shadow: 0 -1px ($baseline/4) $shadow;
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
      padding-bottom: ($baseline*2);
      padding-top: ($baseline*3);
      background: $white;
    }

    .content-features {

      .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;

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

          a {
            @include box-sizing(border-box);
149
            box-shadow: 0 1px ($baseline/10) $shadow-l1;
150 151 152 153 154 155 156 157 158
            position: relative;
            top: 0;
            display: block;
            overflow: hidden;
            border: 1px solid $gray-l3;
            padding: ($baseline/4);
            background: $white;

            .action-zoom {
159
              @include transition(bottom $tmg-f2 ease-in-out 0s);
160 161 162
              position: absolute;
              bottom: -30px;
              right: ($baseline/2);
163
              opacity: 0.0;
164

165
              [class^="icon-"] {
166 167 168
                @include font-size(18);
                @include border-top-radius(3px);
                display: inline-block;
169
                padding: ($baseline/2);
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
                background: $blue;
                color: $white;
                text-align: center;
              }
            }

            &:hover {
              border-color: $blue;

              .action-zoom {
                opacity: 1.0;
                bottom: -2px;
              }
            }
          }

          img {
            display: block;
            width: 100%;
189
            height: auto;
190 191 192 193 194 195 196 197 198
          }
        }

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

          h3 {
199
            @extend %t-title4;
200 201 202 203 204
            margin: 0 0 ($baseline/2) 0;
            font-weight: 600;
          }

          > p {
205
            @extend %t-copy-lead1;
206 207 208 209 210 211 212 213 214
            color: $gray-d1;
          }

          strong {
            color: $gray-d2;
            font-weight: 500;
          }

          .list-proofpoints {
215
            @extend %t-copy-sub1;
216 217 218 219 220 221
            @include clearfix();
            width: flex-grid(9, 9);
            margin: ($baseline*1.5) 0 0 0;

            .proofpoint {
              @include box-sizing(border-box);
222
              @include transition(all $tmg-f2 ease-in-out 0s);
223
              border-radius: ($baseline/4);
224 225 226 227 228 229 230 231 232 233
              position: relative;
              top: 0;
              float: left;
              width: flex-grid(3, 9);
              min-height: ($baseline*8);
              margin-right: flex-gutter();
              padding: ($baseline*0.75) $baseline;
              color: $gray-l1;

              .title {
234
                @extend %t-copy-base;
235 236 237 238 239 240
                margin: 0 0 ($baseline/4) 0;
                font-weight: 500;
                color: $gray-d3;
              }

              &:hover {
241
                @extend %ui-fake-link;
242
                box-shadow: 0 1px ($baseline/10) $shadow-l1;
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
                background: $blue-l5;
                top: -($baseline/5);

                .title {
                  color: $blue;
                }
              }

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


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

        &:nth-child(even) {

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

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

          .list-proofpoints {

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

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

    // call to action content
    .wrapper-content-cta {
297
      position: relative;
298
      padding: ($baseline*2) 0;
299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315
      background: $white;
    }

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

      header {
        border: none;
        margin: 0;
        padding: 0;
      }

      .list-actions {
        position: relative;
        margin-top: -($baseline*1.5);

        li {
Brian Talbot committed
316
          width: flex-grid(6, 12);
317 318 319 320 321 322 323 324
          margin: 0 auto;
        }

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

Brian Talbot committed
325
          &.action-primary {
326
            @extend %t-action1;
Brian Talbot committed
327 328 329 330 331 332
            @include blue-button;
            padding: ($baseline*0.75) ($baseline/2);
            font-weight: 600;
            text-align: center;
            text-transform: uppercase;
          }
333

Brian Talbot committed
334
          &.action-secondary {
335
            @extend %t-action3;
Brian Talbot committed
336 337
            margin-top: ($baseline/2);
          }
338 339 340 341
        }
      }
    }
  }
Brian Talbot committed
342
}