_extends.scss 3.09 KB
Newer Older
1 2
h1.top-header {
  border-bottom: 1px solid #e3e3e3;
3
  text-align: left;
4
  font-size: em(24);
5 6
  font-weight: 100;
  padding-bottom: lh();
7
}
8

Kyle Fiedler committed
9
.button-reset {
10 11
  text-transform: none;
  letter-spacing: 0;
12

Kyle Fiedler committed
13
  &:hover {
14 15 16 17
    text-decoration: none;
  }
}

Kyle Fiedler committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
.light-button, a.light-button, // only used in askbot as classes
.gray-button {
  @include button(simple, #eee);
  @extend .button-reset;
  font-size: em(13);
}

.blue-button {
  @include button(simple, $blue);
  @extend .button-reset;
  font-size: em(13);
}

.pink-button {
  @include button(simple, $pink);
  @extend .button-reset;
  font-size: em(13);
}

37
.content {
38
  @include box-sizing(border-box);
39
  display: table-cell;
40
  padding: 2em 2.5em;
41
  vertical-align: top;
42
  width: flex-grid(9) + flex-gutter();
Kyle Fiedler committed
43 44 45 46

  @media print {
    @include box-shadow(none);
  }
47 48 49
}

.sidebar {
50
  @include box-sizing(border-box);
51
  display: table-cell;
52
  font-family: $sans-serif;
53
  font-size: 14px;
54
  position: relative;
55
  vertical-align: top;
56
  width: flex-grid(3);
57
  background: $sidebar-color;
58

59
  h1, h2 {
60
   font-size: em(20);
61
   font-weight: bold;
62
   letter-spacing: 0;
63
   text-transform: none;
64
   font-family: $sans-serif;
65
   text-align: left;
66
   font-style: normal;
67 68
  }

69 70 71 72 73
  h1 {
    font-size: 18px;
    padding: 32px 26px 20px 26px;
  }

74 75
  a {
    border: none;
76
    font-style: normal;
77 78
  }

79
  .bottom-border {
80
    border-bottom: 1px solid $border-color;
81
  }
82

Kyle Fiedler committed
83 84 85 86
  @media print {
    display: none;
  }

87
  h3 {
88
    background: none;
89
    border: none;
90 91 92 93
    color: #000;
    font-weight: normal;
    margin: 0;
    overflow: hidden;
94
    font-size: 1em;
95 96 97 98

    a {
      display: block;
      text-decoration: none;
99
      @include transition();
100 101 102
    }

    &.active {
103
      // @extend .bottom-border;
104 105 106 107 108 109 110 111
      color: #000;
      font-weight: bold;

      a {
        color: #000;
      }
    }
  }
112

113 114 115 116 117 118
  ul, ol {
    list-style: none;
    margin: 0;
    padding-left: 0;

    li {
119
      // @extend .bottom-border;
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
      @extend .clearfix;
      background: none;
      position: relative;
      padding: 0;

      a {
        display: block;
        line-height: lh();
        font-size: 1em;
        @include box-sizing(border-box);
        padding: lh(.25) lh(.5) lh(.25) 0;

        &:hover {
          color: #666;
          background: #f6f6f6;
        }
      }
    }
  }

140 141 142 143
  header#open_close_accordion {
    position: relative;

    a {
144
      background: #f6f6f6 url('../images/slide-left-icon.png') center center no-repeat;
145 146
      border: 1px solid #D3D3D3;
      @include border-radius(3px 0 0 3px);
147
      height: 16px;
148
      padding: 6px;
149
      position: absolute;
150
      right: -1px;
151
      text-indent: -9999px;
152
      top: 12px;
153
      width: 16px;
154
      z-index: 99;
155 156 157 158 159 160 161

      &:hover {
        background-color: white;
      }
    }
  }

162 163 164
  a.button {
    text-decoration: none;
  }
165 166 167
}

.topbar {
168
  @extend .clearfix;
169
  border-bottom: 1px solid $border-color;
170

Kyle Fiedler committed
171 172 173 174
  @media print {
    display: none;
  }

175
  a {
176
    &.block-link {
177
      border-left: 1px solid lighten($border-color, 10%);
178
      display: block;
179 180 181 182

      &:hover {
        background: none;
      }
183 184 185
    }
  }
}
186 187 188 189

.tran {
  @include transition( all, .2s, $ease-in-out-quad);
}
190