issues.scss 2.47 KB
Newer Older
1
.issues-list {
2
  .issue {
3
    padding: 10px 15px;
4
    position: relative;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
5

6 7 8 9 10 11 12 13 14 15
    .issue-title {
      margin-bottom: 5px;
      font-size: 14px;
    }

    .issue-info {
      color: #999;
    }

    .issue-check {
16
      float: left;
randx's avatar
randx committed
17
      padding-right: 8px;
18
      margin-bottom: 10px;
randx's avatar
randx committed
19 20 21
      min-width: 15px;
    }

22 23 24 25 26 27 28 29
    .issue-labels {
      display: inline-block;
    }

    .issue-actions {
      display: none;
      position: absolute;
      top: 10px;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
30
      right: 15px;
randx's avatar
randx committed
31 32
    }

33 34 35 36
    &:hover {
      .issue-actions {
        display: block;
      }
randx's avatar
randx committed
37 38 39
    }
  }
}
randx's avatar
randx committed
40

41 42
.check-all-holder {
  height: 32px;
43
  float: left;
44
  margin-right: 12px;
45
  padding: 6px 15px;
46 47
  border: 1px solid #ccc;
  @include border-radius(4px);
48 49
}

50 51
.issues_content {
  .title {
52 53
    height: 40px;
  }
54 55 56 57

  form {
    margin: 0;
  }
randx's avatar
randx committed
58 59
}

60
@media (min-width: 800px)  { .issues_filters select { width: 160px; }  }
61
@media (min-width: 1200px) { .issues_filters select { width: 220px; }  }
randx's avatar
randx committed
62

63 64
@media (min-width: 800px)  { .issues_bulk_update .select2-container { min-width: 120px; }  }
@media (min-width: 1200px) { .issues_bulk_update .select2-container { min-width: 160px; }  }
randx's avatar
randx committed
65

66 67 68 69 70 71 72
.issues_bulk_update {
  .select2-container .select2-choice {
    color: #444 !important;
    font-weight: 500;
  }
}

73
#update_status {
74
  width: 100px;
75
}
76 77

.participants {
78
  margin-bottom: 20px;
79
}
80 81

.issues_bulk_update {
82
  .select2-container {
83 84 85
    text-shadow: none;
  }
}
86 87 88 89 90 91 92 93 94 95

.issue-search-form {
  margin: 0;
  height: 24px;

  .issue_search {
    border: 1px solid #DDD !important;
    background-color: #f4f4f4;
  }
}
96

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
97
.issue-show-labels .color-label {
98 99 100 101 102
  padding: 6px 10px;
}

form.edit-issue {
  margin: 0;
103
}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121

.merge-request,
.issue {
  &.today {
    background: #EFE;
    border-color: #CEC;
  }

  &.closed {
    background: #F5f5f5;
    border-color: #E5E5E5;
  }

  &.merged {
    background: #F5f5f5;
    border-color: #E5E5E5;
  }
}
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153

@media (max-width: $screen-xs-max) {
  .issue-btn-group {
    width: 100%;
    margin-top: 5px;

    .btn-group {
      width: 100%;

      ul {
        width: 100%;
        text-align: center;
      }
    }

    .btn {
      width: 100%;
      margin-top: -1px;

      &:first-child:not(:last-child) {
        border-radius: 4px 4px 0 0;
      }

      &:not(:first-child):not(:last-child) {
        border-radius: 0;
      }

      &:last-child:not(:first-child) {
        border-radius: 0 0 4px 4px;
      }
    }
  }
154 155 156 157 158 159 160 161 162 163

  .issue {
    &:hover  .issue-actions {
      display: none !important;
    }

    .issue-updated-at {
      display: none;
    }
  }
164
}