BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
bba020a5
Commit
bba020a5
authored
Oct 30, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '39582-nestingdepth-6' into 'master'
Enable NestingDepth (level 6) on scss-lint Closes #39582 See merge request gitlab-org/gitlab-ce!15073
parents
bb63ee68
1cd0fbd9
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
gitlab-theme.scss
app/assets/stylesheets/framework/gitlab-theme.scss
+2
-5
header.scss
app/assets/stylesheets/framework/header.scss
+2
-4
notes.scss
app/assets/stylesheets/pages/notes.scss
+1
-11
39582-nestingdepth-6.yml
changelogs/unreleased/39582-nestingdepth-6.yml
+5
-0
No files found.
.scss-lint.yml
View file @
bba020a5
...
...
@@ -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 @
bba020a5
...
...
@@ -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 @
bba020a5
...
...
@@ -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 @
bba020a5
...
...
@@ -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 @
bba020a5
---
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