BigW Consortium Gitlab

issues.scss 3.74 KB
Newer Older
1 2
@import "./issues/issue_count_badge";

3
.issues-list {
4
  .issue {
5
    padding: 10px 0 10px $gl-padding;
6
    position: relative;
Dmitriy Zaporozhets committed
7

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

    .issue-labels {
      display: inline-block;
    }
15 16 17 18 19

    .icon-merge-request-unmerged {
      height: 13px;
      margin-bottom: 3px;
     }
randx committed
20 21
  }
}
randx committed
22

23 24 25 26 27
.issue-realtime-pre-pulse {
  opacity: 0;
}

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

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

38 39
.issues_content {
  .title {
40 41
    height: 40px;
  }
42 43 44 45

  form {
    margin: 0;
  }
randx committed
46 47
}

48 49
form.edit-issue {
  margin: 0;
50
}
Dmitriy Zaporozhets committed
51

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

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

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

  .row_title {
    vertical-align: bottom;
  }

  gl-emoji {
    font-size: 1em;
  }
73 74
}

75 76
.merge-requests-title,
.related-branches-title {
77
  font-size: 16px;
78
  font-weight: $gl-font-weight-bold;
79 80 81 82
}

.merge-request-id {
  display: inline-block;
83 84
}

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

  &.merged {
94
    background: $blue-500;
95 96 97
  }

  &.closed {
98
    background: $red-500;
99 100 101
  }

  &.open {
102
    background: $green-500;
103
  }
104 105
}

Dmitriy Zaporozhets committed
106 107 108
.merge-request,
.issue {
  &.today {
109 110
    background: $issues-today-bg;
    border-color: $issues-today-border;
Dmitriy Zaporozhets committed
111 112 113
  }

  &.closed {
114
    background: $gray-light;
115
    border-color: $border-color;
Dmitriy Zaporozhets committed
116 117 118
  }

  &.merged {
119
    background: $gray-light;
120
    border-color: $border-color;
Dmitriy Zaporozhets committed
121 122
  }
}
123

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

131
  svg {
132
    display: block;
133 134 135
  }
}

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

    .btn {
      width: 100%;
142 143
    }
  }
144
}
145

146 147 148 149 150 151
.issue-form {
  @include new-style-dropdown;

  .select2-container {
    width: 250px !important;
  }
152
}
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169

.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;
  }
}
170 171 172 173 174 175 176 177 178

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

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

  .btn {
179 180
    background-color: $gray-light;
    border: 1px solid $border-gray-normal;
181 182
  }
}
183 184 185 186

.recaptcha {
  margin-bottom: 30px;
}
187 188 189 190 191 192

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

.create-mr-dropdown-wrap {
193 194
  @include new-style-dropdown;

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
  .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) {
    &.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;
244
        font-weight: $gl-font-weight-bold;
245 246 247 248 249
      }
    }
  }
}

250 251 252 253
.discussion-reply-holder .note-edit-form {
  display: block;
}

254
@media (min-width: $screen-sm-min) {
255 256
  .emoji-block .row {
    display: flex;
257

258 259 260 261 262 263 264 265 266 267
    .new-branch-col {
      padding-top: 0;
      text-align: right;
      align-self: center;
    }

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