BigW Consortium Gitlab

milestone.scss 2.74 KB
Newer Older
1
.issues-sortable-list .str-truncated {
2
  max-width: 90%;
3
}
4

5 6 7 8 9 10 11
.milestones {
  .milestone {
    padding: 10px 16px;

    h4 {
      font-weight: bold;
    }
Dmitriy Zaporozhets committed
12

13
    .progress {
14
      width: 100%;
15 16
      height: 6px;
    }
Dmitriy Zaporozhets committed
17
  }
18
}
Rubén Dávila committed
19

20 21 22 23 24 25
.milestone-content {
  .issues-count {
    margin-right: 17px;
    float: right;
    width: 105px;
  }
26

27
  .issuable-row {
Rubén Dávila committed
28
    span a {
29
      color: $gl-text-color;
30
      word-wrap: break-word;
31
    }
32
  }
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52

  .panel-heading {
    line-height: $line-height-base;
    padding: 14px 16px;
    display: -webkit-flex;
    display: flex;

    .title {
      -webkit-flex: 1;
      -webkit-flex-grow: 1;
      flex: 1;
      flex-grow: 2;
    }

    .counter {
      -webkit-flex: 1;
      flex: 0;
      padding-left: 16px;
    }
  }
53
}
54

55
.milestone-sidebar {
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
  .gutter-toggle {
    margin-bottom: 10px;
  }

  .milestone-progress {
    .title {
      padding-top: 5px;
    }

    .progress {
      height: 6px;
      margin: 0;
    }
  }

71 72 73 74 75 76 77 78 79 80 81 82
  .collapsed-milestone-date {
    font-size: 12px;
  }

  .milestone-date {
    display: block;
  }

  .date-separator {
    line-height: 5px;
  }

83 84 85 86 87 88 89 90 91 92 93 94
  .remaining-days strong {
    font-weight: normal;
  }

  .milestone-stat {
    float: left;
    margin-right: 14px;
  }

  .milestone-stat:last-child {
    margin-right: 0;
  }
95

96 97 98 99
  .milestone-progress {
    .sidebar-collapsed-icon {
      clear: both;
      padding: 15px 5px 5px;
100

101 102 103
      .progress {
        margin: 5px 0;
      }
104 105 106
    }
  }

107 108 109
  .right-sidebar-collapsed & {
    .reference {
      border-top: 1px solid $border-gray-normal;
110 111
    }
  }
112
}
113

114 115
.milestone-issues-list,
.milestone-merge_requests-list {
116
  .issuable-detail {
117
    display: block;
118
    margin-top: 7px;
119

120
    .issuable-number {
121
      color: $gl-text-color-secondary;
122 123
      margin-right: 5px;
    }
124

125 126 127
    .avatar {
      float: none;
    }
128 129 130 131

    > a:not(:last-of-type) {
      margin-right: 5px;
    }
132 133
  }
}
134 135 136 137 138

.milestone-detail {
  border-bottom: 1px solid $border-color;
  padding: 20px 0;
}
139

140
@media (max-width: $screen-xs-max) {
141 142 143 144 145 146 147 148 149
  .milestone-actions {
    @include clearfix();
    padding-top: $gl-vert-padding;

    .btn:first-child {
      margin-left: 0;
    }
  }
}
150 151 152 153

.milestone-page-header {
  display: flex;
  flex-flow: row;
154
  align-items: center;
155
  flex-wrap: wrap;
156

157
  .status-box {
158
    margin-top: 0;
159
  }
160

161 162 163 164 165 166 167
  .milestone-buttons {
    margin-left: auto;
  }

  .status-box {
    order: 1;
  }
168

169 170 171
  .milestone-buttons {
    order: 2;
  }
172

173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
  .header-text-content {
    order: 3;
    width: 100%;
  }

  .milestone-buttons .verbose {
    display: none;
  }

  @media (min-width: $screen-xs-min) {
    .milestone-buttons .verbose {
      display: inline;
    }

    .header-text-content {
      order: 2;
      width: auto;
    }
191

192 193 194 195 196
    .milestone-buttons {
      order: 3;
    }
  }
}
197 198 199 200

.issuable-row {
  background-color: $white-light;
}