common.scss 5.4 KB
Newer Older
1
html {
2
  overflow-y: scroll;
3 4
}

5
/** LAYOUT **/
D
Dmitriy Zaporozhets 已提交
6

7
body {
8
  margin-bottom: 20px;
9 10
}

11
.container {
12 13
  padding-top: 0;
  z-index: 5;
D
Dmitriy Zaporozhets 已提交
14 15
}

16
.container .content {
17
  margin: 0 0;
18 19
}

20
.author_link {
21
  color: $link_color;
D
Dmitriy Zaporozhets 已提交
22
}
D
Dmitriy Zaporozhets 已提交
23

24
.help li { color:$style_color; }
25

26
.back_link {
27 28 29
  text-decoration: underline;
  font-size: 14px;
  font-weight: bold;
30
  padding: 10px 0;
31
  padding-bottom: 0;
32
}
D
Dmitriy Zaporozhets 已提交
33

34
table a code {
35 36 37 38
  position: relative;
  top: -2px;
  margin-right: 3px;
}
39

40
.loading {
41
  margin: 20px auto;
42
  background: url(ajax_loader.gif) no-repeat center center;
43 44
  width: 40px;
  height: 40px;
45 46 47
  &.loading-gray {
    background: url(ajax_loader_gray.gif) no-repeat center center;
  }
48
}
D
Dmitriy Zaporozhets 已提交
49 50

/** FLASH message **/
51
.flash-container {
C
Cyril 已提交
52
  display: none;
53 54 55 56 57 58 59 60 61
  .alert {
    cursor: pointer;
    margin: 0;
    text-align: center;
    border-radius: 0;

    span {
      font-size: 14px;
    }
D
Dmitriy Zaporozhets 已提交
62 63 64 65
  }
}

span.update-author {
66
  display: block;
67
  color: #999;
68 69
  font-weight: normal;
  font-style: italic;
70 71 72 73
  strong {
    font-weight: bold;
    font-style: normal;
  }
D
Dmitriy Zaporozhets 已提交
74 75 76
}

.user-mention {
77
  color: #2FA0BB;
78
  font-weight: bold;
D
Dmitriy Zaporozhets 已提交
79 80
}

81
.label {
D
Dmitriy Zaporozhets 已提交
82 83
  padding: 1px 4px;
  font-size: 12px;
84
  font-style: normal;
D
Dmitriy Zaporozhets 已提交
85
  font-weight: normal;
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
}

form {
  @extend .form-horizontal;

  .actions {
    @extend .form-actions;
  }

  .clearfix {
    @extend .control-group;
  }

  .input {
    @extend .controls;
  }

  label {
    @extend .control-label;
  }
  .xlarge {
    @extend .input-xlarge;
  }
  .xxlarge {
    @extend .input-xxlarge;
  }
}


.field_with_errors {
116
  display: inline;
117 118 119
}

ul.breadcrumb {
120 121
  background: white;
  border: none;
122 123 124 125 126 127
  li {
    display: inline;
    text-shadow: 0 1px 0 white
  }

  a {
128
    color: #474D57;
129 130
    font-weight: bold;
    font-size: 14px;
131 132 133 134 135
  }
}

input[type=text] {
  &.large_text {
136 137
    padding: 6px;
    font-size: 16px;
138 139 140
  }
}

141 142 143
.line_holder {
  &:hover {
    td {
D
Dmitriy Zaporozhets 已提交
144 145 146 147 148
      background: #FFFFCF !important;
    }
  }
}

149 150
li.commit {
  .avatar {
151
    width: 24px;
152
    top:-5px;
153 154
    margin-right: 10px;
    margin-left: 10px;
D
Dmitriy Zaporozhets 已提交
155 156
  }

157
  code {
158 159 160 161 162 163
    padding: 2px 2px 0;
    margin-top: -2px;
    &:hover {
      color: black;
      border: 1px solid #ccc;
    }
D
Dmitriy Zaporozhets 已提交
164 165 166 167 168 169 170
  }
}
p.time {
  color: #999;
  font-size: 90%;
  margin: 30px 3px 3px 2px;
}
171

172 173 174 175 176 177 178 179 180 181 182 183
.search-holder {
  label, input {
     height: 30px;
     padding: 0;
     font-size: 14px;
  }
  label {
    line-height: 30px;
    color: #666;
  }
}

184
.highlight_word {
185
  border-bottom: 2px solid #F90;
186
}
187

188
.status_info {
189
  font-size: 14px;
190
  padding: 5px 15px;
191
  line-height: 26px;
192
  text-align: center;
193 194
  float: right;
  position: relative;
195 196
  top: -5px;
  @include border-radius(4px);
197

198 199 200 201 202
  &.success {
    background: #4A4;
    color: #FFF;
  }

203
  &.error {
204
    background: #DA4E49;
205
    color: #FFF;
206
  }
207 208
}

209
.arrow{
210
  background: #E3E5EA;
211
  padding: 5px;
212
  margin-top: 5px;
213
  @include border-radius(5px);
214 215 216
  text-shadow: none;
  color: #999;
  line-height: 16px;
217
  font-weight: bold;
V
Valery Sizov 已提交
218 219 220 221 222
}

.thin_area{
  height: 150px;
}
R
randx 已提交
223

