issuable.scss 1.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
@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;
      top: 70px;
K
Kyle 已提交
22
      margin-right: 35px;
23 24 25
    }
  }
}
D
Dmitriy Zaporozhets 已提交
26 27 28 29 30 31 32 33 34

.issuable-context-title {
  margin-bottom: 5px;

  .avatar {
    margin-left: 0;
  }

  label {
D
Dmitriy Zaporozhets 已提交
35
    color: $gl-gray;
D
Dmitriy Zaporozhets 已提交
36 37 38 39
    font-weight: normal;
    margin-right: 4px;
  }
}
40

41 42 43 44 45 46 47 48 49 50
.project-issuable-filter {
  .controls {
    float: right;
    margin-top: 7px;
  }

  .center-top-menu {
    text-align: left;
  }
}
51 52 53 54 55 56

.issuable-details {
  .page-title {
    margin-top: -15px;
    padding: 10px 0;
    margin-bottom: 0;
57
    color: #5c5d5e;
58 59 60
    font-size: 16px;

    .author {
61
      color: #5c5d5e;
62 63 64
    }

    .issue-id {
65
      color: #5c5d5e;
66 67
    }
  }
68 69 70

  .issue-title {
    margin: 0;
71 72
    font-size: 23px;
    color: #313236;
73 74 75 76 77 78 79 80 81
  }

  .description {
    margin-top: 6px;

    p:last-child {
      margin-bottom: 0;
    }
  }
82
}
83 84 85 86 87 88 89 90

.issuable-filter-count {
  span {
    display: block;
    margin-bottom: -16px;
    padding: 13px 0;
  }
}
91 92 93 94 95 96 97 98 99 100 101 102 103

.cross-project-reference {
  text-align: center;
  width: 100%;

  .slead {
    padding: 5px;
  }

  span, button {
    background-color: $background-color;
  }
}
V
Valery Sizov 已提交
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145

.awards {
  .award {
    border: 1px solid;
    padding: 1px 3px;
    width: 50px;
    border-radius: 5px;
    float:left;
    margin: 0 3px;
    border-color: #ccc;
    cursor: pointer;

    &.active {
      border-color: rgba(79,176,252,.4);
      background-color: rgba(79,176,252,.08);

      .counter {
        font-weight: bold;
      }
    }

    .icon {
      float: left;
      margin-right: 10px;
    }
  }

  #add-award {
    font-size: 20px;
    border-radius: 5px;
    float: left;
    width: 50px;
    font-weight: bold;
  }
  
  .awards-menu{
    li {
      float: left;
      margin: 3px;
    }
  }
}