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

127 lines
1.9 KiB
SCSS
Raw Normal View History

2012-10-02 07:26:24 +00:00
.tree-holder {
.tree-content-holder {
float: left;
width: 100%;
2012-02-26 22:41:53 +00:00
}
2012-09-03 18:53:16 +00:00
.tree_progress {
display: none;
margin: 20px;
2012-09-03 18:53:16 +00:00
&.loading {
display: block;
}
}
2012-10-02 07:26:24 +00:00
.tree-table {
@extend .table;
@include border-radius(0);
tr {
td, th {
padding: 8px 10px;
line-height: 20px;
}
th {
font-weight: normal;
font-size: 15px;
border-bottom: 1px solid #CCC !important;
}
td {
border-color: #F1F1F1 !important;
}
2012-09-03 18:53:16 +00:00
&:hover {
td {
background: $hover;
border-top: 1px solid #ADF;
border-bottom: 1px solid #ADF;
2012-09-03 18:53:16 +00:00
}
cursor: pointer;
2012-04-07 14:30:00 +00:00
}
&.selected {
td {
background: #f5f5f5;
border-top: 1px solid #EEE;
border-bottom: 1px solid #EEE;
}
}
2012-02-11 21:22:33 +00:00
}
2012-04-07 14:30:00 +00:00
}
2012-01-29 10:45:51 +00:00
2012-09-03 18:53:16 +00:00
.tree-item {
.tree-item-file-name {
vertical-align: middle;
2012-09-03 18:53:16 +00:00
a {
&:hover {
2012-11-25 19:03:14 +00:00
color: $primary_color;
2012-04-10 05:51:08 +00:00
}
}
2012-09-03 18:53:16 +00:00
img {
position: relative;
2012-04-10 17:06:17 +00:00
top:-1px;
}
2012-01-29 10:45:51 +00:00
}
2012-01-29 10:04:09 +00:00
}
2012-02-12 17:47:37 +00:00
2012-10-18 18:53:35 +00:00
.tree_author {
padding-right: 8px;
2012-02-12 17:47:37 +00:00
}
2012-02-14 21:48:42 +00:00
2012-10-18 18:53:35 +00:00
.tree_commit {
color: gray;
.tree-commit-link {
color: #444;
&:hover {
text-decoration: underline;
}
}
}
2012-10-17 22:49:20 +00:00
.blame {
img.avatar {
border: 0 none;
float: none;
margin: 0;
padding: 0;
}
2013-01-14 18:55:57 +00:00
td.blame-commit {
background: #f9f9f9;
min-width: 350px;
}
td.blame-numbers {
pre {
color: #AAA;
white-space: pre;
}
background: #f1f1f1;
border-left: 1px solid #DDD;
}
2012-10-17 22:49:20 +00:00
}
2012-02-20 19:38:59 +00:00
}
.tree-btn-group {
top: 2px;
.btn {
margin-right: 0px;
padding: 2px 10px;
}
}
2013-03-14 17:50:57 +00:00
.tree-ref-holder {
float: left;
margin-top: 5px;
}
.readme-holder {
border-top: 1px dashed #CCC;
padding-top: 10px;
h4 {
font-size: 14px;
margin-bottom: 20px;
color: #777;
}
}