commits.scss 1.8 KB
Newer Older
1
.commits-compare-switch{
D
Dmitriy Zaporozhets 已提交
2 3
  @include btn-default;
  @include btn-white;
4
  background: image-url("switch_icon.png") no-repeat center center;
5
  text-indent: -9999px;
D
Dmitriy Zaporozhets 已提交
6 7 8
  float: left;
  margin-right: 9px;
}
9

D
Dmitriy Zaporozhets 已提交
10 11
.lists-separator {
  margin: 10px 0;
D
Dmitriy Zaporozhets 已提交
12
  border-color: #DDD;
D
Dmitriy Zaporozhets 已提交
13 14
}

D
Dmitriy Zaporozhets 已提交
15 16 17
.commits-row {
  ul {
    margin: 0;
18

D
Dmitriy Zaporozhets 已提交
19 20
    li.commit {
      padding: 8px 0;
D
Dmitriy Zaporozhets 已提交
21 22
    }
  }
D
Dmitriy Zaporozhets 已提交
23

D
Dmitriy Zaporozhets 已提交
24 25 26 27
  .commits-row-date {
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 5px;
D
Dmitriy Zaporozhets 已提交
28
  }
29
}
D
Dmitriy Zaporozhets 已提交
30 31 32 33

.commits-feed-holder {
  float: right;
}
34 35

li.commit {
36 37
  list-style: none;

38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
  .commit-row-title {
    font-size: $list-font-size;
    line-height: 20px;
    margin-bottom: 2px;

    .notes_count {
      float: right;
      margin-right: 10px;
    }

    .commit_short_id {
      min-width: 65px;
      font-family: $monospace_font;
    }

    .str-truncated {
      max-width: 70%;
    }

    .commit-row-message {
58
      color: $gl-link-color;
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93

      &:hover {
        text-decoration: underline;
      }
    }

    .text-expander {
      background: #eee;
      color: #555;
      padding: 0 5px;
      cursor: pointer;
      margin-left: 4px;
      &:hover {
        background-color: #ddd;
      }
    }
  }

  .commit-row-description {
    font-size: 14px;
    border-left: 1px solid #EEE;
    padding: 10px 15px;
    margin: 5px 0 10px 5px;
    background: #f9f9f9;
    display: none;

    pre {
      border: none;
      background: inherit;
      padding: 0;
      margin: 0;
    }
  }

  .commit-row-info {
94
    color: $gl-gray;
95
    line-height: 24px;
96
    font-size: 13px;
97 98

    a {
99
      color: $gl-gray;
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
    }

    .committed_ago {
      display: inline-block;
    }
  }

  &.inline-commit {
    .commit-row-title {
      font-size: 13px;
    }

    .committed_ago {
      float: right;
      @extend .cgray;
    }
  }
}
118 119 120 121 122 123 124

.branch-commit {
  color: $gl-gray;
  .commit-id, .commit-row-message {
    color: $gl-gray;
  }
}