gitlabhq/app/assets/stylesheets/sections/tree.scss

105 lines
1.5 KiB
SCSS
Raw Normal View History

2012-10-02 09:26:24 +02:00
.tree-holder {
.tree-content-holder {
float: left;
width: 100%;
2012-02-26 23:41:53 +01:00
}
2012-09-03 20:53:16 +02:00
.tree_progress {
display: none;
margin: 20px;
2012-09-03 20:53:16 +02:00
&.loading {
display: block;
}
}
2012-10-02 09:26:24 +02:00
.tree-table {
@include border-radius(0);
2012-09-03 20:53:16 +02:00
.tree-item {
&:hover {
td {
background: $hover;
border-top: 1px solid #ADF;
border-bottom: 1px solid #ADF;
2012-09-03 20:53:16 +02:00
}
cursor: pointer;
2012-04-07 16:30:00 +02:00
}
2012-02-11 22:22:33 +01:00
}
2012-04-07 16:30:00 +02:00
}
2012-01-29 11:45:51 +01:00
2012-09-03 20:53:16 +02:00
.tree-item {
.tree-item-file-name {
vertical-align: middle;
2012-09-03 20:53:16 +02:00
a {
&:hover {
2012-11-25 20:03:14 +01:00
color: $primary_color;
2012-04-10 07:51:08 +02:00
}
}
2012-09-03 20:53:16 +02:00
img {
position: relative;
2012-04-10 19:06:17 +02:00
top:-1px;
}
2012-01-29 11:45:51 +01:00
}
2012-01-29 11:04:09 +01:00
}
2012-02-12 18:47:37 +01:00
2012-10-02 09:26:24 +02:00
.tree-table {
th .btn {
margin: -2px -1px;
padding: 2px 10px;
}
2012-09-03 20:53:16 +02:00
td {
line-height: 20px;
background: #fafafa;
2012-04-06 07:48:58 +02:00
}
2012-02-12 18:47:37 +01:00
}
2012-10-18 20:53:35 +02:00
.tree_author {
padding-right: 8px;
img.avatar {
margin-top: 0;
2012-10-18 20:53:35 +02:00
width: 16px;
}
2012-02-12 18:47:37 +01:00
}
2012-02-14 22:48:42 +01:00
2012-10-18 20:53:35 +02:00
.tree_commit {
color: gray;
.tree-commit-link {
color: #444;
&:hover {
text-decoration: underline;
}
}
}
2012-10-18 00:49:20 +02:00
.blame {
img.avatar {
border: 0 none;
float: none;
margin: 0;
padding: 0;
}
2013-01-14 19:55:57 +01: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-18 00:49:20 +02:00
}
2012-02-20 20:38:59 +01:00
}
.tree-btn-group {
.btn {
margin-right:-3px;
padding: 2px 10px;
}
}