Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
dc9b0913
Commit
dc9b0913
authored
Dec 16, 2016
by
Mike Greiling
Browse files
Options
Browse Files
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
;
}
}
...
...
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
...
...
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
{
...
...
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