issuable.scss 15.9 KB
Newer Older
1 2 3 4 5 6 7
// Limit MR description for side-by-side diff view
.fixed-width-container {
  max-width: $limited-layout-width - ($gl-padding * 2);
  margin-left: auto;
  margin-right: auto;
}

L
Luke "Jared" Bennett 已提交
8
.issuable-warning-icon {
9
  background-color: $orange-100;
R
Regis 已提交
10
  border-radius: $border-radius-default;
L
Luke "Jared" Bennett 已提交
11 12 13 14
  margin: 0 $btn-side-margin 0 0;
  width: $issuable-warning-size;
  height: $issuable-warning-size;
  text-align: center;
L
Luke "Jared" Bennett 已提交
15

16 17 18
  .icon {
    fill: $orange-600;
    vertical-align: text-bottom;
L
Luke "Jared" Bennett 已提交
19
  }
20

21 22
  &:first-of-type {
    margin-right: $issuable-warning-icon-margin;
23 24 25
  }
}

26
.limit-container-width {
27 28 29 30 31
  .detail-page-header,
  .page-content-header,
  .commit-box,
  .info-well,
  .commit-ci-menu,
32
  .files-changed-inner,
33 34
  .limited-header-width,
  .limited-width-notes {
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
    @extend .fixed-width-container;
  }

  .issuable-details {
    .detail-page-description,
    .mr-source-target,
    .mr-state-widget,
    .merge-manually {
      @extend .fixed-width-container;
    }
  }

  .merge-request-details {
    .emoji-list-container {
      @extend .fixed-width-container;
    }
  }

  .diffs {
54
    .mr-version-controls {
55 56 57 58 59
      @extend .fixed-width-container;
    }
  }
}

60
.issuable-details {
61
  section {
62
    .issuable-discussion {
63 64 65
      margin-right: 1px;
    }
  }
66

67 68 69 70
  .title-container {
    display: flex;
  }

71 72
  .title {
    padding: 0;
C
Clement Ho 已提交
73
    margin-bottom: $gl-padding;
74
    border-bottom: 0;
75 76
  }

77 78
  .btn-edit {
    margin-left: auto;
C
Clement Ho 已提交
79
    height: $gl-padding * 2;
80 81
  }

82
  // Border around images in issue and MR descriptions.
83
  .description img:not(.emoji) {
A
Annabel Dunstone Gray 已提交
84
    border: 1px solid $white-normal;
85
    padding: 5px;
86
    max-height: calc(100vh - 100px);
87
    max-width: 100%;
88
  }
89 90

  .emoji-block {
91
    padding: 10px 0;
92
  }
93
}
94 95 96 97 98 99 100 101

.issuable-filter-count {
  span {
    display: block;
    margin-bottom: -16px;
    padding: 13px 0;
  }
}
102

D
Douwe Maan 已提交
103 104 105
.issuable-show-labels {
  a {
    margin-bottom: 5px;
106
    margin-right: 5px;
D
Douwe Maan 已提交
107
    display: inline-block;
108

D
Douwe Maan 已提交
109
    .color-label {
110
      padding: 4px $grid-size;
111
      border-radius: $label-border-radius;
D
Douwe Maan 已提交
112
    }
113 114 115 116

    &:hover .color-label {
      text-decoration: underline;
    }
D
Douwe Maan 已提交
117
  }
P
Phil Hughes 已提交
118 119

  &.has-labels {
120 121 122 123 124 125
    // this font size is a fix to
    // prevent unintended spacing between labels
    // which shows up when rendering markup has white-space
    // characters present.
    // see: https://css-tricks.com/fighting-the-space-between-inline-block-elements/#article-header-id-3
    font-size: 0;
P
Phil Hughes 已提交
126 127
    margin-bottom: -5px;
  }
D
Douwe Maan 已提交
128 129
}

