tree.scss 2.1 KB
Newer Older
1
.tree-holder {
2
  > .nav-block {
3
    margin: 11px 0;
4
  }
5

6 7 8 9 10 11 12 13
  .file-finder {
    width: 50%;
    .file-finder-input {
      width: 95%;
      display: inline-block;
    }
  }

14
  .tree-table {
15
    margin-bottom: 0;
16

17
    tr {
A
Annabel Dunstone 已提交
18 19 20 21
      border-bottom: 1px solid $table-border-gray;
      border-top: 1px solid $table-border-gray;

      td, th {
22
        line-height: 23px;
23 24
      }

R
randx 已提交
25 26
      &:hover {
        td {
A
Annabel Dunstone 已提交
27 28 29
          background-color: $row-hover;
          border-top: 1px solid $row-hover-border;
          border-bottom: 1px solid $row-hover-border;
30
          cursor: pointer;
R
randx 已提交
31
        }
D
Dmitriy Zaporozhets 已提交
32
      }
A
Annabel Dunstone 已提交
33

34 35
      &.selected {
        td {
36 37 38
          background: $gray-dark;
          border-top: 1px solid $border-gray-dark;
          border-bottom: 1px solid $border-gray-dark;
39 40
        }
      }
41
    }
D
Dmitriy Zaporozhets 已提交
42
  }
D
Dmitriy Zaporozhets 已提交
43

R
randx 已提交
44 45
  .tree-item {
    .tree-item-file-name {
D
Dmitriy Zaporozhets 已提交
46
      max-width: 320px;
47
      vertical-align: middle;
48

49
      i, a {
D
Dmitriy Zaporozhets 已提交
50
        color: $gl-dark-link-color;
51 52
      }

R
randx 已提交
53
      img {
54
        position: relative;
55
        top: -1px;
56
      }
D
Dmitriy Zaporozhets 已提交
57
    }
58

D
Dmitriy Zaporozhets 已提交
59 60 61 62
    .tree_commit {
      max-width: 320px;
    }

63 64 65
    .tree_time_ago {
      min-width: 135px;
    }
D
Dmitriy Zaporozhets 已提交
66
  }
67

R
Riyad Preukschas 已提交
68
  .tree_author {
69 70 71
    padding-right: 8px;

    .commit-author-name {
72
      color: $gl-gray;
73
    }
74
  }
75

R
Riyad Preukschas 已提交
76
  .tree_commit {
77
    color: $gl-gray;
R
Riyad Preukschas 已提交
78 79

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

R
Riyad Preukschas 已提交
82 83 84
      &:hover {
        text-decoration: underline;
      }
85 86
    }
  }
D
Dmitriy Zaporozhets 已提交
87
}
88

89 90
.tree-ref-holder {
  float: left;
91
  margin-right: 15px;
92
}
D
Dmitriy Zaporozhets 已提交
93

94 95
.blob-commit-info {
  list-style: none;
96 97 98 99
  padding: $gl-padding;
  background: $background-color;
  border: 1px solid $border-color;
  border-bottom: none;
100 101 102
  margin: 0;

  .commit {
P
Phil Hughes 已提交
103 104
    padding-top: 0;
    padding-bottom: 0;
D
Dmitriy Zaporozhets 已提交
105

106 107 108 109 110 111 112
    .commit-row-title {
      .commit-row-message {
        font-weight: normal;
      }
    }
  }
}
113 114

#modal-remove-blob > .modal-dialog { width: 850px; }
L
liyakun 已提交
115 116 117 118 119

.blob-upload-dropzone-previews {
  text-align: center;
  border: 2px;
  border-style: dashed;
120
  border-color: $border-color;
L
liyakun 已提交
121 122 123 124 125
  min-height: 200px;
}

.upload-link {
  font-weight: normal;
126
  color: $md-link-color;
L
liyakun 已提交
127
}
128 129 130

.tree-controls {
  float: right;
131
  margin-top: 11px;
132 133
  position: relative;
  z-index: 2;
134
}