common.scss 5.1 KB
Newer Older
1 2 3 4 5 6 7 8
a {
  color: $link_color;
  &:hover { 
    text-decoration:none; 
    color: $style_color;
  }
}

9 10 11 12
.vlink { 
  color: $link_color !important;
}

13 14 15 16
.pills a:hover { 
  background-color:#ccc;
}

17
.pills .active a {
18
  background-color: #aaa;
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
}

.label { 
  background-color: #474D57;
}

.tabs > li > a, .pills > li > a {
  color:$style_color;
}

.diff_file_header a,
.file_stats a {
  color:$style_color;
}

D
Dmitriy Zaporozhets 已提交
34 35 36 37
/** COLORS **/
.cgray { color:gray; }
.cred { color:#D12F19; }
.cgreen { color:#44aa22; }
38
.cblack { color:#111; }
D
Dmitriy Zaporozhets 已提交
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 65 66 67 68 69 70 71 72 73 74 75 76

/** COMMON STYLES **/
.left {
  float:left;
}
.right {
  float:right;
}
.width-50p{
  width:50%;
}
.width-49p{
  width:49%;
}
.width-30p{
  width:30%;
}
.width-65p{
  width:65%;
}
.width-100p{
  width:100%;
}
.append-bottom-10 {
  margin-bottom:10px;
}
.append-bottom-20 {
  margin-bottom:20px;
}
.prepend-top-10 {
  margin-top:10px;
}
.no-borders { 
  border:none;
}
.no-padding { 
  padding:0 !important;
}
77 78 79
.underlined { 
  border-bottom: 1px solid $border_color;
}
D
Dmitriy Zaporozhets 已提交
80

81
/** LAYOUT **/
D
Dmitriy Zaporozhets 已提交
82

83 84
.container { 
  width:$min_app_width;
85 86
  margin-top:50px;
  padding:$app_padding;
87 88
}

89
.container  .sidebar { 
90
  width: 220px;
91
  height:100%;
92
  min-height:450px;
93 94
  float:right;
}
95

96 97 98 99
nav.main_menu { 
  border-radius: 4px;
  width: 100%;
  margin: auto;
D
Dmitriy Zaporozhets 已提交
100 101 102 103 104 105 106 107
  margin-top:30px;
  margin-bottom:30px;
  background:#f1f1f1;
  border:1px solid #ccc;
  height:38px;

  background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #f1f1f1), to(#dfdfdf));
  background-image: -webkit-linear-gradient(#f1f1f1 6.6%, #dfdfdf);
108 109
  background-image: -moz-linear-gradient(#f1f1f1 6.6%, #dfdfdf);
  background-image: -o-linear-gradient(#f1f1f1 6.6%, #dfdfdf);
D
Dmitriy Zaporozhets 已提交
110

111 112 113 114 115

  .label { 
    background:$hover;
    text-shadow:none;
    color:$style_color;
116 117
  }

118 119
  a { 

120
    font-weight:bold;
121 122 123 124 125 126 127 128 129 130
    &:first-child{ 
      -webkit-border-top-left-radius: 4px;
      -webkit-border-bottom-left-radius: 4px;
      -moz-border-radius-topleft: 4px;
      -moz-border-radius-bottomleft: 4px;
      border-top-left-radius: 4px;
      border-bottom-left-radius: 4px;
    }
    padding: 10px 25px;
    display: inline-block;
D
Dmitriy Zaporozhets 已提交
131 132
    color: $style_color;
    border-right: 1px solid #ccc;
133 134 135
    position: relative;
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.1);
    margin: 0;
D
Dmitriy Zaporozhets 已提交
136 137
    float:left;
    text-shadow:0 1px 1px white;
138 139 140 141 142 143 144 145 146

    &.home { 
      padding:7px 35px;

      img { 
        position:relative;
        top:4px;
      }
    }
147
    &.current { 
D
Dmitriy Zaporozhets 已提交
148
      background:#DDD;
149
    }
150
  }
D
Dmitriy Zaporozhets 已提交
151 152
}

D
Dmitriy Zaporozhets 已提交
153 154 155
aside.projects,
aside.project-side
{ 
156 157 158 159 160 161
  margin-left: 0;
  padding-left: 20px;
}

img.avatar { 
  float:left;
D
Dmitriy Zaporozhets 已提交
162 163 164 165 166
  margin-right:15px;
  width:40px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
167 168
}

169 170 171 172 173 174
img.lil_av { 
  padding-left: 5px;
  position: relative;
  top: 3px;
}

D
Dmitriy Zaporozhets 已提交
175 176 177 178 179 180 181 182 183
.media-grid { 
  h3, h2 , h4 {
    &.media_h { 
      padding-left:10px;
      float:left;
    }
  }
}

D
Dmitriy Zaporozhets 已提交
184 185
.wll { 
  background-color: #FFF;
186
  padding: 10px 5px;
D
Dmitriy Zaporozhets 已提交
187 188 189
  min-height: 20px;
  border-bottom: 1px solid #eee;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
190 191 192 193
  cursor:pointer;
  &:hover { 
    background:$hover;
  }
D
Dmitriy Zaporozhets 已提交
194
  &:last-child { border:none }
195 196 197
  p { padding-top:5px; margin:0; color:$style_color;}
  .author { color: #999; }
  p { 
198
    color:#222;
199 200 201 202 203 204
    margin-bottom: 0;
    img { 
      position:relative;
      top:3px;
    }
  }
D
Dmitriy Zaporozhets 已提交
205 206
}

207
.visible_link,
D
Dmitriy Zaporozhets 已提交
208
.author_link { 
209
  color: $link_color;
D
Dmitriy Zaporozhets 已提交
210
}
D
Dmitriy Zaporozhets 已提交
211 212 213 214 215 216 217 218 219 220 221 222 223
.entry { 
  position: relative;
  padding: 7px 15px;
  margin-bottom: 18px;
  color: #404040;
  filter:none;

  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
D
Dmitriy Zaporozhets 已提交
224

D
Dmitriy Zaporozhets 已提交
225 226 227
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
228

D
Dmitriy Zaporozhets 已提交
229 230 231
  background:#F1F1F1;
  border: 1px solid #ccc;

232

D
Dmitriy Zaporozhets 已提交
233
  p { 
234
    color:$style_color;
D
Dmitriy Zaporozhets 已提交
235 236 237 238 239 240 241 242 243 244 245
    margin-bottom: 0;
    img { 
      position:relative;
      top:3px;
    }
  }
}

.widget { 
  padding:20px;
  margin-bottom:20px;
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
  background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #fff), to(#f1f1f1));
  background-image: -webkit-linear-gradient(#fff 6.6%, #f1f1f1);
  background-image: -moz-linear-gradient(#fff 6.6%, #f1f1f1);
  background-image: -o-linear-gradient(#fff 6.6%, #f1f1f1);
  border: 1px solid #DDD;
  border-radius: 5px;

  .link_holder { 
    background:#eee;
    position:relative;
    left:-20px;
    top:20px;
    padding:10px 20px;
    width:100%;
    border-top:1px solid #ccc;

    a { 
      font-size:14px;
      color:#666;
    }
  }
D
Dmitriy Zaporozhets 已提交
267
}
268

269 270 271 272 273 274

.ui-box { 
  margin-bottom: 40px;
  @include round-borders-all(4px);
  border-color:#ddd;

275 276 277 278
  ul { 
    margin:0;
  }

279
  h5, .title { 
280
    padding: 0 10px;
281 282
    background:#f5f5f5;
    border-bottom: 1px solid #ccc;
283 284
    @include round-borders-top(4px);
    border-top:none;
285 286 287 288

    form { 
      padding-top:16px;
    }
289 290
  }

291 292

  li, .wll {
293
    padding:10px;
294 295 296 297
    &:first-child { 
      @include round-borders-top(4px);
      border-top:none;
    }
298 299 300 301 302

    &:last-child { 
      @include round-borders-bottom(4px);
      border:none;
    }
303
  }
304

305
}
306 307

.help li { color:#111 } 
308 309 310 311 312 313 314 315

.back_link { 
  text-decoration:underline;
  font-size:14px;
  font-weight:bold;
  padding:10px 0;
  padding-bottom:0;
}