issues.scss 3.59 KB
Newer Older
1
.issues-list {
2
  .issue {
Nur Rony's avatar
Nur Rony committed
3
    padding: 10px 0 10px $gl-padding;
4
    position: relative;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
5

6
    .title {
7
      margin-bottom: 2px;
8 9 10 11 12
    }

    .issue-labels {
      display: inline-block;
    }
13 14 15 16 17

    .icon-merge-request-unmerged {
      height: 13px;
      margin-bottom: 3px;
     }
randx's avatar
randx committed
18 19
  }
}
randx's avatar
randx committed
20

21 22 23 24 25
.issue-realtime-pre-pulse {
  opacity: 0;
}

.issue-realtime-trigger-pulse {
26
  transition: opacity $fade-in-duration linear;
27 28 29
  opacity: 1;
}

30
.check-all-holder {
31
  line-height: 36px;
32
  float: left;
33
  margin-right: 15px;
34 35
}

36 37
.issues_content {
  .title {
38 39
    height: 40px;
  }
40 41 42 43

  form {
    margin: 0;
  }
randx's avatar
randx committed
44 45
}

46 47
form.edit-issue {
  margin: 0;
48
}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
49

50 51 52 53
ul.related-merge-requests > li {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
54
  align-items: center;
55

56 57 58
  .merge-request-id {
    flex-shrink: 0;
  }
59 60 61 62

  .merge-request-info {
    margin-left: 5px;
  }
63 64 65 66 67 68 69 70

  .row_title {
    vertical-align: bottom;
  }

  gl-emoji {
    font-size: 1em;
  }
71 72
}

73 74
.merge-requests-title,
.related-branches-title {
75 76 77 78 79 80
  font-size: 16px;
  font-weight: 600;
}

.merge-request-id {
  display: inline-block;
81 82
}

83
.merge-request-status {
84
  font-size: 13px;
Didem Acet's avatar
Didem Acet committed
85 86
  padding: 0 5px;
  color: $white-light;
87 88 89 90 91
  height: 20px;
  border-radius: 3px;
  line-height: 18px;

  &.merged {
92
    background: $blue-500;
93 94 95
  }

  &.closed {
96
    background: $red-500;
97 98 99
  }

  &.open {
100
    background: $green-500;
101
  }
102 103
}

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
104 105 106
.merge-request,
.issue {
  &.today {
107 108
    background: $issues-today-bg;
    border-color: $issues-today-border;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
109 110 111
  }

  &.closed {
112
    background: $gray-light;
113
    border-color: $border-color;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
114 115 116
  }

  &.merged {
117
    background: $gray-light;
118
    border-color: $border-color;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
119 120
  }
}
121

122 123 124 125 126 127 128
.merge-request-ci-status,
.related-merge-requests {
  .ci-status-link {
    display: block;
    margin-right: 5px;
  }

129
  svg {
130
    display: block;
131 132 133
  }
}

134 135 136 137 138 139
@media (max-width: $screen-xs-max) {
  .issue-btn-group {
    width: 100%;

    .btn {
      width: 100%;
140 141
    }
  }
142
}
143

144 145
.issue-form .select2-container {
  width: 250px !important;
146
}
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163

.issues-footer {
  padding-top: $gl-padding;
  padding-bottom: 37px;
}

.issue-email-modal-btn {
  padding: 0;
  color: $gl-link-color;
  background-color: transparent;
  border: 0;
  outline: 0;

  &:hover {
    text-decoration: underline;
  }
}
164 165 166 167 168 169 170 171 172

.email-modal-input-group {
  margin-bottom: 10px;

  .form-control {
    background-color: $white-light;
  }

  .btn {
173 174
    background-color: $gray-light;
    border: 1px solid $border-gray-normal;
175 176
  }
}
177 178 179 180

.recaptcha {
  margin-bottom: 30px;
}
181 182 183 184 185 186 187 188 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

.new-branch-col {
  padding-top: 10px;
}

.create-mr-dropdown-wrap {
  .btn-group:not(.hide) {
    display: flex;
  }

  .js-create-merge-request {
    flex-grow: 1;
    flex-shrink: 0;
  }

  .dropdown-menu {
    width: 300px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: none;
  }

  .dropdown-toggle {
    .fa-caret-down {
      pointer-events: none;
      color: inherit;
      margin-left: 0;
    }
  }

  li:not(.divider) {
    padding: 6px;
    cursor: pointer;

    &:hover,
    &:focus {
      background-color: $dropdown-hover-color;
      color: $white-light;
    }

    &.droplab-item-selected {
      .icon-container {
        i {
          visibility: visible;
        }
      }
    }

    .icon-container {
      float: left;
      padding-left: 6px;

      i {
        visibility: hidden;
      }
    }

    .description {
      padding-left: 30px;
      font-size: 13px;

      strong {
        display: block;
        font-weight: 600;
      }
    }
  }
}

@media (min-width: $screen-sm-min) {
  .new-branch-col {
    padding-top: 0;
    text-align: right;
  }

  .create-mr-dropdown-wrap {
    .btn-group:not(.hide) {
      display: inline-block;
    }
  }
}