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

6
    .issue-title {
ranjith's avatar
ranjith committed
7
      margin-bottom: 5px;
8
      font-size: $list-font-size;
9
      font-weight: bold;
10 11 12
    }

    .issue-info {
13
      color: $gl-gray;
14 15 16
    }

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

23 24 25 26
    .issue-labels {
      display: inline-block;
    }

Stefan Tatschner's avatar
Stefan Tatschner committed
27 28
    .issue-no-comments {
      opacity: 0.5;
randx's avatar
randx committed
29 30 31
    }
  }
}
randx's avatar
randx committed
32

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

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

  form {
    margin: 0;
  }
randx's avatar
randx committed
47 48
}

49 50 51 52 53 54 55 56 57
.issue-search-form {
  margin: 0;
  height: 24px;

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

59 60
form.edit-issue {
  margin: 0;
61
}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
62 63 64 65 66 67 68 69 70

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

  &.closed {
71
    background: #F9F9F9;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
72 73 74 75
    border-color: #E5E5E5;
  }

  &.merged {
76
    background: #F9F9F9;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
77 78 79
    border-color: #E5E5E5;
  }
}
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111

@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;
      }
    }
  }
112 113 114 115 116 117 118 119 120 121

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

    .issue-updated-at {
      display: none;
    }
  }
122
}
123

124 125 126 127 128
.issue-closed-by-widget {
  padding: 16px 0;
  margin: 0px;
}

129 130
.issue-form .select2-container {
  width: 250px !important;
131
}