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

5
/** LAYOUT **/
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
6

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

11
.container {
12 13
  padding-top: 0;
  z-index: 5;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
14 15
}

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

20
.visible_link,
21
.author_link {
22
  color: $link_color;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
23
}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
24

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

27
.back_link {
28 29 30
  text-decoration: underline;
  font-size: 14px;
  font-weight: bold;
31
  padding: 10px 0;
32
  padding-bottom: 0;
33
}
34

35
.info_link {
36 37
  margin-right: 5px;
  float: left;
38

39
  img {
40
    width: 20px;
41 42
  }
}
43

44
.download_repo_link {
45
  background: url("images.png") no-repeat 0 -48px;
46
  padding-left: 20px;
47 48
}

49
table a code {
50 51 52 53
  position: relative;
  top: -2px;
  margin-right: 3px;
}
54 55 56 57

.span12 hr{
 margin-top: 5px;
}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
58

59
.loading {
60
  margin: 20px auto;
61
  background: url(ajax_loader.gif) no-repeat center center;
62 63
  width: 40px;
  height: 40px;
64 65 66
  &.loading-gray {
    background: url(ajax_loader_gray.gif) no-repeat center center;
  }
67
}
68 69

/** FLASH message **/
Cyril's avatar
Cyril committed
70
#flash-container {
71 72 73 74 75 76 77 78 79
  height: 50px;
  position: fixed;
  z-index: 10001;
  top: 0px;
  width: 100%;
  margin-bottom: 15px;
  overflow: hidden;
  background: white;
  cursor: pointer;
80
  border-bottom: 1px solid #ccc;
Cyril's avatar
Cyril committed
81 82
  text-align: center;
  display: none;
83 84

  h4 {
85
    color: #666;
86 87 88 89 90
    font-size: 18px;
    line-height: 38px;
    padding-top: 5px;
    margin: 2px;
    font-weight: normal;
91 92 93 94 95 96 97 98
  }
}

.git_url_wrapper {
  margin-right:50px
}

span.update-author {
99
  display: block;
100
  color: #999;
101 102
  font-weight: normal;
  font-style: italic;
103 104 105 106
  strong {
    font-weight: bold;
    font-style: normal;
  }
107 108 109
}

.dashboard-loader {
110 111 112
  float: left;
  margin: 10px;
  display: none;
113 114
}
.user-mention {
115
  color: #2FA0BB;
116
  font-weight: bold;
117 118
}

119
.neib {
120
  margin-right: 10px;
121 122 123
}

.label {
124 125 126 127
  padding: 0px 4px;
  font-size: 10px;
  font-style: normal;
  background-color: $link_color;
128 129 130 131 132 133 134 135 136 137 138 139

  &.label-success {
    background-color: #8D8;
    color: #333;
    text-shadow: 0 1px 1px white;
  }

  &.label-error {
    background-color: #D88;
    color: #333;
    text-shadow: 0 1px 1px white;
  }
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
}

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 {
170
  display: inline;
171 172 173
}

ul.breadcrumb {
174 175
  background: white;
  border: none;
176 177 178 179 180 181
  li {
    display: inline;
    text-shadow: 0 1px 0 white
  }

  a {
182
    color: #474D57;
183 184
    font-weight: bold;
    font-size: 14px;
185 186 187 188 189 190 191 192 193
  }

  .arrow {
    background: url("images.png") no-repeat -85px -77px;
    width: 19px;
    height: 16px;
    float: left;
    position: relative;
    left: -10px;
194 195
    padding: 0;
    margin: 0;
196 197 198 199 200
  }
}

input[type=text] {
  &.large_text {
201 202
    padding: 6px;
    font-size: 16px;
203 204 205
  }
}

206
input.git_clone_url {
207
  width: 325px;
208 209 210
}

.merge-request-form-holder {
211
  select {
212
    width: 300px;
213 214 215 216 217
  }
}

/** Issues **/
#issue_assignee_id {
218
  width: 300px;
219 220 221 222 223 224
}

#new_issue_dialog textarea{
    height: 100px;
}

225
.project_list_url {
226
  width: 250px;
227 228 229 230
  background:#fff !important;
}


231 232 233
.line_holder {
  &:hover {
    td {
234 235 236 237 238
      background: #FFFFCF !important;
    }
  }
}

239 240
li.commit {
  .avatar {
241
    width: 24px;
242
    top:-5px;
243 244
    margin-right: 10px;
    margin-left: 10px;
245 246
  }

247
  code {
248 249 250 251 252 253
    padding: 2px 2px 0;
    margin-top: -2px;
    &:hover {
      color: black;
      border: 1px solid #ccc;
    }
254 255 256 257 258 259 260
  }
}
p.time {
  color: #999;
  font-size: 90%;
  margin: 30px 3px 3px 2px;
}
261 262


263
.styled_image {
264
  border: 2px solid #ddd;
265
}
266 267


268

269 270
/* Fix for readme code (stopped it from being yellow) */
.readme {
271 272
  pre {
    background: white !important;
273

274 275
    code {
      background: none !important;
276 277 278
    }
  }
}
279

280 281 282 283 284 285 286 287 288 289 290 291
.search-holder {
  label, input {
     height: 30px;
     padding: 0;
     font-size: 14px;
  }
  label {
    line-height: 30px;
    color: #666;
  }
}

292
.highlight_word {
293
  border-bottom: 2px solid #F90;
294
}
295

296
.status_info {
297
  font-size: 14px;
298
  padding: 5px 15px;
299
  line-height: 26px;
300
  text-align: center;
301 302
  float: right;
  position: relative;
303 304
  top: -5px;
  @include border-radius(4px);
305

306
  &.error {
307
    background: #DA4E49;
308
    color: #FFF;
309
  }
310 311
}

