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

125 lines
1.8 KiB
SCSS
Raw Normal View History

2015-04-26 12:48:37 +05:30
.commits-compare-switch{
2015-10-24 18:46:33 +05:30
@include btn-default;
@include btn-white;
2015-04-26 12:48:37 +05:30
background: image-url("switch_icon.png") no-repeat center center;
text-indent: -9999px;
float: left;
margin-right: 9px;
}
.lists-separator {
margin: 10px 0;
border-color: #DDD;
}
.commits-row {
ul {
margin: 0;
li.commit {
padding: 8px 0;
}
}
.commits-row-date {
font-size: 15px;
line-height: 20px;
margin-bottom: 5px;
}
}
.commits-feed-holder {
float: right;
}
li.commit {
2015-11-26 14:37:03 +05:30
list-style: none;
2015-04-26 12:48:37 +05:30
.commit-row-title {
font-size: $list-font-size;
line-height: 20px;
margin-bottom: 2px;
.notes_count {
float: right;
margin-right: 10px;
}
.commit_short_id {
min-width: 65px;
font-family: $monospace_font;
}
.str-truncated {
max-width: 70%;
}
.commit-row-message {
2015-09-25 12:07:36 +05:30
color: $gl-link-color;
2015-04-26 12:48:37 +05:30
&:hover {
text-decoration: underline;
}
}
.text-expander {
background: #eee;
color: #555;
padding: 0 5px;
cursor: pointer;
margin-left: 4px;
&:hover {
background-color: #ddd;
}
}
}
.commit-row-description {
font-size: 14px;
border-left: 1px solid #EEE;
padding: 10px 15px;
margin: 5px 0 10px 5px;
background: #f9f9f9;
display: none;
pre {
border: none;
background: inherit;
padding: 0;
margin: 0;
}
}
.commit-row-info {
2015-09-25 12:07:36 +05:30
color: $gl-gray;
2015-04-26 12:48:37 +05:30
line-height: 24px;
font-size: 13px;
a {
2015-09-25 12:07:36 +05:30
color: $gl-gray;
2015-04-26 12:48:37 +05:30
}
.committed_ago {
display: inline-block;
}
}
&.inline-commit {
.commit-row-title {
font-size: 13px;
}
.committed_ago {
float: right;
@extend .cgray;
}
}
}
2015-11-26 14:37:03 +05:30
.branch-commit {
color: $gl-gray;
.commit-id, .commit-row-message {
color: $gl-gray;
}
}