common.scss 20.0 KB
Newer Older
1
a {
D
Dmitriy Zaporozhets 已提交
2
  outline: none;
3 4 5
  color: $link_color;
  &:hover { 
    text-decoration:none; 
6
    color: $blue_link;
7
  }
D
Dmitriy Zaporozhets 已提交
8 9 10 11

  &.btn { 
    color: $style_color;
  }
D
Dmitriy Zaporozhets 已提交
12 13 14 15 16 17 18 19

  &.dark { 
    color: $style_color;
  }

  &.lined { 
    text-decoration:underlined; 
  }
20 21 22 23 24 25 26
  &.supp_diff_link { 
    text-align:center;
    padding:20px 0;
    background:#f1f1f1;
    width:100%;
    float:left;
  }
27 28
}

D
Dmitriy Zaporozhets 已提交
29 30 31 32 33 34 35 36 37 38 39 40
.btn { 
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f1f1f1), color-stop(25%, #f1f1f1), to(#e6e6e6));
  background-image: -webkit-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
  background-image: -moz-linear-gradient(top, #f1f1f1, #f1f1f1 25%, #e6e6e6);
  background-image: -ms-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
  background-image: -o-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
  background-image: linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);

  &:hover { 
  }
}

D
Dmitriy Zaporozhets 已提交
41 42 43 44
a:focus { 
  outline: none; 
}

45 46 47 48
.vlink { 
  color: $link_color !important;
}

D
Dmitriy Zaporozhets 已提交
49 50 51 52
.dlink { 

}

53 54 55 56
.pills a:hover { 
  background-color:#ccc;
}

57
.pills .active a {
58
  background-color: #aaa;
59 60 61 62
}

.label { 
  background-color: #474D57;
63 64 65 66

  &.pushed { 
    background-color: $link_color;
  }
67 68
}

69 70 71 72 73 74 75 76 77 78
.pretty_label { 
  @include round-borders-all(4px);
  padding:2px 4px;
  background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8));
  background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8);
  background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8);
  background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8);
  color: #777;
  border: 1px solid #DEDFE1;

79 80 81 82 83 84 85
  &.branch { 
    border:none;
    font-size:13px;
    background: #474D57;
    color:#fff;
    font-family: monospace;
  }
86 87
}

88 89 90 91 92 93
.event_label { 
  background: #FCEEC1;
  padding:0 2px;
  font-family: monospace;
}

94 95 96 97 98 99 100 101 102
.tabs > li > a, .pills > li > a {
  color:$style_color;
}

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

