gitlab-org--gitlab-foss/app/assets/stylesheets/pages/tree.scss
Dmitriy Zaporozhets daeed3fdf3
Refactor colors and lists
* Introduce 2 color links: black and blue
* Use black color link for UI elements like lists
* Refactor lists to use .title nested under li
* Make all lists (events, todos, activity, projects etc) use style
* List colorschema is now 333 for links and 555 for text

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-18 19:02:08 +01:00

125 lines
1.8 KiB
SCSS

.tree-holder {
> .nav-block {
margin: 11px 0;
}
.file-finder {
width: 50%;
.file-finder-input {
width: 95%;
display: inline-block;
}
}
.tree-table {
margin-bottom: 0;
tr {
> td, > th {
line-height: 26px;
}
&:hover {
td {
background: $row-hover;
}
cursor: pointer;
}
&.selected {
td {
background: $gray-dark;
border-top: 1px solid $border-gray-dark;
border-bottom: 1px solid $border-gray-dark;
}
}
}
}
.tree-item {
.tree-item-file-name {
max-width: 320px;
vertical-align: middle;
i, a {
color: $gl-dark-link-color;
}
img {
position: relative;
top: -1px;
}
}
.tree_commit {
max-width: 320px;
}
.tree_time_ago {
min-width: 135px;
}
}
.tree_author {
padding-right: 8px;
.commit-author-name {
color: $gl-gray;
}
}
.tree_commit {
color: $gl-gray;
.tree-commit-link {
color: $gl-gray;
&:hover {
text-decoration: underline;
}
}
}
}
.tree-ref-holder {
float: left;
margin-right: 15px;
}
.blob-commit-info {
list-style: none;
padding: $gl-padding;
background: $background-color;
border: 1px solid $border-color;
border-bottom: none;
margin: 0;
.commit {
padding: 0;
.commit-row-title {
.commit-row-message {
font-weight: normal;
}
}
}
}
#modal-remove-blob > .modal-dialog { width: 850px; }
.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;
}