mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-28 05:56:37 +10:00
Merge branch 'fix-link-colors' into 'master'
Fix link colors after recent UI refactoring cc @jschatz1 See merge request !3404
This commit is contained in:
@@ -50,6 +50,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: $gl-dark-link-color;
|
||||
}
|
||||
|
||||
.left-options {
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
@@ -99,6 +99,10 @@ li.commit {
|
||||
color: $gl-gray;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.committed_ago {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@@ -229,6 +229,10 @@
|
||||
padding: 0 3px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $gl-dark-link-color;
|
||||
}
|
||||
}
|
||||
|
||||
.last-push-widget {
|
||||
|
||||
@@ -1,54 +1,58 @@
|
||||
.ci-status {
|
||||
padding: 2px 7px;
|
||||
margin-right: 5px;
|
||||
border: 1px solid #eee;
|
||||
white-space: nowrap;
|
||||
@include border-radius(4px);
|
||||
.container-fluid .content {
|
||||
.ci-status {
|
||||
padding: 2px 7px;
|
||||
margin-right: 5px;
|
||||
border: 1px solid #eee;
|
||||
white-space: nowrap;
|
||||
@include border-radius(4px);
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&.ci-failed {
|
||||
color: $gl-danger;
|
||||
border-color: $gl-danger;
|
||||
}
|
||||
|
||||
&.ci-success {
|
||||
color: $gl-success;
|
||||
border-color: $gl-success;
|
||||
}
|
||||
|
||||
&.ci-info {
|
||||
color: $gl-info;
|
||||
border-color: $gl-info;
|
||||
}
|
||||
|
||||
&.ci-canceled,
|
||||
&.ci-skipped,
|
||||
&.ci-disabled {
|
||||
color: $gl-gray;
|
||||
border-color: $gl-gray;
|
||||
}
|
||||
|
||||
&.ci-pending,
|
||||
&.ci-running {
|
||||
color: $gl-warning;
|
||||
border-color: $gl-warning;
|
||||
}
|
||||
}
|
||||
|
||||
&.ci-failed {
|
||||
color: $gl-danger;
|
||||
border-color: $gl-danger;
|
||||
}
|
||||
|
||||
&.ci-success {
|
||||
.ci-status-icon-success {
|
||||
color: $gl-success;
|
||||
border-color: $gl-success;
|
||||
}
|
||||
|
||||
&.ci-info {
|
||||
color: $gl-info;
|
||||
border-color: $gl-info;
|
||||
.ci-status-icon-failed {
|
||||
color: $gl-danger;
|
||||
}
|
||||
|
||||
&.ci-disabled {
|
||||
color: $gl-gray;
|
||||
border-color: $gl-gray;
|
||||
}
|
||||
|
||||
&.ci-pending,
|
||||
&.ci-running {
|
||||
.ci-status-icon-running,
|
||||
.ci-status-icon-pending {
|
||||
color: $gl-warning;
|
||||
border-color: $gl-warning;
|
||||
}
|
||||
.ci-status-icon-canceled,
|
||||
.ci-status-icon-disabled,
|
||||
.ci-status-icon-not-found,
|
||||
.ci-status-icon-skipped {
|
||||
color: $gl-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.ci-status-icon-success {
|
||||
@extend .cgreen;
|
||||
}
|
||||
.ci-status-icon-failed {
|
||||
@extend .cred;
|
||||
}
|
||||
.ci-status-icon-running,
|
||||
.ci-status-icon-pending {
|
||||
// These are standard text color
|
||||
}
|
||||
.ci-status-icon-canceled,
|
||||
.ci-status-icon-disabled,
|
||||
.ci-status-icon-not-found,
|
||||
.ci-status-icon-skipped {
|
||||
@extend .cgray;
|
||||
}
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
.panel-heading
|
||||
Commits (#{@commits.count})
|
||||
- if hidden > 0
|
||||
%ul.well-list
|
||||
%ul.content-list
|
||||
- commits.each do |commit|
|
||||
= render "projects/commits/inline_commit", commit: commit, project: @project
|
||||
%li.warning-row.unstyled
|
||||
#{number_with_delimiter(hidden)} additional commits have been omitted to prevent performance issues.
|
||||
- else
|
||||
%ul.well-list= render commits, project: @project
|
||||
%ul.content-list= render commits, project: @project
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
.light
|
||||
= pluralize(commits.count, 'commit')
|
||||
.col-md-10.col-sm-12
|
||||
%ul.bordered-list
|
||||
%ul.content-list
|
||||
= render commits, project: project
|
||||
%hr.lists-separator
|
||||
|
||||
|
||||
Reference in New Issue
Block a user