D
Dmitriy Zaporozhets 已提交
103 104 105 106
/** COLORS **/
.cgray { color:gray; }
.cred { color:#D12F19; }
.cgreen { color:#44aa22; }
107
.cblack { color:#111; }
108
.cwhite { color:#fff !important }
D
Dmitriy Zaporozhets 已提交
109 110 111 112 113 114

/** COMMON STYLES **/
.left {
  float:left;
}
.right {
115
  float:right !important;
D
Dmitriy Zaporozhets 已提交
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
}
.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;
}
D
Dmitriy Zaporozhets 已提交
141

142 143 144 145
.prepend-top-20 {
  margin-top:20px;
}

D
Dmitriy Zaporozhets 已提交
146 147 148
.padded { 
  padding:20px;
}
149 150 151 152

.ipadded { 
  padding:20px !important;
}
153 154 155
.lborder { 
  border-left:1px solid #eee;
}
D
Dmitriy Zaporozhets 已提交
156 157 158
.no-borders { 
  border:none;
}
159 160 161 162
table.no-borders { 
  border:none;
  tr, td { border:none }
}
D
Dmitriy Zaporozhets 已提交
163 164 165
.no-padding { 
  padding:0 !important;
}
166 167 168
.underlined { 
  border-bottom: 1px solid $border_color;
}
D
Dmitriy Zaporozhets 已提交
169

170
/** LAYOUT **/
D
Dmitriy Zaporozhets 已提交
171

172 173
.container { 
  width:$min_app_width;
D
Dmitriy Zaporozhets 已提交
174 175 176 177 178 179
  padding-top:0;
  z-index:5;
}

.container .content { 
  margin:0 $app_padding;
180 181
}

182
.container  .sidebar { 
D
Dmitriy Zaporozhets 已提交
183
  width: 200px;
184
  height:100%;
185
  min-height:450px;
186 187
  float:right;
}
188

D
Dmitriy Zaporozhets 已提交
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
/**
 * Common header style
 * 
 */
header { 
  /* Account box */
  .account-box {
    position: absolute;
    right: 0;
    top: 13px;
    z-index: 10000;
    width: 128px;
    font-size: 11px;
    float: right;
    display: block;
    cursor: pointer;
    img {
      border-radius: 4px;
      right: 20px;
      position: absolute;
      width: 33px;
      height: 33px;
      display: block;
      top: 0;
      &:after {
        content: " ";
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        float: right;
        border-radius: 5px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 0;
        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255, 255, 255, 0.15)), to(rgba(0, 0, 0, 0.25))), -webkit-gradient(linear, left top, right bottom, color-stop(0, rgba(255, 255, 255, 0)), color-stop(0.5, rgba(255, 255, 255, 0.1)), color-stop(0.501, rgba(255, 255, 255, 0)), color-stop(1, rgba(255, 255, 255, 0)));
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.25)), -moz-linear-gradient(left top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
        background: linear-gradient(top, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.25)), linear-gradient(left top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
        -webkit-background-origin: border-box;
        -moz-background-origin: border;
  background-origin: border-box; } } }

  .account-box {
    &.hover {
    height: 138px; }
    &:hover > .account-links {
  display: block; } }

  .account-links {
    background: #79C3E0;
    display: none;
    border-radius: 5px;
    width: 100px;
    margin-top: 0;
    float: right;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    position: relative;
    &:before {
      content: ".";
      width: 0;
      height: 0;
      position: absolute;
      border: 5px solid transparent;
      border-color: rgba(255, 255, 255, 0);
      border-bottom-color: #333;
      text-indent: -9999px;
      top: -10px;
      line-height: 0;
      right: 10px;
    z-index: 10; }
    background: #333;
    display: none;
    z-index: 100000;
    border-radius: 5px;
    width: 100px;
    position: absolute;
    right: 20px;
    top: 46px;
    margin-top: 0;
    float: right;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    a {
      color: #EEE;
      padding: 6px 10px;
      display: block;
      text-shadow: none;
      border-bottom: 1px solid #555;
      &:hover {
278 279 280 281 282
        color:#eee;
        background: #444;
      }
    }
  }
D
Dmitriy Zaporozhets 已提交
283 284 285 286

  .account-box.hover .arrow-up {
    top: 41px;
    right: 6px;
287
    position: absolute; }
D
Dmitriy Zaporozhets 已提交
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315

  .account-links a {
    &:first-child {
      -webkit-border-top-left-radius: 5px;
      -webkit-border-top-right-radius: 5px;
      -moz-border-radius-topleft: 5px;
      -moz-border-radius-topright: 5px;
      border-top-left-radius: 5px;
    border-top-right-radius: 5px; }
    &:last-child {
      -webkit-border-bottom-right-radius: 5px;
      -webkit-border-bottom-left-radius: 5px;
      -moz-border-radius-bottomright: 5px;
      -moz-border-radius-bottomleft: 5px;
      border-bottom-right-radius: 5px;
      border-bottom-left-radius: 5px;
  border-bottom: 0; } }
}

/*
 *  Main Menu of Application
 *
 */
nav.main_menu { 
  border-radius: 4px;
  margin: auto;
  margin:30px $app_padding;
  background:#eee;
D
Dmitriy Zaporozhets 已提交
316
  border:1px solid #bbb;
D
Dmitriy Zaporozhets 已提交
317 318 319 320 321 322 323
  height:38px;
  background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
  background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
  background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
  background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
  @include shade;
  .count { 
324
    margin-left:3px;
325
    color: #aaa;
D
Dmitriy Zaporozhets 已提交
326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358
  }
  .label { 
    background:$hover;
    text-shadow:none;
    color:$style_color;
  }
  a { 
    font-weight:bold;
    &: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;
    color: $style_color;
    position: relative;
    margin: 0;
    float:left;
    text-shadow:0 1px 1px white;
    &.home { 
      background: url(home_icon.PNG) no-repeat center center;
      text-indent:-9999px;
      min-width:40px;
      img { 
        position:relative;
        top:4px;
      }
    }
    &.current { 
D
Dmitriy Zaporozhets 已提交
359 360 361 362 363
      background-color:#D5D5D5;
      border-bottom: 2px solid #474D57;
      &:first-child{ 
        border-bottom:none;
      }
D
Dmitriy Zaporozhets 已提交
364 365 366 367 368 369 370 371 372 373
    }
  }
}
/*
 *  End of Main Menu
 *
 */



374 375
img.avatar { 
  float:left;
376 377
  margin-right:15px;
  width:40px;
D
Dmitriy Zaporozhets 已提交
378 379 380
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
381 382
}

383 384 385 386 387 388
img.lil_av { 
  padding-left: 5px;
  position: relative;
  top: 3px;
}

389 390
.profile_avatar_holder { 
  float:left;
D
Dmitriy Zaporozhets 已提交
391 392
  width:60px;
  height:60px;
393 394
  margin-right:20px;
  img { 
D
Dmitriy Zaporozhets 已提交
395 396
    width:60px;
    height:60px;
397
    background:#eee;
D
Dmitriy Zaporozhets 已提交
398 399 400
  }
}

D
Dmitriy Zaporozhets 已提交
401 402
.wll { 
  background-color: #FFF;
403
  padding: 10px 5px;
D
Dmitriy Zaporozhets 已提交
404 405 406
  min-height: 20px;
  border-bottom: 1px solid #eee;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
407 408 409 410
  cursor:pointer;
  &:hover { 
    background:$hover;
  }
D
Dmitriy Zaporozhets 已提交
411
  &:last-child { border:none }
412 413 414
  p { padding-top:5px; margin:0; color:$style_color;}
  .author { color: #999; }
  p { 
415
    color:#222;
416 417 418 419 420 421
    margin-bottom: 0;
    img { 
      position:relative;
      top:3px;
    }
  }
D
Dmitriy Zaporozhets 已提交
422 423
}

424
.visible_link,
D
Dmitriy Zaporozhets 已提交
425
.author_link { 
426
  color: $link_color;
D
Dmitriy Zaporozhets 已提交
427
}
D
Dmitriy Zaporozhets 已提交
428 429 430 431 432 433 434 435 436 437 438 439 440
.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 已提交
441

D
Dmitriy Zaporozhets 已提交
442 443 444
  -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);
445

D
Dmitriy Zaporozhets 已提交
446 447 448
  background:#F1F1F1;
  border: 1px solid #ccc;

449

D
Dmitriy Zaporozhets 已提交
450
  p { 
451
    color:$style_color;
D
Dmitriy Zaporozhets 已提交
452 453 454 455 456 457 458 459 460
    margin-bottom: 0;
    img { 
      position:relative;
      top:3px;
    }
  }
}

.widget { 
461
  @include shade;
D
Dmitriy Zaporozhets 已提交
462 463
  padding:20px;
  margin-bottom:20px;
464 465
  border: 1px solid #DDD;
  border-radius: 5px;
466
  background:#fafafa;
467 468 469 470 471 472 473 474 475 476 477 478 479 480 481

  .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 已提交
482
}
483

484 485 486 487

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

491 492 493 494
  ul { 
    margin:0;
  }

495
  h5, .title { 
496
    padding: 0 10px;
497
    background:#f5f5f5;
498
    border-bottom: 1px solid #eee;
499 500
    @include round-borders-top(4px);
    border-top:none;
501 502

    form { 
R
randx 已提交
503 504
      padding:9px 0;
      margin:0px;
505
    }
R
randx 已提交
506 507 508 509 510 511 512 513 514

    .pills { 
      li { 
        padding:3px 0;
        &.active a { background-color:$style_color; }
        a { 
          border-radius:7px;
        }
      }
515
    }
516 517
  }

518
  .bottom { 
R
randx 已提交
519 520 521 522
    background:#f5f5f5;
    border-top: 1px solid #eee;
    @include round-borders-bottom(4px);
    border-bottom:none;
523 524
  }

D
Dmitriy Zaporozhets 已提交
525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540
  &.padded { 
    h5, .title { 
      margin: -20px;
      margin-bottom: 0;
      padding: 5px 20px;
    }
    .middle_title { 
      background:#f5f5f5;
      margin:20px -20px;
      padding: 0 20px;
      border-top:1px solid #eee;
      border-bottom:1px solid #eee;
      font-size:14px;
      color:#777;
    }
  }
541 542 543
  .row_title { 
    font-weight:bold;
    color:#444;
544 545 546
    &:hover { 
      text-decoration:underline;
    }
547
  }
548 549

  li, .wll {
550
    padding:10px;
551 552 553 554
    &:first-child { 
      @include round-borders-top(4px);
      border-top:none;
    }
555 556 557 558 559

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

562
}
563 564

.help li { color:#111 } 
565 566 567 568 569 570 571 572

.back_link { 
  text-decoration:underline;
  font-size:14px;
  font-weight:bold;
  padding:10px 0;
  padding-bottom:0;
}
D
Dmitriy Zaporozhets 已提交
573 574 575 576 577 578 579 580 581

.info_link { 
  margin-right:5px;
  float:left;

  img { 
    width:20px;
  }
}
582 583 584

.borders { 
  border: 1px solid #ccc;
D
Dmitriy Zaporozhets 已提交
585
  @include shade;
586
}
D
Dmitriy Zaporozhets 已提交
587

588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607
.download_repo_link { 
  background: url("images.png") no-repeat 0 -48px;
  padding-left:20px;
}

.number { 
  border-radius: 4px; 
  text-shadow: none; 
  background: rgba(0,0,0,.12); 
  text-align: center; 
  padding: 2px 4px; 
  line-height:20px;
  margin-left:2px;
}

table a code { 
  position: relative;
  top: -2px;
  margin-right: 3px;
}
608 609 610 611

.span12 hr{
 margin-top: 5px;
}
D
Dmitriy Zaporozhets 已提交
612 613 614 615

.btn.padded { 
  margin-right:3px;
}
616 617 618

.loading { 
  margin:20px auto;
619
  background: url(ajax_loader.gif) no-repeat center center;
620 621 622
  width:40px;
  height:40px;
}
D
Dmitriy Zaporozhets 已提交
623 624 625

/** FLASH message **/
#flash_container {
626
  height:50px;
D
Dmitriy Zaporozhets 已提交
627 628 629 630 631 632 633 634
  position:fixed;
  z-index:10001;
  top:0px;
  width:100%;
  margin-bottom:15px;
  overflow:hidden;
  background:white;
  cursor:pointer;
635
  border-bottom:1px solid #ccc;
D
Dmitriy Zaporozhets 已提交
636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736

  h4 {
    color:#444;
    font-size:22px;
    padding-top:5px;
    margin:2px;
  }
}

.git_url_wrapper {
  margin-right:50px
}
.file_stats {
  span {
    img {
      width:14px;
      float:left;
      margin-right:6px;
      padding:2px 0;
    }
  }
}

.handle:hover {
  cursor:move;
}

span.update-author {
  display:block;
}
span.update-author {
  color:#999;
  font-weight:normal;
  font-style:italic;
}
span.update-author strong {
  font-weight:bold;
  font-style: normal;
}

/** UPDATE ITEM **/
span.update-author {
  display:block;
}
/** END UPDATE ITEM **/
.ajax-tab-loading {
  padding:40px;
  display:none;
}
.dashboard-loader {
  float:left;
  margin:10px;
  display:none;
}
.user-mention {
  color:#2FA0BB;
  font-weight:bold;
}

a.project-update.titled {
  position:relative;
  padding-left:35% !important;
  .title-block {
    padding:10px;
    width:35%;
    position:absolute;
    left:0;
    top:0;
  }
}
/**
 * Project graph
 */
#holder {
  cursor: move;
  height: 70%;
  overflow: hidden;
}



input.git_clone_url { 
  width:475px;
}

.merge-request-form-holder {
  select { 
    width:300px;
  }
}

/** Issues **/
#issue_assignee_id {
  width:300px;
}

#new_issue_dialog textarea{
    height: 100px;
}

.project_list_url { 
737
  width:250px;
D
Dmitriy Zaporozhets 已提交
738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873
  background:#fff !important;
}

/**
 * 
 * COMMIT SHOw
 *
 */
.diff_file {
  border:1px solid #CCC;
  margin-bottom:1em;

  .diff_file_header {
    padding:5px 5px;
    border-bottom:1px solid #CCC;
    background: #eee;
  }
  .diff_file_content {
    overflow:auto;
    overflow-y:hidden;
    background:#fff;
    color:#333;
    font-size: 12px;
    font-family: 'Menlo', 'Courier New', 'andale mono','lucida console',monospace;
  }
  .diff_file_content_image {
    background:#eee;
    text-align:center;
    img {
      padding:100px;
      max-width:300px;
    }
  }
}

