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
d698ec0e
Commit
d698ec0e
authored
Oct 24, 2016
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable PseudoElement in scss-lint
parent
2fc359a5
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
28 additions
and
28 deletions
+28
-28
.scss-lint.yml
.scss-lint.yml
+1
-1
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+4
-4
app/assets/stylesheets/framework/lists.scss
app/assets/stylesheets/framework/lists.scss
+1
-1
app/assets/stylesheets/framework/timeline.scss
app/assets/stylesheets/framework/timeline.scss
+1
-1
app/assets/stylesheets/framework/typography.scss
app/assets/stylesheets/framework/typography.scss
+5
-5
app/assets/stylesheets/pages/diff.scss
app/assets/stylesheets/pages/diff.scss
+3
-3
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+4
-4
app/assets/stylesheets/pages/profile.scss
app/assets/stylesheets/pages/profile.scss
+2
-2
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+4
-4
app/assets/stylesheets/pages/search.scss
app/assets/stylesheets/pages/search.scss
+1
-1
app/assets/stylesheets/pages/ui_dev_kit.scss
app/assets/stylesheets/pages/ui_dev_kit.scss
+1
-1
app/assets/stylesheets/print.scss
app/assets/stylesheets/print.scss
+1
-1
No files found.
.scss-lint.yml
View file @
d698ec0e
...
...
@@ -143,7 +143,7 @@ linters:
# with two colons. Pseudo-classes, like :hover and :first-child, should
# be declared with one colon.
PseudoElement
:
enabled
:
fals
e
enabled
:
tru
e
# Avoid qualifying elements in selectors (also known as "tag-qualifying").
QualifyingElement
:
...
...
app/assets/stylesheets/framework/dropdowns.scss
View file @
d698ec0e
...
...
@@ -485,7 +485,7 @@
font-size
:
20px
;
text-indent
:
0
;
&
:before
{
&
:
:
before
{
display
:
block
;
position
:
relative
;
top
:
-2px
;
...
...
@@ -517,7 +517,7 @@
background-color
:
transparent
;
border
:
0
;
.ui-icon
:before
{
.
ui-icon
:
:
before
{
color
:
$md-link-color
;
}
}
...
...
@@ -526,7 +526,7 @@
.ui-datepicker-prev
{
left
:
0
;
.ui-icon
:before
{
.
ui-icon
:
:
before
{
content
:
'\f104'
;
text-align
:
left
;
}
...
...
@@ -535,7 +535,7 @@
.ui-datepicker-next
{
right
:
0
;
.ui-icon
:before
{
.
ui-icon
:
:
before
{
content
:
'\f105'
;
text-align
:
right
;
}
...
...
app/assets/stylesheets/framework/lists.scss
View file @
d698ec0e
...
...
@@ -14,7 +14,7 @@
border-bottom
:
1px
solid
#eee
;
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.05
);
&
:after
{
&
:
:
after
{
content
:
" "
;
display
:
table
;
clear
:
both
;
...
...
app/assets/stylesheets/framework/timeline.scss
View file @
d698ec0e
...
...
@@ -45,7 +45,7 @@
@media
(
max-width
:
$screen-xs-max
)
{
.timeline
{
&
:before
{
&
:
:
before
{
background
:
none
;
}
...
...
app/assets/stylesheets/framework/typography.scss
View file @
d698ec0e
...
...
@@ -148,7 +148,7 @@
a
[
href
*=
"/uploads/"
],
a
[
href
*=
"storage.googleapis.com/google-code-attachments/"
]
{
&
:before
{
&
:
:
before
{
margin-right
:
4px
;
font
:
normal
normal
normal
14px
/
1
FontAwesome
;
...
...
@@ -158,13 +158,13 @@
content
:
"\f0c6"
;
}
&
:hover:before
{
&
:hover:
:
before
{
text-decoration
:
none
;
}
}
a
.no-attachment-icon
{
&
:before
{
&
:
:
before
{
display
:
none
;
}
}
...
...
@@ -183,13 +183,13 @@
position
:
absolute
;
text-decoration
:
none
;
&
:after
{
&
:
:
after
{
content
:
image-url
(
'icon_anchor.svg'
);
visibility
:
hidden
;
}
}
&
:hover
>
a
.anchor
:after
{
&
:hover
>
a
.anchor
:
:
after
{
visibility
:
visible
;
}
}
...
...
app/assets/stylesheets/pages/diff.scss
View file @
d698ec0e
...
...
@@ -94,14 +94,14 @@
position
:
relative
;
&
.old
{
&
:before
{
&
:
:
before
{
content
:
'-'
;
position
:
absolute
;
}
}
&
.new
{
&
:before
{
&
:
:
before
{
content
:
'+'
;
position
:
absolute
;
}
...
...
@@ -471,7 +471,7 @@
.file-holder
{
.diff-line-num
:not
(
.js-unfold-bottom
)
{
a
{
&
:before
{
&
:
:
before
{
content
:
attr
(
data-linenumber
);
}
}
...
...
app/assets/stylesheets/pages/pipelines.scss
View file @
d698ec0e
...
...
@@ -474,8 +474,8 @@
}
.arrow
{
&
:before
,
&
:after
{
&
:
:
before
,
&:
:
after
{
content
:
''
;
display
:
inline-block
;
position
:
absolute
;
...
...
@@ -486,14 +486,14 @@
top
:
18px
;
}
&
:before
{
&
:
:
before
{
left
:
-5px
;
margin-top
:
-6px
;
border-width
:
7px
5px
7px
0
;
border-right-color
:
$border-color
;
}
&
:after
{
&
:
:
after
{
left
:
-4px
;
margin-top
:
-9px
;
border-width
:
10px
7px
10px
0
;
...
...
app/assets/stylesheets/pages/profile.scss
View file @
d698ec0e
...
...
@@ -77,14 +77,14 @@
// Middle dot divider between each element in a list of items.
.middle-dot-divider
{
&
:after
{
&
:
:
after
{
content
:
"\00B7"
;
// Middle Dot
padding
:
0
6px
;
font-weight
:
bold
;
}
&
:last-child
{
&
:after
{
&
:
:
after
{
content
:
""
;
padding
:
0
;
}
...
...
app/assets/stylesheets/pages/projects.scss
View file @
d698ec0e
...
...
@@ -193,7 +193,7 @@
margin-left
:
4px
;
.arrow
{
&
:before
{
&
:
:
before
{
content
:
''
;
display
:
inline-block
;
position
:
absolute
;
...
...
@@ -209,7 +209,7 @@
pointer-events
:
none
;
}
&
:after
{
&
:
:
after
{
content
:
''
;
position
:
absolute
;
width
:
0
;
...
...
@@ -351,7 +351,7 @@ a.deploy-project-label {
line-height
:
36px
;
margin
:
0
;
>
li
+
li
:before
{
>
li
+
li
:
:
before
{
padding
:
0
3px
;
color
:
#999
;
}
...
...
@@ -790,7 +790,7 @@ pre.light-well {
top
:
7px
;
color
:
$location-icon-color
;
&
:before
{
&
:
:
before
{
font-family
:
FontAwesome
;
font-weight
:
normal
;
font-style
:
normal
;
...
...
app/assets/stylesheets/pages/search.scss
View file @
d698ec0e
...
...
@@ -72,7 +72,7 @@
top
:
0
;
color
:
$location-icon-color
;
&
:before
{
&
:
:
before
{
font-family
:
FontAwesome
;
font-weight
:
normal
;
font-style
:
normal
;
...
...
app/assets/stylesheets/pages/ui_dev_kit.scss
View file @
d698ec0e
...
...
@@ -5,7 +5,7 @@
}
.example
{
&
:before
{
&
:
:
before
{
content
:
"Example"
;
color
:
#bbb
;
}
...
...
app/assets/stylesheets/print.scss
View file @
d698ec0e
...
...
@@ -35,7 +35,7 @@ nav.navbar-collapse.collapse,
.
nav
,
.
btn
,
ul
.
notes-form
,
.merge-request-ci-status
.ci-status-link
:after
,
.
merge-request-ci-status
.
ci-status-link
:
:
after
,
.
issuable-gutter-toggle
,
.
gutter-toggle
,
.
issuable-details
.
content-block-small
,
...
...
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