mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
remove old rule that wasn't working properly
This commit is contained in:
parent
9a5970900e
commit
41a96ebad2
@ -41,7 +41,7 @@ pre {
|
|||||||
|
|
||||||
&.pre--no-style {
|
&.pre--no-style {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: none;
|
border: 0;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ $input-border: 1px solid $input-border-color;
|
|||||||
margin-right: $space-xs;
|
margin-right: $space-xs;
|
||||||
border-radius: $input-border-radius;
|
border-radius: $input-border-radius;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
border: none;
|
border: 0;
|
||||||
|
|
||||||
&--grow {
|
&--grow {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
@ -159,7 +159,7 @@ $input-border: 1px solid $input-border-color;
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--btn {
|
&--btn {
|
||||||
border: none;
|
border: 0;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@ -183,7 +183,7 @@ $input-border: 1px solid $input-border-color;
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
margin-right: $space-xs;
|
margin-right: $space-xs;
|
||||||
border: $border-width solid transparent;
|
border: $border-width solid transparent;
|
||||||
border-left: none;
|
border-left: 0;
|
||||||
@include border-radius($input-border-radius);
|
@include border-radius($input-border-radius);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -453,7 +453,7 @@ select.gf-form-input ~ .gf-form-help-icon {
|
|||||||
.cta-form__close {
|
.cta-form__close {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
padding: 4px 8px 4px 9px;
|
padding: 4px 8px 4px 9px;
|
||||||
border: none;
|
border: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: -2px;
|
top: -2px;
|
||||||
|
@ -85,7 +85,7 @@ input:checked + .gf-form-switch__slider::before {
|
|||||||
height: $input-height;
|
height: $input-height;
|
||||||
background: $switch-bg;
|
background: $switch-bg;
|
||||||
border: 1px solid $input-border-color;
|
border: 1px solid $input-border-color;
|
||||||
border-left: none;
|
border-left: 0;
|
||||||
border-radius: $input-border-radius;
|
border-radius: $input-border-radius;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -99,7 +99,7 @@ input:checked + .gf-form-switch__slider::before {
|
|||||||
|
|
||||||
&--transparent {
|
&--transparent {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: none;
|
border: 0;
|
||||||
width: 23px;
|
width: 23px;
|
||||||
height: auto;
|
height: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -110,7 +110,7 @@ input:checked + .gf-form-switch__slider::before {
|
|||||||
width: 20px;
|
width: 20px;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
height: auto;
|
height: auto;
|
||||||
border: none;
|
border: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -5px;
|
top: -5px;
|
||||||
}
|
}
|
||||||
@ -135,5 +135,5 @@ input:checked + .gf-form-switch__checkbox::before {
|
|||||||
|
|
||||||
input:checked + .gf-form-switch__checkbox {
|
input:checked + .gf-form-switch__checkbox {
|
||||||
background: $checkbox-checked-bg;
|
background: $checkbox-checked-bg;
|
||||||
border: none;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
@ -13,14 +13,6 @@ module.exports = {
|
|||||||
ignoreProperties: ['font-size', 'word-break'],
|
ignoreProperties: ['font-size', 'word-break'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
// Disable equivalent "borderZero" sass-lint rule
|
|
||||||
'declaration-property-value-disallowed-list': {
|
|
||||||
border: [0],
|
|
||||||
'border-top': [0],
|
|
||||||
'border-right': [0],
|
|
||||||
'border-bottom': [0],
|
|
||||||
'border-left': [0],
|
|
||||||
},
|
|
||||||
'function-comma-space-after': null,
|
'function-comma-space-after': null,
|
||||||
'function-url-quotes': null,
|
'function-url-quotes': null,
|
||||||
'length-zero-no-unit': null,
|
'length-zero-no-unit': null,
|
||||||
|
Loading…
Reference in New Issue
Block a user