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

109 lines
1.5 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 {
@include border-radius(0);
2012-09-03 18:53:16 +00:00
.tree-item {
&: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
}
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-02 07:26:24 +00:00
.tree-table {
th .btn {
margin: -2px -1px;
padding: 2px 10px;
}
2012-09-03 18:53:16 +00:00
td {
line-height: 20px;
background: #fafafa;
2012-04-06 05:48:58 +00:00
}
2012-02-12 17:47:37 +00:00
}
2012-10-18 18:53:35 +00:00
.tree_author {
padding-right: 8px;
img.avatar {
margin-top: 0;
2012-10-18 18:53:35 +00:00
width: 16px;
}
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 {
.btn {
margin-right: 0px;
padding: 2px 10px;
}
}
2013-03-14 17:50:57 +00:00
.tree-ref-holder {
float: left;
margin-top: 5px;
}