BigW Consortium Gitlab

tree.scss 2.16 KB
Newer Older
1 2
.tree-holder {
  .tree-content-holder {
3 4
    float: left;
    width: 100%;
5
  }
6

randx committed
7
  .tree_progress {
8 9
    display: none;
    margin: 20px;
randx committed
10
    &.loading {
11
      display: block;
12
    }
13 14
  }

15
  .tree-table {
16
    @extend .table;
17
    @include border-radius(0);
18 19

    tr {
randx committed
20 21 22
      &:hover {
        td {
          background: $hover;
23 24
          border-top: 1px solid #ADF;
          border-bottom: 1px solid #ADF;
randx committed
25
        }
26
        cursor: pointer;
Dmitriy Zaporozhets committed
27
      }
28 29
      &.selected {
        td {
30
          background: $background-color;
31 32
          border-top: 1px solid #EEE;
          border-bottom: 1px solid #EEE;
33 34
        }
      }
35
    }
Dmitriy Zaporozhets committed
36
  }
Dmitriy Zaporozhets committed
37

randx committed
38 39
  .tree-item {
    .tree-item-file-name {
40
      max-width: 320px;
41
      vertical-align: middle;
42

43 44
      i, a {
        color: $gl-link-color;
45 46
      }

randx committed
47
      img {
48
        position: relative;
Dmitriy Zaporozhets committed
49
        top:-1px;
50
      }
Dmitriy Zaporozhets committed
51
    }
52

53 54 55 56
    .tree_commit {
      max-width: 320px;
    }

57 58 59
    .tree_time_ago {
      min-width: 135px;
    }
60
  }
61

62 63
  .tree_author {
    padding-right: 8px;
64 65 66 67

    .commit-author-name {
      color: gray;
    }
68
  }
69

70 71 72 73
  .tree_commit {
    color: gray;

    .tree-commit-link {
74 75
      color: gray;

76 77 78
      &:hover {
        text-decoration: underline;
      }
79 80
    }
  }
Riyad Preukschas committed
81 82 83 84 85 86 87 88

  .blame {
    img.avatar {
      border: 0 none;
      float: none;
      margin: 0;
      padding: 0;
    }
89 90 91 92 93 94 95 96 97 98 99 100
    td.blame-commit {
      background: #f9f9f9;
      min-width: 350px;
    }
    td.blame-numbers {
      pre {
        color: #AAA;
        white-space: pre;
      }
      background: #f1f1f1;
      border-left: 1px solid #DDD;
    }
101 102 103 104 105
    td.lines {
      code {
        font-family: $monospace_font;
      }
    }
Riyad Preukschas committed
106
  }
Dmitriy Zaporozhets committed
107
}
108

109 110
.tree-ref-holder {
  float: left;
111
  margin-right: 15px;
112
}
113 114

.readme-holder {
115
  .readme-file-title {
116
    font-size: 14px;
117
    font-weight: bold;
118 119
    margin-bottom: 20px;
    color: #777;
120 121
    border-bottom: 1px solid #DDD;
    padding: 10px 0;
122 123
  }
}
124 125 126 127 128 129 130 131

.blob-commit-info {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 10px;

  .commit {
Dmitriy Zaporozhets committed
132 133
    padding: 10px 15px;

134 135 136 137 138 139 140 141 142 143
    .commit-row-title {
      font-size: 13px;

      .commit-row-message {
        font-weight: normal;
        color: #555;
      }
    }
  }
}
144 145

#modal-remove-blob > .modal-dialog { width: 850px; }