_sock.scss 2.82 KB
Newer Older
1 2 3 4 5 6
// studio - elements - support sock
// ====================

.wrapper-sock {
  @include clearfix();
  position: relative;
7
  margin: ($baseline*2) 0 0 0;
8
  border-top: 1px solid $gray-l4;
9
  width: 100%;
10

11
  .wrapper-inner {
12
    @include linear-gradient($gray-d3 0%, $gray-d3 98%, $black 100%);
13
    @extend %ui-depth0;
14 15 16 17 18 19 20
    display: none;
    width: 100% !important;
    border-bottom: 1px solid $white;
    padding: 0 $baseline !important;
  }

  // sock - actions
21
  .list-cta {
22
    @extend %ui-depth1;
23 24 25
    position: absolute;
    top: -($baseline*0.75);
    width: 100%;
26 27 28 29
    margin: 0 auto;
    text-align: center;

    .cta-show-sock {
30 31
      @extend %ui-btn-pill;
      @extend %t-action4;
32 33
      background: $gray-l5;
      padding: ($baseline/2) $baseline;
34
      color: $gray;
35

36
      [class^="icon-"] {
37
        @extend %t-icon6;
38
        @include margin-right($baseline/4);
39 40 41
      }

      &:hover {
42
        background: $blue;
43
        color: $white;
44 45 46 47 48 49 50
      }
    }
  }

  // sock - additional help
  .sock {
    @include clearfix();
51
    @extend %t-copy-sub2;
52 53 54 55
    max-width: $fg-max-width;
    min-width: $fg-min-width;
    width: flex-grid(12);
    margin: 0 auto;
56
    padding: ($baseline*2) 0;
57 58 59 60 61 62
    color: $gray-l3;

    // support body
    header {

      .title {
63
        @extend %t-title4;
64 65 66 67 68 69 70 71 72
      }

    }

    // shared elements
    .support, .feedback {
      @include box-sizing(border-box);

      .title {
73
        @extend %t-title6;
74
        color: $white;
75
        margin-bottom: ($baseline/2);
76 77 78
      }

      .copy {
79
        @extend %t-copy-sub2;
80 81 82 83 84 85 86
        margin: 0 0 $baseline 0;
      }

      .list-actions {
        @include clearfix();

        .action-item {
87 88
          @include float(left);
          @include margin-right($baseline/2);
89 90

          &:last-child {
91
            @include margin-right(0);
92 93 94
          }

          .action {
95
            @extend %t-action4;
96 97
            display: block;

98
            [class^="icon-"] {
99
              @extend %t-icon4;
100
              vertical-align: middle;
101
              @include margin-right($baseline/4);
102

103 104 105 106 107 108 109 110
            }

            &:hover, &:active {

            }
          }

          .tip {
111
            @extend %cont-text-sr;
112 113 114 115
          }
        }

        .action-primary {
116 117
          @extend %btn-primary-blue;
          @extend %t-action3;
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
        }
      }
    }

    // studio support content
    .support {
      width: flex-grid(8,12);
      float: left;
      margin-right: flex-gutter();

      .action-item {
        width: flexgrid(4,8);
      }
    }

    // studio feedback content
    .feedback {
      width: flex-grid(4,12);
      float: left;

      .action-item {
        width: flexgrid(4,4);
      }
    }
  }

144 145 146
  // case: sock content is shown
  &.is-shown {
    border-color: $gray-d3;
147

148 149 150 151
    .list-cta .cta-show-sock {
      background: $gray-d3;
      border-color: $gray-d3;
      color: $white;
152 153
    }
  }
Brian Talbot committed
154
}