2016-12-08 10:53:29 -05:00
|
|
|
.commit-title {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-author,
|
|
|
|
.commit-committer {
|
|
|
|
display: block;
|
|
|
|
color: $commit-committer-color;
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-author strong,
|
|
|
|
.commit-committer strong {
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-description {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin-top: 10px;
|
|
|
|
word-break: normal;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.js-details-expand {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ci-status-link {
|
|
|
|
svg {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-box {
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
padding: $gl-padding 0;
|
|
|
|
|
|
|
|
.commit-title {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 23px;
|
|
|
|
color: $gl-gray-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-description {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-hash-full {
|
|
|
|
@media (max-width: $screen-sm-max) {
|
|
|
|
width: 80px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-stats {
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 10px 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding: 3px 0;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-file {
|
|
|
|
a {
|
|
|
|
color: $gl-text-green;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.renamed-file {
|
|
|
|
a {
|
|
|
|
color: $gl-text-orange;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.deleted-file {
|
|
|
|
a {
|
|
|
|
color: $gl-text-red;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-file {
|
|
|
|
a {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Commit message textarea for web editor and
|
|
|
|
* custom merge request message
|
|
|
|
*/
|
|
|
|
.commit-message-container {
|
|
|
|
background-color: $body-bg;
|
|
|
|
position: relative;
|
|
|
|
font-family: $monospace_font;
|
|
|
|
$left: 12px;
|
|
|
|
overflow: hidden; // See https://gitlab.com/gitlab-org/gitlab-ce/issues/13987
|
|
|
|
.max-width-marker {
|
|
|
|
width: 72ch;
|
|
|
|
color: $commit-max-width-marker-color;
|
|
|
|
font-family: inherit;
|
|
|
|
left: $left;
|
|
|
|
height: 100%;
|
|
|
|
border-right: 1px solid mix($input-border, $white-light);
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
> textarea {
|
|
|
|
background-color: $commit-message-text-area-bg;
|
|
|
|
font-family: inherit;
|
|
|
|
padding-left: $left;
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-03-30 16:30:06 -04:00
|
|
|
.commits-compare-switch {
|
2015-10-08 07:29:14 -04:00
|
|
|
@include btn-default;
|
|
|
|
@include btn-white;
|
2012-12-19 12:14:05 -05:00
|
|
|
float: left;
|
|
|
|
margin-right: 9px;
|
|
|
|
}
|
2013-03-21 16:22:21 -04:00
|
|
|
|
2016-05-24 03:28:18 -04:00
|
|
|
.commit-header {
|
|
|
|
padding: 5px 10px;
|
2016-12-12 17:26:21 -05:00
|
|
|
background-color: $gray-light;
|
2016-11-30 08:25:25 -05:00
|
|
|
border-top: 1px solid $gray-darker;
|
|
|
|
border-bottom: 1px solid $gray-darker;
|
2016-05-24 03:28:18 -04:00
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top-width: 0;
|
|
|
|
}
|
2013-09-10 03:17:15 -04:00
|
|
|
}
|
|
|
|
|
2016-05-24 03:28:18 -04:00
|
|
|
.commit-row-title {
|
2014-01-08 05:42:57 -05:00
|
|
|
|
2016-05-24 03:28:18 -04:00
|
|
|
.notes_count {
|
|
|
|
float: right;
|
|
|
|
margin-right: 10px;
|
2013-09-10 03:17:15 -04:00
|
|
|
}
|
2013-09-10 06:15:49 -04:00
|
|
|
|
2016-05-24 03:28:18 -04:00
|
|
|
.str-truncated {
|
|
|
|
max-width: 70%;
|
2013-09-10 06:15:49 -04:00
|
|
|
}
|
2015-11-02 10:39:24 -05:00
|
|
|
|
2016-05-24 03:28:18 -04:00
|
|
|
.commit-row-message {
|
|
|
|
color: $gl-dark-link-color;
|
2013-09-10 03:17:15 -04:00
|
|
|
}
|
2013-09-10 06:15:49 -04:00
|
|
|
|
2016-10-18 20:41:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.text-expander {
|
|
|
|
display: inline-block;
|
|
|
|
background: $gray-light;
|
2016-12-12 16:31:11 -05:00
|
|
|
color: $gl-gray-light;
|
2016-10-18 20:41:29 -04:00
|
|
|
padding: 0 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid $border-gray-dark;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
margin-left: 5px;
|
|
|
|
line-height: 1;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($gray-light, 10%);
|
|
|
|
text-decoration: none;
|
2013-09-10 06:15:49 -04:00
|
|
|
}
|
2013-10-13 04:00:51 -04:00
|
|
|
}
|
2014-06-14 12:02:16 -04:00
|
|
|
|
2016-05-24 03:28:18 -04:00
|
|
|
.commit-actions {
|
2016-05-31 06:04:18 -04:00
|
|
|
@media (min-width: $screen-sm-min) {
|
2016-05-24 03:28:18 -04:00
|
|
|
float: right;
|
2016-05-24 09:00:49 -04:00
|
|
|
margin-left: $gl-padding;
|
2016-06-08 05:32:54 -04:00
|
|
|
margin-top: 2px;
|
|
|
|
font-size: 0;
|
|
|
|
}
|
2015-11-02 10:39:24 -05:00
|
|
|
|
2016-07-26 15:25:42 -04:00
|
|
|
.ci-status-link {
|
|
|
|
display: inline-block;
|
2016-11-10 10:17:51 -05:00
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
2016-07-26 15:25:42 -04:00
|
|
|
}
|
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
.btn-clipboard,
|
|
|
|
.btn-transparent {
|
2016-06-08 05:32:54 -04:00
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-02-20 00:55:47 -05:00
|
|
|
|
2016-06-08 05:32:54 -04:00
|
|
|
.btn {
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-left: $gl-padding;
|
2016-01-18 15:58:15 -05:00
|
|
|
}
|
2016-05-24 03:28:18 -04:00
|
|
|
}
|
|
|
|
}
|
2016-01-18 15:58:15 -05:00
|
|
|
|
2016-05-24 03:28:18 -04:00
|
|
|
.commit-short-id {
|
|
|
|
font-family: $monospace_font;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2015-02-20 00:55:47 -05:00
|
|
|
|
2016-11-09 13:20:32 -05:00
|
|
|
.commit,
|
|
|
|
.generic_commit_status {
|
2016-05-31 06:40:46 -04:00
|
|
|
padding: 10px 0;
|
2016-06-20 12:26:00 -04:00
|
|
|
position: relative;
|
2015-02-20 00:55:47 -05:00
|
|
|
|
2016-05-31 06:04:18 -04:00
|
|
|
@media (min-width: $screen-sm-min) {
|
2016-06-27 05:59:56 -04:00
|
|
|
padding-left: 46px;
|
2016-05-31 06:04:18 -04:00
|
|
|
}
|
2015-02-20 00:55:47 -05:00
|
|
|
|
2016-05-24 09:00:49 -04:00
|
|
|
a,
|
|
|
|
button {
|
2016-05-24 03:28:18 -04:00
|
|
|
color: $gl-dark-link-color;
|
2016-05-31 06:04:18 -04:00
|
|
|
vertical-align: baseline;
|
2016-05-24 03:28:18 -04:00
|
|
|
}
|
2015-02-20 00:55:47 -05:00
|
|
|
|
2016-12-08 10:53:29 -05:00
|
|
|
.commit-content {
|
2016-04-13 11:10:03 -04:00
|
|
|
display: inline-block;
|
2016-05-31 06:04:18 -04:00
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
max-width: 70%;
|
|
|
|
}
|
2016-04-13 11:10:03 -04:00
|
|
|
}
|
|
|
|
|
2015-02-20 00:55:47 -05:00
|
|
|
.commit-row-description {
|
|
|
|
font-size: 14px;
|
2016-12-12 17:26:21 -05:00
|
|
|
border-left: 1px solid $white-normal;
|
2015-02-20 00:55:47 -05:00
|
|
|
padding: 10px 15px;
|
2016-05-24 09:00:49 -04:00
|
|
|
margin: 10px 0;
|
2016-08-19 11:39:18 -04:00
|
|
|
background: $gray-light;
|
2015-02-20 00:55:47 -05:00
|
|
|
display: none;
|
2016-08-19 11:40:21 -04:00
|
|
|
white-space: pre-line;
|
|
|
|
word-break: normal;
|
2015-02-20 00:55:47 -05:00
|
|
|
|
|
|
|
pre {
|
|
|
|
border: none;
|
|
|
|
background: inherit;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2016-06-13 21:09:26 -04:00
|
|
|
white-space: pre-wrap;
|
2015-02-20 00:55:47 -05:00
|
|
|
}
|
2016-03-29 07:43:33 -04:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $gl-dark-link-color;
|
|
|
|
}
|
2015-02-20 00:55:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.commit-row-info {
|
2015-09-03 09:09:55 -04:00
|
|
|
color: $gl-gray;
|
2016-08-24 18:05:54 -04:00
|
|
|
line-height: 1.35;
|
2015-02-20 00:55:47 -05:00
|
|
|
|
|
|
|
a {
|
2015-09-03 09:09:55 -04:00
|
|
|
color: $gl-gray;
|
2015-02-20 00:55:47 -05:00
|
|
|
}
|
|
|
|
|
2016-03-25 10:40:51 -04:00
|
|
|
.avatar {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2015-02-20 00:55:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.inline-commit {
|
|
|
|
.commit-row-title {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.committed_ago {
|
|
|
|
float: right;
|
|
|
|
@extend .cgray;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-07-20 21:34:19 -04:00
|
|
|
|
2015-11-05 07:49:34 -05:00
|
|
|
.branch-commit {
|
|
|
|
color: $gl-gray;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-11-01 06:15:47 -04:00
|
|
|
.commit-icon {
|
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
height: 14px;
|
|
|
|
width: 14px;
|
|
|
|
vertical-align: middle;
|
2016-12-12 16:31:11 -05:00
|
|
|
fill: $gl-gray-light;
|
2016-11-01 06:15:47 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-01 14:39:29 -04:00
|
|
|
.commit-id {
|
2016-11-01 06:15:47 -04:00
|
|
|
color: $gl-link-color;
|
|
|
|
}
|
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
.commit-row-message {
|
2015-11-05 07:49:34 -05:00
|
|
|
color: $gl-gray;
|
|
|
|
}
|
|
|
|
}
|
2015-11-12 10:05:29 -05:00
|
|
|
|
2015-07-20 21:34:19 -04:00
|
|
|
.divergence-graph {
|
|
|
|
padding: 12px 12px 0 0;
|
|
|
|
float: right;
|
2016-01-06 05:40:03 -05:00
|
|
|
|
2015-07-20 21:34:19 -04:00
|
|
|
.graph-side {
|
|
|
|
position: relative;
|
|
|
|
width: 80px;
|
|
|
|
height: 22px;
|
|
|
|
padding: 5px 0 13px;
|
|
|
|
float: left;
|
2016-01-06 05:40:03 -05:00
|
|
|
|
2015-07-20 21:34:19 -04:00
|
|
|
.bar {
|
|
|
|
position: absolute;
|
|
|
|
height: 4px;
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $divergence-graph-bar-bg;
|
2015-07-20 21:34:19 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.bar-behind {
|
|
|
|
right: 0;
|
|
|
|
border-radius: 3px 0 0 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bar-ahead {
|
|
|
|
left: 0;
|
|
|
|
border-radius: 0 3px 3px 0;
|
|
|
|
}
|
2016-01-06 05:40:03 -05:00
|
|
|
|
2015-07-20 21:34:19 -04:00
|
|
|
.count {
|
|
|
|
padding-top: 6px;
|
2016-03-16 19:29:47 -04:00
|
|
|
padding-bottom: 0;
|
2015-07-20 21:34:19 -04:00
|
|
|
font-size: 12px;
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $gl-title-color;
|
2015-07-20 21:34:19 -04:00
|
|
|
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;
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $divergence-graph-separator-bg;
|
2015-07-20 21:34:19 -04:00
|
|
|
}
|
|
|
|
}
|