.diff_file_content{
  table { 
    border:none;
    margin:0px;
    padding:0px;
    tr {
      td { 
        font-size:12px;
      }
    }
  }
  .old_line, .new_line {
    margin:0px;
    padding:0px;
    border:none;
    background:#F7F7F7;
    color:#aaa;
    padding: 0px 5px;
    border-right: 1px solid #ccc;
    text-align:right;
    min-width:35px;
    max-width:35px;
    width:35px;
    moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    a { 
      float:left;
      width:35px;
      font-weight:normal;
      color:#aaa;
      &:hover { 
        text-decoration:underline;
      }
    }
  }
  .line_content { 
    white-space:pre; 
    height:14px;
    margin:0px;
    padding:0px;
    border:none;
    &.new { 
      background: #CFD;
    }
    &.old { 
      background: #FDD;
    }
    &.matched { 
      color:#ccc;
      background:#fafafa;
    }
  }
}

/** COMMIT BLOCK **/
.commit-title{display: block;}
.commit-title{margin-bottom: 10px}
.commit-author, .commit-committer{display: block;color: #999; font-weight: normal; font-style: italic;}
.commit-author strong, .commit-committer strong{font-weight: bold; font-style: normal;}

/** bordered list **/
ul.bordered-list { 
  margin:5px 0px;
  padding:0px;
  li { 
    padding: 5px 0;
    border-bottom: 1px solid #EEE;
    overflow: hidden;
    display: block;
    margin:0px;
  }
}

ul.bordered-list li:last-child { border:none } 

.line_holder { 
  &:hover { 
    td { 
      background: #FFFFCF !important;
    }
  }
}

li.commit { 
  .avatar { 
    width:24px;
    top:-3px;
    margin-right:10px;
    margin-left:10px;
  }

  code { 
    padding:4px;
  }
}
p.time {
  color: #999;
  font-size: 90%;
  margin: 30px 3px 3px 2px;
}
874 875 876 877 878


.dashboard_category { 
  margin-bottom:30px;

879 880 881 882 883 884 885
  h3 a { 
    color:#474D57;

    &:hover { 
      text-decoration:underline;
    }
  }
886

887
  .dashboard_block { 
D
Dmitriy Zaporozhets 已提交
888
    width:840px;
889 890
    margin:auto;

891 892
    .dash_project_item { 
      margin-bottom:10px;
893
      border:none;
894 895
      padding:0px 5px;

896 897 898
      .project_link {
        color:#888;
        &:hover {
899 900 901 902 903
          color:#111;
          .ico.project { 
            background-position:-209px -21px;
          }
        }
904 905 906 907 908 909 910 911
      }

      h4 {
        color:#666;
      }
    }
  }
}
912 913 914 915 916 917 918 919 920

.styled_image { 
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0 0 5px #888;
  -webkit-box-shadow: 0 0 5px#888;
  box-shadow: 0 0 5px #888;
}
921 922 923

.event_feed { 
  min-height:40px;
D
Dmitriy Zaporozhets 已提交
924
  border-bottom:1px solid #ddd;
925 926 927 928 929 930 931 932 933 934 935
  .avatar { 
    width:32px;
  }
  ul { 
    margin-left:50px;
    margin-bottom:5px;
    .avatar { 
      width:24px;
    }
  }

936
  padding: 15px 5px;
937 938 939 940
  &:last-child { border:none }
  .wll:hover { background:none }
}

D
Dmitriy Zaporozhets 已提交
941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960
.ico { 
  background: url("images.png") no-repeat -85px -77px;
  width: 19px;
  height: 16px;
  float: left;
  position: relative;
  margin-right: 10px;
  top: 8px;

  &.project { 
    background-position:  -37px -77px;
  }

  &.activities { 
    background-position:-162px -22px;
  }
  &.projects { 
    background-position:-209px -21px;
  }
}
D
Dmitriy Zaporozhets 已提交
961 962 963 964 965 966 967 968 969 970 971 972

.leftbar { 
  h5, .title { 
    padding:5px 10px;
  }

  h4 { 
    font-size:14px;
    padding:2px 10px;
    color:#888;
    border-bottom:1px solid #eee;
  }
D
Dmitriy Zaporozhets 已提交
973
  a:last-child h4 { border:none; }
D
Dmitriy Zaporozhets 已提交
974

975
  a:hover { 
D
Dmitriy Zaporozhets 已提交
976 977
    h4 {
      color:#111;
978
      background:$hover;
D
Dmitriy Zaporozhets 已提交
979 980 981 982 983 984 985 986 987 988 989 990 991 992
      .ico.project { 
        background-position:-209px -21px;
      }
    }
  }
}

.btn { 
  &.very_small { 
    font-size:11px;
    padding:4px;
    margin:2px;
  }
}
993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012

.mr_source_commit , 
.mr_target_commit { 
  .commit { 
    list-style:none;
    margin-top:10px;
    &:hover { 
      background:none;
    }
  }
}

.prettyprint { 
  background-color: #fefbf3;
  padding: 9px;
  border: 1px solid rgba(0,0,0,.2);
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.1);
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
1013 1014 1015 1016 1017

.hint {
  font-style: italic;
  color: #999;
}
1018 1019 1020 1021 1022 1023 1024 1025 1026

.upvotes {
  font-size: 14px;
  font-weight: bold;
  color: #468847;
  text-align: right;
  padding: 4px;
  margin: 2px;
}
S
Steven Verbeek 已提交
1027

1028 1029
/* Fix for readme code (stopped it from being yellow) */
.readme {
1030 1031 1032 1033 1034
  pre {
    background: white !important;
    
    code {
      background: none !important;
S
Steven Verbeek 已提交
1035 1036 1037
    }
  }
}
1038

1039 1040 1041 1042 1043 1044
/**
 *  UI box element 
 *  contains top, middle, bottom blocks
 * 
 */
.main_box { 
1045 1046 1047
  @extend .borders;
  @extend .prepend-top-20;
  @extend .append-bottom-20;
1048
  border-width:1px;
1049

R
randx 已提交
1050 1051
  img { max-width: 100%; }

1052 1053 1054 1055 1056
  pre {
    code {
      background: none !important;
    }
  }
S
Steven Verbeek 已提交
1057

1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082
  .top_box_content, 
  .middle_box_content, 
  .bottom_box_content { 
    padding:20px;

    pre {
      background: none !important;
      margin:0;
      border:none;
      padding:0;
    }
  }

  .middle_box_content { 
    border-radius:0;
    border:none;
    font-size:12px;
    background-color:#f5f5f5;
    border:none;
    border-top:1px solid #eee;
  }

  .bottom_box_content { 
    border-top:1px solid #eee;
  }
D
Dmitriy Zaporozhets 已提交
1083 1084
}

1085 1086 1087
.highlight_word { 
  background:#EEDC94;
}
1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098

.status_info { 
  font-size:14px;
  padding:5px 15px;
  line-height:24px;
  width:60px;
  text-align:center;
  float:left;
  margin-right:20px;
}

1099 1100
.arrow{ 
  background: #E3E5EA;
1101 1102
  padding: 5px;
  margin-top:5px;
1103 1104 1105 1106 1107
  border-radius: 5px;
  text-shadow: none;
  color: #999;
  line-height: 16px;
  font-weight:bold;
V
Valery Sizov 已提交
1108 1109 1110 1111 1112
}

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

.gitlab_pagination { 
1115 1116 1117 1118 1119 1120
  span a { color:$link_color; }
  .prev, .next, .current, .page a { 
    padding:10px;
  }
  .current { 
    border-bottom:2px solid $style_color;
R
randx 已提交
1121 1122
  }
}
1123 1124 1125 1126 1127 1128 1129 1130

// Fixes alignment on notes.
.new_note {
  label {
    text-align:left;
  }
}

1131
.new_note {
1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145
  .input-file {
    font: 500px monospace;
    opacity:0;
    filter: alpha(opacity=0);
    position: absolute;
    z-index: 1;
    top:0;
    right:0;
    padding:0;
    margin: 0;
  }

  .file_upload {
    position: absolute;
1146 1147
    right:14px;
    top:7px;
1148 1149 1150 1151
  }

  div.attachments {
    position:relative;
1152
    width: 350px;
1153
    height: 36px;
1154 1155 1156 1157 1158 1159
    overflow:hidden;
    margin:0 0 5px !important;
  }
  .file_name {
    line-height:30px;
    width:240px;
1160
    height:28px;
1161 1162
    overflow:hidden;
  }
1163 1164 1165 1166
}

// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
R
randx 已提交
1167
  img { max-width:100% }
1168 1169 1170 1171 1172 1173 1174 1175 1176
  .note-title {
    li {
      border-bottom:none !important;
    }
    .file {
      padding-left:20px;
      background:url("icon-attachment.png") no-repeat left center;
    }
  }
1177
}
R
randx 已提交
1178 1179 1180 1181 1182 1183

.markdown { 
  img { 
    max-width:100%;
  }
}
1184 1185 1186 1187

.wiki_content code, .readme code{
  background-color: inherit;
}
D
Dmitriy Zaporozhets 已提交
1188 1189 1190 1191 1192 1193

.team_member_show { 
  td:first-child { 
    color:#aaa;
  }
}