tree.scss 1.6 KB
Newer Older
1
.tree-holder {
2

3
  .tree-table {
4
    margin-bottom: 0;
5 6

    tr {
7
      > td, > th {
D
Dmitriy Zaporozhets 已提交
8
        line-height: 28px;
9 10
      }

R
randx 已提交
11 12 13
      &:hover {
        td {
          background: $hover;
14 15
          border-top: 1px solid #ADF;
          border-bottom: 1px solid #ADF;
R
randx 已提交
16
        }
17
        cursor: pointer;
D
Dmitriy Zaporozhets 已提交
18
      }
19 20
      &.selected {
        td {
21 22 23
          background: $gray-dark;
          border-top: 1px solid $border-gray-dark;
          border-bottom: 1px solid $border-gray-dark;
24 25
        }
      }
26
    }
D
Dmitriy Zaporozhets 已提交
27
  }
D
Dmitriy Zaporozhets 已提交
28

R
randx 已提交
29 30
  .tree-item {
    .tree-item-file-name {
D
Dmitriy Zaporozhets 已提交
31
      max-width: 320px;
32
      vertical-align: middle;
33

D
Dmitriy Zaporozhets 已提交
34 35
      i, a {
        color: $gl-link-color;
36 37
      }

R
randx 已提交
38
      img {
39
        position: relative;
D
Dmitriy Zaporozhets 已提交
40
        top:-1px;
41
      }
D
Dmitriy Zaporozhets 已提交
42
    }
43

D
Dmitriy Zaporozhets 已提交
44 45 46 47
    .tree_commit {
      max-width: 320px;
    }

48 49 50
    .tree_time_ago {
      min-width: 135px;
    }
D
Dmitriy Zaporozhets 已提交
51
  }
52

R
Riyad Preukschas 已提交
53
  .tree_author {
54 55 56
    padding-right: 8px;

    .commit-author-name {
57
      color: $gl-gray;
58
    }
59
  }
60

R
Riyad Preukschas 已提交
61
  .tree_commit {
62
    color: $gl-gray;
R
Riyad Preukschas 已提交
63 64

    .tree-commit-link {
65
      color: $gl-gray;
D
Dmitriy Zaporozhets 已提交
66

R
Riyad Preukschas 已提交
67 68 69
      &:hover {
        text-decoration: underline;
      }
70 71
    }
  }
D
Dmitriy Zaporozhets 已提交
72
}
73

74 75
.tree-ref-holder {
  float: left;
76
  margin-right: 15px;
77
}
D
Dmitriy Zaporozhets 已提交
78

79 80 81 82
.blob-commit-info {
  list-style: none;
  margin: 0;
  padding: 0;
D
Dmitriy Zaporozhets 已提交
83
  margin-bottom: 5px;
84 85

  .commit {
D
Dmitriy Zaporozhets 已提交
86
    padding: $gl-padding 0;
D
Dmitriy Zaporozhets 已提交
87

88 89 90 91 92 93 94
    .commit-row-title {
      .commit-row-message {
        font-weight: normal;
      }
    }
  }
}
95 96

#modal-remove-blob > .modal-dialog { width: 850px; }
L
liyakun 已提交
97 98 99 100 101

.blob-upload-dropzone-previews {
  text-align: center;
  border: 2px;
  border-style: dashed;
102
  border-color: $border-color;
L
liyakun 已提交
103 104 105 106 107
  min-height: 200px;
}

.upload-link {
  font-weight: normal;
108
  color: $md-link-color;
L
liyakun 已提交
109
}