Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
d0b7eb11
Commit
d0b7eb11
authored
6 years ago
by
Martijn Cuppens
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Cleanup stylelint comments
parent
807e8fe4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
scss/_close.scss
+2
-3
scss/_close.scss
scss/_dropdown.scss
+1
-2
scss/_dropdown.scss
scss/_forms.scss
+2
-2
scss/_forms.scss
scss/_reboot.scss
+2
-6
scss/_reboot.scss
scss/mixins/_forms.scss
+1
-2
scss/mixins/_forms.scss
with
8 additions
and
15 deletions
+8
-15
scss/_close.scss
+
2
-
3
View file @
d0b7eb11
...
@@ -25,11 +25,10 @@
...
@@ -25,11 +25,10 @@
// If you want the anchor version, it requires `href="#"`.
// If you want the anchor version, it requires `href="#"`.
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
// stylelint-disable
property-no-vendor-prefix,
selector-no-qualifying-type
// stylelint-disable
-next-line
selector-no-qualifying-type
button
.close
{
button
.close
{
padding
:
0
;
padding
:
0
;
background-color
:
transparent
;
background-color
:
transparent
;
border
:
0
;
border
:
0
;
-webkit-
appearance
:
none
;
appearance
:
none
;
}
}
// stylelint-enable
This diff is collapsed.
Click to expand it.
scss/_dropdown.scss
+
1
-
2
View file @
d0b7eb11
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
}
}
// When enabled Popper.js, reset basic dropdown position
// When enabled Popper.js, reset basic dropdown position
// stylelint-disable no-duplicate-selectors
// stylelint-disable
-next-line
no-duplicate-selectors
.dropdown-menu
{
.dropdown-menu
{
&
[
x-placement
^=
"top"
],
&
[
x-placement
^=
"top"
],
&
[
x-placement
^=
"right"
],
&
[
x-placement
^=
"right"
],
...
@@ -115,7 +115,6 @@
...
@@ -115,7 +115,6 @@
bottom
:
auto
;
bottom
:
auto
;
}
}
}
}
// stylelint-enable no-duplicate-selectors
// Dividers (basically an `<hr>`) within the dropdown
// Dividers (basically an `<hr>`) within the dropdown
.dropdown-divider
{
.dropdown-divider
{
...
...
This diff is collapsed.
Click to expand it.
scss/_forms.scss
+
2
-
2
View file @
d0b7eb11
...
@@ -155,7 +155,7 @@ select.form-control {
...
@@ -155,7 +155,7 @@ select.form-control {
@include
border-radius
(
$input-border-radius-lg
);
@include
border-radius
(
$input-border-radius-lg
);
}
}
// stylelint-disable no-duplicate-selectors
// stylelint-disable
-next-line
no-duplicate-selectors
select
.form-control
{
select
.form-control
{
&
[
size
],
&
[
size
],
&
[
multiple
]
{
&
[
multiple
]
{
...
@@ -163,10 +163,10 @@ select.form-control {
...
@@ -163,10 +163,10 @@ select.form-control {
}
}
}
}
// stylelint-disable-next-line no-duplicate-selectors
textarea
.form-control
{
textarea
.form-control
{
height
:
auto
;
height
:
auto
;
}
}
// stylelint-enable no-duplicate-selectors
// Form groups
// Form groups
//
//
...
...
This diff is collapsed.
Click to expand it.
scss/_reboot.scss
+
2
-
6
View file @
d0b7eb11
...
@@ -40,12 +40,11 @@ html {
...
@@ -40,12 +40,11 @@ html {
}
}
}
}
// stylelint-disable selector-list-comma-newline-after
// Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers)
// Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers)
// stylelint-disable-next-line selector-list-comma-newline-after
article
,
aside
,
figcaption
,
figure
,
footer
,
header
,
hgroup
,
main
,
nav
,
section
{
article
,
aside
,
figcaption
,
figure
,
footer
,
header
,
hgroup
,
main
,
nav
,
section
{
display
:
block
;
display
:
block
;
}
}
// stylelint-enable selector-list-comma-newline-after
// Body
// Body
//
//
...
@@ -95,12 +94,11 @@ hr {
...
@@ -95,12 +94,11 @@ hr {
//
//
// By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
// By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
// margin for easier control within type scales as it avoids margin collapsing.
// margin for easier control within type scales as it avoids margin collapsing.
// stylelint-disable selector-list-comma-newline-after
// stylelint-disable
-next-line
selector-list-comma-newline-after
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
margin-top
:
0
;
margin-top
:
0
;
margin-bottom
:
$headings-margin-bottom
;
margin-bottom
:
$headings-margin-bottom
;
}
}
// stylelint-enable selector-list-comma-newline-after
// Reset margins on paragraphs
// Reset margins on paragraphs
//
//
...
@@ -163,12 +161,10 @@ dfn {
...
@@ -163,12 +161,10 @@ dfn {
font-style
:
italic
;
// Add the correct font style in Android 4.3-
font-style
:
italic
;
// Add the correct font style in Android 4.3-
}
}
// stylelint-disable font-weight-notation
b
,
b
,
strong
{
strong
{
font-weight
:
bolder
;
// Add the correct font weight in Chrome, Edge, and Safari
font-weight
:
bolder
;
// Add the correct font weight in Chrome, Edge, and Safari
}
}
// stylelint-enable font-weight-notation
small
{
small
{
font-size
:
80%
;
// Add the correct font size in all browsers
font-size
:
80%
;
// Add the correct font size in all browsers
...
...
This diff is collapsed.
Click to expand it.
scss/mixins/_forms.scss
+
1
-
2
View file @
d0b7eb11
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
}
}
}
}
// stylelint-disable selector-no-qualifying-type
// stylelint-disable
-next-line
selector-no-qualifying-type
textarea
.form-control
{
textarea
.form-control
{
.
was-validated
&
:
#{
$state
}
,
.
was-validated
&
:
#{
$state
}
,
&.
is-
#{
$state
}
{
&.
is-
#{
$state
}
{
...
@@ -90,7 +90,6 @@
...
@@ -90,7 +90,6 @@
}
}
}
}
}
}
// stylelint-enable selector-no-qualifying-type
.custom-select
{
.custom-select
{
.
was-validated
&
:
#{
$state
}
,
.
was-validated
&
:
#{
$state
}
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets