tree.scss 2.82 KB
Newer Older
1 2 3 4
#tree-holder { 
  #tree-content-holder {
    float:left;
    width:100%;
5
  }
6
  #tree-readme-holder {
7
    float:left;
8 9 10 11 12 13
    width:100%;
    .readme {
      @include round-borders-all(4px);
      padding:4px 15px;
      background: #F7F7F7;
    }
14 15
  }

16 17 18 19 20 21
  .tree_progress { 
    display:none;
    margin:20px;
    &.loading { 
      display:block;
    }
22 23 24
  }


25 26 27 28 29 30 31 32 33 34 35 36 37
  /** FILE CONTENT VIEW **/
  .view_file_content{
    .old_line, .new_line {
      background:#ECECEC;
      color:#777;
      width:15px;
      float:left;
      padding: 0px 10px;
      border-right: 1px solid #ccc;
    }
    .old_line{
      display:none;
    }
38 39
  }

40 41 42
  .view_file .view_file_header,
  .diff_file .diff_file_header {
    background:#f5f5f5;
43 44 45 46 47
    margin: 0;
    font-weight: normal;
    font-weight: bold;
    text-align: left;
    color: #666;
48
    border-bottom: 1px solid #ccc;
49 50 51 52 53 54
    padding: 7px 10px;

    .mode_text,
    .file_icon { 
      color:#aaa;
    }
55
  }
56

57 58 59
  .view_file {
    border:1px solid #CCC;
    margin-bottom:1em;
60

61 62 63 64 65 66 67 68 69 70 71 72
    .view_file_content {
      background:#fff;
      color:#514721;
      font-size: 11px;
    }
    .view_file_content_image {
      background:#eee;
      text-align:center;
      img {
        padding:100px;
        max-width:300px;
      }
73 74 75
    }
  }

76 77 78 79 80 81 82 83 84 85 86
  td.code {
    width: 100%;
    .highlight {
      margin-left: 55px;
      overflow:auto;
      overflow-y:hidden;
    }
  }
  .highlight pre {
    white-space: pre;
    word-wrap:normal;
87 88
  }

89 90 91 92 93
  table.highlighttable {
    border: none;
  }
  body.project-page table.highlighttable td { border: none }
  table.highlighttable tr:hover { background:none;}
94

95 96 97
  table.highlighttable pre{
    line-height:16px !important;
    font-size:12px !important;
98
  }
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
99

100 101 102 103 104
  table.highlighttable .linenodiv pre {
    text-align: right;
    padding-right: 4px;
    color:#888;
  }
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
105

106 107 108 109
  .tree-item { 
    &:hover { 
      background: $hover;
      cursor:pointer;
110
    }
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
111

112 113 114 115 116 117 118 119 120 121 122

    .tree-item-file-name { 
      font-weight:bold;
      a { 
        color:$style_color;
      }

      img { 
        position: relative;
        top: 2px;
      }
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
123
    }
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
124
  }
125

126 127 128
  ul.breadcrumb {
    background:white;
    border:none;
129

130 131 132 133 134
    a { 
      color:#666;
      font-weight:bold;
      font-size:14px;
    }
135
  }
136

137 138
  #tree-slider { 
    @include shade;
139

140 141 142 143 144 145 146
    td { 
      padding:7px;
      border-color:#f1f1f1;
    }

    th { 
      background:#f5f5f5;
147
      border-color:#f1f1f1;
148
    }
149 150
  }

151 152
  .tree-commit-link { 
    color:#333;
153
  }
154

155 156 157
  #tree-content-holder .view_file{ 
    @include shade;
  }
158

159 160 161 162
  #tree-readme-holder .readme { 
    @include shade;
    margin-bottom:20px;
  }
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
163

164 165 166 167 168 169
  a.tree-commit-link { 
    color: #666;
    &:hover { 
      text-decoration: underline;
    }
  }
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
170

171 172 173 174 175 176 177
  .arrow { 
    background: url("images.png") no-repeat -85px -77px;
    width: 19px;
    height: 16px;
    float: left;
    position: relative;
    left: -10px;
178
    padding:0;
179
    margin:0;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
180 181
  }
}