Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gpt
large_projects
gitlabhq1
Commits
dc9b0913
Commit
dc9b0913
authored
8 years ago
by
Mike Greiling
Browse files
Options
Download
Email Patches
Plain Diff
stripe colors for successive alert-warning blocks
parent
d58fffb2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
7 deletions
+27
-7
app/assets/stylesheets/framework/layout.scss
app/assets/stylesheets/framework/layout.scss
+27
-0
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+0
-1
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+0
-6
No files found.
app/assets/stylesheets/framework/layout.scss
View file @
dc9b0913
...
...
@@ -38,6 +38,33 @@ body {
.alert
{
margin-bottom
:
0
;
}
/* Stripe the background colors so that adjacent alert-warnings are distinct from one another */
.alert-warning
{
transition
:
background-color
0
.15s
,
border-color
0
.15s
;
background-color
:
lighten
(
$gl-warning
,
4%
);
border-color
:
lighten
(
$gl-warning
,
4%
);
}
.alert-warning
+
.alert-warning
{
background-color
:
$gl-warning
;
border-color
:
$gl-warning
;
}
.alert-warning
+
.alert-warning
+
.alert-warning
{
background-color
:
darken
(
$gl-warning
,
4%
);
border-color
:
darken
(
$gl-warning
,
4%
);
}
.alert-warning
+
.alert-warning
+
.alert-warning
+
.alert-warning
{
background-color
:
darken
(
$gl-warning
,
8%
);
border-color
:
darken
(
$gl-warning
,
8%
);
}
.alert-warning
:only-of-type
{
background-color
:
$gl-warning
;
border-color
:
$gl-warning
;
}
}
...
...
This diff is collapsed.
Click to expand it.
app/assets/stylesheets/framework/variables.scss
View file @
dc9b0913
...
...
@@ -474,7 +474,6 @@ $project-option-descr-color: #54565b;
$project-breadcrumb-color
:
#999
;
$project-private-forks-notice-odd
:
#2aa056
;
$project-network-controls-color
:
#888
;
$project-limit-message-bg
:
#f28d35
;
/*
* Runners
...
...
This diff is collapsed.
Click to expand it.
app/assets/stylesheets/pages/projects.scss
View file @
dc9b0913
...
...
@@ -6,12 +6,6 @@
}
}
.no-ssh-key-message
,
.project-limit-message
{
background-color
:
$project-limit-message-bg
;
margin-bottom
:
0
;
}
.new_project
,
.edit-project
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment