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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
3319dfa3
Commit
3319dfa3
authored
Oct 27, 2020
by
Denys Mishunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduced a mixin for spinner
parent
6407557d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
app/assets/stylesheets/framework/editor-lite.scss
app/assets/stylesheets/framework/editor-lite.scss
+7
-0
app/assets/stylesheets/framework/spinner.scss
app/assets/stylesheets/framework/spinner.scss
+7
-3
No files found.
app/assets/stylesheets/framework/editor-lite.scss
View file @
3319dfa3
[
data-editor-loading
]
::before
{
content
:
''
;
@include
spinner
(
32px
,
3px
,
$orange-400
);
@include
gl-absolute
;
@include
gl-z-index-1
;
}
[
id
^=
'editor-lite-'
]
{
height
:
500px
;
}
app/assets/stylesheets/framework/spinner.scss
View file @
3319dfa3
...
...
@@ -20,7 +20,7 @@
}
}
.spinner
{
@mixin
spinner
(
$size
,
$border-width
,
$color
)
{
border-radius
:
50%
;
position
:
relative
;
margin
:
0
auto
;
...
...
@@ -30,8 +30,12 @@
animation-iteration-count
:
infinite
;
border-style
:
solid
;
display
:
inline-flex
;
@include
spinner-size
(
16px
,
2px
);
@include
spinner-color
(
$orange-400
);
@include
spinner-size
(
$size
,
$border-width
);
@include
spinner-color
(
$color
);
}
.spinner
{
@include
spinner
(
16px
,
2px
,
$orange-400
);
&
.spinner-md
{
@include
spinner-size
(
32px
,
3px
);
...
...
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