mirror of
https://github.com/tabler/tabler.git
synced 2026-08-08 04:12:26 +04:00
Fix Prettier formatting in core SCSS files
pnpm run lint failed on dev: these files had style deviations (missing space around +/>/== operators, @else placement) that predate the lint-prettier glob covering core/scss/**. No behavior change, formatting only.
This commit is contained in:
@@ -43,9 +43,7 @@
|
||||
|
||||
@if $enable-shadows {
|
||||
@include box-shadow($input-box-shadow, $input-focus-box-shadow);
|
||||
}
|
||||
|
||||
@else {
|
||||
} @else {
|
||||
// Avoid using mixin so we can pass custom focus shadow properly
|
||||
box-shadow: $input-focus-box-shadow;
|
||||
}
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
align-items: stretch;
|
||||
width: 100%;
|
||||
|
||||
>.form-control,
|
||||
>.form-select,
|
||||
>.form-floating {
|
||||
> .form-control,
|
||||
> .form-select,
|
||||
> .form-floating {
|
||||
position: relative; // For focus state's z-index
|
||||
flex: 1 1 auto;
|
||||
width: 1%;
|
||||
@@ -24,9 +24,9 @@
|
||||
}
|
||||
|
||||
// Bring the "active" form control to the top of surrounding elements
|
||||
>.form-control:focus,
|
||||
>.form-select:focus,
|
||||
>.form-floating:focus-within {
|
||||
> .form-control:focus,
|
||||
> .form-select:focus,
|
||||
> .form-floating:focus-within {
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
@@ -68,10 +68,10 @@
|
||||
// Remix the default form control sizing classes into new ones for easier
|
||||
// manipulation.
|
||||
|
||||
.input-group-lg>.form-control,
|
||||
.input-group-lg>.form-select,
|
||||
.input-group-lg>.input-group-text,
|
||||
.input-group-lg>.btn {
|
||||
.input-group-lg > .form-control,
|
||||
.input-group-lg > .form-select,
|
||||
.input-group-lg > .input-group-text,
|
||||
.input-group-lg > .btn {
|
||||
line-height: $input-line-height-lg;
|
||||
min-height: $input-height-lg;
|
||||
padding: $input-padding-y-lg $input-padding-x-lg;
|
||||
@@ -79,10 +79,10 @@
|
||||
@include border-radius($input-border-radius-lg);
|
||||
}
|
||||
|
||||
.input-group-sm>.form-control,
|
||||
.input-group-sm>.form-select,
|
||||
.input-group-sm>.input-group-text,
|
||||
.input-group-sm>.btn {
|
||||
.input-group-sm > .form-control,
|
||||
.input-group-sm > .form-select,
|
||||
.input-group-sm > .input-group-text,
|
||||
.input-group-sm > .btn {
|
||||
line-height: $input-line-height-sm;
|
||||
min-height: $input-height-sm;
|
||||
padding: $input-padding-y-sm $input-padding-x-sm;
|
||||
@@ -90,8 +90,8 @@
|
||||
@include border-radius($input-border-radius-sm);
|
||||
}
|
||||
|
||||
.input-group-lg>.form-select,
|
||||
.input-group-sm>.form-select {
|
||||
.input-group-lg > .form-select,
|
||||
.input-group-sm > .form-select {
|
||||
padding-right: $form-select-padding-x + $form-select-indicator-padding;
|
||||
}
|
||||
|
||||
@@ -104,21 +104,19 @@
|
||||
// stylelint-disable-next-line no-duplicate-selectors
|
||||
.input-group {
|
||||
&:not(.has-validation) {
|
||||
|
||||
> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
|
||||
>.dropdown-toggle:nth-last-child(n + 3),
|
||||
>.form-floating:not(:last-child)>.form-control,
|
||||
>.form-floating:not(:last-child)>.form-select {
|
||||
> .dropdown-toggle:nth-last-child(n + 3),
|
||||
> .form-floating:not(:last-child) > .form-control,
|
||||
> .form-floating:not(:last-child) > .form-select {
|
||||
@include border-end-radius(0);
|
||||
}
|
||||
}
|
||||
|
||||
&.has-validation {
|
||||
|
||||
> :nth-last-child(n + 3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
|
||||
>.dropdown-toggle:nth-last-child(n + 4),
|
||||
>.form-floating:nth-last-child(n + 3)>.form-control,
|
||||
>.form-floating:nth-last-child(n + 3)>.form-select {
|
||||
> .dropdown-toggle:nth-last-child(n + 4),
|
||||
> .form-floating:nth-last-child(n + 3) > .form-control,
|
||||
> .form-floating:nth-last-child(n + 3) > .form-select {
|
||||
@include border-end-radius(0);
|
||||
}
|
||||
}
|
||||
@@ -133,8 +131,8 @@
|
||||
@include border-start-radius(0);
|
||||
}
|
||||
|
||||
>.form-floating:not(:first-child)>.form-control,
|
||||
>.form-floating:not(:first-child)>.form-select {
|
||||
> .form-floating:not(:first-child) > .form-control,
|
||||
> .form-floating:not(:first-child) > .form-select {
|
||||
@include border-start-radius(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user