@lucca-front/scss 16.4.2 → 16.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jenkins/npmrc +1 -0
- package/dockerRegistry-514df42c-5e08-4017-8742-cea13d9a7985.env +1 -0
- package/package.json +28 -28
- package/src/commons/base.scss +105 -105
- package/src/commons/config.scss +339 -339
- package/src/commons/core.scss +107 -107
- package/src/commons/exports.scss +3 -3
- package/src/commons/index.scss +6 -6
- package/src/commons/utils/a11y.scss +21 -21
- package/src/commons/utils/form.scss +19 -19
- package/src/commons/utils/index.scss +9 -9
- package/src/commons/utils/loading.scss +45 -45
- package/src/commons/utils/media.scss +35 -35
- package/src/commons/utils/reset.scss +39 -39
- package/src/commons/utils/text.scss +5 -5
- package/src/commons/vars.scss +55 -55
- package/src/components/actionIcon/component.scss +40 -40
- package/src/components/actionIcon/exports.scss +4 -4
- package/src/components/actionIcon/index.scss +38 -38
- package/src/components/actionIcon/mods.scss +68 -68
- package/src/components/actionIcon/states.scss +24 -24
- package/src/components/actionIcon/vars.scss +2 -2
- package/src/components/box/component.scss +18 -18
- package/src/components/box/exports.scss +4 -4
- package/src/components/box/index.scss +19 -19
- package/src/components/box/mods.scss +60 -60
- package/src/components/box/vars.scss +8 -8
- package/src/components/breadcrumbs/component.scss +51 -51
- package/src/components/breadcrumbs/exports.scss +4 -4
- package/src/components/breadcrumbs/index.scss +16 -16
- package/src/components/breadcrumbs/mods.scss +27 -27
- package/src/components/breadcrumbs/states.scss +16 -16
- package/src/components/breadcrumbs/vars.scss +2 -2
- package/src/components/button/component.scss +52 -52
- package/src/components/button/exports.scss +4 -4
- package/src/components/button/index.scss +98 -98
- package/src/components/button/mods.scss +157 -157
- package/src/components/button/states.scss +96 -96
- package/src/components/button/vars.scss +7 -7
- package/src/components/buttonGroup/component.scss +86 -86
- package/src/components/buttonGroup/exports.scss +4 -4
- package/src/components/buttonGroup/index.scss +14 -14
- package/src/components/buttonGroup/mods.scss +43 -43
- package/src/components/buttonGroup/vars.scss +2 -2
- package/src/components/callout/component.scss +61 -61
- package/src/components/callout/exports.scss +4 -4
- package/src/components/callout/index.scss +14 -14
- package/src/components/callout/mods.scss +21 -21
- package/src/components/callout/vars.scss +2 -2
- package/src/components/card/component.scss +48 -48
- package/src/components/card/exports.scss +4 -4
- package/src/components/card/index.scss +26 -26
- package/src/components/card/mods.scss +42 -42
- package/src/components/card/states.scss +21 -21
- package/src/components/card/vars.scss +9 -9
- package/src/components/checkbox/component.scss +94 -94
- package/src/components/checkbox/exports.scss +4 -4
- package/src/components/checkbox/index.scss +48 -48
- package/src/components/checkbox/mods.scss +35 -35
- package/src/components/checkbox/states.scss +53 -53
- package/src/components/checkbox/vars.scss +5 -5
- package/src/components/checkboxField/component.scss +75 -75
- package/src/components/checkboxField/exports.scss +4 -4
- package/src/components/checkboxField/index.scss +72 -72
- package/src/components/checkboxField/mods.scss +9 -9
- package/src/components/checkboxField/states.scss +122 -122
- package/src/components/checkboxField/vars.scss +6 -6
- package/src/components/chip/component.scss +56 -56
- package/src/components/chip/exports.scss +4 -4
- package/src/components/chip/index.scss +22 -22
- package/src/components/chip/mods.scss +29 -29
- package/src/components/chip/states.scss +8 -8
- package/src/components/chip/vars.scss +2 -2
- package/src/components/clear/component.scss +33 -33
- package/src/components/clear/exports.scss +4 -4
- package/src/components/clear/index.scss +19 -19
- package/src/components/clear/mods.scss +17 -17
- package/src/components/clear/states.scss +4 -4
- package/src/components/clear/vars.scss +4 -4
- package/src/components/code/component.scss +11 -11
- package/src/components/code/exports.scss +4 -4
- package/src/components/code/index.scss +10 -10
- package/src/components/code/mods.scss +6 -6
- package/src/components/code/vars.scss +2 -2
- package/src/components/collapse/component.scss +33 -33
- package/src/components/collapse/exports.scss +4 -4
- package/src/components/collapse/index.scss +14 -14
- package/src/components/collapse/states.scss +13 -13
- package/src/components/collapse/vars.scss +2 -2
- package/src/components/container/component.scss +5 -5
- package/src/components/container/exports.scss +4 -4
- package/src/components/container/index.scss +34 -34
- package/src/components/container/mods.scss +33 -33
- package/src/components/container/vars.scss +4 -4
- package/src/components/contentSection/component.scss +3 -3
- package/src/components/contentSection/exports.scss +4 -4
- package/src/components/contentSection/index.scss +6 -6
- package/src/components/contentSection/vars.scss +3 -3
- package/src/components/divider/component.scss +8 -8
- package/src/components/divider/exports.scss +4 -4
- package/src/components/divider/index.scss +6 -6
- package/src/components/divider/vars.scss +2 -2
- package/src/components/emptyState/component.scss +16 -16
- package/src/components/emptyState/exports.scss +4 -4
- package/src/components/emptyState/index.scss +6 -6
- package/src/components/emptyState/vars.scss +2 -2
- package/src/components/errorPage/component.scss +61 -61
- package/src/components/errorPage/exports.scss +4 -4
- package/src/components/errorPage/index.scss +11 -11
- package/src/components/errorPage/vars.scss +4 -4
- package/src/components/field/component.scss +112 -112
- package/src/components/field/exports.scss +4 -4
- package/src/components/field/index.scss +125 -125
- package/src/components/field/mods.scss +337 -337
- package/src/components/field/states.scss +184 -184
- package/src/components/field/vars.scss +37 -37
- package/src/components/fieldset/component.scss +48 -48
- package/src/components/fieldset/exports.scss +4 -4
- package/src/components/fieldset/index.scss +14 -14
- package/src/components/fieldset/mods.scss +17 -17
- package/src/components/fieldset/vars.scss +4 -4
- package/src/components/file/component.scss +122 -122
- package/src/components/file/exports.scss +4 -4
- package/src/components/file/index.scss +44 -44
- package/src/components/file/mods.scss +66 -66
- package/src/components/file/states.scss +97 -97
- package/src/components/file/vars.scss +2 -2
- package/src/components/filters/component.scss +38 -38
- package/src/components/filters/exports.scss +4 -4
- package/src/components/filters/index.scss +24 -24
- package/src/components/filters/mods.scss +21 -21
- package/src/components/filters/vars.scss +5 -5
- package/src/components/footer/component.scss +36 -36
- package/src/components/footer/exports.scss +4 -4
- package/src/components/footer/index.scss +10 -10
- package/src/components/footer/mods.scss +4 -4
- package/src/components/footer/vars.scss +2 -2
- package/src/components/form/component.scss +97 -97
- package/src/components/form/exports.scss +4 -4
- package/src/components/form/index.scss +118 -118
- package/src/components/form/mods.scss +266 -266
- package/src/components/form/states.scss +24 -24
- package/src/components/form/vars.scss +19 -19
- package/src/components/formLabel/component.scss +21 -21
- package/src/components/formLabel/exports.scss +4 -4
- package/src/components/formLabel/index.scss +18 -18
- package/src/components/formLabel/mods.scss +19 -19
- package/src/components/formLabel/states.scss +8 -8
- package/src/components/formLabel/vars.scss +7 -7
- package/src/components/gauge/component.scss +21 -21
- package/src/components/gauge/exports.scss +4 -4
- package/src/components/gauge/index.scss +14 -14
- package/src/components/gauge/mods.scss +14 -14
- package/src/components/gauge/vars.scss +3 -3
- package/src/components/grid/component.scss +68 -68
- package/src/components/grid/exports.scss +4 -4
- package/src/components/grid/index.scss +20 -20
- package/src/components/grid/mods.scss +17 -17
- package/src/components/grid/vars.scss +18 -18
- package/src/components/gridLegacy/component.scss +34 -34
- package/src/components/gridLegacy/exports.scss +4 -4
- package/src/components/gridLegacy/index.scss +94 -94
- package/src/components/gridLegacy/mods.scss +46 -46
- package/src/components/gridLegacy/vars.scss +2 -2
- package/src/components/header/component.scss +72 -72
- package/src/components/header/exports.scss +4 -4
- package/src/components/header/index.scss +28 -28
- package/src/components/header/mods.scss +34 -34
- package/src/components/header/states.scss +13 -13
- package/src/components/header/vars.scss +5 -5
- package/src/components/index.scss +75 -75
- package/src/components/inlineMessage/component.scss +13 -13
- package/src/components/inlineMessage/exports.scss +4 -4
- package/src/components/inlineMessage/index.scss +22 -22
- package/src/components/inlineMessage/mods.scss +5 -5
- package/src/components/inlineMessage/states.scss +41 -41
- package/src/components/inlineMessage/vars.scss +7 -7
- package/src/components/keyframe/exports.scss +4 -4
- package/src/components/keyframe/index.scss +1 -1
- package/src/components/keyframe/mods.scss +184 -184
- package/src/components/label/component.scss +19 -19
- package/src/components/label/exports.scss +4 -4
- package/src/components/label/index.scss +18 -18
- package/src/components/label/mods.scss +16 -16
- package/src/components/label/vars.scss +12 -12
- package/src/components/layout/component.scss +172 -172
- package/src/components/layout/exports.scss +4 -4
- package/src/components/layout/index.scss +68 -68
- package/src/components/layout/mods.scss +109 -109
- package/src/components/layout/states.scss +26 -26
- package/src/components/layout/vars.scss +3 -3
- package/src/components/link/component.scss +22 -22
- package/src/components/link/exports.scss +4 -4
- package/src/components/link/index.scss +18 -18
- package/src/components/link/mods.scss +16 -16
- package/src/components/link/states.scss +4 -4
- package/src/components/link/vars.scss +2 -2
- package/src/components/list/component.scss +48 -48
- package/src/components/list/exports.scss +4 -4
- package/src/components/list/index.scss +20 -20
- package/src/components/list/mods.scss +53 -53
- package/src/components/list/vars.scss +5 -5
- package/src/components/loading/component.scss +15 -15
- package/src/components/loading/exports.scss +4 -4
- package/src/components/loading/index.scss +30 -30
- package/src/components/loading/mods.scss +78 -78
- package/src/components/loading/vars.scss +3 -3
- package/src/components/main/component.scss +9 -9
- package/src/components/main/exports.scss +4 -4
- package/src/components/main/index.scss +32 -32
- package/src/components/main/mods.scss +21 -21
- package/src/components/main/states.scss +8 -8
- package/src/components/main/vars.scss +2 -2
- package/src/components/menu/component.scss +102 -102
- package/src/components/menu/exports.scss +4 -4
- package/src/components/menu/index.scss +26 -26
- package/src/components/menu/mods.scss +25 -25
- package/src/components/menu/states.scss +37 -37
- package/src/components/menu/vars.scss +3 -3
- package/src/components/mobileHeader/component.scss +30 -30
- package/src/components/mobileHeader/exports.scss +4 -4
- package/src/components/mobileHeader/index.scss +10 -10
- package/src/components/mobileHeader/mods.scss +23 -23
- package/src/components/mobileHeader/vars.scss +3 -3
- package/src/components/mobileNavigation/component.scss +56 -56
- package/src/components/mobileNavigation/exports.scss +4 -4
- package/src/components/mobileNavigation/index.scss +10 -10
- package/src/components/mobileNavigation/mods.scss +5 -5
- package/src/components/mobileNavigation/vars.scss +2 -2
- package/src/components/navside/component.scss +221 -221
- package/src/components/navside/exports.scss +4 -4
- package/src/components/navside/index.scss +99 -99
- package/src/components/navside/mods.scss +138 -138
- package/src/components/navside/states.scss +63 -63
- package/src/components/navside/vars.scss +55 -55
- package/src/components/newBadge/component.scss +10 -10
- package/src/components/newBadge/exports.scss +4 -4
- package/src/components/newBadge/index.scss +6 -6
- package/src/components/newBadge/vars.scss +2 -2
- package/src/components/notchBox/component.scss +83 -83
- package/src/components/notchBox/exports.scss +4 -4
- package/src/components/notchBox/index.scss +22 -22
- package/src/components/notchBox/mods.scss +224 -224
- package/src/components/notchBox/vars.scss +22 -22
- package/src/components/numericBadge/component.scss +17 -17
- package/src/components/numericBadge/exports.scss +4 -4
- package/src/components/numericBadge/index.scss +14 -14
- package/src/components/numericBadge/mods.scss +13 -13
- package/src/components/numericBadge/vars.scss +8 -8
- package/src/components/pageHeader/component.scss +58 -58
- package/src/components/pageHeader/exports.scss +4 -4
- package/src/components/pageHeader/index.scss +18 -18
- package/src/components/pageHeader/mods.scss +27 -27
- package/src/components/pageHeader/vars.scss +3 -3
- package/src/components/pagination/component.scss +39 -39
- package/src/components/pagination/exports.scss +4 -4
- package/src/components/pagination/index.scss +16 -16
- package/src/components/pagination/mods.scss +4 -4
- package/src/components/pagination/states.scss +5 -5
- package/src/components/pagination/vars.scss +2 -2
- package/src/components/progress/component.scss +42 -42
- package/src/components/progress/exports.scss +4 -4
- package/src/components/progress/index.scss +18 -18
- package/src/components/progress/mods.scss +19 -19
- package/src/components/progress/states.scss +21 -21
- package/src/components/progress/vars.scss +8 -8
- package/src/components/radio/component.scss +93 -93
- package/src/components/radio/exports.scss +4 -4
- package/src/components/radio/index.scss +25 -25
- package/src/components/radio/mods.scss +32 -32
- package/src/components/radio/states.scss +30 -30
- package/src/components/radio/vars.scss +7 -7
- package/src/components/radioButtons/component.scss +84 -84
- package/src/components/radioButtons/exports.scss +4 -4
- package/src/components/radioButtons/index.scss +20 -20
- package/src/components/radioButtons/mods.scss +11 -11
- package/src/components/radioButtons/states.scss +13 -13
- package/src/components/radioButtons/vars.scss +5 -5
- package/src/components/radioField/component.scss +99 -99
- package/src/components/radioField/exports.scss +4 -4
- package/src/components/radioField/index.scss +40 -40
- package/src/components/radioField/mods.scss +41 -41
- package/src/components/radioField/states.scss +122 -122
- package/src/components/radioField/vars.scss +7 -7
- package/src/components/section/component.scss +5 -5
- package/src/components/section/exports.scss +4 -4
- package/src/components/section/index.scss +19 -19
- package/src/components/section/mods.scss +13 -13
- package/src/components/section/vars.scss +2 -2
- package/src/components/skeleton/component.scss +17 -17
- package/src/components/skeleton/exports.scss +4 -4
- package/src/components/skeleton/index.scss +26 -26
- package/src/components/skeleton/mods.scss +27 -27
- package/src/components/skeleton/states.scss +84 -84
- package/src/components/skeleton/vars.scss +8 -8
- package/src/components/sortableList/component.scss +68 -68
- package/src/components/sortableList/exports.scss +4 -4
- package/src/components/sortableList/index.scss +16 -16
- package/src/components/sortableList/mods.scss +19 -19
- package/src/components/sortableList/vars.scss +8 -8
- package/src/components/status/component.scss +47 -47
- package/src/components/status/exports.scss +4 -4
- package/src/components/status/index.scss +18 -18
- package/src/components/status/states.scss +17 -17
- package/src/components/status/vars.scss +2 -2
- package/src/components/statusBadge/component.scss +27 -27
- package/src/components/statusBadge/exports.scss +4 -4
- package/src/components/statusBadge/index.scss +10 -10
- package/src/components/statusBadge/mods.scss +6 -6
- package/src/components/statusBadge/vars.scss +6 -6
- package/src/components/switch/component.scss +67 -67
- package/src/components/switch/exports.scss +4 -4
- package/src/components/switch/index.scss +48 -48
- package/src/components/switch/mods.scss +15 -15
- package/src/components/switch/states.scss +91 -91
- package/src/components/switch/vars.scss +12 -12
- package/src/components/switchField/component.scss +95 -95
- package/src/components/switchField/exports.scss +4 -4
- package/src/components/switchField/index.scss +32 -32
- package/src/components/switchField/mods.scss +11 -11
- package/src/components/switchField/states.scss +80 -80
- package/src/components/switchField/vars.scss +7 -7
- package/src/components/table/component.scss +75 -75
- package/src/components/table/exports.scss +4 -4
- package/src/components/table/index.scss +102 -102
- package/src/components/table/mods.scss +312 -312
- package/src/components/table/vars.scss +8 -8
- package/src/components/tableFixed/exports.scss +4 -4
- package/src/components/tableFixed/index.scss +21 -21
- package/src/components/tableFixed/mods.scss +5 -5
- package/src/components/tableOfContent/component.scss +29 -29
- package/src/components/tableOfContent/exports.scss +4 -4
- package/src/components/tableOfContent/index.scss +42 -42
- package/src/components/tableOfContent/states.scss +41 -41
- package/src/components/tableOfContent/vars.scss +14 -14
- package/src/components/tableSorted/exports.scss +4 -4
- package/src/components/tableSorted/index.scss +58 -58
- package/src/components/tableSorted/mods.scss +93 -93
- package/src/components/tableSorted/states.scss +167 -167
- package/src/components/tableSticked/exports.scss +4 -4
- package/src/components/tableSticked/index.scss +70 -70
- package/src/components/tableSticked/mods.scss +212 -212
- package/src/components/tableSticked/vars.scss +8 -8
- package/src/components/tag/component.scss +13 -13
- package/src/components/tag/exports.scss +4 -4
- package/src/components/tag/index.scss +18 -18
- package/src/components/tag/mods.scss +19 -19
- package/src/components/tag/vars.scss +2 -2
- package/src/components/textField/component.scss +112 -112
- package/src/components/textField/exports.scss +4 -4
- package/src/components/textField/index.scss +22 -22
- package/src/components/textField/mods.scss +34 -34
- package/src/components/textField/states.scss +15 -15
- package/src/components/textField/vars.scss +11 -11
- package/src/components/textfields/component.scss +77 -77
- package/src/components/textfields/exports.scss +4 -4
- package/src/components/textfields/index.scss +402 -402
- package/src/components/textfields/mods.scss +648 -648
- package/src/components/textfields/states.scss +229 -229
- package/src/components/textfields/vars.scss +41 -41
- package/src/components/timeline/component.scss +81 -81
- package/src/components/timeline/exports.scss +4 -4
- package/src/components/timeline/index.scss +101 -101
- package/src/components/timeline/mods.scss +384 -384
- package/src/components/timeline/states.scss +22 -22
- package/src/components/timeline/vars.scss +3 -3
- package/src/components/timepicker/component.scss +91 -91
- package/src/components/timepicker/exports.scss +4 -4
- package/src/components/timepicker/index.scss +14 -14
- package/src/components/timepicker/mods.scss +4 -4
- package/src/components/timepicker/states.scss +13 -13
- package/src/components/timepicker/vars.scss +5 -5
- package/src/components/title/component.scss +15 -15
- package/src/components/title/exports.scss +4 -4
- package/src/components/title/index.scss +39 -39
- package/src/components/title/mods.scss +48 -48
- package/src/components/title/vars.scss +2 -2
- package/src/components/titleSection/component.scss +34 -34
- package/src/components/titleSection/exports.scss +4 -4
- package/src/components/titleSection/index.scss +25 -25
- package/src/components/titleSection/mods.scss +10 -10
- package/src/components/titleSection/vars.scss +2 -2
- package/src/components/toast/component.scss +73 -73
- package/src/components/toast/exports.scss +4 -4
- package/src/components/toast/index.scss +14 -14
- package/src/components/toast/mods.scss +95 -95
- package/src/components/toast/vars.scss +11 -11
- package/src/components/util/exports.scss +4 -4
- package/src/components/util/index.scss +329 -329
- package/src/components/util/mods.scss +3 -3
- package/src/components/verticalNavigation/component.scss +55 -55
- package/src/components/verticalNavigation/exports.scss +4 -4
- package/src/components/verticalNavigation/index.scss +30 -30
- package/src/components/verticalNavigation/mods.scss +9 -9
- package/src/components/verticalNavigation/states.scss +28 -28
- package/src/components/verticalNavigation/vars.scss +5 -5
- package/src/main-all.scss +2 -2
- package/src/main.scss +1 -1
|
@@ -1,648 +1,648 @@
|
|
|
1
|
-
@use '@lucca-front/scss/src/commons/utils/form';
|
|
2
|
-
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
3
|
-
|
|
4
|
-
@mixin password {
|
|
5
|
-
.textfield-suffix {
|
|
6
|
-
pointer-events: auto;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.textfield-input {
|
|
10
|
-
padding-right: var(--spacings-XL) !important;
|
|
11
|
-
|
|
12
|
-
&::-ms-reveal {
|
|
13
|
-
display: none;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.textfield-suffix-action {
|
|
18
|
-
text-decoration: none;
|
|
19
|
-
color: currentColor;
|
|
20
|
-
display: block;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@mixin clearable {
|
|
25
|
-
.textfield-input {
|
|
26
|
-
padding-right: 2rem;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.textfield-clear {
|
|
30
|
-
position: absolute;
|
|
31
|
-
bottom: 0.75rem;
|
|
32
|
-
right: var(--spacings-XS);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.textfield-actionClear { // deprecated
|
|
36
|
-
text-align: center;
|
|
37
|
-
position: absolute;
|
|
38
|
-
bottom: .75rem;
|
|
39
|
-
right: var(--spacings-XS);
|
|
40
|
-
width: 1rem;
|
|
41
|
-
height: 1rem;
|
|
42
|
-
padding: 0;
|
|
43
|
-
line-height: 0;
|
|
44
|
-
background-color: var(--palettes-grey-700);
|
|
45
|
-
border-radius: 50%;
|
|
46
|
-
|
|
47
|
-
.lucca-icon {
|
|
48
|
-
font-size: var(--sizes-XS-lineHeight);
|
|
49
|
-
color: white;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&:hover {
|
|
53
|
-
background-color: var(--palettes-grey-600) !important;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@mixin clearableS {
|
|
59
|
-
.textfield-clear {
|
|
60
|
-
bottom: var(--spacings-XXS);
|
|
61
|
-
right: var(--spacings-XXS);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.textfield-actionClear { // deprecated
|
|
65
|
-
bottom: var(--spacings-XXS);
|
|
66
|
-
right: var(--spacings-XXS);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@mixin clearableXS {
|
|
71
|
-
.textfield-clear {
|
|
72
|
-
bottom: var(--spacings-XXS);
|
|
73
|
-
right: var(--spacings-XXS);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.textfield-actionClear { // deprecated
|
|
77
|
-
bottom: var(--spacings-XXS);
|
|
78
|
-
right: var(--spacings-XXS);
|
|
79
|
-
height: 1rem;
|
|
80
|
-
width: 1rem;
|
|
81
|
-
|
|
82
|
-
.lucca-icon {
|
|
83
|
-
font-size: 1rem;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
@mixin suffix {
|
|
89
|
-
.textfield-input {
|
|
90
|
-
padding-right: var(--components-textfield-suffix-padding-right);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.textfield-actionClear { // deprecated
|
|
94
|
-
right: 2rem;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@mixin noLabel {
|
|
99
|
-
.textfield-suffix {
|
|
100
|
-
top: var(--components-textfield-input-padding-vertical);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@mixin S {
|
|
105
|
-
.textfield-label {
|
|
106
|
-
line-height: var(--sizes-S-lineHeight);
|
|
107
|
-
font-size: var(--sizes-S-fontSize);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.textfield-input {
|
|
111
|
-
line-height: var(--sizes-S-lineHeight);
|
|
112
|
-
font-size: var(--sizes-S-fontSize);
|
|
113
|
-
padding: 0.375rem;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.textfield-suffix {
|
|
117
|
-
line-height: calc(var(--sizes-S-fontSize) * 1.25);
|
|
118
|
-
font-size: var(--sizes-S-fontSize);
|
|
119
|
-
|
|
120
|
-
.lucca-icon {
|
|
121
|
-
font-size: calc(var(--sizes-S-fontSize) * 1.25);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
@mixin XS {
|
|
127
|
-
.textfield-label {
|
|
128
|
-
line-height: var(--sizes-XS-lineHeight);
|
|
129
|
-
font-size: var(--sizes-XS-fontSize);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.textfield-input {
|
|
133
|
-
line-height: var(--sizes-XS-lineHeight);
|
|
134
|
-
font-size: var(--sizes-XS-fontSize);
|
|
135
|
-
padding: var(--spacings-XXS);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.textfield-suffix {
|
|
139
|
-
line-height: calc(var(--sizes-XS-fontSize) * 1.25);
|
|
140
|
-
font-size: var(--sizes-XS-fontSize);
|
|
141
|
-
top: calc(var(--components-textfield-suffix-top) + var(--spacings-XXS));
|
|
142
|
-
|
|
143
|
-
.lucca-icon {
|
|
144
|
-
font-size: calc(var(--sizes-XS-fontSize) * 1.25);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.textfield-messages {
|
|
149
|
-
font-size: var(--sizes-XS-fontSize);
|
|
150
|
-
line-height: var(--sizes-XS-lineHeight);
|
|
151
|
-
|
|
152
|
-
.lucca-icon {
|
|
153
|
-
font-size: 0.75rem;
|
|
154
|
-
line-height: var(--sizes-XS-lineHeight);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
@mixin noLabelXS {
|
|
160
|
-
.textfield-suffix {
|
|
161
|
-
top: var(--spacings-XXS);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
@mixin SInputIcon {
|
|
166
|
-
line-height: var(--sizes-XS-lineHeight);
|
|
167
|
-
font-size: var(--sizes-S-fontSize);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
@mixin XSInputIcon {
|
|
171
|
-
line-height: var(--sizes-XS-lineHeight);
|
|
172
|
-
font-size: var(--sizes-S-fontSize);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
@mixin size($size) {
|
|
176
|
-
width: var(--components-textfield-sizes-#{$size});
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
@mixin multiline {
|
|
180
|
-
.textfield-input {
|
|
181
|
-
line-height: var(--sizes-M-lineHeight);
|
|
182
|
-
font-size: var(--sizes-M-fontSize);
|
|
183
|
-
resize: vertical;
|
|
184
|
-
height: 5rem;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
@mixin multilineS {
|
|
189
|
-
.textfield-input {
|
|
190
|
-
line-height: var(--sizes-XS-lineHeight);
|
|
191
|
-
font-size: var(--sizes-S-fontSize);
|
|
192
|
-
height: 4rem;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
@mixin invert {
|
|
197
|
-
.textfield-label {
|
|
198
|
-
color: var(--colors-white-color);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
@mixin materialSearchBlockClearableInput {
|
|
203
|
-
.textfield-input {
|
|
204
|
-
padding-right: 3.75rem;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.textfield-clear {
|
|
208
|
-
right: 2rem;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
@mixin search {
|
|
213
|
-
&::after {
|
|
214
|
-
@include icon.generate('search_magnifying_glass');
|
|
215
|
-
|
|
216
|
-
color: var(--palettes-grey-600);
|
|
217
|
-
position: absolute;
|
|
218
|
-
pointer-events: none;
|
|
219
|
-
bottom: var(--spacings-XS);
|
|
220
|
-
font-size: var(--sizes-M-lineHeight);
|
|
221
|
-
line-height: var(--sizes-M-lineHeight);
|
|
222
|
-
right: var(--spacings-XS);
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.textfield-input {
|
|
226
|
-
padding-right: var(--spacings-L);
|
|
227
|
-
|
|
228
|
-
&[type='search']:is(:hover, :focus) {
|
|
229
|
-
&::-webkit-search-cancel-button {
|
|
230
|
-
display: none;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.textfield-actionClear { // deprecated
|
|
236
|
-
right: 2.5rem;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
@mixin searchClearable {
|
|
241
|
-
.textfield-input {
|
|
242
|
-
padding-right: 4rem;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.textfield-clear {
|
|
246
|
-
right: 2.5rem;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.textfield-actionClear { // deprecated
|
|
250
|
-
right: 2.5rem;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
@mixin searchS {
|
|
255
|
-
&::after {
|
|
256
|
-
line-height: var(--sizes-S-lineHeight);
|
|
257
|
-
font-size: var(--sizes-S-lineHeight);
|
|
258
|
-
bottom: 0.375rem;
|
|
259
|
-
right: 0.375rem;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.textfield-actionClear { // deprecated
|
|
263
|
-
right: 2.125rem;
|
|
264
|
-
bottom: .625rem;
|
|
265
|
-
width: .75rem;
|
|
266
|
-
height: .75rem;
|
|
267
|
-
|
|
268
|
-
.lucca-icon {
|
|
269
|
-
font-size: .75rem;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
@mixin searchClearableS {
|
|
275
|
-
.textfield-input {
|
|
276
|
-
padding-right: 3.5rem;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.textfield-clear {
|
|
280
|
-
--components-clear-size: 0.75rem;
|
|
281
|
-
--components-clear-icon-size: 0.75rem;
|
|
282
|
-
|
|
283
|
-
right: 2.125rem;
|
|
284
|
-
bottom: 0.625rem;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
.textfield-actionClear { // deprecated
|
|
288
|
-
right: 2.125rem;
|
|
289
|
-
bottom: .625rem;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
@mixin searchXS {
|
|
294
|
-
&::after {
|
|
295
|
-
line-height: var(--sizes-XS-lineHeight);
|
|
296
|
-
font-size: var(--sizes-XS-lineHeight);
|
|
297
|
-
bottom: var(--spacings-XXS);
|
|
298
|
-
right: var(--spacings-XXS);
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.textfield-actionClear { // deprecated
|
|
302
|
-
right: 1.75rem;
|
|
303
|
-
bottom: .375rem;
|
|
304
|
-
width: .75rem;
|
|
305
|
-
height: .75rem;
|
|
306
|
-
|
|
307
|
-
.lucca-icon {
|
|
308
|
-
font-size: .75rem;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
@mixin searchClearableXS {
|
|
314
|
-
.textfield-input {
|
|
315
|
-
padding-right: 3rem;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
.textfield-clear {
|
|
319
|
-
--components-clear-size: 0.75rem;
|
|
320
|
-
--components-clear-icon-size: 0.75rem;
|
|
321
|
-
|
|
322
|
-
right: 1.75rem;
|
|
323
|
-
bottom: 0.375rem;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.textfield-actionClear { // deprecated
|
|
327
|
-
right: 1.75rem;
|
|
328
|
-
bottom: .375rem;
|
|
329
|
-
width: .75rem;
|
|
330
|
-
height: .75rem;
|
|
331
|
-
|
|
332
|
-
.lucca-icon {
|
|
333
|
-
font-size: .75rem;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
@mixin radio {
|
|
339
|
-
display: inline-block;
|
|
340
|
-
margin-left: var(--spacings-XXS);
|
|
341
|
-
|
|
342
|
-
.textfield-input {
|
|
343
|
-
padding-top: 0;
|
|
344
|
-
padding-bottom: 0;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
@mixin filter {
|
|
349
|
-
width: var(--components-textfield-filter-width);
|
|
350
|
-
height: var(--components-filters-height);
|
|
351
|
-
border-right-color: var(--commons-divider-color);
|
|
352
|
-
border-right-width: 1px;
|
|
353
|
-
border-right-style: solid;
|
|
354
|
-
transition-duration: var(--commons-animations-durations-standard);
|
|
355
|
-
transition-property: background-color;
|
|
356
|
-
display: block;
|
|
357
|
-
position: relative;
|
|
358
|
-
|
|
359
|
-
.textfield-label {
|
|
360
|
-
color: var(--palettes-grey-600);
|
|
361
|
-
left: var(--spacings-S);
|
|
362
|
-
font-size: var(--sizes-S-fontSize);
|
|
363
|
-
font-weight: 400;
|
|
364
|
-
line-height: var(--sizes-S-lineHeight);
|
|
365
|
-
pointer-events: none;
|
|
366
|
-
position: absolute;
|
|
367
|
-
top: var(--spacings-XS);
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.textfield-input {
|
|
371
|
-
background-color: transparent;
|
|
372
|
-
padding: var(--spacings-S) 2.5rem 0 var(--spacings-S);
|
|
373
|
-
// todo: déplacer dans filters ?
|
|
374
|
-
height: var(--components-filters-height);
|
|
375
|
-
border-radius: 0;
|
|
376
|
-
box-shadow: none;
|
|
377
|
-
|
|
378
|
-
&::after {
|
|
379
|
-
bottom: var(--spacings-XS);
|
|
380
|
-
color: var(--palettes-grey-600);
|
|
381
|
-
font-weight: 400;
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
@mixin suffixIcon {
|
|
387
|
-
color: var(--palettes-grey-600);
|
|
388
|
-
line-height: var(--sizes-M-lineHeight);
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
@mixin compact {
|
|
392
|
-
.textfield-options {
|
|
393
|
-
width: calc(100% - var(--components-textfield-compact-label-right-margin) - var(--components-textfield-compact-label-sizes-default));
|
|
394
|
-
left: auto;
|
|
395
|
-
right: 0;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.textfield-suffix {
|
|
399
|
-
top: var(--components-textfield-compact-padding);
|
|
400
|
-
right: var(--components-textfield-compact-padding);
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
@mixin compactMultiline {
|
|
405
|
-
align-items: flex-start;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
@mixin compactSize($size) {
|
|
409
|
-
width: calc(
|
|
410
|
-
var(--components-textfield-sizes-#{$size}) + var(--components-textfield-compact-label-right-margin) +
|
|
411
|
-
var(--components-textfield-compact-label-sizes-default)
|
|
412
|
-
);
|
|
413
|
-
|
|
414
|
-
.textfield-options {
|
|
415
|
-
// width: $input-width; // todo: récupérer la bonne taille
|
|
416
|
-
outline: 2px dashed greenyellow !important;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
@mixin framed {
|
|
421
|
-
width: 100%;
|
|
422
|
-
margin-bottom: 0 !important;
|
|
423
|
-
|
|
424
|
-
.textfield.mod-search {
|
|
425
|
-
@include framedSearch;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.textfield-options {
|
|
429
|
-
width: auto;
|
|
430
|
-
margin-top: -2px;
|
|
431
|
-
right: 1px;
|
|
432
|
-
|
|
433
|
-
mark {
|
|
434
|
-
background-color: transparent;
|
|
435
|
-
text-decoration: underline;
|
|
436
|
-
color: inherit;
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.textfield-input {
|
|
441
|
-
width: 100%;
|
|
442
|
-
border-radius: 0;
|
|
443
|
-
box-shadow: form.fakeBorderOverlay(var(--components-field-framed-border));
|
|
444
|
-
padding: var(--components-field-framed-top-padding) var(--components-field-framed-side-padding)
|
|
445
|
-
var(--components-field-framed-bottom-padding);
|
|
446
|
-
line-height: var(--sizes-M-lineHeight);
|
|
447
|
-
outline: none;
|
|
448
|
-
|
|
449
|
-
&:not(:disabled, .is-error, .is-success, .is-valid, .is-warning, .is-invalid) {
|
|
450
|
-
background-color: var(--colors-white-color);
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
.textfield-label {
|
|
455
|
-
padding: var(--components-field-framed-label-top-offset) var(--components-field-framed-side-padding);
|
|
456
|
-
position: absolute;
|
|
457
|
-
pointer-events: none;
|
|
458
|
-
left: 0;
|
|
459
|
-
top: 0;
|
|
460
|
-
z-index: 10;
|
|
461
|
-
line-height: var(--sizes-M-lineHeight);
|
|
462
|
-
font-size: var(--sizes-S-fontSize);
|
|
463
|
-
color: var(--palettes-grey-600);
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
.textfield-messages,
|
|
467
|
-
.radiosfield-messages,
|
|
468
|
-
.checkboxesfield-messages {
|
|
469
|
-
transition-duration: var(--commons-animations-durations-standard);
|
|
470
|
-
transition-property: transform;
|
|
471
|
-
position: absolute;
|
|
472
|
-
text-align: center;
|
|
473
|
-
bottom: 0;
|
|
474
|
-
left: -1px;
|
|
475
|
-
right: 0;
|
|
476
|
-
transform: translateY(0);
|
|
477
|
-
z-index: 4;
|
|
478
|
-
|
|
479
|
-
> * {
|
|
480
|
-
display: block;
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
.textfield-messages-error,
|
|
485
|
-
.radiosfield-messages-error,
|
|
486
|
-
.checkboxesfield-messages-error {
|
|
487
|
-
background-color: var(--palettes-error-700);
|
|
488
|
-
color: var(--colors-white-color);
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
.textfield-messages-warning,
|
|
492
|
-
.radiosfield-messages-warning,
|
|
493
|
-
.checkboxesfield-messages-warning {
|
|
494
|
-
background-color: var(--palettes-warning-700);
|
|
495
|
-
color: var(--colors-white-color);
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
.textfield-messages-valid,
|
|
499
|
-
.radiosfield-messages-valid,
|
|
500
|
-
.checkboxesfield-messages-valid,
|
|
501
|
-
.textfield-messages-success,
|
|
502
|
-
.radiosfield-messages-success,
|
|
503
|
-
.checkboxesfield-messages-success {
|
|
504
|
-
background-color: var(--palettes-success-700);
|
|
505
|
-
color: var(--colors-white-color);
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
.textfield-messages-helper,
|
|
509
|
-
.radiosfield-messages-helper,
|
|
510
|
-
.checkboxesfield-messages-helper {
|
|
511
|
-
background-color: var(--palettes-grey-500);
|
|
512
|
-
color: var(--colors-white-color);
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
@mixin framedMultiline {
|
|
517
|
-
.textfield-input {
|
|
518
|
-
height: var(--components-field-framed-textarea-height);
|
|
519
|
-
min-height: var(--components-field-framed-textarea-min-height);
|
|
520
|
-
max-height: var(--components-field-framed-textarea-max-height);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
@mixin framedMultilineS {
|
|
525
|
-
.textfield-input {
|
|
526
|
-
height: auto;
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
@mixin framedSearch {
|
|
531
|
-
&::after {
|
|
532
|
-
color: var(--palettes-grey-600);
|
|
533
|
-
padding: var(--components-field-framed-side-padding);
|
|
534
|
-
bottom: 0;
|
|
535
|
-
right: 0;
|
|
536
|
-
z-index: 4;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
.textfield {
|
|
540
|
-
width: 100%;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
.textfield-input {
|
|
544
|
-
padding-right: var(--components-field-framed-suffix-padding-right);
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
@mixin material {
|
|
549
|
-
padding-top: var(--components-textfield-material-padding-top);
|
|
550
|
-
vertical-align: baseline;
|
|
551
|
-
|
|
552
|
-
.textfield-input {
|
|
553
|
-
box-shadow: 0 1px 0 0 var(--components-textfield-material-border-color);
|
|
554
|
-
background-color: transparent;
|
|
555
|
-
border-radius: 0;
|
|
556
|
-
padding-left: 0;
|
|
557
|
-
padding-right: 0;
|
|
558
|
-
|
|
559
|
-
&::placeholder {
|
|
560
|
-
opacity: 0;
|
|
561
|
-
color: var(--palettes-grey-400);
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
.textfield-label {
|
|
566
|
-
color: var(--components-textfield-material-label-color);
|
|
567
|
-
font-size: var(--components-textfield-material-label-font-size);
|
|
568
|
-
position: absolute;
|
|
569
|
-
pointer-events: none;
|
|
570
|
-
font-weight: 400;
|
|
571
|
-
line-height: var(--sizes-M-lineHeight);
|
|
572
|
-
width: 100%;
|
|
573
|
-
top: var(--spacings-M);
|
|
574
|
-
left: 0;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
.textfield-suffix {
|
|
578
|
-
top: calc(var(--components-textfield-material-padding-top) + var(--components-textfield-input-padding-vertical));
|
|
579
|
-
position: absolute;
|
|
580
|
-
right: 0;
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
@mixin materialS {
|
|
585
|
-
.textfield-label {
|
|
586
|
-
line-height: var(--sizes-S-lineHeight);
|
|
587
|
-
font-size: var(--sizes-S-fontSize);
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
@mixin materialSuffix {
|
|
592
|
-
.textfield-input {
|
|
593
|
-
padding-right: var(--components-textfield-material-suffix-padding-right);
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
@mixin materialNoLabel {
|
|
598
|
-
padding-top: 0;
|
|
599
|
-
|
|
600
|
-
.textfield-input {
|
|
601
|
-
&::placeholder {
|
|
602
|
-
opacity: 1;
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
.textfield-label {
|
|
607
|
-
display: none;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
.textfield-suffix {
|
|
611
|
-
top: var(--components-textfield-input-padding-vertical);
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
@mixin materialSearch {
|
|
616
|
-
&::after {
|
|
617
|
-
color: var(--palettes-grey-500);
|
|
618
|
-
bottom: var(--spacings-XS);
|
|
619
|
-
right: 0;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
.textfield-input {
|
|
623
|
-
padding-right: 1.75rem;
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
.textfield-label {
|
|
627
|
-
padding-right: 0;
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
@mixin materialRadio {
|
|
632
|
-
padding-top: 0;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
@mixin materialValid {
|
|
636
|
-
&::before {
|
|
637
|
-
bottom: 0.7rem !important;
|
|
638
|
-
right: 0 !important;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
.textfield-label {
|
|
642
|
-
padding-right: var(--spacings-M);
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
.textfield-input {
|
|
646
|
-
padding-right: var(--spacings-M);
|
|
647
|
-
}
|
|
648
|
-
}
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/form';
|
|
2
|
+
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
3
|
+
|
|
4
|
+
@mixin password {
|
|
5
|
+
.textfield-suffix {
|
|
6
|
+
pointer-events: auto;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.textfield-input {
|
|
10
|
+
padding-right: var(--spacings-XL) !important;
|
|
11
|
+
|
|
12
|
+
&::-ms-reveal {
|
|
13
|
+
display: none;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.textfield-suffix-action {
|
|
18
|
+
text-decoration: none;
|
|
19
|
+
color: currentColor;
|
|
20
|
+
display: block;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin clearable {
|
|
25
|
+
.textfield-input {
|
|
26
|
+
padding-right: 2rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.textfield-clear {
|
|
30
|
+
position: absolute;
|
|
31
|
+
bottom: 0.75rem;
|
|
32
|
+
right: var(--spacings-XS);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.textfield-actionClear { // deprecated
|
|
36
|
+
text-align: center;
|
|
37
|
+
position: absolute;
|
|
38
|
+
bottom: .75rem;
|
|
39
|
+
right: var(--spacings-XS);
|
|
40
|
+
width: 1rem;
|
|
41
|
+
height: 1rem;
|
|
42
|
+
padding: 0;
|
|
43
|
+
line-height: 0;
|
|
44
|
+
background-color: var(--palettes-grey-700);
|
|
45
|
+
border-radius: 50%;
|
|
46
|
+
|
|
47
|
+
.lucca-icon {
|
|
48
|
+
font-size: var(--sizes-XS-lineHeight);
|
|
49
|
+
color: white;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
background-color: var(--palettes-grey-600) !important;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@mixin clearableS {
|
|
59
|
+
.textfield-clear {
|
|
60
|
+
bottom: var(--spacings-XXS);
|
|
61
|
+
right: var(--spacings-XXS);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.textfield-actionClear { // deprecated
|
|
65
|
+
bottom: var(--spacings-XXS);
|
|
66
|
+
right: var(--spacings-XXS);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@mixin clearableXS {
|
|
71
|
+
.textfield-clear {
|
|
72
|
+
bottom: var(--spacings-XXS);
|
|
73
|
+
right: var(--spacings-XXS);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.textfield-actionClear { // deprecated
|
|
77
|
+
bottom: var(--spacings-XXS);
|
|
78
|
+
right: var(--spacings-XXS);
|
|
79
|
+
height: 1rem;
|
|
80
|
+
width: 1rem;
|
|
81
|
+
|
|
82
|
+
.lucca-icon {
|
|
83
|
+
font-size: 1rem;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@mixin suffix {
|
|
89
|
+
.textfield-input {
|
|
90
|
+
padding-right: var(--components-textfield-suffix-padding-right);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.textfield-actionClear { // deprecated
|
|
94
|
+
right: 2rem;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@mixin noLabel {
|
|
99
|
+
.textfield-suffix {
|
|
100
|
+
top: var(--components-textfield-input-padding-vertical);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@mixin S {
|
|
105
|
+
.textfield-label {
|
|
106
|
+
line-height: var(--sizes-S-lineHeight);
|
|
107
|
+
font-size: var(--sizes-S-fontSize);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.textfield-input {
|
|
111
|
+
line-height: var(--sizes-S-lineHeight);
|
|
112
|
+
font-size: var(--sizes-S-fontSize);
|
|
113
|
+
padding: 0.375rem;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.textfield-suffix {
|
|
117
|
+
line-height: calc(var(--sizes-S-fontSize) * 1.25);
|
|
118
|
+
font-size: var(--sizes-S-fontSize);
|
|
119
|
+
|
|
120
|
+
.lucca-icon {
|
|
121
|
+
font-size: calc(var(--sizes-S-fontSize) * 1.25);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@mixin XS {
|
|
127
|
+
.textfield-label {
|
|
128
|
+
line-height: var(--sizes-XS-lineHeight);
|
|
129
|
+
font-size: var(--sizes-XS-fontSize);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.textfield-input {
|
|
133
|
+
line-height: var(--sizes-XS-lineHeight);
|
|
134
|
+
font-size: var(--sizes-XS-fontSize);
|
|
135
|
+
padding: var(--spacings-XXS);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.textfield-suffix {
|
|
139
|
+
line-height: calc(var(--sizes-XS-fontSize) * 1.25);
|
|
140
|
+
font-size: var(--sizes-XS-fontSize);
|
|
141
|
+
top: calc(var(--components-textfield-suffix-top) + var(--spacings-XXS));
|
|
142
|
+
|
|
143
|
+
.lucca-icon {
|
|
144
|
+
font-size: calc(var(--sizes-XS-fontSize) * 1.25);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.textfield-messages {
|
|
149
|
+
font-size: var(--sizes-XS-fontSize);
|
|
150
|
+
line-height: var(--sizes-XS-lineHeight);
|
|
151
|
+
|
|
152
|
+
.lucca-icon {
|
|
153
|
+
font-size: 0.75rem;
|
|
154
|
+
line-height: var(--sizes-XS-lineHeight);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
@mixin noLabelXS {
|
|
160
|
+
.textfield-suffix {
|
|
161
|
+
top: var(--spacings-XXS);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
@mixin SInputIcon {
|
|
166
|
+
line-height: var(--sizes-XS-lineHeight);
|
|
167
|
+
font-size: var(--sizes-S-fontSize);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@mixin XSInputIcon {
|
|
171
|
+
line-height: var(--sizes-XS-lineHeight);
|
|
172
|
+
font-size: var(--sizes-S-fontSize);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
@mixin size($size) {
|
|
176
|
+
width: var(--components-textfield-sizes-#{$size});
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
@mixin multiline {
|
|
180
|
+
.textfield-input {
|
|
181
|
+
line-height: var(--sizes-M-lineHeight);
|
|
182
|
+
font-size: var(--sizes-M-fontSize);
|
|
183
|
+
resize: vertical;
|
|
184
|
+
height: 5rem;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
@mixin multilineS {
|
|
189
|
+
.textfield-input {
|
|
190
|
+
line-height: var(--sizes-XS-lineHeight);
|
|
191
|
+
font-size: var(--sizes-S-fontSize);
|
|
192
|
+
height: 4rem;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@mixin invert {
|
|
197
|
+
.textfield-label {
|
|
198
|
+
color: var(--colors-white-color);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
@mixin materialSearchBlockClearableInput {
|
|
203
|
+
.textfield-input {
|
|
204
|
+
padding-right: 3.75rem;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.textfield-clear {
|
|
208
|
+
right: 2rem;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
@mixin search {
|
|
213
|
+
&::after {
|
|
214
|
+
@include icon.generate('search_magnifying_glass');
|
|
215
|
+
|
|
216
|
+
color: var(--palettes-grey-600);
|
|
217
|
+
position: absolute;
|
|
218
|
+
pointer-events: none;
|
|
219
|
+
bottom: var(--spacings-XS);
|
|
220
|
+
font-size: var(--sizes-M-lineHeight);
|
|
221
|
+
line-height: var(--sizes-M-lineHeight);
|
|
222
|
+
right: var(--spacings-XS);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.textfield-input {
|
|
226
|
+
padding-right: var(--spacings-L);
|
|
227
|
+
|
|
228
|
+
&[type='search']:is(:hover, :focus) {
|
|
229
|
+
&::-webkit-search-cancel-button {
|
|
230
|
+
display: none;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.textfield-actionClear { // deprecated
|
|
236
|
+
right: 2.5rem;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
@mixin searchClearable {
|
|
241
|
+
.textfield-input {
|
|
242
|
+
padding-right: 4rem;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.textfield-clear {
|
|
246
|
+
right: 2.5rem;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.textfield-actionClear { // deprecated
|
|
250
|
+
right: 2.5rem;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
@mixin searchS {
|
|
255
|
+
&::after {
|
|
256
|
+
line-height: var(--sizes-S-lineHeight);
|
|
257
|
+
font-size: var(--sizes-S-lineHeight);
|
|
258
|
+
bottom: 0.375rem;
|
|
259
|
+
right: 0.375rem;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.textfield-actionClear { // deprecated
|
|
263
|
+
right: 2.125rem;
|
|
264
|
+
bottom: .625rem;
|
|
265
|
+
width: .75rem;
|
|
266
|
+
height: .75rem;
|
|
267
|
+
|
|
268
|
+
.lucca-icon {
|
|
269
|
+
font-size: .75rem;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
@mixin searchClearableS {
|
|
275
|
+
.textfield-input {
|
|
276
|
+
padding-right: 3.5rem;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.textfield-clear {
|
|
280
|
+
--components-clear-size: 0.75rem;
|
|
281
|
+
--components-clear-icon-size: 0.75rem;
|
|
282
|
+
|
|
283
|
+
right: 2.125rem;
|
|
284
|
+
bottom: 0.625rem;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.textfield-actionClear { // deprecated
|
|
288
|
+
right: 2.125rem;
|
|
289
|
+
bottom: .625rem;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
@mixin searchXS {
|
|
294
|
+
&::after {
|
|
295
|
+
line-height: var(--sizes-XS-lineHeight);
|
|
296
|
+
font-size: var(--sizes-XS-lineHeight);
|
|
297
|
+
bottom: var(--spacings-XXS);
|
|
298
|
+
right: var(--spacings-XXS);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.textfield-actionClear { // deprecated
|
|
302
|
+
right: 1.75rem;
|
|
303
|
+
bottom: .375rem;
|
|
304
|
+
width: .75rem;
|
|
305
|
+
height: .75rem;
|
|
306
|
+
|
|
307
|
+
.lucca-icon {
|
|
308
|
+
font-size: .75rem;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
@mixin searchClearableXS {
|
|
314
|
+
.textfield-input {
|
|
315
|
+
padding-right: 3rem;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.textfield-clear {
|
|
319
|
+
--components-clear-size: 0.75rem;
|
|
320
|
+
--components-clear-icon-size: 0.75rem;
|
|
321
|
+
|
|
322
|
+
right: 1.75rem;
|
|
323
|
+
bottom: 0.375rem;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.textfield-actionClear { // deprecated
|
|
327
|
+
right: 1.75rem;
|
|
328
|
+
bottom: .375rem;
|
|
329
|
+
width: .75rem;
|
|
330
|
+
height: .75rem;
|
|
331
|
+
|
|
332
|
+
.lucca-icon {
|
|
333
|
+
font-size: .75rem;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
@mixin radio {
|
|
339
|
+
display: inline-block;
|
|
340
|
+
margin-left: var(--spacings-XXS);
|
|
341
|
+
|
|
342
|
+
.textfield-input {
|
|
343
|
+
padding-top: 0;
|
|
344
|
+
padding-bottom: 0;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
@mixin filter {
|
|
349
|
+
width: var(--components-textfield-filter-width);
|
|
350
|
+
height: var(--components-filters-height);
|
|
351
|
+
border-right-color: var(--commons-divider-color);
|
|
352
|
+
border-right-width: 1px;
|
|
353
|
+
border-right-style: solid;
|
|
354
|
+
transition-duration: var(--commons-animations-durations-standard);
|
|
355
|
+
transition-property: background-color;
|
|
356
|
+
display: block;
|
|
357
|
+
position: relative;
|
|
358
|
+
|
|
359
|
+
.textfield-label {
|
|
360
|
+
color: var(--palettes-grey-600);
|
|
361
|
+
left: var(--spacings-S);
|
|
362
|
+
font-size: var(--sizes-S-fontSize);
|
|
363
|
+
font-weight: 400;
|
|
364
|
+
line-height: var(--sizes-S-lineHeight);
|
|
365
|
+
pointer-events: none;
|
|
366
|
+
position: absolute;
|
|
367
|
+
top: var(--spacings-XS);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.textfield-input {
|
|
371
|
+
background-color: transparent;
|
|
372
|
+
padding: var(--spacings-S) 2.5rem 0 var(--spacings-S);
|
|
373
|
+
// todo: déplacer dans filters ?
|
|
374
|
+
height: var(--components-filters-height);
|
|
375
|
+
border-radius: 0;
|
|
376
|
+
box-shadow: none;
|
|
377
|
+
|
|
378
|
+
&::after {
|
|
379
|
+
bottom: var(--spacings-XS);
|
|
380
|
+
color: var(--palettes-grey-600);
|
|
381
|
+
font-weight: 400;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
@mixin suffixIcon {
|
|
387
|
+
color: var(--palettes-grey-600);
|
|
388
|
+
line-height: var(--sizes-M-lineHeight);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
@mixin compact {
|
|
392
|
+
.textfield-options {
|
|
393
|
+
width: calc(100% - var(--components-textfield-compact-label-right-margin) - var(--components-textfield-compact-label-sizes-default));
|
|
394
|
+
left: auto;
|
|
395
|
+
right: 0;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.textfield-suffix {
|
|
399
|
+
top: var(--components-textfield-compact-padding);
|
|
400
|
+
right: var(--components-textfield-compact-padding);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
@mixin compactMultiline {
|
|
405
|
+
align-items: flex-start;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
@mixin compactSize($size) {
|
|
409
|
+
width: calc(
|
|
410
|
+
var(--components-textfield-sizes-#{$size}) + var(--components-textfield-compact-label-right-margin) +
|
|
411
|
+
var(--components-textfield-compact-label-sizes-default)
|
|
412
|
+
);
|
|
413
|
+
|
|
414
|
+
.textfield-options {
|
|
415
|
+
// width: $input-width; // todo: récupérer la bonne taille
|
|
416
|
+
outline: 2px dashed greenyellow !important;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
@mixin framed {
|
|
421
|
+
width: 100%;
|
|
422
|
+
margin-bottom: 0 !important;
|
|
423
|
+
|
|
424
|
+
.textfield.mod-search {
|
|
425
|
+
@include framedSearch;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.textfield-options {
|
|
429
|
+
width: auto;
|
|
430
|
+
margin-top: -2px;
|
|
431
|
+
right: 1px;
|
|
432
|
+
|
|
433
|
+
mark {
|
|
434
|
+
background-color: transparent;
|
|
435
|
+
text-decoration: underline;
|
|
436
|
+
color: inherit;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.textfield-input {
|
|
441
|
+
width: 100%;
|
|
442
|
+
border-radius: 0;
|
|
443
|
+
box-shadow: form.fakeBorderOverlay(var(--components-field-framed-border));
|
|
444
|
+
padding: var(--components-field-framed-top-padding) var(--components-field-framed-side-padding)
|
|
445
|
+
var(--components-field-framed-bottom-padding);
|
|
446
|
+
line-height: var(--sizes-M-lineHeight);
|
|
447
|
+
outline: none;
|
|
448
|
+
|
|
449
|
+
&:not(:disabled, .is-error, .is-success, .is-valid, .is-warning, .is-invalid) {
|
|
450
|
+
background-color: var(--colors-white-color);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.textfield-label {
|
|
455
|
+
padding: var(--components-field-framed-label-top-offset) var(--components-field-framed-side-padding);
|
|
456
|
+
position: absolute;
|
|
457
|
+
pointer-events: none;
|
|
458
|
+
left: 0;
|
|
459
|
+
top: 0;
|
|
460
|
+
z-index: 10;
|
|
461
|
+
line-height: var(--sizes-M-lineHeight);
|
|
462
|
+
font-size: var(--sizes-S-fontSize);
|
|
463
|
+
color: var(--palettes-grey-600);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.textfield-messages,
|
|
467
|
+
.radiosfield-messages,
|
|
468
|
+
.checkboxesfield-messages {
|
|
469
|
+
transition-duration: var(--commons-animations-durations-standard);
|
|
470
|
+
transition-property: transform;
|
|
471
|
+
position: absolute;
|
|
472
|
+
text-align: center;
|
|
473
|
+
bottom: 0;
|
|
474
|
+
left: -1px;
|
|
475
|
+
right: 0;
|
|
476
|
+
transform: translateY(0);
|
|
477
|
+
z-index: 4;
|
|
478
|
+
|
|
479
|
+
> * {
|
|
480
|
+
display: block;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.textfield-messages-error,
|
|
485
|
+
.radiosfield-messages-error,
|
|
486
|
+
.checkboxesfield-messages-error {
|
|
487
|
+
background-color: var(--palettes-error-700);
|
|
488
|
+
color: var(--colors-white-color);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.textfield-messages-warning,
|
|
492
|
+
.radiosfield-messages-warning,
|
|
493
|
+
.checkboxesfield-messages-warning {
|
|
494
|
+
background-color: var(--palettes-warning-700);
|
|
495
|
+
color: var(--colors-white-color);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.textfield-messages-valid,
|
|
499
|
+
.radiosfield-messages-valid,
|
|
500
|
+
.checkboxesfield-messages-valid,
|
|
501
|
+
.textfield-messages-success,
|
|
502
|
+
.radiosfield-messages-success,
|
|
503
|
+
.checkboxesfield-messages-success {
|
|
504
|
+
background-color: var(--palettes-success-700);
|
|
505
|
+
color: var(--colors-white-color);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.textfield-messages-helper,
|
|
509
|
+
.radiosfield-messages-helper,
|
|
510
|
+
.checkboxesfield-messages-helper {
|
|
511
|
+
background-color: var(--palettes-grey-500);
|
|
512
|
+
color: var(--colors-white-color);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
@mixin framedMultiline {
|
|
517
|
+
.textfield-input {
|
|
518
|
+
height: var(--components-field-framed-textarea-height);
|
|
519
|
+
min-height: var(--components-field-framed-textarea-min-height);
|
|
520
|
+
max-height: var(--components-field-framed-textarea-max-height);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
@mixin framedMultilineS {
|
|
525
|
+
.textfield-input {
|
|
526
|
+
height: auto;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
@mixin framedSearch {
|
|
531
|
+
&::after {
|
|
532
|
+
color: var(--palettes-grey-600);
|
|
533
|
+
padding: var(--components-field-framed-side-padding);
|
|
534
|
+
bottom: 0;
|
|
535
|
+
right: 0;
|
|
536
|
+
z-index: 4;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.textfield {
|
|
540
|
+
width: 100%;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.textfield-input {
|
|
544
|
+
padding-right: var(--components-field-framed-suffix-padding-right);
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
@mixin material {
|
|
549
|
+
padding-top: var(--components-textfield-material-padding-top);
|
|
550
|
+
vertical-align: baseline;
|
|
551
|
+
|
|
552
|
+
.textfield-input {
|
|
553
|
+
box-shadow: 0 1px 0 0 var(--components-textfield-material-border-color);
|
|
554
|
+
background-color: transparent;
|
|
555
|
+
border-radius: 0;
|
|
556
|
+
padding-left: 0;
|
|
557
|
+
padding-right: 0;
|
|
558
|
+
|
|
559
|
+
&::placeholder {
|
|
560
|
+
opacity: 0;
|
|
561
|
+
color: var(--palettes-grey-400);
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.textfield-label {
|
|
566
|
+
color: var(--components-textfield-material-label-color);
|
|
567
|
+
font-size: var(--components-textfield-material-label-font-size);
|
|
568
|
+
position: absolute;
|
|
569
|
+
pointer-events: none;
|
|
570
|
+
font-weight: 400;
|
|
571
|
+
line-height: var(--sizes-M-lineHeight);
|
|
572
|
+
width: 100%;
|
|
573
|
+
top: var(--spacings-M);
|
|
574
|
+
left: 0;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.textfield-suffix {
|
|
578
|
+
top: calc(var(--components-textfield-material-padding-top) + var(--components-textfield-input-padding-vertical));
|
|
579
|
+
position: absolute;
|
|
580
|
+
right: 0;
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
@mixin materialS {
|
|
585
|
+
.textfield-label {
|
|
586
|
+
line-height: var(--sizes-S-lineHeight);
|
|
587
|
+
font-size: var(--sizes-S-fontSize);
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
@mixin materialSuffix {
|
|
592
|
+
.textfield-input {
|
|
593
|
+
padding-right: var(--components-textfield-material-suffix-padding-right);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
@mixin materialNoLabel {
|
|
598
|
+
padding-top: 0;
|
|
599
|
+
|
|
600
|
+
.textfield-input {
|
|
601
|
+
&::placeholder {
|
|
602
|
+
opacity: 1;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.textfield-label {
|
|
607
|
+
display: none;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.textfield-suffix {
|
|
611
|
+
top: var(--components-textfield-input-padding-vertical);
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
@mixin materialSearch {
|
|
616
|
+
&::after {
|
|
617
|
+
color: var(--palettes-grey-500);
|
|
618
|
+
bottom: var(--spacings-XS);
|
|
619
|
+
right: 0;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.textfield-input {
|
|
623
|
+
padding-right: 1.75rem;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.textfield-label {
|
|
627
|
+
padding-right: 0;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
@mixin materialRadio {
|
|
632
|
+
padding-top: 0;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
@mixin materialValid {
|
|
636
|
+
&::before {
|
|
637
|
+
bottom: 0.7rem !important;
|
|
638
|
+
right: 0 !important;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.textfield-label {
|
|
642
|
+
padding-right: var(--spacings-M);
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.textfield-input {
|
|
646
|
+
padding-right: var(--spacings-M);
|
|
647
|
+
}
|
|
648
|
+
}
|