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

.wrapper-sock {
  @include clearfix();
6

7
  position: relative;
8
  margin: ($baseline*2) 0 0 0;
9
  border-top: 1px solid $gray-l4;
10
  width: 100%;
11

12
  .wrapper-inner {
13
    @include linear-gradient($gray-d3 0%, $gray-d3 98%, $black 100%);
14

15
    @extend %ui-depth0;
16

17 18 19 20 21 22 23
    display: none;
    width: 100% !important;
    border-bottom: 1px solid $white;
    padding: 0 $baseline !important;
  }

  // sock - actions
24
  .list-cta {
25
    @extend %ui-depth1;
26

27 28 29
    position: absolute;
    top: -($baseline*0.75);
    width: 100%;
30 31 32 33
    margin: 0 auto;
    text-align: center;

    .cta-show-sock {
34 35
      @extend %ui-btn-pill;
      @extend %t-action4;
36

37 38
      background: $gray-l5;
      padding: ($baseline/2) $baseline;
39
      color: $gray-d2;
40

41
      .icon {
42
        @extend %t-icon6;
43

44
        @include margin-right($baseline/4);
45 46 47
      }

      &:hover {
48 49
        background: theme-color("primary");
        color: theme-color("inverse");
50 51 52 53 54 55 56
      }
    }
  }

  // sock - additional help
  .sock {
    @include clearfix();
57

58
    @extend %t-copy-sub2;
59

60 61 62 63
    max-width: $fg-max-width;
    min-width: $fg-min-width;
    width: flex-grid(12);
    margin: 0 auto;
64
    padding: ($baseline*2) 0;
65 66 67 68 69
    color: $gray-l3;

    // support body
    header {
      .title {
70
        @extend %t-title4;
71 72 73 74
      }
    }

    // shared elements
75 76
    .support,
    .feedback {
77 78 79
      @include box-sizing(border-box);

      .title {
80
        @extend %t-title6;
81

82
        color: $white;
83
        margin-bottom: ($baseline/2);
84 85 86
      }

      .copy {
87
        @extend %t-copy-sub2;
88

89 90 91 92 93 94 95
        margin: 0 0 $baseline 0;
      }

      .list-actions {
        @include clearfix();

        .action-item {
96 97
          @include float(left);
          @include margin-right($baseline/2);
98

99
          margin-bottom: ($baseline/2);
100 101

          &:last-child {
102
            @include margin-right(0);
103 104 105
          }

          .action {
106
            @extend %t-action4;
107

108 109
            display: block;

110
            .icon {
111
              @extend %t-icon4;
112

113
              vertical-align: middle;
114

115
              @include margin-right($baseline/4);
116 117 118 119
            }
          }

          .tip {
120
            @extend %cont-text-sr;
121 122 123 124
          }
        }

        .action-primary {
125 126
          @extend %btn-primary-blue;
          @extend %t-action3;
127 128 129 130 131 132
        }
      }
    }

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

      .action-item {
138
        width: flexgrid(4, 8);
139 140 141 142 143
      }
    }

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

      .action-item {
148
        width: flexgrid(4, 4);
149 150 151 152
      }
    }
  }

153 154 155
  // case: sock content is shown
  &.is-shown {
    border-color: $gray-d3;
156

157 158 159 160
    .list-cta .cta-show-sock {
      background: $gray-d3;
      border-color: $gray-d3;
      color: $white;
161 162
    }
  }
Brian Talbot committed
163
}