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
6c0eea63
Commit
6c0eea63
authored
Jul 18, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix scss_lint offenses in repo, variables and layout sheets
parent
c42aa99b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
206 additions
and
184 deletions
+206
-184
app/assets/stylesheets/framework/layout.scss
app/assets/stylesheets/framework/layout.scss
+2
-1
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+7
-0
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+197
-183
No files found.
app/assets/stylesheets/framework/layout.scss
View file @
6c0eea63
...
...
@@ -120,6 +120,7 @@ of the body element here, we negate cascading side effects but allow momentum sc
.page-with-sidebar
{
-webkit-overflow-scrolling
:
auto
;
}
.truncate
{
width
:
250px
;
white-space
:
nowrap
;
...
...
app/assets/stylesheets/framework/variables.scss
View file @
6c0eea63
...
...
@@ -587,3 +587,10 @@ Convdev Index
$color-high-score
:
$green-400
;
$color-average-score
:
$orange-400
;
$color-low-score
:
$red-400
;
/*
Repo editor
*/
$repo-editor-grey
:
#f6f7f9
;
$repo-editor-grey-darker
:
#e9ebee
;
$repo-editor-linear-gradient
:
linear-gradient
(
to
right
,
$repo-editor-grey
0%
,
$repo-editor-grey-darker
,
20%
,
$repo-editor-grey
40%
,
$repo-editor-grey
100%
);
app/assets/stylesheets/pages/repo.scss
View file @
6c0eea63
...
...
@@ -2,12 +2,14 @@
display
:
none
;
}
.fade-enter-active
,
.fade-leave-active
{
transition
:
opacity
.5s
.fade-enter-active
,
.fade-leave-active
{
transition
:
opacity
.5s
;
}
.fade-enter
,
.fade-leave-to
/*
.fade-leave-active
in
<
2
.1.8
*/
{
opacity
:
0
.fade-enter
,
.fade-leave-to
/*
.fade-leave-active
in
<
2
.1.8
*/
{
opacity
:
0
;
}
.commit-message
{
...
...
@@ -19,34 +21,35 @@
border-radius
:
$border-radius-default
;
color
:
$almost-black
;
header
{
header
{
background
:
$gray-light
;
padding
:
10px
15px
;
}
}
.panel-right
{
.panel-right
{
display
:
inline-block
;
width
:
85%
;
.monaco-editor.vs
{
.line-numbers
{
.line-numbers
{
cursor
:
pointer
;
&
:hover
{
text-decoration
:
underline
;
}
}
.cursor
{
background
:
rgba
(
255
,
255
,
255
,
0
)
;
border-color
:
rgba
(
255
,
255
,
255
,
0
)
;
background
:
$black
;
border-color
:
$black
;
}
}
&
.edit-mode
{
.monaco-editor.vs
{
.cursor
{
background
:
#000
;
border-color
:
#000
;
background
:
$black
;
border-color
:
$black
;
}
}
}
...
...
@@ -63,7 +66,7 @@ header {
overflow-x
:
scroll
;
li
{
-webkit-
animation
:
fadein
0
.5s
;
animation
:
fadein
0
.5s
;
list-style-type
:
none
;
background
:
$gray-normal
;
display
:
inline-block
;
...
...
@@ -76,10 +79,11 @@ header {
}
a
{
color
:
black
;
color
:
$
black
;
}
i
.fa.fa-times
,
i
.fa.fa-circle
{
i
.fa.fa-times
,
i
.fa.fa-circle
{
float
:
right
;
margin-top
:
3px
;
margin-left
:
15px
;
...
...
@@ -87,6 +91,7 @@ header {
}
}
}
#ide
{
height
:
70vh
;
}
...
...
@@ -109,29 +114,29 @@ header {
padding-left
:
20px
;
}
}
}
}
#commit-area
{
#commit-area
{
background
:
$gray-light
;
padding
:
20px
;
}
}
#view-toggler
{
#view-toggler
{
height
:
41px
;
position
:
relative
;
display
:
block
;
border-bottom
:
1px
solid
$white-normal
;
background
:
white
;
background
:
$white-light
;
margin-top
:
-5px
;
}
}
#binary-viewer
{
#binary-viewer
{
img
{
max-width
:
100%
;
}
}
}
#sidebar
{
#sidebar
{
&
.sidebar-mini
{
display
:
inline-block
;
...
...
@@ -143,14 +148,14 @@ header {
}
tr
{
-webkit-animation
:
fadein
0
.5s
;
animation
:
fadein
0
.5s
;
&
.repo-file-options
td
{
padding
:
0
;
border-top
:
none
;
background
:
$gray-light
;
width
:
190px
;
display
:
inline-block
;
border-top
:
none
;
&
:hover
{
.title
{
...
...
@@ -176,6 +181,7 @@ header {
vertical-align
:
middle
;
padding
:
2px
16px
;
}
ul
{
display
:
none
;
float
:
right
;
...
...
@@ -184,11 +190,12 @@ header {
li
{
display
:
inline-block
;
padding
:
0px
2px
;
padding
:
0
2px
;
border-bottom
:
none
;
}
}
}
.fa
{
margin-right
:
5px
;
}
...
...
@@ -211,18 +218,19 @@ header {
a
{
color
:
$almost-black
;
}
.fa
{
font-size
:
$code_font_size
;
margin-right
:
5px
;
}
}
}
}
}
}
.animation-container
{
background
:
#f6f7f9
;
background
:
$repo-editor-grey
;
height
:
40px
;
overflow
:
hidden
;
position
:
relative
;
...
...
@@ -232,12 +240,12 @@ header {
}
&
:
:
before
{
-webkit-
animation-duration
:
1s
;
-webkit-
animation-fill-mode
:
forwards
;
-webkit-
animation-iteration-count
:
infinite
;
-webkit-
animation-name
:
blockTextShine
;
-webkit-
animation-timing-function
:
linear
;
background-image
:
linear-gradient
(
to
right
,
#f6f7f9
0%
,
#e9ebee
20%
,
#f6f7f9
40%
,
#f6f7f9
100%
)
;
animation-duration
:
1s
;
animation-fill-mode
:
forwards
;
animation-iteration-count
:
infinite
;
animation-name
:
blockTextShine
;
animation-timing-function
:
linear
;
background-image
:
$repo-editor-linear-gradient
;
background-repeat
:
no-repeat
;
background-size
:
800px
45px
;
content
:
' '
;
...
...
@@ -247,11 +255,11 @@ header {
}
div
{
background
:
#fff
;
background
:
$white-light
;
height
:
6px
;
left
:
0
;
position
:
absolute
;
right
:
0
right
:
0
;
}
.line-of-code-1
{
...
...
@@ -261,7 +269,7 @@ header {
.line-of-code-2
{
left
:
150px
;
top
:
0
px
;
top
:
0
;
height
:
10px
;
}
...
...
@@ -288,16 +296,22 @@ header {
}
}
@
-webkit-
keyframes
blockTextShine
{
@keyframes
blockTextShine
{
0
%
{
transform
:
translateX
(
-468px
)
transform
:
translateX
(
-468px
);
}
100
%
{
transform
:
translateX
(
468px
)
transform
:
translateX
(
468px
);
}
}
@-webkit-keyframes
fadein
{
from
{
opacity
:
0
;
}
to
{
opacity
:
1
;
}
@keyframes
fadein
{
from
{
opacity
:
0
;
}
to
{
opacity
:
1
;
}
}
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