tree.scss 1.8 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 {
18
      > td, > th {
19
        line-height: 26px;
20 21
      }

R
randx 已提交
22 23
      &:hover {
        td {
P
Phil Hughes 已提交
24
          background: $row-hover;
R
randx 已提交
25
        }
26
        cursor: pointer;
D
Dmitriy Zaporozhets 已提交
27
      }
28 29
      &.selected {
        td {
30 31 32
          background: $gray-dark;
          border-top: 1px solid $border-gray-dark;
          border-bottom: 1px solid $border-gray-dark;
33 34
        }
      }
35
    }
D
Dmitriy Zaporozhets 已提交
36
  }
D
Dmitriy Zaporozhets 已提交
37

R
randx 已提交
38 39
  .tree-item {
    .tree-item-file-name {
D
Dmitriy Zaporozhets 已提交
40
      max-width: 320px;
41
      vertical-align: middle;
42

43
      i, a {
D
Dmitriy Zaporozhets 已提交
44
        color: $gl-dark-link-color;
45 46
      }

R
randx 已提交
47
      img {
48
        position: relative;
49
        top: -1px;
50
      }
D
Dmitriy Zaporozhets 已提交
51
    }
52

D
Dmitriy Zaporozhets 已提交
53 54 55 56
    .tree_commit {
      max-width: 320px;
    }

57 58 59
    .tree_time_ago {
      min-width: 135px;
    }
D
Dmitriy Zaporozhets 已提交
60
  }
61

R
Riyad Preukschas 已提交
62
  .tree_author {
63 64 65
    padding-right: 8px;

    .commit-author-name {
66
      color: $gl-gray;
67
    }
68
  }
69

R
Riyad Preukschas 已提交
70
  .tree_commit {
71
    color: $gl-gray;
R
Riyad Preukschas 已提交
72 73

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

R
Riyad Preukschas 已提交
76 77 78
      &:hover {
        text-decoration: underline;
      }
79 80
    }
  }
D
Dmitriy Zaporozhets 已提交
81
}
82

83 84
.tree-ref-holder {
  float: left;
85
  margin-right: 15px;
86
}
D
Dmitriy Zaporozhets 已提交
87

88 89
.blob-commit-info {
  list-style: none;
90 91 92 93
  padding: $gl-padding;
  background: $background-color;
  border: 1px solid $border-color;
  border-bottom: none;
94 95 96
  margin: 0;

  .commit {
97
    padding: 0;
D
Dmitriy Zaporozhets 已提交
98

99 100 101 102 103 104 105
    .commit-row-title {
      .commit-row-message {
        font-weight: normal;
      }
    }
  }
}
106 107

#modal-remove-blob > .modal-dialog { width: 850px; }
L
liyakun 已提交
108 109 110 111 112

.blob-upload-dropzone-previews {
  text-align: center;
  border: 2px;
  border-style: dashed;
113
  border-color: $border-color;
L
liyakun 已提交
114 115 116 117 118
  min-height: 200px;
}

.upload-link {
  font-weight: normal;
119
  color: $md-link-color;
L
liyakun 已提交
120
}
121 122 123

.tree-controls {
  float: right;
124
  margin-top: 11px;
125
}