issuable.scss 1.8 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
@media (max-width: $screen-sm-max) {
  .issuable-affix {
    margin-top: 20px;
  }
}

@media (max-width: $screen-md-max) {
  .issuable-affix {
    position: static;
  }
}

@media (min-width: $screen-md-max) {
  .issuable-affix {
    &.affix-top {
      position: static;
    }

    &.affix {
      position: fixed;
21
      top: 70px;
K
Kyle 已提交
22
      margin-right: 35px;
23 24 25 26 27

      &.no-affix {
        position: relative;
        top: 0;
      }
28 29 30
    }
  }
}
D
Dmitriy Zaporozhets 已提交
31

32 33 34
.project-issuable-filter {
  .controls {
    float: right;
35
    margin-top: 11px;
36 37
  }

38
  .nav-links {
39 40 41
    text-align: left;
  }
}
42 43

.issuable-details {
44
  section {
45
    border-right: 1px solid $border-white-light;
46

47
    .issuable-discussion {
48 49 50
      margin-right: 1px;
    }
  }
51
}
52 53 54 55 56 57 58 59

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

D
Douwe Maan 已提交
61 62 63 64 65 66 67 68 69 70 71
.issuable-show-labels {
  a {
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    .color-label {
      padding: 6px 10px;
    }
  }
}

72 73 74 75 76
.issuable-sidebar {
  .block {
    @include clearfix;
    padding:  $gl-padding 0;
    border-bottom: 1px solid #F0F0F0;
77

78 79 80
    &:last-child {
      border: none;
    }
81
  }
D
Dmitriy Zaporozhets 已提交
82

83 84 85
  .title {
    color: $gl-text-color;
    margin-bottom: 8px;
V
Valery Sizov 已提交
86

87 88
    .avatar {
      margin-left: 0;
V
Valery Sizov 已提交
89 90
    }

91 92 93
    label {
      font-weight: normal;
      margin-right: 4px;
V
Valery Sizov 已提交
94
    }
D
Dmitriy Zaporozhets 已提交
95

96 97
    .edit-link {
      color: $gl-gray;
D
Dmitriy Zaporozhets 已提交
98
    }
V
Valery Sizov 已提交
99 100
  }

101 102
  .cross-project-reference {
    color: $gl-link-color;
103

104 105
    span {
      white-space: nowrap;
J
Jacob Schatz 已提交
106
      width: 85%;
107 108 109 110 111
      overflow: hidden;
      position: relative;
      display: inline-block;
      text-overflow: ellipsis;
    }
V
Valery Sizov 已提交
112

113 114 115 116
    cite {
      font-style: normal;
    }

117 118
    button {
      float: right;
J
Jacob Schatz 已提交
119
      padding: 3px 5px;
V
Valery Sizov 已提交
120
    }
121
  }
D
Dmitriy Zaporozhets 已提交
122

123 124 125
  .selectbox {
    display: none
  }
D
Dmitriy Zaporozhets 已提交
126

127 128
  .btn-clipboard {
    color: $gl-gray;
V
Valery Sizov 已提交
129
  }
130 131 132 133 134

  .participants .avatar {
    margin-top: 6px;
    margin-right: 2px;
  }
135
}