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
2baef395
Commit
2baef395
authored
Jul 12, 2017
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable BangFormat in scss-lint
parent
4daa6da5
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
9 deletions
+13
-9
.scss-lint.yml
.scss-lint.yml
+1
-1
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+2
-2
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+1
-1
app/assets/stylesheets/pages/boards.scss
app/assets/stylesheets/pages/boards.scss
+3
-3
app/assets/stylesheets/pages/pipeline_schedules.scss
app/assets/stylesheets/pages/pipeline_schedules.scss
+1
-1
app/assets/stylesheets/print.scss
app/assets/stylesheets/print.scss
+1
-1
changelogs/unreleased/enable-scss-lint-bang-format.yml
changelogs/unreleased/enable-scss-lint-bang-format.yml
+4
-0
No files found.
.scss-lint.yml
View file @
2baef395
...
...
@@ -10,7 +10,7 @@ linters:
# Reports when you use improper spacing around ! (the "bang") in !default,
# !global, !important, and !optional flags.
BangFormat
:
enabled
:
fals
e
enabled
:
tru
e
# Whether or not to prefer `border: 0` over `border: none`.
BorderZero
:
...
...
app/assets/stylesheets/framework/dropdowns.scss
View file @
2baef395
...
...
@@ -675,8 +675,8 @@
}
.pika-single
{
position
:
relative
!
important
;
top
:
0
!
important
;
position
:
relative
!
important
;
top
:
0
!
important
;
border
:
0
;
box-shadow
:
none
;
}
...
...
app/assets/stylesheets/framework/header.scss
View file @
2baef395
...
...
@@ -330,7 +330,7 @@ header {
padding-left
:
5px
;
.nav
>
li
:not
(
.hidden-xs
)
{
display
:
table-cell
!
important
;
display
:
table-cell
!
important
;
width
:
25%
;
a
{
...
...
app/assets/stylesheets/pages/boards.scss
View file @
2baef395
...
...
@@ -11,7 +11,7 @@
.is-dragging
{
// Important because plugin sets inline CSS
opacity
:
1
!
important
;
opacity
:
1
!
important
;
*
{
-webkit-user-select
:
none
;
...
...
@@ -19,8 +19,8 @@
-ms-user-select
:
none
;
user-select
:
none
;
// !important to make sure no style can override this when dragging
cursor
:
-
webkit-grabbing
!
important
;
cursor
:
grabbing
!
important
;
cursor
:
-
webkit-grabbing
!
important
;
cursor
:
grabbing
!
important
;
}
}
...
...
app/assets/stylesheets/pages/pipeline_schedules.scss
View file @
2baef395
.js-pipeline-schedule-form
{
.dropdown-select
,
.dropdown-menu-toggle
{
width
:
100%
!
important
;
width
:
100%
!
important
;
}
.gl-field-error
{
...
...
app/assets/stylesheets/print.scss
View file @
2baef395
...
...
@@ -37,7 +37,7 @@ ul.notes-form,
.
issuable-details
.
content-block-small
,
.
edit-link
,
.
note-action-button
{
display
:
none
!
important
;
display
:
none
!
important
;
}
pre
{
...
...
changelogs/unreleased/enable-scss-lint-bang-format.yml
0 → 100644
View file @
2baef395
---
title
:
Enable BangFormat in scss-lint [ci skip]
merge_request
:
12815
author
:
Takuya Noguchi
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