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
Jérome Perrin
gitlab-ce
Commits
fb63796e
Commit
fb63796e
authored
Nov 03, 2017
by
Takuya Noguchi
Committed by
Takuya Noguchi
Nov 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable BorderZero rule in scss-lint
parent
823a9d35
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
106 additions
and
101 deletions
+106
-101
.scss-lint.yml
.scss-lint.yml
+1
-1
app/assets/stylesheets/framework/avatar.scss
app/assets/stylesheets/framework/avatar.scss
+2
-2
app/assets/stylesheets/framework/blocks.scss
app/assets/stylesheets/framework/blocks.scss
+5
-5
app/assets/stylesheets/framework/buttons.scss
app/assets/stylesheets/framework/buttons.scss
+1
-1
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+4
-4
app/assets/stylesheets/framework/files.scss
app/assets/stylesheets/framework/files.scss
+6
-6
app/assets/stylesheets/framework/filters.scss
app/assets/stylesheets/framework/filters.scss
+2
-2
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+2
-2
app/assets/stylesheets/framework/highlight.scss
app/assets/stylesheets/framework/highlight.scss
+2
-2
app/assets/stylesheets/framework/lists.scss
app/assets/stylesheets/framework/lists.scss
+5
-5
app/assets/stylesheets/framework/mixins.scss
app/assets/stylesheets/framework/mixins.scss
+1
-1
app/assets/stylesheets/framework/responsive_tables.scss
app/assets/stylesheets/framework/responsive_tables.scss
+1
-1
app/assets/stylesheets/framework/secondary-navigation-elements.scss
.../stylesheets/framework/secondary-navigation-elements.scss
+2
-2
app/assets/stylesheets/framework/selects.scss
app/assets/stylesheets/framework/selects.scss
+1
-1
app/assets/stylesheets/framework/sidebar.scss
app/assets/stylesheets/framework/sidebar.scss
+2
-2
app/assets/stylesheets/framework/tables.scss
app/assets/stylesheets/framework/tables.scss
+1
-1
app/assets/stylesheets/framework/timeline.scss
app/assets/stylesheets/framework/timeline.scss
+2
-2
app/assets/stylesheets/framework/typography.scss
app/assets/stylesheets/framework/typography.scss
+1
-1
app/assets/stylesheets/framework/zen.scss
app/assets/stylesheets/framework/zen.scss
+1
-1
app/assets/stylesheets/pages/builds.scss
app/assets/stylesheets/pages/builds.scss
+1
-1
app/assets/stylesheets/pages/ci_projects.scss
app/assets/stylesheets/pages/ci_projects.scss
+1
-1
app/assets/stylesheets/pages/commits.scss
app/assets/stylesheets/pages/commits.scss
+2
-2
app/assets/stylesheets/pages/cycle_analytics.scss
app/assets/stylesheets/pages/cycle_analytics.scss
+4
-4
app/assets/stylesheets/pages/diff.scss
app/assets/stylesheets/pages/diff.scss
+6
-6
app/assets/stylesheets/pages/editor.scss
app/assets/stylesheets/pages/editor.scss
+3
-3
app/assets/stylesheets/pages/environments.scss
app/assets/stylesheets/pages/environments.scss
+4
-4
app/assets/stylesheets/pages/events.scss
app/assets/stylesheets/pages/events.scss
+3
-3
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+4
-4
app/assets/stylesheets/pages/login.scss
app/assets/stylesheets/pages/login.scss
+2
-2
app/assets/stylesheets/pages/merge_conflicts.scss
app/assets/stylesheets/pages/merge_conflicts.scss
+1
-1
app/assets/stylesheets/pages/note_form.scss
app/assets/stylesheets/pages/note_form.scss
+2
-2
app/assets/stylesheets/pages/notes.scss
app/assets/stylesheets/pages/notes.scss
+4
-4
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+8
-8
app/assets/stylesheets/pages/profile.scss
app/assets/stylesheets/pages/profile.scss
+1
-1
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+5
-5
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+3
-3
app/assets/stylesheets/pages/search.scss
app/assets/stylesheets/pages/search.scss
+2
-2
app/assets/stylesheets/pages/todos.scss
app/assets/stylesheets/pages/todos.scss
+1
-1
app/assets/stylesheets/pages/tree.scss
app/assets/stylesheets/pages/tree.scss
+1
-1
app/views/admin/background_jobs/show.html.haml
app/views/admin/background_jobs/show.html.haml
+1
-1
changelogs/unreleased/39757-border-zero-of-scss-lint.yml
changelogs/unreleased/39757-border-zero-of-scss-lint.yml
+5
-0
No files found.
.scss-lint.yml
View file @
fb63796e
...
...
@@ -14,7 +14,7 @@ linters:
# Whether or not to prefer `border: 0` over `border: none`.
BorderZero
:
enabled
:
fals
e
enabled
:
tru
e
# Reports when you define a rule set using a selector with chained classes
# (a.k.a. adjoining classes).
...
...
app/assets/stylesheets/framework/avatar.scss
View file @
fb63796e
...
...
@@ -59,7 +59,7 @@
&
.avatar-tile
{
border-radius
:
0
;
border
:
none
;
border
:
0
;
}
&
:not
([
href
])
:hover
{
...
...
@@ -96,7 +96,7 @@
.avatar
{
border-radius
:
0
;
border
:
none
;
border
:
0
;
height
:
auto
;
width
:
100%
;
margin
:
0
;
...
...
app/assets/stylesheets/framework/blocks.scss
View file @
fb63796e
...
...
@@ -39,7 +39,7 @@
}
&
.top-block
{
border-top
:
none
;
border-top
:
0
;
.container-fluid
{
background-color
:
inherit
;
...
...
@@ -63,7 +63,7 @@
&
.footer-block
{
margin-top
:
0
;
border-bottom
:
none
;
border-bottom
:
0
;
margin-bottom
:
-
$gl-padding
;
}
...
...
@@ -100,7 +100,7 @@
&
.build-content
{
background-color
:
$white-light
;
border-top
:
none
;
border-top
:
0
;
}
}
...
...
@@ -287,12 +287,12 @@
cursor
:
pointer
;
color
:
$blue-300
;
z-index
:
1
;
border
:
none
;
border
:
0
;
background-color
:
transparent
;
&
:hover
,
&
:focus
{
border
:
none
;
border
:
0
;
color
:
$blue-400
;
}
}
...
...
app/assets/stylesheets/framework/buttons.scss
View file @
fb63796e
...
...
@@ -304,7 +304,7 @@
}
.btn-clipboard
{
border
:
none
;
border
:
0
;
padding
:
0
5px
;
}
...
...
app/assets/stylesheets/framework/common.scss
View file @
fb63796e
...
...
@@ -28,7 +28,7 @@
pre
{
&
.clean
{
background
:
none
;
border
:
none
;
border
:
0
;
margin
:
0
;
padding
:
0
;
}
...
...
@@ -142,7 +142,7 @@ li.note {
img
{
max-width
:
100%
;
}
.note-title
{
li
{
border-bottom
:
none
!
important
;
border-bottom
:
0
!
important
;
}
}
}
...
...
@@ -187,7 +187,7 @@ li.note {
pre
{
background
:
$white-light
;
border
:
none
;
border
:
0
;
font-size
:
12px
;
}
}
...
...
@@ -386,7 +386,7 @@ img.emoji {
}
.hide-bottom-border
{
border-bottom
:
none
!
important
;
border-bottom
:
0
!
important
;
}
.gl-accessibility
{
...
...
app/assets/stylesheets/framework/files.scss
View file @
fb63796e
...
...
@@ -142,7 +142,7 @@
*/
&
.blame
{
table
{
border
:
none
;
border
:
0
;
margin
:
0
;
}
...
...
@@ -150,20 +150,20 @@
border-bottom
:
1px
solid
$blame-border
;
&
:last-child
{
border-bottom
:
none
;
border-bottom
:
0
;
}
}
td
{
border-top
:
none
;
border-bottom
:
none
;
border-top
:
0
;
border-bottom
:
0
;
&
:first-child
{
border-left
:
none
;
border-left
:
0
;
}
&
:last-child
{
border-right
:
none
;
border-right
:
0
;
}
&
.blame-commit
{
...
...
app/assets/stylesheets/framework/filters.scss
View file @
fb63796e
...
...
@@ -255,7 +255,7 @@
.clear-search
{
width
:
35px
;
background-color
:
$white-light
;
border
:
none
;
border
:
0
;
outline
:
none
;
z-index
:
1
;
...
...
@@ -418,7 +418,7 @@
.droplab-dropdown
.dropdown-menu
.filter-dropdown-item
{
.btn
{
border
:
none
;
border
:
0
;
width
:
100%
;
text-align
:
left
;
padding
:
8px
16px
;
...
...
app/assets/stylesheets/framework/header.scss
View file @
fb63796e
...
...
@@ -10,7 +10,7 @@
z-index
:
1000
;
margin-bottom
:
0
;
min-height
:
$header-height
;
border
:
none
;
border
:
0
;
border-bottom
:
1px
solid
$border-color
;
position
:
fixed
;
top
:
0
;
...
...
@@ -169,7 +169,7 @@
.navbar-collapse
{
flex
:
0
0
auto
;
border-top
:
none
;
border-top
:
0
;
padding
:
0
;
@media
(
max-width
:
$screen-xs-max
)
{
...
...
app/assets/stylesheets/framework/highlight.scss
View file @
fb63796e
.file-content.code
{
border
:
none
;
border
:
0
;
box-shadow
:
none
;
margin
:
0
;
padding
:
0
;
...
...
@@ -7,7 +7,7 @@
pre
{
padding
:
10px
0
;
border
:
none
;
border
:
0
;
border-radius
:
0
;
font-family
:
$monospace_font
;
font-size
:
$code_font_size
;
...
...
app/assets/stylesheets/framework/lists.scss
View file @
fb63796e
...
...
@@ -42,7 +42,7 @@
}
&
:last-child
{
border-bottom
:
none
;
border-bottom
:
0
;
&
.bottom
{
background
:
$gray-light
;
...
...
@@ -92,7 +92,7 @@ ul.unstyled-list {
}
ul
.unstyled-list
>
li
{
border-bottom
:
none
;
border-bottom
:
0
;
}
// Generic content list
...
...
@@ -178,7 +178,7 @@ ul.content-list {
// When dragging a list item
&
.ui-sortable-helper
{
border-bottom
:
none
;
border-bottom
:
0
;
}
&
.list-placeholder
{
...
...
@@ -295,7 +295,7 @@ ul.indent-list {
}
>
.group-list-tree
>
.group-row.has-children
:first-child
{
border-top
:
none
;
border-top
:
0
;
}
}
...
...
@@ -413,7 +413,7 @@ ul.indent-list {
padding
:
0
;
&
.has-children
{
border-top
:
none
;
border-top
:
0
;
}
&
:first-child
{
...
...
app/assets/stylesheets/framework/mixins.scss
View file @
fb63796e
...
...
@@ -36,7 +36,7 @@
margin
:
0
;
&
:last-child
{
border-bottom
:
none
;
border-bottom
:
0
;
}
&
.active
{
...
...
app/assets/stylesheets/framework/responsive_tables.scss
View file @
fb63796e
...
...
@@ -24,7 +24,7 @@
@media
(
min-width
:
$screen-md-min
)
{
margin
:
0
;
padding
:
$gl-padding
0
;
border
:
none
;
border
:
0
;
&
:not
(
:last-child
)
{
border-bottom
:
1px
solid
$white-normal
;
...
...
app/assets/stylesheets/framework/secondary-navigation-elements.scss
View file @
fb63796e
...
...
@@ -63,7 +63,7 @@
.nav-links
{
margin-bottom
:
0
;
border-bottom
:
none
;
border-bottom
:
0
;
float
:
left
;
&
.wide
{
...
...
@@ -335,7 +335,7 @@
border-bottom
:
1px
solid
$border-color
;
.nav-links
{
border-bottom
:
none
;
border-bottom
:
0
;
}
}
}
...
...
app/assets/stylesheets/framework/selects.scss
View file @
fb63796e
...
...
@@ -17,7 +17,7 @@
.select2-arrow
{
background-image
:
none
;
background-color
:
transparent
;
border
:
none
;
border
:
0
;
padding-top
:
12px
;
padding-right
:
20px
;
font-size
:
10px
;
...
...
app/assets/stylesheets/framework/sidebar.scss
View file @
fb63796e
...
...
@@ -9,7 +9,7 @@
&
.container-blank
{
background
:
none
;
padding
:
0
;
border
:
none
;
border
:
0
;
}
}
}
...
...
@@ -111,7 +111,7 @@
}
.block
:last-of-type
{
border
:
none
;
border
:
0
;
}
}
...
...
app/assets/stylesheets/framework/tables.scss
View file @
fb63796e
...
...
@@ -33,7 +33,7 @@ table {
th
{
background-color
:
$gray-light
;
font-weight
:
$gl-font-weight-normal
;
border-bottom
:
none
;
border-bottom
:
0
;
&
.wide
{
width
:
55%
;
...
...
app/assets/stylesheets/framework/timeline.scss
View file @
fb63796e
...
...
@@ -21,7 +21,7 @@
}
&
.text-file
.diff-file
{
border-bottom
:
none
;
border-bottom
:
0
;
}
}
...
...
@@ -66,5 +66,5 @@
.discussion
.timeline-entry
{
margin
:
0
;
border-right
:
none
;
border-right
:
0
;
}
app/assets/stylesheets/framework/typography.scss
View file @
fb63796e
...
...
@@ -167,7 +167,7 @@
&
.plain-readme
{
background
:
none
;
border
:
none
;
border
:
0
;
padding
:
0
;
margin
:
0
;
font-size
:
14px
;
...
...
app/assets/stylesheets/framework/zen.scss
View file @
fb63796e
...
...
@@ -9,7 +9,7 @@
z-index
:
1031
;
textarea
{
border
:
none
;
border
:
0
;
box-shadow
:
none
;
border-radius
:
0
;
color
:
$black
;
...
...
app/assets/stylesheets/pages/builds.scss
View file @
fb63796e
...
...
@@ -48,7 +48,7 @@
overflow-x
:
auto
;
font-size
:
12px
;
border-radius
:
0
;
border
:
none
;
border
:
0
;
.bash
{
display
:
block
;
...
...
app/assets/stylesheets/pages/ci_projects.scss
View file @
fb63796e
...
...
@@ -36,7 +36,7 @@
pre
.commit-message
{
background
:
none
;
padding
:
0
;
border
:
none
;
border
:
0
;
margin
:
20px
0
;
border-radius
:
0
;
}
...
...
app/assets/stylesheets/pages/commits.scss
View file @
fb63796e
.commit-description
{
background
:
none
;
border
:
none
;
border
:
0
;
padding
:
0
;
margin-top
:
10px
;
word-break
:
normal
;
...
...
@@ -247,7 +247,7 @@
word-break
:
normal
;
pre
{
border
:
none
;
border
:
0
;
background
:
inherit
;
padding
:
0
;
margin
:
0
;
...
...
app/assets/stylesheets/pages/cycle_analytics.scss
View file @
fb63796e
...
...
@@ -80,7 +80,7 @@
.panel
{
.content-block
{
padding
:
24px
0
;
border-bottom
:
none
;
border-bottom
:
0
;
position
:
relative
;
@media
(
max-width
:
$screen-xs-max
)
{
...
...
@@ -222,11 +222,11 @@
}
&
:first-child
{
border-top
:
none
;
border-top
:
0
;
}
&
:last-child
{
border-bottom
:
none
;
border-bottom
:
0
;
}
.stage-nav-item-cell
{
...
...
@@ -290,7 +290,7 @@
border-bottom
:
1px
solid
$gray-darker
;
&
:last-child
{
border-bottom
:
none
;
border-bottom
:
0
;
margin-bottom
:
0
;
}
...
...
app/assets/stylesheets/pages/diff.scss
View file @
fb63796e
...
...
@@ -47,7 +47,7 @@
table
{
width
:
100%
;
font-family
:
$monospace_font
;
border
:
none
;
border
:
0
;
border-collapse
:
separate
;
margin
:
0
;
padding
:
0
;
...
...
@@ -105,7 +105,7 @@
.new_line
{
@include
user-select
(
none
);
margin
:
0
;
border
:
none
;
border
:
0
;
padding
:
0
5px
;
border-right
:
1px
solid
;
text-align
:
right
;
...
...
@@ -133,7 +133,7 @@
display
:
block
;
margin
:
0
;
padding
:
0
1
.5em
;
border
:
none
;
border
:
0
;
position
:
relative
;
&
.parallel
{
...
...
@@ -359,7 +359,7 @@
cursor
:
pointer
;
&
:first-child
{
border-left
:
none
;
border-left
:
0
;
}
&
:hover
{
...
...
@@ -388,7 +388,7 @@
.file-content
.diff-file
{
margin
:
0
;
border
:
none
;
border
:
0
;
}
.diff-wrap-lines
.line_content
{
...
...
@@ -400,7 +400,7 @@
}
.files-changed
{
border-bottom
:
none
;
border-bottom
:
0
;
}
.diff-stats-summary-toggler
{
...
...
app/assets/stylesheets/pages/editor.scss
View file @
fb63796e
...
...
@@ -3,13 +3,13 @@
border-top
:
1px
solid
$border-color
;
border-right
:
1px
solid
$border-color
;
border-left
:
1px
solid
$border-color
;
border-bottom
:
none
;
border-bottom
:
0
;
border-radius
:
$border-radius-small
$border-radius-small
0
0
;
background
:
$gray-normal
;
}
#editor
{
border
:
none
;
border
:
0
;
border-radius
:
0
;
height
:
500px
;
margin
:
0
;
...
...
@@ -171,7 +171,7 @@
width
:
100%
;
margin
:
5px
0
;
padding
:
0
;
border-left
:
none
;
border-left
:
0
;
}
}
...
...
app/assets/stylesheets/pages/environments.scss
View file @
fb63796e
...
...
@@ -117,7 +117,7 @@
}
.no-btn
{
border
:
none
;
border
:
0
;
background
:
none
;
outline
:
none
;
width
:
100%
;
...
...
@@ -133,11 +133,11 @@
}
.folder-row
{
border-left
:
none
;
border-right
:
none
;
border-left
:
0
;
border-right
:
0
;
@media
(
min-width
:
$screen-sm-max
)
{
border-top
:
none
;
border-top
:
0
;
}
}
...
...
app/assets/stylesheets/pages/events.scss
View file @
fb63796e
...
...
@@ -85,7 +85,7 @@
}
pre
{
border
:
none
;
border
:
0
;
background
:
$gray-light
;
border-radius
:
0
;
color
:
$events-pre-color
;
...
...
@@ -128,14 +128,14 @@
}
}
&
:last-child
{
border
:
none
;
}
&
:last-child
{
border
:
0
;
}
.event_commits
{
li
{
&
.commit
{
background
:
transparent
;
padding
:
0
;
border
:
none
;
border
:
0
;
.commit-row-title
{
font-size
:
$gl-font-size
;
...
...
app/assets/stylesheets/pages/issuable.scss
View file @
fb63796e
...
...
@@ -79,7 +79,7 @@
.title
{
padding
:
0
;
margin-bottom
:
16px
;
border-bottom
:
none
;
border-bottom
:
0
;
}
.btn-edit
{
...
...
@@ -164,7 +164,7 @@
}
&
:last-child
{
border
:
none
;
border
:
0
;
}
span
{
...
...
@@ -338,7 +338,7 @@
.block
{
width
:
$gutter_collapsed_width
-
2px
;
padding
:
15px
0
0
;
border-bottom
:
none
;
border-bottom
:
0
;
overflow
:
hidden
;
}
...
...
@@ -399,7 +399,7 @@
}
.btn-clipboard
{
border
:
none
;
border
:
0
;
color
:
$issuable-sidebar-color
;
&
:hover
{
...
...
app/assets/stylesheets/pages/login.scss
View file @
fb63796e
...
...
@@ -139,7 +139,7 @@
border-left
:
1px
solid
$border-color
;
&
:first-of-type
{
border-left
:
none
;
border-left
:
0
;
border-top-left-radius
:
$border-radius-default
;
}
...
...
@@ -165,7 +165,7 @@
border-bottom
:
1px
solid
$border-color
;
a
{
border
:
none
;
border
:
0
;
border-bottom
:
2px
solid
$link-underline-blue
;
margin-right
:
0
;
color
:
$black
;
...
...
app/assets/stylesheets/pages/merge_conflicts.scss
View file @
fb63796e
...
...
@@ -262,7 +262,7 @@ $colors: (
.editor
{
pre
{
height
:
350px
;
border
:
none
;
border
:
0
;
border-radius
:
0
;
margin-bottom
:
0
;
}
...
...
app/assets/stylesheets/pages/note_form.scss
View file @
fb63796e
...
...
@@ -16,7 +16,7 @@
.discussion
{
.new-note
{
margin
:
0
;
border
:
none
;
border
:
0
;
}
}
...
...
@@ -106,7 +106,7 @@
background-color
:
$orange-100
;
border-radius
:
$border-radius-default
$border-radius-default
0
0
;
border
:
1px
solid
$border-gray-normal
;
border-bottom
:
none
;
border-bottom
:
0
;
padding
:
3px
12px
;
margin
:
auto
;
align-items
:
center
;
...
...
app/assets/stylesheets/pages/notes.scss
View file @
fb63796e
...
...
@@ -331,7 +331,7 @@ ul.notes {
td
{
border
:
1px
solid
$white-normal
;
border-left
:
none
;
border-left
:
0
;
&
.notes_line
{
vertical-align
:
middle
;
...
...
@@ -666,7 +666,7 @@ ul.notes {
.timeline-entry-inner
{
padding-left
:
$gl-padding
;
padding-right
:
$gl-padding
;
border-bottom
:
none
;
border-bottom
:
0
;
}
}
}
...
...
@@ -679,7 +679,7 @@ ul.notes {
padding
:
90px
0
;
&
.discussion-locked
{
border
:
none
;
border
:
0
;
background-color
:
$white-light
;
}
...
...
@@ -759,7 +759,7 @@ ul.notes {
top
:
0
;
padding
:
0
;
background-color
:
transparent
;
border
:
none
;
border
:
0
;
outline
:
0
;
color
:
$gray-darkest
;
transition
:
color
$general-hover-transition-duration
$general-hover-transition-curve
;
...
...
app/assets/stylesheets/pages/pipelines.scss
View file @
fb63796e
...
...
@@ -179,7 +179,7 @@
* Play button with icon in dropdowns
*/
.no-btn
{
border
:
none
;
border
:
0
;
background
:
none
;
outline
:
none
;
width
:
100%
;
...
...
@@ -288,7 +288,7 @@
.pipeline-actions
{
@include
new-style-dropdown
;
border-bottom
:
none
;
border-bottom
:
0
;
}
.tab-pane
{
...
...
@@ -318,7 +318,7 @@
}
.build-log
{
border
:
none
;
border
:
0
;
line-height
:
initial
;
}
}
...
...
@@ -386,13 +386,13 @@
// Remove right connecting horizontal line from first build in last stage
&
:first-child
{
&
:
:
after
{
border
:
none
;
border
:
0
;
}
}
// Remove right curved connectors from all builds in last stage
&
:not
(
:first-child
)
{
&
:
:
after
{
border
:
none
;
border
:
0
;
}
}
// Remove opposite curve
...
...
@@ -409,7 +409,7 @@
// Remove left curved connectors from all builds in first stage
&
:not
(
:first-child
)
{
&
:
:
before
{
border
:
none
;
border
:
0
;
}
}
// Remove opposite curve
...
...
@@ -518,7 +518,7 @@
.dropdown-menu-toggle
{
background-color
:
transparent
;
border
:
none
;
border
:
0
;
padding
:
0
;
&
:focus
{
...
...
@@ -951,7 +951,7 @@ button.mini-pipeline-graph-dropdown-toggle {
.terminal-container
{
.content-block
{
border-bottom
:
none
;
border-bottom
:
0
;
}
#terminal
{
...
...
app/assets/stylesheets/pages/profile.scss
View file @
fb63796e
...
...
@@ -113,7 +113,7 @@
li
{
padding
:
3px
0
;
border
:
none
;
border
:
0
;
}
}
...
...
app/assets/stylesheets/pages/projects.scss
View file @
fb63796e
...
...
@@ -80,7 +80,7 @@
.project-feature-settings
{
background
:
$gray-lighter
;
border-top
:
none
;
border-top
:
0
;
margin-bottom
:
16px
;
}
...
...
@@ -128,7 +128,7 @@
.project-feature-toggle
{
position
:
relative
;
border
:
none
;
border
:
0
;
outline
:
0
;
display
:
block
;
width
:
100px
;
...
...
@@ -483,7 +483,7 @@ a.deploy-project-label {
flex
:
1
;
padding
:
0
;
background
:
transparent
;
border
:
none
;
border
:
0
;
line-height
:
34px
;
margin
:
0
;
...
...
@@ -1012,7 +1012,7 @@ pre.light-well {
margin
:
0
;
border-radius
:
0
0
1px
1px
;
padding
:
20px
0
;
border
:
none
;
border
:
0
;
}
.table-bordered
{
...
...
@@ -1165,7 +1165,7 @@ pre.light-well {
table-layout
:
fixed
;
&
.table-responsive
{
border
:
none
;
border
:
0
;
}
.variable-key
{
...
...
app/assets/stylesheets/pages/repo.scss
View file @
fb63796e
...
...
@@ -64,7 +64,7 @@
.monaco-editor.vs
{
.current-line
{
border
:
none
;
border
:
0
;
background
:
$well-light-border
;
}
...
...
@@ -139,7 +139,7 @@
&
.active
{
background
:
$white-light
;
border-bottom
:
none
;
border-bottom
:
0
;
}
a
{
...
...
@@ -181,7 +181,7 @@
&
.tabs-divider
{
width
:
100%
;
background-color
:
$white-light
;
border-right
:
none
;
border-right
:
0
;
border-top-right-radius
:
2px
;
}
}
...
...
app/assets/stylesheets/pages/search.scss
View file @
fb63796e
...
...
@@ -5,7 +5,7 @@
margin-bottom
:
$gl-padding
;
&
:last-child
{
border-bottom
:
none
;
border-bottom
:
0
;
}
}
...
...
@@ -57,7 +57,7 @@ input[type="checkbox"]:hover {
}
.search-input
{
border
:
none
;
border
:
0
;
font-size
:
14px
;
padding
:
0
20px
0
0
;
margin-left
:
5px
;
...
...
app/assets/stylesheets/pages/todos.scss
View file @
fb63796e
...
...
@@ -141,7 +141,7 @@
}
pre
{
border
:
none
;
border
:
0
;
background
:
$gray-light
;
border-radius
:
0
;
color
:
$todo-body-pre-color
;
...
...
app/assets/stylesheets/pages/tree.scss
View file @
fb63796e
...
...
@@ -252,7 +252,7 @@
margin-top
:
20px
;
padding
:
0
;
border-top
:
1px
solid
$white-dark
;
border-bottom
:
none
;
border-bottom
:
0
;
}
.commit-stats
li
{
...
...
app/views/admin/background_jobs/show.html.haml
View file @
fb63796e
...
...
@@ -42,4 +42,4 @@
.panel.panel-default
%iframe
{
src:
sidekiq_path
,
width:
'100%'
,
height:
970
,
style:
"border:
none
"
}
%iframe
{
src:
sidekiq_path
,
width:
'100%'
,
height:
970
,
style:
"border:
0
"
}
changelogs/unreleased/39757-border-zero-of-scss-lint.yml
0 → 100644
View file @
fb63796e
---
title
:
Enable BorderZero rule in scss-lint
merge_request
:
15168
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