2016-06-02 11:05:42 +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;
|
|
|
|
}
|
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.commit-header {
|
|
|
|
padding: 5px 10px;
|
|
|
|
background-color: $background-color;
|
|
|
|
border-top: 1px solid #eee;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top-width: 0;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.commit-row-title {
|
|
|
|
line-height: 1;
|
|
|
|
margin-bottom: 7px;
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.notes_count {
|
|
|
|
float: right;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.str-truncated {
|
|
|
|
max-width: 70%;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.commit-row-message {
|
|
|
|
color: $gl-dark-link-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-expander {
|
|
|
|
display: inline-block;
|
|
|
|
background: $gray-light;
|
|
|
|
color: $gl-placeholder-color;
|
|
|
|
padding: 0 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid $border-gray-dark;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
margin-left: 5px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($gray-light, 10%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.commit-actions {
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
float: right;
|
|
|
|
margin-left: $gl-padding;
|
|
|
|
margin-top: 2px;
|
|
|
|
font-size: 0;
|
|
|
|
}
|
2015-11-26 14:37:03 +05:30
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
.btn-clipboard, .btn-transparent {
|
2016-06-22 15:30:34 +05:30
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.btn {
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-left: $gl-padding;
|
2016-01-29 22:53:50 +05:30
|
|
|
}
|
2016-06-22 15:30:34 +05:30
|
|
|
}
|
|
|
|
}
|
2016-01-29 22:53:50 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.commit-short-id {
|
|
|
|
font-family: $monospace_font;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.commit {
|
|
|
|
padding: 10px 0;
|
|
|
|
position: relative;
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
@media (min-width: $screen-sm-min) {
|
2016-08-24 12:49:21 +05:30
|
|
|
padding-left: 46px;
|
2016-06-22 15:30:34 +05:30
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
&:not(:last-child) {
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
a,
|
|
|
|
button {
|
|
|
|
color: $gl-dark-link-color;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
|
|
|
|
.avatar {
|
2016-08-24 12:49:21 +05:30
|
|
|
margin-left: -46px;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.item-title {
|
|
|
|
display: inline-block;
|
2016-06-22 15:30:34 +05:30
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
max-width: 70%;
|
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.commit-row-description {
|
|
|
|
font-size: 14px;
|
2016-06-02 11:05:42 +05:30
|
|
|
border-left: 1px solid #eee;
|
2015-04-26 12:48:37 +05:30
|
|
|
padding: 10px 15px;
|
2016-06-22 15:30:34 +05:30
|
|
|
margin: 10px 0;
|
2015-04-26 12:48:37 +05:30
|
|
|
background: #f9f9f9;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
pre {
|
|
|
|
border: none;
|
|
|
|
background: inherit;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2016-06-22 15:30:34 +05:30
|
|
|
white-space: pre-wrap;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
a {
|
|
|
|
color: $gl-dark-link-color;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.commit-row-info {
|
2015-09-25 12:07:36 +05:30
|
|
|
color: $gl-gray;
|
2016-06-22 15:30:34 +05:30
|
|
|
line-height: 1;
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
a {
|
2015-09-25 12:07:36 +05:30
|
|
|
color: $gl-gray;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.avatar {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&.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;
|
|
|
|
}
|
|
|
|
}
|
2016-01-14 18:37:52 +05:30
|
|
|
|
|
|
|
.divergence-graph {
|
|
|
|
padding: 12px 12px 0 0;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
.graph-side {
|
|
|
|
position: relative;
|
|
|
|
width: 80px;
|
|
|
|
height: 22px;
|
|
|
|
padding: 5px 0 13px;
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.count {
|
|
|
|
padding-top: 6px;
|
2016-06-02 11:05:42 +05:30
|
|
|
padding-bottom: 0;
|
2016-01-14 18:37:52 +05:30
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|