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
Boxiang Sun
gitlab-ce
Commits
ce6becd0
Commit
ce6becd0
authored
5 years ago
by
Scott Hampton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport EE CSS addition
Adding the dashboard skeleton SCSS file to CE. [skip visual]
parent
f3f02f56
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
0 deletions
+80
-0
app/assets/stylesheets/components/dashboard_skeleton.scss
app/assets/stylesheets/components/dashboard_skeleton.scss
+80
-0
No files found.
app/assets/stylesheets/components/dashboard_skeleton.scss
0 → 100644
View file @
ce6becd0
.dashboard-cards
{
margin-right
:
-
$gl-padding-8
;
margin-left
:
-
$gl-padding-8
;
}
.dashboard-card
{
&
-header
{
&
-warning
{
background-color
:
$orange-100
;
}
&
-failed
{
background-color
:
$red-100
;
}
}
&
-body
{
height
:
120px
;
&
-warning
{
background-color
:
$orange-50
;
}
&
-failed
{
background-color
:
$red-50
;
}
}
&
-time-ago
{
&
-icon
{
color
:
$gray-500
;
}
}
&
-footer
{
border-radius
:
$gl-padding
;
height
:
$gl-padding-32
;
&
-failed
{
background-color
:
$red-100
;
}
&
-arrow
{
color
:
$gray-300
;
}
&
-downstream
{
margin-right
:
-
$gl-padding-8
;
}
&
-extra
{
background-color
:
$gray-400
;
font-size
:
10px
;
line-height
:
$gl-line-height
;
width
:
$gl-padding
;
}
}
&
-skeleton-info
{
border-radius
:
$gl-padding
;
height
:
$gl-padding
;
overflow
:
hidden
;
&
:
:
after
{
content
:
' '
;
display
:
block
;
animation
:
blockTextShine
1s
linear
infinite
forwards
;
background-repeat
:
no-repeat
;
background-size
:
cover
;
background-image
:
linear-gradient
(
to
right
,
$gray-100
0%
,
$gray-50
20%
,
$gray-100
40%
,
$gray-100
100%
);
border-radius
:
$gl-padding
;
height
:
$gl-padding
;
margin-top
:
-
$gl-padding-8
;
}
}
}
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