224 225 226
// Fixes alignment on notes.
.new_note {
  label {
227
    text-align: left;
228 229 230
  }
}

231 232
// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
R
randx 已提交
233
  img { max-width:100% }
234 235 236 237 238
  .note-title {
    li {
      border-bottom:none !important;
    }
  }
239
}
R
randx 已提交
240

241 242
.markdown {
  img {
243
    max-width: 100%;
R
randx 已提交
244 245
  }
}
246 247 248 249

.wiki_content code, .readme code{
  background-color: inherit;
}
D
Dmitriy Zaporozhets 已提交
250

251 252
.team_member_show {
  td:first-child {
253
    color: #aaa;
D
Dmitriy Zaporozhets 已提交
254 255
  }
}
D
Dmitriy Zaporozhets 已提交
256

257
.remember_me {
258
  text-align: left;
D
Dmitriy Zaporozhets 已提交
259

260
  input {
261
    margin: 0;
D
Dmitriy Zaporozhets 已提交
262 263
  }

264
  span {
265
    padding-left: 5px;
D
Dmitriy Zaporozhets 已提交
266
  }
D
Dmitriy Zaporozhets 已提交
267 268 269
}


270 271
.rss-icon {
  img {
272 273
    width: 24px;
    vertical-align: top;
274
  }
R
randx 已提交
275

276
  strong {
277
    line-height: 24px;
R
randx 已提交
278
  }
279
}
280

R
randx 已提交
281

R
randx 已提交
282
.supp_diff_link,
283
.show-all-commits {
284
  cursor: pointer;
R
randx 已提交
285
}
D
Dmitriy Zaporozhets 已提交
286

D
Dmitriy Zaporozhets 已提交
287
.merge-request,
288 289
.issue {
  &.today{
R
randx 已提交
290
    background: #EFE;
291
    border-color: #CEC;
D
Dmitriy Zaporozhets 已提交
292
  }
293
  &.closed {
R
randx 已提交
294
    background: #F5f5f5;
295
    border-color: #E5E5E5;
D
Dmitriy Zaporozhets 已提交
296
  }
297
  &.merged {
298
    background: #F5f5f5;
299
    border-color: #E5E5E5;
D
Dmitriy Zaporozhets 已提交
300
  }
R
randx 已提交
301
}
302

303 304
.git_error_tips {
  @extend .span6;
305 306
  text-align: left;
  margin-top: 40px;
307
  pre {
308 309
    background: white;
    border: none;
310 311 312
    font-size: 12px;
  }
}
313 314 315

.error_message {
  @extend .cred;
D
Dmitriy Zaporozhets 已提交
316 317 318 319 320
  border-left: 4px solid #E99;
  padding: 10px;
  margin-bottom: 10px;
  background: #FEE;
  padding-left: 20px;
D
Dmitriy Zaporozhets 已提交
321 322 323 324

  &.centered {
    text-align: center;
  }
325
}
326

327 328 329 330 331 332 333 334 335 336 337 338 339
.warning_message {
  border-left: 4px solid #ed9;
  color: #b90;
  padding: 10px;
  margin-bottom: 10px;
  background: #ffffe6;
  padding-left: 20px;

  &.centered {
    text-align: center;
  }
}

340
.oauth_select_holder {
341
  padding: 20px;
342
  img {
343 344
    padding: 5px;
    margin-right: 10px;
345 346 347
  }
  .active {
    img {
348
      border: 1px solid #ccc;
349
      background: $hover;
350 351 352 353
      @include border-radius(5px);
    }
  }
}
D
Dmitriy Zaporozhets 已提交
354 355 356 357 358 359

.btn-build-token {
  float: left;
  padding: 6px 20px;
  margin-right: 12px;
}
360 361 362

.gitlab-promo {
  a {
363
    color: #aaa;
364 365 366
    margin-right: 30px;
  }
}
367

R
randx 已提交
368 369
pre {
  &.clean {
370 371 372 373
    background: none;
    border: none;
    margin: 0;
    padding: 0;
R
randx 已提交
374 375
  }
}
376

D
Dmitriy Zaporozhets 已提交
377 378 379 380 381 382 383 384
.milestone {
  &.milestone-closed {
    background: #eee;
  }
  .progress {
    margin-bottom: 0;
    margin-top: 4px;
  }
385
}
R
randx 已提交
386

387 388 389 390 391 392
h1.http_status_code {
  font-size: 56px;
  line-height: 100px;
  font-weight: normal;
  color: #456;
}
393 394 395 396 397 398 399 400 401 402 403 404 405

.control-group {
  .controls {
    span {
      &.descr {
        position: relative;
        top: 2px;
        left: 5px;
        color: #666;
      }
    }
  }
}
406 407 408 409 410 411

img.emoji {
  height: 20px;
  vertical-align: middle;
  width: 20px;
}
D
Dmitriy Zaporozhets 已提交
412 413 414 415

.appear-data {
  display: none;
}
416

417 418 419 420
.chart {
  overflow: hidden;
  height: 220px;
}
421

422
.navless-container {
423 424
  margin-top: 30px;
}
425 426 427 428 429 430

.description-block {
  @extend .light-well;
  @extend .light;
  margin-bottom: 10px;
}