tree.scss
1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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
94
#tree-holder { 
  #tree-content-holder {
    float:left;
    width:100%;
  }
  #tree-readme-holder {
    float:left;
    width:100%;
    .readme {
      border:1px solid #ccc;
      padding:12px;
      background: #F7F7F7;
      pre { 
        overflow: auto;
      }
    }
  }
  .tree_progress { 
    display:none;
    margin:20px;
    &.loading { 
      display:block;
    }
  }
  #tree-slider {
    @include border-radius(0);
    .tree-item { 
      &:hover { 
        td { background: $hover; }
        cursor:pointer;
      }
    }
  }
  .tree-item { 
    .tree-item-file-name { 
      vertical-align:middle;
      a { 
        &:hover { 
          color:$blue_link;
        }
      }
      img { 
        position: relative;
        top:-1px;
      }
    }
  }
  #tree-slider { 
    @include solid_shade;
    width:100%;
    border-color:#ccc;
    td { 
      padding:8px;
      border-color:#f1f1f1;
      background:#fafafa;
    }
    tr:first-child td:first-child, 
    tr:first-child td:last-child { 
      border-radius:0;
    }
    th { 
      border-color: #CCC;
      border-bottom: 1px solid #bbb;
      background:#eee;
      background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
      background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
      background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
      background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
    }
  }
  .tree-commit-link { 
    color:#333;
  }
  a.tree-commit-link { 
    color: #666;
    &:hover { 
      text-decoration: underline;
    }
  }
}