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
Léo-Paul Géneau
gitlab-ce
Commits
1cd0fbd9
Commit
1cd0fbd9
authored
Oct 30, 2017
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable NestingDepth (level 6) on scss-lint
parent
6d7384f5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
21 deletions
+12
-21
.scss-lint.yml
.scss-lint.yml
+2
-1
app/assets/stylesheets/framework/gitlab-theme.scss
app/assets/stylesheets/framework/gitlab-theme.scss
+2
-5
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+2
-4
app/assets/stylesheets/pages/notes.scss
app/assets/stylesheets/pages/notes.scss
+1
-11
changelogs/unreleased/39582-nestingdepth-6.yml
changelogs/unreleased/39582-nestingdepth-6.yml
+5
-0
No files found.
.scss-lint.yml
View file @
1cd0fbd9
...
...
@@ -121,7 +121,8 @@ linters:
# Avoid nesting selectors too deeply.
NestingDepth
:
enabled
:
false
enabled
:
true
max_depth
:
6
# Always use placeholder selectors in @extend.
PlaceholderInExtend
:
...
...
app/assets/stylesheets/framework/gitlab-theme.scss
View file @
1cd0fbd9
...
...
@@ -216,12 +216,9 @@ body {
color
:
$theme-gray-900
;
}
&
.active
>
a
{
&
.active
>
a
,
&
.active
>
a
:hover
{
color
:
$white-light
;
&
:hover
{
color
:
$white-light
;
}
}
}
}
...
...
app/assets/stylesheets/framework/header.scss
View file @
1cd0fbd9
...
...
@@ -239,10 +239,8 @@
fill
:
currentColor
;
}
&
.header-user-dropdown-toggle
{
.header-user-avatar
{
border-color
:
$white-light
;
}
&
.header-user-dropdown-toggle
.header-user-avatar
{
border-color
:
$white-light
;
}
}
}
...
...
app/assets/stylesheets/pages/notes.scss
View file @
1cd0fbd9
...
...
@@ -269,7 +269,7 @@ ul.notes {
display
:
none
;
}
&
.system-note-commit-list
{
&
.system-note-commit-list
:not
(
.hide-shade
)
{
max-height
:
70px
;
overflow
:
hidden
;
display
:
block
;
...
...
@@ -291,16 +291,6 @@ ul.notes {
bottom
:
0
;
background
:
linear-gradient
(
rgba
(
$white-light
,
0
.1
)
-100px
,
$white-light
100%
);
}
&
.hide-shade
{
max-height
:
100%
;
overflow
:
auto
;
&
:
:
after
{
display
:
none
;
background
:
transparent
;
}
}
}
}
}
...
...
changelogs/unreleased/39582-nestingdepth-6.yml
0 → 100644
View file @
1cd0fbd9
---
title
:
Enable NestingDepth (level 6) on scss-lint
merge_request
:
15073
author
:
Takuya Noguchi
type
:
other
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