issuable.scss 1.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
@media (max-width: $screen-sm-max) {
  .issuable-affix {
    margin-top: 20px;
  }
}

@media (max-width: $screen-md-max) {
  .issuable-affix {
    position: static;
  }
}

@media (min-width: $screen-md-max) {
  .issuable-affix {
    &.affix-top {
      position: static;
    }

    &.affix {
      position: fixed;
21
      top: 70px;
K
Kyle 已提交
22
      margin-right: 35px;
23 24 25
    }
  }
}
D
Dmitriy Zaporozhets 已提交
26

27 28 29 30 31 32 33 34 35 36
.project-issuable-filter {
  .controls {
    float: right;
    margin-top: 7px;
  }

  .center-top-menu {
    text-align: left;
  }
}
37 38

.issuable-details {
39
  section {
40
    border-right: 1px solid $border-white-light;
41

42
    .issuable-discussion {
43 44 45
      margin-right: 1px;
    }
  }
46
}
47 48 49 50 51 52 53 54

.issuable-filter-count {
  span {
    display: block;
    margin-bottom: -16px;
    padding: 13px 0;
  }
}
55

D
Douwe Maan 已提交
56 57 58 59 60 61 62 63 64 65 66
.issuable-show-labels {
  a {
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    .color-label {
      padding: 6px 10px;
    }
  }
}

67 68 69 70 71
.issuable-sidebar {
  .block {
    @include clearfix;
    padding:  $gl-padding 0;
    border-bottom: 1px solid #F0F0F0;
72

73 74 75
    &:last-child {
      border: none;
    }
76
  }
D
Dmitriy Zaporozhets 已提交
77

78 79 80
  .title {
    color: $gl-text-color;
    margin-bottom: 8px;
V
Valery Sizov 已提交
81

82 83
    .avatar {
      margin-left: 0;
V
Valery Sizov 已提交
84 85
    }

86 87 88
    label {
      font-weight: normal;
      margin-right: 4px;
V
Valery Sizov 已提交
89
    }
D
Dmitriy Zaporozhets 已提交
90

91 92
    .edit-link {
      color: $gl-gray;
D
Dmitriy Zaporozhets 已提交
93
    }
V
Valery Sizov 已提交
94 95
  }

96 97
  .cross-project-reference {
    color: $gl-link-color;
98 99 100
    
    span {
      white-space: nowrap;
J
Jacob Schatz 已提交
101
      width: 85%;
102 103 104 105 106
      overflow: hidden;
      position: relative;
      display: inline-block;
      text-overflow: ellipsis;
    }
V
Valery Sizov 已提交
107

108 109
    button {
      float: right;
V
Valery Sizov 已提交
110
    }
111
  }
D
Dmitriy Zaporozhets 已提交
112

113 114 115
  .selectbox {
    display: none
  }
D
Dmitriy Zaporozhets 已提交
116

117 118
  .btn-clipboard {
    color: $gl-gray;
V
Valery Sizov 已提交
119
  }
120 121 122 123 124

  .participants .avatar {
    margin-top: 6px;
    margin-right: 2px;
  }
125
}