P
Phil Hughes 已提交
130
.right-sidebar {
131
  position: fixed;
132 133 134
  top: $header-height;
  bottom: 0;
  right: 0;
135
  transition: width $sidebar-transition-duration;
136 137 138 139
  background: $gray-light;
  z-index: 200;
  overflow: hidden;

140
  a:not(.btn) {
P
Phil Hughes 已提交
141
    color: inherit;
142 143 144 145 146 147 148 149 150 151

    &:hover {
      color: $gl-link-hover-color;

      .avatar {
        border-color: rgba($avatar-border, .2);
      }

    }

P
Phil Hughes 已提交
152 153
  }

154
  .btn-link {
155
    color: inherit;
156 157 158
    outline: none;
  }

P
Phil Hughes 已提交
159 160 161 162
  .issuable-header-text {
    margin-top: 7px;
  }

163 164
  .block {
    @include clearfix;
165
    padding: $gl-padding 0;
A
Annabel Dunstone Gray 已提交
166
    border-bottom: 1px solid $border-gray-normal;
167
    // This prevents the mess when resizing the sidebar
168
    // of elements repositioning themselves..
J
Jacob Schatz 已提交
169
    width: $gutter_inner_width;
170
    // --
171

P
Phil Hughes 已提交
172 173 174
    &.issuable-sidebar-header {
      padding-top: 0;
      padding-bottom: 10px;
175 176
    }

177
    &:last-child {
178
      border: 0;
179
    }
180

J
Jacob Schatz 已提交
181 182 183 184
    .select2-container span {
      margin-top: 0;
    }

185
    .gutter-toggle {
J
Jacob Schatz 已提交
186
      margin-left: 20px;
187
      padding-left: 10px;
188 189

      &:hover {
190 191 192 193 194 195
        color: $gl-text-color;
      }

      &:hover,
      &:focus {
        text-decoration: none;
196
      }
197
    }
198 199

    &.assignee {
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
      .author_link {
        display: block;
        padding-left: 42px;
        position: relative;

        &:hover {
          .author {
            text-decoration: underline;
          }
        }

        .avatar {
          left: 0;
          position: absolute;
          top: 0;
215 216 217
        }
      }
    }
218
  }
D
Dmitriy Zaporozhets 已提交
219

P
Phil Hughes 已提交
220 221 222 223
  .block-first {
    padding-top: 0;
  }

224 225
  .title {
    color: $gl-text-color;
P
Phil Hughes 已提交
226 227
    margin-bottom: 10px;
    line-height: 1;
V
Valery Sizov 已提交
228

229 230
    .avatar {
      margin-left: 0;
V
Valery Sizov 已提交
231 232
    }

233 234 235 236 237
    a.edit-link:not([href]):hover {
      color: rgba($avatar-border, .2);
    }

    .lock-edit, // uses same style, different js behaviour
238
    .edit-link {
239
      @extend .btn-blank;
T
tauriedavis 已提交
240
      color: $gl-text-color;
P
Phil Hughes 已提交
241

242 243
      &:hover {
        text-decoration: underline;
244
        color: $gl-link-hover-color;
P
Phil Hughes 已提交
245
      }
D
Dmitriy Zaporozhets 已提交
246
    }
V
Valery Sizov 已提交
247 248
  }

249
  .cross-project-reference {
P
Phil Hughes 已提交
250
    color: inherit;
251

252 253
    span {
      white-space: nowrap;
J
Jacob Schatz 已提交
254
      width: 85%;
255 256 257 258 259
      overflow: hidden;
      position: relative;
      display: inline-block;
      text-overflow: ellipsis;
    }
V
Valery Sizov 已提交
260

261 262 263 264
    cite {
      font-style: normal;
    }

265 266
    button {
      float: right;
267 268
      padding: 1px 5px;
      background-color: $gray-light;
V
Valery Sizov 已提交
269
    }
270
  }
D
Dmitriy Zaporozhets 已提交
271

272
  .selectbox {
273
    display: none;
274
  }
D
Dmitriy Zaporozhets 已提交
275

276
  .btn-clipboard:hover {
T
tauriedavis 已提交
277
    color: $gl-text-color;
V
Valery Sizov 已提交
278
  }
279 280 281

  .issuable-sidebar {
    width: calc(100% + 100px);
282
    height: 100%;
283 284 285 286
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
287

W
winh 已提交
288 289 290 291
  &.affix-top .issuable-sidebar {
    height: 100%;
  }

292 293
  &.right-sidebar-expanded {
    width: $gutter_width;
J
Jacob Schatz 已提交
294

P
Phil Hughes 已提交
295 296
    .value {
      line-height: 1;
297 298 299 300 301

      .assign-yourself {
        margin-top: 10px;
        display: block;
      }
P
Phil Hughes 已提交
302 303
    }

304 305 306 307
    .issuable-sidebar {
      padding: 0 20px;
    }

308 309 310 311
    .issuable-sidebar-header {
      padding-top: 10px;
    }

312
    &:not(.issue-boards-sidebar):not([data-signed-in]):not([data-always-show-toggle]) {
C
Clement Ho 已提交
313 314 315 316 317
      .issuable-sidebar-header {
        display: none;
      }
    }

318 319 320 321
    .assign-yourself .btn-link {
      padding-left: 0;
    }

P
Phil Hughes 已提交
322
    .light {
323
      font-weight: $gl-font-weight-normal;
P
Phil Hughes 已提交
324 325
    }

C
Clement Ho 已提交
326 327
    .no-value,
    .btn-secondary-hover-link {
T
tauriedavis 已提交
328
      color: $gl-text-color-secondary;
329 330
    }

C
Clement Ho 已提交
331 332 333 334
    .btn-secondary-hover-link:hover {
      color: $gl-link-color;
    }

335 336 337 338 339
    .sidebar-collapsed-icon {
      display: none;
    }

    .gutter-toggle {
P
Phil Hughes 已提交
340
      margin-top: 7px;
A
Annabel Dunstone Gray 已提交
341
      border-left: 1px solid $border-gray-normal;
C
Clement Ho 已提交
342
      text-align: center;
343
    }
P
Phil Hughes 已提交
344

C
Clement Ho 已提交
345 346 347 348
    .title .gutter-toggle {
      margin-top: 0;
    }

349
    .assignee .avatar {
P
Phil Hughes 已提交
350 351 352 353 354 355
      float: left;
      margin-right: 10px;
      margin-bottom: 0;
      margin-left: 0;
    }

356 357 358 359
    .assignee .user-list .avatar {
      margin: 0;
    }

P
Phil Hughes 已提交
360 361 362 363
    .username {
      display: block;
      margin-top: 4px;
      font-size: 13px;
364
      font-weight: $gl-font-weight-normal;
P
Phil Hughes 已提交
365
    }
P
Phil Hughes 已提交
366 367 368 369

    .hide-expanded {
      display: none;
    }
370 371 372
  }

  &.right-sidebar-collapsed {
373 374 375
    /* Extra small devices (phones, less than 768px) */
    display: none;
    /* Small devices (tablets, 768px and up) */
C
Clement Ho 已提交
376
    @include media-breakpoint-up(sm) {
377
      display: block;
378 379
    }

380
    width: $gutter_collapsed_width;
381
    padding: 0;
J
Jacob Schatz 已提交
382 383

    .block {
384
      width: $gutter_collapsed_width - 2px;
385
      padding: 15px 0 0;
386
      border-bottom: 0;
387
      overflow: hidden;
388 389 390 391 392 393 394 395

      &:hover {
        background-color: $sidebar-block-hover-color;
      }

      &.issuable-sidebar-header {
        padding-top: 0;
      }
J
Jacob Schatz 已提交
396
    }
397

P
Phil Hughes 已提交
398
    .participants {
A
Annabel Dunstone Gray 已提交
399
      border-bottom: 1px solid $border-gray-normal;
P
Phil Hughes 已提交
400 401
    }

402
    .hide-collapsed {
J
Jacob Schatz 已提交
403 404 405
      display: none;
    }

406
    .gutter-toggle {
P
Phil Hughes 已提交
407
      width: 100%;
408
      height: $sidebar-toggle-height;
P
Phil Hughes 已提交
409
      margin-left: 0;
410 411 412 413 414 415 416 417 418
      padding-left: 0;
      border-bottom: 1px solid $border-gray-dark;
    }

    a.gutter-toggle {
      display: flex;
      justify-content: center;
      flex-direction: column;
      text-align: center;
419 420 421 422
    }

    .sidebar-collapsed-icon {
      display: block;
423
      width: 100%;
424
      text-align: center;
P
Phil Hughes 已提交
425
      margin-bottom: 10px;
S
Sam Rose 已提交
426
      color: $issuable-sidebar-color;
J
Jacob Schatz 已提交
427

428 429 430 431
      svg {
        fill: $issuable-sidebar-color;
      }

C
Clement Ho 已提交
432
      &:hover:not(.disabled),
D
dimitrieh 已提交
433
      &:hover .todo-undone {
T
tauriedavis 已提交
434
        color: $gl-text-color;
435 436 437 438

        svg {
          fill: $gl-text-color;
        }
439 440
      }

J
Jacob Schatz 已提交
441 442 443 444
      span {
        display: block;
        margin-top: 0;
      }
445

446 447 448 449
      .sidebar-avatar-counter {
        padding-top: 2px;
      }

450 451
      .todo-undone {
        color: $gl-link-color;
452
        fill: $gl-link-color;
453 454
      }

455 456 457 458
      .author {
        display: none;
      }

459 460
      .avatar-counter:hover {
        color: $issuable-sidebar-color;
461
        border-color: $issuable-sidebar-color;
462 463
      }

464
      .btn-clipboard {
465
        border: 0;
466
        background: transparent;
T
tauriedavis 已提交
467
        color: $issuable-sidebar-color;
468 469

        &:hover {
T
tauriedavis 已提交
470
          color: $gl-text-color;
471 472
        }
      }
473 474 475 476 477 478 479 480 481 482 483

      &.multiple-users {
        display: flex;
        justify-content: center;
      }
    }

    .sidebar-avatar-counter {
      width: 24px;
      height: 24px;
      border-radius: 12px;
484
    }
P
Phil Hughes 已提交
485 486 487 488

    .sidebar-collapsed-user {
      padding-bottom: 0;
      margin-bottom: 10px;
489 490 491 492 493 494 495 496 497

      .author_link {
        padding-left: 0;

        .avatar {
          position: static;
          margin: 0;
        }
      }
P
Phil Hughes 已提交
498
    }
499 500 501 502

    .issuable-header-btn {
      display: none;
    }
503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533

    .multiple-users {
      height: 24px;
      margin-bottom: 17px;
      margin-top: 4px;
      padding-bottom: 4px;

      .btn-link {
        padding: 0;
        border: 0;

        .avatar {
          margin: 0;
        }
      }

      .btn-link:first-child {
        position: absolute;
        left: 10px;
        z-index: 1;
      }

      .btn-link:last-child {
        position: absolute;
        right: 10px;

        &:hover {
          text-decoration: none;
        }
      }
    }
534

C
Clement Ho 已提交
535 536
    .milestone-title span,
    .collapse-truncated-title {
537 538 539 540
      @include str-truncated(100%);
      display: block;
      margin: 0 4px;
    }
J
Jacob Schatz 已提交
541 542
  }

543 544
  .dropdown-menu-toggle {
    width: 100%;
545
    padding-top: 6px;
546 547
  }

548
  .dropdown-menu {
549
    width: 100%;
550 551 552 553 554 555 556 557 558 559 560 561 562 563

    /*
     * Overwrite hover style for dropdown items, so that they are not blue
     * This should be removed during dev of https://gitlab.com/gitlab-org/gitlab-ce/issues/44040
     */
    li a {
      &:hover,
      &:active,
      &:focus,
      &.is-focused {
        @include dropdown-item-hover;
      }
    }

564
  }
565
}
J
Jacob Schatz 已提交
566

567
.with-performance-bar .right-sidebar {
568
  top: $header-height + $performance-bar-height;
569 570
}

571 572 573 574 575 576 577 578 579 580 581 582 583 584
.sidebar-move-issue-confirmation-button {
  width: 100%;

  &.is-loading {
    .sidebar-move-issue-confirmation-loading-icon {
      display: inline-block;
    }
  }
}

.sidebar-move-issue-confirmation-loading-icon {
  display: none;
}

J
Jacob Schatz 已提交
585
.detail-page-description {
586
  padding: 16px 0;
587

J
Jacob Schatz 已提交
588 589 590
  small {
    color: $gray-darkest;
  }
591
}
P
Phil Hughes 已提交
592 593 594

.edited-text {
  color: $gray-darkest;
595
  display: block;
596
  margin: 16px 0 0;
597
  font-size: 85%;
P
Phil Hughes 已提交
598 599 600 601 602

  .author_link {
    color: $gray-darkest;
  }
}
P
Phil Hughes 已提交
603 604

.participants-list {
E
Eric Eastwood 已提交
605 606 607
  display: flex;
  flex-wrap: wrap;
  margin: -7px;
P
Phil Hughes 已提交
608 609
}

C
Clement Ho 已提交
610

611 612 613 614 615
.user-list {
  display: flex;
  flex-wrap: wrap;
}

P
Phil Hughes 已提交
616
.participants-author {
C
Clement Ho 已提交
617
  display: inline-block;
E
Eric Eastwood 已提交
618
  padding: 7px;
P
Phil Hughes 已提交
619

C
Clement Ho 已提交
620 621 622 623
  &:nth-of-type(7n) {
    padding-right: 0;
  }

P
Phil Hughes 已提交
624 625 626 627 628 629 630 631 632
  .author_link {
    display: block;
  }

  .avatar.avatar-inline {
    margin: 0;
  }
}

633 634 635 636 637 638 639 640 641 642 643 644
.user-item {
  display: inline-block;
  padding: 5px;
  flex-basis: 20%;

  .user-link {
    display: inline-block;
  }
}

.participants-more,
.user-list-more {
P
Phil Hughes 已提交
645 646 647
  margin-top: 5px;
  margin-left: 5px;

648 649
  a,
  .btn-link {
T
tauriedavis 已提交
650
    color: $gl-text-color-secondary;
P
Phil Hughes 已提交
651
  }
652 653 654 655 656 657 658 659 660 661 662 663 664 665

  .btn-link {
    outline: none;
    padding: 0;
  }

  .btn-link:hover {
    @extend a:hover;
    text-decoration: none;
  }

  .btn-link:focus {
    text-decoration: none;
  }
P
Phil Hughes 已提交
666
}
667 668

.issuable-form-padding-top {
C
Clement Ho 已提交
669
  @include media-breakpoint-up(sm) {
670 671 672
    padding-top: 7px;
  }
}
673 674

.issuable-status-box {
E
Eric Eastwood 已提交
675 676 677 678
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: center;
679
  margin-top: 0;
E
Eric Eastwood 已提交
680 681 682
  padding-left: 9px;
  padding-right: 9px;

C
Clement Ho 已提交
683
  @include media-breakpoint-up(sm) {
E
Eric Eastwood 已提交
684 685 686 687
    display: inline-block;
    height: auto;
    align-self: center;
  }
688 689 690
}

.issuable-gutter-toggle {
C
Clement Ho 已提交
691
  @include media-breakpoint-down(sm) {
E
Eric Eastwood 已提交
692
    margin-left: $btn-side-margin;
693 694 695 696
  }
}

.issuable-meta {
E
Eric Eastwood 已提交
697
  flex: 1;
698
  display: inline-block;
699
  font-size: 14px;
700 701
  line-height: 24px;
  align-self: center;
702 703
  overflow: hidden;
  text-overflow: ellipsis;
704
}
705 706 707 708 709

.js-issuable-selector-wrap {
  .js-issuable-selector {
    width: 100%;
  }
710

C
Clement Ho 已提交
711
  @include media-breakpoint-down(sm) {
712 713 714
    margin-bottom: $gl-padding;
  }
}
715 716 717

.issuable-list {
  li {
N
Nur Rony 已提交
718

N
Nur Rony 已提交
719 720 721 722 723 724 725 726
    .issue-box {
      display: -webkit-flex;
      display: flex;
    }

    .issue-info-container {
      -webkit-flex: 1;
      flex: 1;
T
Taurie Davis 已提交
727
      display: flex;
N
Nur Rony 已提交
728
      padding-right: $gl-padding;
T
Taurie Davis 已提交
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751

      .issue-main-info {
        flex: 1 auto;
        margin-right: 10px;
      }

      .issuable-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        flex: 1 0 auto;

        .controls {
          margin-bottom: 2px;
          line-height: 20px;
          padding: 0;
        }

        .issue-updated-at {
          line-height: 20px;
        }
      }

C
Clement Ho 已提交
752
      @include media-breakpoint-down(xs) {
T
Taurie Davis 已提交
753 754 755 756 757 758
        .issuable-meta {
          .controls li {
            margin-right: 0;
          }
        }
      }
N
Nur Rony 已提交
759 760
    }

761
    .issue-check {
762
      padding-right: $gl-padding;
763 764 765 766 767 768 769
      margin-bottom: 10px;
      min-width: 15px;

      .selected_issue {
        vertical-align: text-top;
      }
    }
T
Taurie Davis 已提交
770 771 772 773 774

    .issuable-milestone,
    .issuable-info,
    .task-status,
    .issuable-updated-at {
775
      font-weight: $gl-font-weight-normal;
T
Taurie Davis 已提交
776 777 778 779 780 781 782 783 784 785 786
      color: $gl-text-color-secondary;

      a {
        color: $gl-text-color;

        .fa {
          color: $gl-text-color-secondary;
        }
      }
    }

C
Clement Ho 已提交
787
    @media(max-width: map-get($grid-breakpoints, lg)-1) {
T
Taurie Davis 已提交
788 789 790 791 792 793
      .task-status,
      .issuable-due-date,
      .project-ref-path {
        display: none;
      }
    }
794 795
  }
}
796

