debian-mirror-gitlab/app/assets/stylesheets/pages/tree.scss

126 lines
1.8 KiB
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
.tree-holder {
> .nav-block {
margin: 11px 0;
}
2014-09-02 18:07:02 +05:30
.file-finder {
width: 50%;
.file-finder-input {
width: 95%;
display: inline-block;
}
}
2014-09-02 18:07:02 +05:30
.tree-table {
2015-10-24 18:46:33 +05:30
margin-bottom: 0;
2014-09-02 18:07:02 +05:30
tr {
2015-10-24 18:46:33 +05:30
> td, > th {
line-height: 26px;
2015-10-24 18:46:33 +05:30
}
2014-09-02 18:07:02 +05:30
&:hover {
td {
background: $hover;
}
cursor: pointer;
}
&.selected {
td {
2015-10-24 18:46:33 +05:30
background: $gray-dark;
border-top: 1px solid $border-gray-dark;
border-bottom: 1px solid $border-gray-dark;
2014-09-02 18:07:02 +05:30
}
}
}
}
.tree-item {
.tree-item-file-name {
max-width: 320px;
vertical-align: middle;
2015-04-26 12:48:37 +05:30
i, a {
color: $gl-link-color;
2014-09-02 18:07:02 +05:30
}
img {
position: relative;
top:-1px;
}
}
.tree_commit {
max-width: 320px;
}
.tree_time_ago {
min-width: 135px;
}
}
.tree_author {
padding-right: 8px;
2015-04-26 12:48:37 +05:30
.commit-author-name {
2015-09-25 12:07:36 +05:30
color: $gl-gray;
2015-04-26 12:48:37 +05:30
}
2014-09-02 18:07:02 +05:30
}
.tree_commit {
2015-09-25 12:07:36 +05:30
color: $gl-gray;
2014-09-02 18:07:02 +05:30
.tree-commit-link {
2015-09-25 12:07:36 +05:30
color: $gl-gray;
2015-04-26 12:48:37 +05:30
2014-09-02 18:07:02 +05:30
&:hover {
text-decoration: underline;
}
}
}
}
.tree-ref-holder {
float: left;
2015-04-26 12:48:37 +05:30
margin-right: 15px;
2014-09-02 18:07:02 +05:30
}
.blob-commit-info {
list-style: none;
padding: $gl-padding;
background: $background-color;
border: 1px solid $border-color;
border-bottom: none;
2014-09-02 18:07:02 +05:30
margin: 0;
.commit {
padding: 0;
2014-09-02 18:07:02 +05:30
.commit-row-title {
.commit-row-message {
font-weight: normal;
}
}
}
}
#modal-remove-blob > .modal-dialog { width: 850px; }
2015-09-25 12:07:36 +05:30
.blob-upload-dropzone-previews {
text-align: center;
border: 2px;
border-style: dashed;
border-color: $border-color;
min-height: 200px;
}
.upload-link {
font-weight: normal;
color: $md-link-color;
}
.tree-controls {
float: right;
margin-top: 11px;
}