-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update input components css to use bem styles and mixins
Refs: #7178
- Loading branch information
Showing
57 changed files
with
1,435 additions
and
928 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@layer kol-component { | ||
.kol-form-field { | ||
$root: &; | ||
|
||
display: grid; | ||
|
||
&--disabled { | ||
opacity: 0.5; | ||
} | ||
|
||
&--required { | ||
#{$root}__label-text { | ||
&::after { | ||
content: '*'; | ||
} | ||
} | ||
|
||
#{$root}__tooltip { | ||
.span-label::after { | ||
content: '*'; | ||
} | ||
} | ||
} | ||
} | ||
} |
43 changes: 0 additions & 43 deletions
43
packages/components/src/components/input-checkbox/button.scss
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
packages/components/src/components/input-checkbox/checkbox.scss
This file was deleted.
Oops, something went wrong.
86 changes: 0 additions & 86 deletions
86
packages/components/src/components/input-checkbox/common.scss
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.