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

115 lines
1.7 KiB
SCSS
Raw Normal View History

.commits-compare-switch{
2015-03-14 03:33:26 -04:00
@extend .btn;
background: image-url("switch_icon.png") no-repeat center center;
text-indent: -9999px;
2012-12-19 12:14:05 -05:00
float: left;
margin-right: 9px;
}
2013-09-10 03:17:15 -04:00
.lists-separator {
margin: 10px 0;
2015-02-20 01:42:54 -05:00
border-color: #DDD;
2013-09-10 03:17:15 -04:00
}
2015-02-19 23:45:21 -05:00
.commits-row {
ul {
margin: 0;
2015-02-19 23:45:21 -05:00
li.commit {
padding: 8px 0;
2013-09-10 03:17:15 -04:00
}
}
2013-09-10 06:15:49 -04:00
2015-02-19 23:45:21 -05:00
.commits-row-date {
font-size: 15px;
line-height: 20px;
margin-bottom: 5px;
2013-09-10 06:15:49 -04:00
}
}
.commits-feed-holder {
float: right;
}
li.commit {
.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 {
color: $gl-link-color;
&: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 {
color: $gl-gray;
line-height: 24px;
font-size: 13px;
a {
color: $gl-gray;
}
.committed_ago {
display: inline-block;
}
}
&.inline-commit {
.commit-row-title {
font-size: 13px;
}
.committed_ago {
float: right;
@extend .cgray;
}
}
}