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

135 lines
2.1 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 {
border-bottom: 1px solid $table-border-gray;
border-top: 1px solid $table-border-gray;
td, th {
2016-06-02 11:05:42 +05:30
line-height: 23px;
2015-10-24 18:46:33 +05:30
}
2014-09-02 18:07:02 +05:30
&:hover {
td {
background-color: $row-hover;
border-top: 1px solid $row-hover-border;
border-bottom: 1px solid $row-hover-border;
2016-08-24 12:49:21 +05:30
cursor: pointer;
2014-09-02 18:07:02 +05:30
}
}
2014-09-02 18:07:02 +05:30
&.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 {
2016-06-02 11:05:42 +05:30
color: $gl-dark-link-color;
2014-09-02 18:07:02 +05:30
}
img {
position: relative;
2016-06-02 11:05:42 +05:30
top: -1px;
2014-09-02 18:07:02 +05:30
}
}
.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 {
2016-08-24 12:49:21 +05:30
padding-top: 0;
padding-bottom: 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;
2016-06-22 15:30:34 +05:30
position: relative;
z-index: 2;
}