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

154 lines
2.3 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 {
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: $background-color;
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 {
max-width: 320px;
vertical-align: middle;
2015-03-10 07:51:16 +00:00
i, a {
color: $gl-link-color;
}
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
}
.tree_commit {
max-width: 320px;
}
.tree_time_ago {
min-width: 135px;
}
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;
2015-03-10 07:51:16 +00:00
.commit-author-name {
color: gray;
}
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 {
2015-03-10 07:51:16 +00:00
color: gray;
2012-10-18 18:53:35 +00:00
&: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;
}
td.lines {
code {
font-family: $monospace_font;
}
}
2012-10-17 22:49:20 +00:00
}
2012-02-20 19:38:59 +00:00
}
.tree-download-holder .btn {
padding: 4px 12px;
}
2013-03-14 17:50:57 +00:00
.tree-ref-holder {
float: left;
margin-right: 6px;
.select2-container .select2-choice, .select2-container.select2-drop-above .select2-choice {
padding: 4px 12px;
}
}
.readme-holder {
.readme-file-title {
font-size: 14px;
2015-02-24 05:27:41 +00:00
font-weight: bold;
margin-bottom: 20px;
color: #777;
2015-02-24 05:27:41 +00:00
border-bottom: 1px solid #DDD;
padding: 10px 0;
}
}
.blob-commit-info {
list-style: none;
margin: 0;
padding: 0;
margin-bottom: 10px;
.commit {
padding: 10px 15px;
.commit-row-title {
font-size: 13px;
.commit-row-message {
font-weight: normal;
color: #555;
}
}
}
}
#modal-remove-blob > .modal-dialog { width: 850px; }