797 798 799 800 801 802 803 804 805 806 807 808 809
.issuable-list li,
.issue-info-container .controls {
  .avatar-counter {
    display: inline-block;
    vertical-align: middle;
    min-width: 16px;
    line-height: 14px;
    height: 16px;
    padding-left: 2px;
    padding-right: 2px;
  }
}

810 811 812 813 814 815 816 817 818 819 820 821 822 823
.time_tracker {
  padding-bottom: 0;
  border-bottom: 0;


  .sidebar-collapsed-icon {

    > .stopwatch-svg {
      display: inline-block;
    }

    svg {
      width: 16px;
      height: 16px;
824
      fill: $issuable-sidebar-color;
825 826 827
    }

    &:hover svg {
B
Bryce Johnson 已提交
828
      fill: $gl-text-color;
829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845
    }
  }

  .help-button,
  .close-help-button {
    cursor: pointer;
  }

  .compare-meter {
    &.within_estimate {
      .meter-fill {
        background: $gl-primary;
      }
    }

    &.over_estimate {
      .meter-fill {
846
        background: $red-500;
847 848 849 850
      }

      .time-remaining,
      .compare-value.spent {
851
        color: $red-500;
852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874
      }
    }
  }

  .meter-container {
    background: $border-gray-light;
    border-radius: 3px;

    .meter-fill {
      max-width: 100%;
      height: 5px;
      border-radius: 3px;
      background: $gl-primary;
    }
  }

  .compare-display-container {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;

    .compare-display {
      font-size: 13px;
B
Bryce Johnson 已提交
875
      color: $compare-display-color;
876 877

      .compare-value {
B
Bryce Johnson 已提交
878
        color: $gl-text-color;
879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907
      }
    }
  }

  .time-tracking-help-state {
    background: $white-light;
    margin: 16px -20px 0;
    padding: 16px 20px;
    border-top: 1px solid $border-gray-light;
    border-bottom: 1px solid $border-gray-light;

    a:hover {
      color: $btn-white-active;
    }
  }

  .help-state-toggle-enter-active {
    transition: all .8s ease;
  }

  .help-state-toggle-leave-active {
    transition: all .5s ease;
  }

  .help-state-toggle-enter,
  .help-state-toggle-leave-active {
    opacity: 0;
  }
}
P
Phil Hughes 已提交
908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925

.issuable-todo-btn {
  .fa-spinner {
    display: none;
  }

  &.is-loading {
    .fa-spinner {
      display: inline-block;
    }

    &.sidebar-collapsed-icon {
      .issuable-todo-inner {
        display: none;
      }
    }
  }
}
926 927 928 929 930 931

.issuable-close-button,
.issuable-close-toggle {
  @include transition(border-color, color);
}

932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947
.issuable-close-dropdown {
  .dropdown-menu {
    min-width: 270px;
    left: auto;
    right: 0;
  }

  .description {
    .text {
      margin: 0;
    }
  }

  .dropdown-toggle > .icon {
    margin: 0 3px;
  }
948
}
C
Clement Ho 已提交
949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966

.right-sidebar-collapsed {
  .sidebar-grouped-item {
    .sidebar-collapsed-icon {
      margin-bottom: 0;
    }

    .sidebar-collapsed-divider {
      line-height: 5px;
      font-size: 12px;
      color: $theme-gray-700;

      + .sidebar-collapsed-icon {
        padding-top: 0;
      }
    }
  }
}