gitlab-org--gitlab-foss/app/assets/stylesheets/tree.scss

217 lines
3.9 KiB
SCSS
Raw Normal View History

#tree-holder {
#tree-content-holder {
float:left;
width:100%;
2012-02-26 17:41:53 -05:00
}
#tree-readme-holder {
float:left;
width:100%;
.readme {
@include round-borders-all(4px);
padding:4px 15px;
background: #F7F7F7;
}
}
.tree_progress {
display:none;
margin:20px;
&.loading {
display:block;
}
}
/** 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;
}
}
.view_file .view_file_header,
.diff_file .diff_file_header {
2012-04-06 01:48:58 -04:00
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);
margin: 0;
font-weight: normal;
font-weight: bold;
text-align: left;
color: #666;
2012-04-06 01:48:58 -04:00
padding: 9px 10px;
height:18px;
.mode_text,
.file_icon {
2012-04-06 01:48:58 -04:00
color:#777;
}
.file_name {
color:#474D57;
text-shadow: 0 1px 1px #fff;
}
}
.view_file {
border:1px solid #CCC;
margin-bottom:1em;
.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;
}
}
}
td.code {
width: 100%;
.highlight {
margin-left: 55px;
overflow:auto;
overflow-y:hidden;
}
}
.highlight pre {
white-space: pre;
word-wrap:normal;
}
table.highlighttable {
border: none;
}
body.project-page table.highlighttable td { border: none }
table.highlighttable tr:hover { background:none;}
table.highlighttable pre{
line-height:16px !important;
font-size:12px !important;
}
2012-01-29 05:04:09 -05:00
table.highlighttable .linenodiv pre {
text-align: right;
padding-right: 4px;
color:#888;
}
2012-02-20 14:38:59 -05:00
2012-04-07 10:30:00 -04:00
#tree-slider {
.tree-item {
&:hover {
td { background: $hover; }
cursor:pointer;
}
2012-02-11 16:22:33 -05:00
}
2012-04-07 10:30:00 -04:00
}
2012-01-29 05:45:51 -05:00
2012-04-07 10:30:00 -04:00
.tree-item {
.tree-item-file-name {
2012-04-10 01:51:08 -04:00
vertical-align:middle;
font-weight:bold;
a {
color:$style_color;
2012-04-10 01:51:08 -04:00
&:hover {
color:$blue_link;
}
}
img {
position: relative;
2012-04-10 13:06:17 -04:00
top:-1px;
}
2012-01-29 05:45:51 -05:00
}
2012-01-29 05:04:09 -05:00
}
2012-02-12 12:47:37 -05:00
ul.breadcrumb {
background:white;
border:none;
2012-04-10 01:51:08 -04:00
li {
display: inline;
text-shadow: 0 1px 0 white
}
2012-02-18 07:12:48 -05:00
a {
2012-04-06 01:48:58 -04:00
color:#474D57;
font-weight:bold;
font-size:14px;
}
2012-02-18 07:12:48 -05:00
}
2012-02-12 12:47:37 -05:00
#tree-slider {
@include shade;
2012-04-10 01:51:08 -04:00
width:100%;
2012-02-20 12:59:39 -05:00
2012-04-06 01:48:58 -04:00
border-color:#ccc;
td {
2012-04-10 13:06:17 -04:00
padding:8px;
border-color:#f1f1f1;
2012-04-06 01:48:58 -04:00
background:#fafafa;
}
tr:first-child td:first-child,
tr:first-child td:last-child {
border-radius:0;
}
th {
2012-04-06 01:48:58 -04:00
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);
}
2012-02-12 12:47:37 -05:00
}
.tree-commit-link {
color:#333;
2012-02-12 12:47:37 -05:00
}
2012-02-14 16:48:42 -05:00
#tree-content-holder .view_file{
@include shade;
}
2012-02-20 12:59:39 -05:00
#tree-readme-holder .readme {
@include shade;
margin-bottom:20px;
}
2012-02-20 13:04:03 -05:00
a.tree-commit-link {
color: #666;
&:hover {
text-decoration: underline;
}
}
2012-02-20 14:38:59 -05:00
.arrow {
background: url("images.png") no-repeat -85px -77px;
width: 19px;
height: 16px;
float: left;
position: relative;
left: -10px;
padding:0;
2012-04-02 13:29:39 -04:00
margin:0;
2012-02-20 14:38:59 -05:00
}
}