312
.arrow{
313
  background: #E3E5EA;
314
  padding: 5px;
315
  margin-top: 5px;
316
  @include border-radius(5px);
317 318 319
  text-shadow: none;
  color: #999;
  line-height: 16px;
320
  font-weight: bold;
Valery Sizov's avatar
Valery Sizov committed
321 322 323 324 325
}

.thin_area{
  height: 150px;
}
randx's avatar
randx committed
326

327 328 329
// Fixes alignment on notes.
.new_note {
  label {
330
    text-align: left;
331 332 333
  }
}

334 335
// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
randx's avatar
randx committed
336
  img { max-width:100% }
337 338 339 340 341
  .note-title {
    li {
      border-bottom:none !important;
    }
  }
342
}
randx's avatar
randx committed
343

344 345
.markdown {
  img {
346
    max-width: 100%;
randx's avatar
randx committed
347 348
  }
}
349 350 351 352

.wiki_content code, .readme code{
  background-color: inherit;
}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
353

354 355
.team_member_show {
  td:first-child {
356
    color: #aaa;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
357 358
  }
}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
359

360
.remember_me {
361
  text-align: left;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
362

363
  input {
364
    margin: 0;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
365 366
  }

367
  span {
368
    padding-left: 5px;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
369
  }
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
370 371 372
}


randx's avatar
randx committed
373 374 375 376 377

/**
 * Admin area
 *
 */
378 379 380 381
.admin_dash {
  .data {
    a {
      h1 {
382 383 384 385
        line-height: 48px;
        font-size: 48px;
        padding: 20px;
        text-align: center;
386
        font-weight: normal;
randx's avatar
randx committed
387 388 389 390
      }
    }
  }
}
391 392 393

.rss-icon {
  img {
394 395
    width: 24px;
    vertical-align: top;
396
  }
randx's avatar
randx committed
397

398
  strong {
399
    line-height: 24px;
randx's avatar
randx committed
400
  }
401
}
402

randx's avatar
randx committed
403

404 405

/* CHZN reset few styles */
406
.chzn-container-single .chzn-single {
407
  background: #FFF;
randx's avatar
randx committed
408
  border: 1px solid #bbb;
409
  box-shadow: none;
410
}
411
.chzn-container-active .chzn-single {
412
  background: #fff;
413
}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
414

randx's avatar
randx committed
415

416
.supp_diff_link,
417
.show-all-commits {
418
  cursor: pointer;
419
}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
420 421

.merge_request,
422 423
.issue {
  &.today{
randx's avatar
randx committed
424
    background: #EFE;
425
    border-color: #CEC;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
426
  }
427
  &.closed {
randx's avatar
randx committed
428
    background: #F5f5f5;
429
    border-color: #E5E5E5;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
430
  }
431
  &.merged {
432
    background: #F5f5f5;
433
    border-color: #E5E5E5;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
434
  }
randx's avatar
randx committed
435
}
436

437 438
.git_error_tips {
  @extend .span6;
439 440
  text-align: left;
  margin-top: 40px;
441
  pre {
442 443
    background: white;
    border: none;
444 445 446
    font-size: 12px;
  }
}
447 448 449

.error_message {
  @extend .cred;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
450 451 452 453 454
  border-left: 4px solid #E99;
  padding: 10px;
  margin-bottom: 10px;
  background: #FEE;
  padding-left: 20px;
455 456 457 458

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

461 462 463 464 465 466 467 468 469 470 471 472 473
.warning_message {
  border-left: 4px solid #ed9;
  color: #b90;
  padding: 10px;
  margin-bottom: 10px;
  background: #ffffe6;
  padding-left: 20px;

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

474
.oauth_select_holder {
475
  padding: 20px;
476
  img {
477 478
    padding: 5px;
    margin-right: 10px;
479 480 481
  }
  .active {
    img {
482
      border: 1px solid #ccc;
483
      background: $hover;
484 485 486 487
      @include border-radius(5px);
    }
  }
}
488 489 490 491 492 493

.btn-build-token {
  float: left;
  padding: 6px 20px;
  margin-right: 12px;
}
494 495 496

.gitlab-promo {
  a {
497
    color: #aaa;
498 499 500
    margin-right: 30px;
  }
}
501

randx's avatar
randx committed
502 503
pre {
  &.clean {
504 505 506 507
    background: none;
    border: none;
    margin: 0;
    padding: 0;
randx's avatar
randx committed
508 509
  }
}
510

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
511 512 513 514 515 516 517 518
.milestone {
  &.milestone-closed {
    background: #eee;
  }
  .progress {
    margin-bottom: 0;
    margin-top: 4px;
  }
519
}
520 521

.float-link {
522 523
  float: left;
  margin-right: 15px;
524
  .s16 {
525
    margin-right: 5px;
526 527
  }
}
528 529 530 531 532 533 534 535 536 537 538 539 540

.dashboard-search-filter {
  padding:5px;

  .search-text-input {
    float:left;
    @extend .span2;
  }
  .btn {
    margin-left: 5px;
    float:left;
  }
}
541 542 543 544 545 546 547

h1.http_status_code {
  font-size: 56px;
  line-height: 100px;
  font-weight: normal;
  color: #456;
}
548 549 550 551 552 553 554 555 556 557 558 559 560

.control-group {
  .controls {
    span {
      &.descr {
        position: relative;
        top: 2px;
        left: 5px;
        color: #666;
      }
    }
  }
}
561 562 563 564 565 566

img.emoji {
  height: 20px;
  vertical-align: middle;
  width: 20px;
}