2016-03-30 20:30:06 +00:00
|
|
|
.commits-compare-switch {
|
2015-10-08 11:29:14 +00:00
|
|
|
@include btn-default;
|
|
|
|
@include btn-white;
|
2014-03-06 09:05:00 +00:00
|
|
|
background: image-url("switch_icon.png") no-repeat center center;
|
2012-12-20 13:39:39 +00:00
|
|
|
text-indent: -9999px;
|
2012-12-19 17:14:05 +00:00
|
|
|
float: left;
|
|
|
|
margin-right: 9px;
|
|
|
|
}
|
2013-03-21 20:22:21 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.commit-header {
|
|
|
|
padding: 5px 10px;
|
|
|
|
background-color: $background-color;
|
2016-05-25 08:11:47 +00:00
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
border-bottom: 1px solid #eee;
|
2016-05-24 07:28:18 +00:00
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top-width: 0;
|
|
|
|
}
|
2013-09-10 07:17:15 +00:00
|
|
|
}
|
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.commit-row-title {
|
2016-06-07 15:09:46 +00:00
|
|
|
line-height: 1;
|
2016-06-07 15:16:18 +00:00
|
|
|
margin-bottom: 5px;
|
2014-01-08 10:42:57 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.notes_count {
|
|
|
|
float: right;
|
|
|
|
margin-right: 10px;
|
2013-09-10 07:17:15 +00:00
|
|
|
}
|
2013-09-10 10:15:49 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.str-truncated {
|
|
|
|
max-width: 70%;
|
2013-09-10 10:15:49 +00:00
|
|
|
}
|
2015-11-02 15:39:24 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.commit-row-message {
|
|
|
|
color: $gl-dark-link-color;
|
|
|
|
}
|
2016-01-18 20:58:15 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.text-expander {
|
2016-05-24 13:00:49 +00:00
|
|
|
background: $gray-light;
|
|
|
|
color: $gl-gray-dark;
|
2016-05-24 07:28:18 +00:00
|
|
|
padding: 0 5px;
|
|
|
|
cursor: pointer;
|
2016-05-24 13:00:49 +00:00
|
|
|
border: 1px solid $border-gray-dark;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
margin-left: 5px;
|
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
&:hover {
|
2016-05-24 13:00:49 +00:00
|
|
|
background-color: darken($gray-light, 10%);
|
|
|
|
text-decoration: none;
|
2015-02-20 05:55:47 +00:00
|
|
|
}
|
2016-05-24 07:28:18 +00:00
|
|
|
}
|
|
|
|
}
|
2015-02-20 05:55:47 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.commit-actions {
|
2016-05-31 10:04:18 +00:00
|
|
|
@media (min-width: $screen-sm-min) {
|
2016-05-24 07:28:18 +00:00
|
|
|
float: right;
|
2016-05-24 13:00:49 +00:00
|
|
|
margin-left: $gl-padding;
|
2016-05-24 07:28:18 +00:00
|
|
|
}
|
|
|
|
}
|
2015-02-20 05:55:47 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.commit-short-id {
|
|
|
|
font-family: $monospace_font;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2015-02-20 05:55:47 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.commit {
|
2016-05-31 10:40:46 +00:00
|
|
|
padding: 10px 0;
|
2016-05-31 10:04:18 +00:00
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
padding-left: 55px;
|
|
|
|
}
|
2015-02-20 05:55:47 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
&:not(:last-child) {
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
}
|
|
|
|
|
2016-05-24 13:00:49 +00:00
|
|
|
a,
|
|
|
|
button {
|
2016-05-24 07:28:18 +00:00
|
|
|
color: $gl-dark-link-color;
|
2016-05-31 10:04:18 +00:00
|
|
|
vertical-align: baseline;
|
2016-05-24 07:28:18 +00:00
|
|
|
}
|
2015-02-20 05:55:47 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.avatar {
|
|
|
|
margin-left: -55px;
|
|
|
|
}
|
|
|
|
|
2016-04-13 15:10:03 +00:00
|
|
|
.item-title {
|
|
|
|
display: inline-block;
|
2016-05-31 10:04:18 +00:00
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
max-width: 70%;
|
|
|
|
}
|
2016-04-13 15:10:03 +00:00
|
|
|
}
|
|
|
|
|
2015-02-20 05:55:47 +00:00
|
|
|
.commit-row-description {
|
|
|
|
font-size: 14px;
|
2016-03-15 19:56:28 +00:00
|
|
|
border-left: 1px solid #eee;
|
2015-02-20 05:55:47 +00:00
|
|
|
padding: 10px 15px;
|
2016-05-24 13:00:49 +00:00
|
|
|
margin: 10px 0;
|
2015-02-20 05:55:47 +00:00
|
|
|
background: #f9f9f9;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
pre {
|
|
|
|
border: none;
|
|
|
|
background: inherit;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2016-03-29 11:43:33 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $gl-dark-link-color;
|
|
|
|
}
|
2015-02-20 05:55:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.commit-row-info {
|
2015-09-03 13:09:55 +00:00
|
|
|
color: $gl-gray;
|
2016-06-07 15:09:46 +00:00
|
|
|
line-height: 1;
|
2015-02-20 05:55:47 +00:00
|
|
|
|
|
|
|
a {
|
2015-09-03 13:09:55 +00:00
|
|
|
color: $gl-gray;
|
2015-02-20 05:55:47 +00:00
|
|
|
}
|
|
|
|
|
2016-03-25 14:40:51 +00:00
|
|
|
.avatar {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2015-02-20 05:55:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.inline-commit {
|
|
|
|
.commit-row-title {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.committed_ago {
|
|
|
|
float: right;
|
|
|
|
@extend .cgray;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-07-21 01:34:19 +00:00
|
|
|
|
2015-11-05 12:49:34 +00:00
|
|
|
.branch-commit {
|
|
|
|
color: $gl-gray;
|
|
|
|
.commit-id, .commit-row-message {
|
|
|
|
color: $gl-gray;
|
|
|
|
}
|
|
|
|
}
|
2015-11-12 15:05:29 +00:00
|
|
|
|
2015-07-21 01:34:19 +00:00
|
|
|
.divergence-graph {
|
|
|
|
padding: 12px 12px 0 0;
|
|
|
|
float: right;
|
2016-01-06 10:40:03 +00:00
|
|
|
|
2015-07-21 01:34:19 +00:00
|
|
|
.graph-side {
|
|
|
|
position: relative;
|
|
|
|
width: 80px;
|
|
|
|
height: 22px;
|
|
|
|
padding: 5px 0 13px;
|
|
|
|
float: left;
|
2016-01-06 10:40:03 +00:00
|
|
|
|
2015-07-21 01:34:19 +00:00
|
|
|
.bar {
|
|
|
|
position: absolute;
|
|
|
|
height: 4px;
|
|
|
|
background-color: #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bar-behind {
|
|
|
|
right: 0;
|
|
|
|
border-radius: 3px 0 0 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bar-ahead {
|
|
|
|
left: 0;
|
|
|
|
border-radius: 0 3px 3px 0;
|
|
|
|
}
|
2016-01-06 10:40:03 +00:00
|
|
|
|
2015-07-21 01:34:19 +00:00
|
|
|
.count {
|
|
|
|
padding-top: 6px;
|
2016-03-16 23:29:47 +00:00
|
|
|
padding-bottom: 0;
|
2015-07-21 01:34:19 +00:00
|
|
|
font-size: 12px;
|
|
|
|
color: #333;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.count-behind {
|
|
|
|
padding-right: 4px;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.count-ahead {
|
|
|
|
padding-left: 4px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-separator {
|
|
|
|
position: relative;
|
|
|
|
width: 1px;
|
|
|
|
height: 18px;
|
|
|
|
margin: 5px 0 0;
|
|
|
|
float: left;
|
|
|
|
background-color: #ccc;
|
|
|
|
}
|
|
|
|
}
|