@axa-fr/design-system-apollo-css 1.0.5-alpha.285 → 1.0.5-alpha.290
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/dist/Divider/DividerLF.css +1 -1
- package/dist/Divider/DividerLF.css.map +1 -1
- package/dist/Divider/DividerLF.scss +1 -1
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxApollo.css +1 -0
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxApollo.css.map +1 -0
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxApollo.scss +106 -0
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxCommon.css +1 -0
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxCommon.css.map +1 -0
- package/dist/Form/Checkbox/{CheckboxCard/CheckboxCardCommon.scss → CardCheckbox/CardCheckboxCommon.scss} +44 -51
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxLF.css +1 -0
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxLF.css.map +1 -0
- package/dist/Form/Checkbox/CardCheckbox/CardCheckboxLF.scss +93 -0
- package/dist/Form/Checkbox/Checkbox/CheckboxApollo.css +1 -1
- package/dist/Form/Checkbox/Checkbox/CheckboxApollo.css.map +1 -1
- package/dist/Form/Checkbox/Checkbox/CheckboxApollo.scss +14 -28
- package/dist/Form/Checkbox/Checkbox/CheckboxCommon.css +1 -1
- package/dist/Form/Checkbox/Checkbox/CheckboxCommon.css.map +1 -1
- package/dist/Form/Checkbox/Checkbox/CheckboxCommon.scss +23 -30
- package/dist/Form/Checkbox/Checkbox/CheckboxLF.css +1 -1
- package/dist/Form/Checkbox/Checkbox/CheckboxLF.css.map +1 -1
- package/dist/Form/Checkbox/Checkbox/CheckboxLF.scss +15 -28
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextApollo.css +1 -1
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextApollo.css.map +1 -1
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextCommon.css +1 -1
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextCommon.css.map +1 -1
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextCommon.scss +22 -4
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextLF.css +1 -1
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextLF.css.map +1 -1
- package/dist/Grid/DebugGrid.css +1 -1
- package/dist/Grid/DebugGrid.css.map +1 -1
- package/dist/Grid/DebugGrid.scss +1 -1
- package/dist/apollo.css +1 -1
- package/dist/apollo.css.map +1 -1
- package/dist/apollo.scss +1 -1
- package/dist/look-and-feel.css +2 -2
- package/dist/look-and-feel.css.map +1 -1
- package/dist/look-and-feel.scss +1 -1
- package/package.json +1 -1
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardApollo.css +0 -1
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardApollo.css.map +0 -1
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardApollo.scss +0 -104
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardCommon.css +0 -1
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardCommon.css.map +0 -1
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardLF.css +0 -1
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardLF.css.map +0 -1
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardLF.scss +0 -92
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/Form/Checkbox/CheckboxCard/CheckboxCardCommon.scss","../../../../src/Form/Checkbox/CheckboxCard/CheckboxCardApollo.scss","../../../../src/Form/Checkbox/CheckboxCard/CheckboxCardApollo.scss%23sass"],"names":[],"mappings":"AAGE,6BCFF,YAAA,CDII,qBAAA,CCFJ,QACA,CDKE,mCACE,YAAA,CACA,qBAAA,CACA,0CCHJ,CDME,0BAGE,gCAAA,CAFA,6CAAA,CACA,eCHJ,CDOE,+BAKE,gCAAA,CAHA,6CAAA,CACA,eAAA,CACA,+CAAA,CAHA,QCDJ,CDOI,uBAPF,+BAQI,6CAAA,CACA,+CCJJ,CACF,CDOE,2BACE,YAAA,CACA,qBAAA,CACA,0CCLJ,CDQE,wBAIE,mBAAA,CAHA,YAAA,CAKA,4CAAA,CACA,iBAAA,CACA,eAAA,CAHA,QAAA,CAIA,+CAAA,CACA,eAAA,CARA,QAAA,CACA,SCCJ,CDQI,oCACE,kDCNN,CDQM,4DAEE,4CAAA,CADA,kDCLR,CDQQ,sFACE,kDCNV,CDQU,4HAEE,2CAAA,CADA,kDAAA,CAEA,eCNZ,CDYI,kCACE,kDCVN,CDYM,oCACE,YAAA,CACA,WCVR,CDaM,0DAGE,4CAAA,CADA,kDAAA,CADA,WAAA,CAGA,oDCXR,CDaQ,oFAEE,QAAA,CACA,kDAAA,CAFA,UCTV,CDaU,0HAEE,2CAAA,CADA,kDAAA,CAEA,iBCXZ,CDiBI,mEAEE,sDAAA,CADA,wCAAA,CAEA,4DCfN,CDkBI,gDAME,kBAAA,CAHA,wCAAA,CACA,gDAAA,CAIA,cAAA,CAPA,YAAA,CAIA,QAAA,CAEA,uCAAA,CALA,YCVN,CDkBM,0EAEE,kBAAA,CADA,YAAA,CAEA,sCChBR,CDkBQ,gHACE,YAAA,CAEA,cAAA,CADA,sBAAA,CAEA,+CChBV,CDkBU,iIAGE,2CAAA,CAFA,6CAAA,CACA,eCfZ,CDkBY,uBALF,iIAMI,6CAAA,CACA,eCfZ,CACF,CDkBU,uIAGE,2CAAA,CAFA,6CAAA,CACA,eCfZ,CDkBY,uBALF,uIAMI,6CAAA,CACA,eCfZ,CACF,CDoBM,sDACE,wCAAA,CACA,4DClBR,CDqBM,mEAEE,sDAAA,CADA,wCAAA,CAEA,4DCnBR,CDqBQ,0HACE,eCnBV,CC1IE,mCACE,oDD6IJ,CC1IE,0BACE,wCD4IJ,CCzIE,+BACE,uCD2IJ,CCvII,oCACE,qCDyIN,CCvIM,4DACE,kCDyIR,CCvIQ,sFACE,kCAAA,CACA,+DDyIV,CCvIU,4HACE,qCAAA,CACA,qCDyIZ,CCvIY,6IACE,oDDyId,CClII,kCACE,kCDoIN,CClIM,0DACE,6CDoIR,CClIQ,oFACE,qCAAA,CACA,8DDoIV,CClIU,0HACE,qCAAA,CACA,iCDoIZ,CC9HI,gDACE,6CAAA,CACA,gEAAA,CACA,kCDgIN,CC7HQ,iIACE,oDD+HV,CC5HQ,uIACE,kDD8HV,CC1HM,mEACE,iDAAA,CACA,+CAAA,CACA,iDD4HR,CC1HQ,0HACE,kDD4HV,CCxHM,sDACE,8CAAA,CACA,gDAAA,CACA,6CD0HR,CCxHQ,6GACE,oDD0HV,CCtHM,mEACE,8CAAA,CACA,gDAAA,CACA,kDDwHR,CCtHQ,0HACE,oDDwHV","file":"CheckboxCardApollo.css","sourcesContent":["@use \"../../../common/breakpoints\" as breakpoints;\n\n.af-checkbox-card {\n &__container {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n }\n\n &__label-container {\n display: flex;\n flex-direction: column;\n row-gap: calc(4 / var(--font-size-base) * 1rem);\n }\n\n &__legend {\n font-size: calc(18 / var(--font-size-base) * 1rem);\n font-weight: 600;\n color: var(--checkbox-card-color);\n }\n\n &__description {\n margin: 0;\n font-size: calc(16 / var(--font-size-base) * 1rem);\n font-weight: 400;\n line-height: calc(16 / var(--font-size-base) * 1rem);\n color: var(--checkbox-card-color);\n\n @media (width > #{breakpoints.$breakpoint-sm}) {\n font-size: calc(18 / var(--font-size-base) * 1rem);\n line-height: calc(18 / var(--font-size-base) * 1rem);\n }\n }\n\n &__choices {\n display: flex;\n flex-direction: column;\n row-gap: calc(8 / var(--font-size-base) * 1rem);\n }\n\n &-group {\n display: flex;\n margin: 0;\n padding: 0;\n align-items: stretch;\n gap: 1rem;\n font-family: var(--checkbox-card-font-family);\n font-style: normal;\n font-weight: 400;\n line-height: calc(20 / var(--font-size-base) * 1rem);\n list-style: none;\n\n &--horizontal {\n flex-direction: var(--checkbox-card-flex-direction);\n\n .af-checkbox-card-label {\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-items);\n\n .af-checkbox-card-content {\n flex-direction: var(--checkbox-card-flex-direction);\n\n .af-checkbox-card-content-description {\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-item);\n text-align: left;\n }\n }\n }\n }\n\n &--vertical {\n flex-direction: var(--checkbox-card-flex-direction);\n\n > * {\n flex-basis: 0;\n flex-grow: 1;\n }\n\n .af-checkbox-card-label {\n height: 100%;\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-items);\n justify-content: var(--checkbox-card-justify-content);\n\n .af-checkbox-card-content {\n width: 100%;\n flex: 1;\n flex-direction: var(--checkbox-card-flex-direction);\n\n .af-checkbox-card-content-description {\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-item);\n text-align: center;\n }\n }\n }\n }\n\n .af-checkbox-card-label[aria-invalid=\"true\"] {\n border: solid var(--checkbox-card-border);\n background-color: var(--checkbox-card-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n }\n\n .af-checkbox-card-label {\n display: flex;\n padding: 1rem;\n border: solid var(--checkbox-card-border);\n border-radius: var(--checkbox-card-border-radius);\n flex: 1;\n align-self: stretch;\n gap: calc(12 / var(--font-size-base) * 1rem);\n cursor: pointer;\n\n .af-checkbox-card-content {\n display: flex;\n align-items: center;\n gap: calc(4 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description {\n display: flex;\n justify-content: center;\n font-size: 1rem;\n line-height: calc(20 / var(--font-size-base) * 1rem);\n\n & > span:first-child {\n font-size: calc(18 / var(--font-size-base) * 1rem);\n font-weight: 400;\n color: var(--checkbox-card-label-text-color);\n\n @media (width < #{breakpoints.$breakpoint-sm}) {\n font-size: calc(16 / var(--font-size-base) * 1rem);\n font-weight: 400;\n }\n }\n\n & > span:not(:first-child) {\n font-size: calc(16 / var(--font-size-base) * 1rem);\n font-weight: 400;\n color: var(--checkbox-card-label-text-color);\n\n @media (width < #{breakpoints.$breakpoint-sm}) {\n font-size: calc(14 / var(--font-size-base) * 1rem);\n font-weight: 400;\n }\n }\n }\n }\n\n &:hover {\n border: solid var(--checkbox-card-border);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n }\n\n &:has(input:checked) {\n border: solid var(--checkbox-card-border);\n background-color: var(--checkbox-card-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n\n .af-checkbox-card-content-description > span:first-child {\n font-weight: 600;\n }\n }\n }\n }\n}\n","@use \"CheckboxCardCommon\";\n@use \"../../../common/breakpoints\" as breakpoints;\n\n.af-checkbox-card {\n &__label-container {\n --font-size-base: calc(16 / var(--font-size-base) * 1rem);\n }\n\n &__legend {\n --checkbox-card-color: var(--neutral-100);\n }\n\n &__description {\n --checkbox-card-color: var(--neutral-80);\n }\n\n &-group {\n &--horizontal {\n --checkbox-card-flex-direction: column;\n\n .af-checkbox-card-label {\n --checkbox-card-flex-direction: row;\n\n .af-checkbox-card-content {\n --checkbox-card-flex-direction: row;\n --checkbox-card-margin-left: calc(12 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description {\n --checkbox-card-flex-direction: column;\n --checkbox-card-align-item: flex-start;\n\n & > span:first-child {\n --checkbox-card-label-text-color: var(--axa-blue-100);\n }\n }\n }\n }\n }\n\n &--vertical {\n --checkbox-card-flex-direction: row;\n\n .af-checkbox-card-label {\n --checkbox-card-flex-direction: column-reverse;\n\n .af-checkbox-card-content {\n --checkbox-card-flex-direction: column;\n --checkbox-card-margin-left: calc(2 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description {\n --checkbox-card-flex-direction: column;\n --checkbox-card-align-item: center;\n }\n }\n }\n }\n\n .af-checkbox-card-label {\n --checkbox-card-border: 1px var(--axa-blue-65);\n --checkbox-card-border-radius: calc(8 / var(--font-size-base) * 1rem);\n --checkbox-card-align-items: center;\n\n .af-checkbox-card-content .af-checkbox-card-content-description > span {\n &:first-child {\n --checkbox-card-label-text-color: var(--axa-blue-100);\n }\n\n &:not(:first-child) {\n --checkbox-card-label-text-color: var(--neutral-80);\n }\n }\n\n &[aria-invalid=\"true\"] {\n --checkbox-card-background-color: var(--axa-red-4);\n --checkbox-card-border: 1px var(--red-alert-100);\n --checkbox-card-shadow-color: var(--red-alert-100);\n\n .af-checkbox-card-content-description > span:first-child {\n --checkbox-card-label-text-color: var(--neutral-80);\n }\n }\n\n &:hover {\n --checkbox-card-border: 1px var(--axa-blue-100);\n --checkbox-card-shadow-color: var(--axa-blue-100);\n --checkbox-card-background-color: var(--white);\n\n .af-checkbox-card-content-description > span:first-child {\n --checkbox-card-label-text-color: var(--axa-blue-100);\n }\n }\n\n &:has(input:checked) {\n --checkbox-card-border: 1px var(--axa-blue-100);\n --checkbox-card-shadow-color: var(--axa-blue-100);\n --checkbox-card-background-color: var(--axa-blue-4);\n\n .af-checkbox-card-content-description > span:first-child {\n --checkbox-card-label-text-color: var(--axa-blue-100);\n }\n }\n }\n }\n}\n","@use \"CheckboxCardCommon\";\n@use \"../../../common/breakpoints\" as breakpoints;\n\n.af-checkbox-card {\n &__label-container {\n --font-size-base: calc(16 / var(--font-size-base) * 1rem);\n }\n\n &__legend {\n --checkbox-card-color: var(--neutral-100);\n }\n\n &__description {\n --checkbox-card-color: var(--neutral-80);\n }\n\n &-group {\n &--horizontal {\n --checkbox-card-flex-direction: column;\n\n .af-checkbox-card-label {\n --checkbox-card-flex-direction: row;\n\n .af-checkbox-card-content {\n --checkbox-card-flex-direction: row;\n --checkbox-card-margin-left: calc(12 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description {\n --checkbox-card-flex-direction: column;\n --checkbox-card-align-item: flex-start;\n\n & > span:first-child {\n --checkbox-card-label-text-color: var(--axa-blue-100);\n }\n }\n }\n }\n }\n\n &--vertical {\n --checkbox-card-flex-direction: row;\n\n .af-checkbox-card-label {\n --checkbox-card-flex-direction: column-reverse;\n\n .af-checkbox-card-content {\n --checkbox-card-flex-direction: column;\n --checkbox-card-margin-left: calc(2 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description {\n --checkbox-card-flex-direction: column;\n --checkbox-card-align-item: center;\n }\n }\n }\n }\n\n .af-checkbox-card-label {\n --checkbox-card-border: 1px var(--axa-blue-65);\n --checkbox-card-border-radius: calc(8 / var(--font-size-base) * 1rem);\n --checkbox-card-align-items: center;\n\n .af-checkbox-card-content .af-checkbox-card-content-description > span {\n &:first-child {\n --checkbox-card-label-text-color: var(--axa-blue-100);\n }\n\n &:not(:first-child) {\n --checkbox-card-label-text-color: var(--neutral-80);\n }\n }\n\n &[aria-invalid=\"true\"] {\n --checkbox-card-background-color: var(--axa-red-4);\n --checkbox-card-border: 1px var(--red-alert-100);\n --checkbox-card-shadow-color: var(--red-alert-100);\n\n .af-checkbox-card-content-description > span:first-child {\n --checkbox-card-label-text-color: var(--neutral-80);\n }\n }\n\n &:hover {\n --checkbox-card-border: 1px var(--axa-blue-100);\n --checkbox-card-shadow-color: var(--axa-blue-100);\n --checkbox-card-background-color: var(--white);\n\n .af-checkbox-card-content-description > span:first-child {\n --checkbox-card-label-text-color: var(--axa-blue-100);\n }\n }\n\n &:has(input:checked) {\n --checkbox-card-border: 1px var(--axa-blue-100);\n --checkbox-card-shadow-color: var(--axa-blue-100);\n --checkbox-card-background-color: var(--axa-blue-4);\n\n .af-checkbox-card-content-description > span:first-child {\n --checkbox-card-label-text-color: var(--axa-blue-100);\n }\n }\n }\n }\n}\n"]}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
@use "CheckboxCardCommon";
|
|
2
|
-
@use "../../../common/breakpoints" as breakpoints;
|
|
3
|
-
|
|
4
|
-
.af-checkbox-card {
|
|
5
|
-
&__label-container {
|
|
6
|
-
--font-size-base: calc(16 / var(--font-size-base) * 1rem);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&__legend {
|
|
10
|
-
--checkbox-card-color: var(--neutral-100);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&__description {
|
|
14
|
-
--checkbox-card-color: var(--neutral-80);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&-group {
|
|
18
|
-
&--horizontal {
|
|
19
|
-
--checkbox-card-flex-direction: column;
|
|
20
|
-
|
|
21
|
-
.af-checkbox-card-label {
|
|
22
|
-
--checkbox-card-flex-direction: row;
|
|
23
|
-
|
|
24
|
-
.af-checkbox-card-content {
|
|
25
|
-
--checkbox-card-flex-direction: row;
|
|
26
|
-
--checkbox-card-margin-left: calc(12 / var(--font-size-base) * 1rem);
|
|
27
|
-
|
|
28
|
-
.af-checkbox-card-content-description {
|
|
29
|
-
--checkbox-card-flex-direction: column;
|
|
30
|
-
--checkbox-card-align-item: flex-start;
|
|
31
|
-
|
|
32
|
-
& > span:first-child {
|
|
33
|
-
--checkbox-card-label-text-color: var(--axa-blue-100);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&--vertical {
|
|
41
|
-
--checkbox-card-flex-direction: row;
|
|
42
|
-
|
|
43
|
-
.af-checkbox-card-label {
|
|
44
|
-
--checkbox-card-flex-direction: column-reverse;
|
|
45
|
-
|
|
46
|
-
.af-checkbox-card-content {
|
|
47
|
-
--checkbox-card-flex-direction: column;
|
|
48
|
-
--checkbox-card-margin-left: calc(2 / var(--font-size-base) * 1rem);
|
|
49
|
-
|
|
50
|
-
.af-checkbox-card-content-description {
|
|
51
|
-
--checkbox-card-flex-direction: column;
|
|
52
|
-
--checkbox-card-align-item: center;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.af-checkbox-card-label {
|
|
59
|
-
--checkbox-card-border: 1px var(--axa-blue-65);
|
|
60
|
-
--checkbox-card-border-radius: calc(8 / var(--font-size-base) * 1rem);
|
|
61
|
-
--checkbox-card-align-items: center;
|
|
62
|
-
|
|
63
|
-
.af-checkbox-card-content .af-checkbox-card-content-description > span {
|
|
64
|
-
&:first-child {
|
|
65
|
-
--checkbox-card-label-text-color: var(--axa-blue-100);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&:not(:first-child) {
|
|
69
|
-
--checkbox-card-label-text-color: var(--neutral-80);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&[aria-invalid="true"] {
|
|
74
|
-
--checkbox-card-background-color: var(--axa-red-4);
|
|
75
|
-
--checkbox-card-border: 1px var(--red-alert-100);
|
|
76
|
-
--checkbox-card-shadow-color: var(--red-alert-100);
|
|
77
|
-
|
|
78
|
-
.af-checkbox-card-content-description > span:first-child {
|
|
79
|
-
--checkbox-card-label-text-color: var(--neutral-80);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&:hover {
|
|
84
|
-
--checkbox-card-border: 1px var(--axa-blue-100);
|
|
85
|
-
--checkbox-card-shadow-color: var(--axa-blue-100);
|
|
86
|
-
--checkbox-card-background-color: var(--white);
|
|
87
|
-
|
|
88
|
-
.af-checkbox-card-content-description > span:first-child {
|
|
89
|
-
--checkbox-card-label-text-color: var(--axa-blue-100);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&:has(input:checked) {
|
|
94
|
-
--checkbox-card-border: 1px var(--axa-blue-100);
|
|
95
|
-
--checkbox-card-shadow-color: var(--axa-blue-100);
|
|
96
|
-
--checkbox-card-background-color: var(--axa-blue-4);
|
|
97
|
-
|
|
98
|
-
.af-checkbox-card-content-description > span:first-child {
|
|
99
|
-
--checkbox-card-label-text-color: var(--axa-blue-100);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.af-checkbox-card__container{display:flex;flex-direction:column;gap:1rem}.af-checkbox-card__label-container{display:flex;flex-direction:column;row-gap:calc(4/var(--font-size-base)*1rem)}.af-checkbox-card__legend{color:var(--checkbox-card-color);font-size:calc(18/var(--font-size-base)*1rem);font-weight:600}.af-checkbox-card__description{color:var(--checkbox-card-color);font-size:calc(16/var(--font-size-base)*1rem);font-weight:400;line-height:calc(16/var(--font-size-base)*1rem);margin:0}@media (width > 667px){.af-checkbox-card__description{font-size:calc(18/var(--font-size-base)*1rem);line-height:calc(18/var(--font-size-base)*1rem)}}.af-checkbox-card__choices{display:flex;flex-direction:column;row-gap:calc(8/var(--font-size-base)*1rem)}.af-checkbox-card-group{align-items:stretch;display:flex;font-family:var(--checkbox-card-font-family);font-style:normal;font-weight:400;gap:1rem;line-height:calc(20/var(--font-size-base)*1rem);list-style:none;margin:0;padding:0}.af-checkbox-card-group--horizontal{flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--horizontal .af-checkbox-card-label{align-items:var(--checkbox-card-align-items);flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--horizontal .af-checkbox-card-label .af-checkbox-card-content{flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description{align-items:var(--checkbox-card-align-item);flex-direction:var(--checkbox-card-flex-direction);text-align:left}.af-checkbox-card-group--vertical{flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--vertical>*{flex-basis:0;flex-grow:1}.af-checkbox-card-group--vertical .af-checkbox-card-label{align-items:var(--checkbox-card-align-items);flex-direction:var(--checkbox-card-flex-direction);height:100%;justify-content:var(--checkbox-card-justify-content)}.af-checkbox-card-group--vertical .af-checkbox-card-label .af-checkbox-card-content{flex:1 1;flex-direction:var(--checkbox-card-flex-direction);width:100%}.af-checkbox-card-group--vertical .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description{align-items:var(--checkbox-card-align-item);flex-direction:var(--checkbox-card-flex-direction);text-align:center}.af-checkbox-card-group .af-checkbox-card-label[aria-invalid=true]{background-color:var(--checkbox-card-background-color);border:solid var(--checkbox-card-border);box-shadow:0 0 0 1px var(--checkbox-card-shadow-color) inset}.af-checkbox-card-group .af-checkbox-card-label{align-self:stretch;border:solid var(--checkbox-card-border);border-radius:var(--checkbox-card-border-radius);cursor:pointer;display:flex;flex:1 1;gap:calc(12/var(--font-size-base)*1rem);padding:1rem}.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content{align-items:center;display:flex;gap:calc(4/var(--font-size-base)*1rem)}.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description{display:flex;font-size:1rem;justify-content:center;line-height:calc(20/var(--font-size-base)*1rem)}.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child{color:var(--checkbox-card-label-text-color);font-size:calc(18/var(--font-size-base)*1rem);font-weight:400}@media (width < 667px){.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child{font-size:calc(16/var(--font-size-base)*1rem);font-weight:400}}.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:not(:first-child){color:var(--checkbox-card-label-text-color);font-size:calc(16/var(--font-size-base)*1rem);font-weight:400}@media (width < 667px){.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:not(:first-child){font-size:calc(14/var(--font-size-base)*1rem);font-weight:400}}.af-checkbox-card-group .af-checkbox-card-label:hover{border:solid var(--checkbox-card-border);box-shadow:0 0 0 1px var(--checkbox-card-shadow-color) inset}.af-checkbox-card-group .af-checkbox-card-label:has(input:checked){background-color:var(--checkbox-card-background-color);border:solid var(--checkbox-card-border);box-shadow:0 0 0 1px var(--checkbox-card-shadow-color) inset}.af-checkbox-card-group .af-checkbox-card-label:has(input:checked) .af-checkbox-card-content-description>span:first-child{font-weight:600}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/Form/Checkbox/CheckboxCard/CheckboxCardCommon.scss%23sass","../../../../src/Form/Checkbox/CheckboxCard/CheckboxCardCommon.scss"],"names":[],"mappings":"AAGE,6BACE,YAAA,CCFJ,qBAAA,CDII,QCFJ,CDKE,mCACE,YAAA,CACA,qBAAA,CACA,0CCHJ,CDME,0BAGE,gCAAA,CAFA,6CAAA,CACA,eCHJ,CDOE,+BAKE,gCAAA,CAHA,6CAAA,CACA,eAAA,CACA,+CAAA,CAHA,QCDJ,CDOI,uBAPF,+BAQI,6CAAA,CACA,+CCJJ,CACF,CDOE,2BACE,YAAA,CACA,qBAAA,CACA,0CCLJ,CDQE,wBAIE,mBAAA,CAHA,YAAA,CAKA,4CAAA,CACA,iBAAA,CACA,eAAA,CAHA,QAAA,CAIA,+CAAA,CACA,eAAA,CARA,QAAA,CACA,SCCJ,CDQI,oCACE,kDCNN,CDQM,4DAEE,4CAAA,CADA,kDCLR,CDQQ,sFACE,kDCNV,CDQU,4HAEE,2CAAA,CADA,kDAAA,CAEA,eCNZ,CDYI,kCACE,kDCVN,CDYM,oCACE,YAAA,CACA,WCVR,CDaM,0DAGE,4CAAA,CADA,kDAAA,CADA,WAAA,CAGA,oDCXR,CDaQ,oFAEE,QAAA,CACA,kDAAA,CAFA,UCTV,CDaU,0HAEE,2CAAA,CADA,kDAAA,CAEA,iBCXZ,CDiBI,mEAEE,sDAAA,CADA,wCAAA,CAEA,4DCfN,CDkBI,gDAME,kBAAA,CAHA,wCAAA,CACA,gDAAA,CAIA,cAAA,CAPA,YAAA,CAIA,QAAA,CAEA,uCAAA,CALA,YCVN,CDkBM,0EAEE,kBAAA,CADA,YAAA,CAEA,sCChBR,CDkBQ,gHACE,YAAA,CAEA,cAAA,CADA,sBAAA,CAEA,+CChBV,CDkBU,iIAGE,2CAAA,CAFA,6CAAA,CACA,eCfZ,CDkBY,uBALF,iIAMI,6CAAA,CACA,eCfZ,CACF,CDkBU,uIAGE,2CAAA,CAFA,6CAAA,CACA,eCfZ,CDkBY,uBALF,uIAMI,6CAAA,CACA,eCfZ,CACF,CDoBM,sDACE,wCAAA,CACA,4DClBR,CDqBM,mEAEE,sDAAA,CADA,wCAAA,CAEA,4DCnBR,CDqBQ,0HACE,eCnBV","file":"CheckboxCardCommon.css","sourcesContent":["@use \"../../../common/breakpoints\" as breakpoints;\n\n.af-checkbox-card {\n &__container {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n }\n\n &__label-container {\n display: flex;\n flex-direction: column;\n row-gap: calc(4 / var(--font-size-base) * 1rem);\n }\n\n &__legend {\n font-size: calc(18 / var(--font-size-base) * 1rem);\n font-weight: 600;\n color: var(--checkbox-card-color);\n }\n\n &__description {\n margin: 0;\n font-size: calc(16 / var(--font-size-base) * 1rem);\n font-weight: 400;\n line-height: calc(16 / var(--font-size-base) * 1rem);\n color: var(--checkbox-card-color);\n\n @media (width > #{breakpoints.$breakpoint-sm}) {\n font-size: calc(18 / var(--font-size-base) * 1rem);\n line-height: calc(18 / var(--font-size-base) * 1rem);\n }\n }\n\n &__choices {\n display: flex;\n flex-direction: column;\n row-gap: calc(8 / var(--font-size-base) * 1rem);\n }\n\n &-group {\n display: flex;\n margin: 0;\n padding: 0;\n align-items: stretch;\n gap: 1rem;\n font-family: var(--checkbox-card-font-family);\n font-style: normal;\n font-weight: 400;\n line-height: calc(20 / var(--font-size-base) * 1rem);\n list-style: none;\n\n &--horizontal {\n flex-direction: var(--checkbox-card-flex-direction);\n\n .af-checkbox-card-label {\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-items);\n\n .af-checkbox-card-content {\n flex-direction: var(--checkbox-card-flex-direction);\n\n .af-checkbox-card-content-description {\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-item);\n text-align: left;\n }\n }\n }\n }\n\n &--vertical {\n flex-direction: var(--checkbox-card-flex-direction);\n\n > * {\n flex-basis: 0;\n flex-grow: 1;\n }\n\n .af-checkbox-card-label {\n height: 100%;\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-items);\n justify-content: var(--checkbox-card-justify-content);\n\n .af-checkbox-card-content {\n width: 100%;\n flex: 1;\n flex-direction: var(--checkbox-card-flex-direction);\n\n .af-checkbox-card-content-description {\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-item);\n text-align: center;\n }\n }\n }\n }\n\n .af-checkbox-card-label[aria-invalid=\"true\"] {\n border: solid var(--checkbox-card-border);\n background-color: var(--checkbox-card-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n }\n\n .af-checkbox-card-label {\n display: flex;\n padding: 1rem;\n border: solid var(--checkbox-card-border);\n border-radius: var(--checkbox-card-border-radius);\n flex: 1;\n align-self: stretch;\n gap: calc(12 / var(--font-size-base) * 1rem);\n cursor: pointer;\n\n .af-checkbox-card-content {\n display: flex;\n align-items: center;\n gap: calc(4 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description {\n display: flex;\n justify-content: center;\n font-size: 1rem;\n line-height: calc(20 / var(--font-size-base) * 1rem);\n\n & > span:first-child {\n font-size: calc(18 / var(--font-size-base) * 1rem);\n font-weight: 400;\n color: var(--checkbox-card-label-text-color);\n\n @media (width < #{breakpoints.$breakpoint-sm}) {\n font-size: calc(16 / var(--font-size-base) * 1rem);\n font-weight: 400;\n }\n }\n\n & > span:not(:first-child) {\n font-size: calc(16 / var(--font-size-base) * 1rem);\n font-weight: 400;\n color: var(--checkbox-card-label-text-color);\n\n @media (width < #{breakpoints.$breakpoint-sm}) {\n font-size: calc(14 / var(--font-size-base) * 1rem);\n font-weight: 400;\n }\n }\n }\n }\n\n &:hover {\n border: solid var(--checkbox-card-border);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n }\n\n &:has(input:checked) {\n border: solid var(--checkbox-card-border);\n background-color: var(--checkbox-card-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n\n .af-checkbox-card-content-description > span:first-child {\n font-weight: 600;\n }\n }\n }\n }\n}\n","@use \"../../../common/breakpoints\" as breakpoints;\n\n.af-checkbox-card {\n &__container {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n }\n\n &__label-container {\n display: flex;\n flex-direction: column;\n row-gap: calc(4 / var(--font-size-base) * 1rem);\n }\n\n &__legend {\n font-size: calc(18 / var(--font-size-base) * 1rem);\n font-weight: 600;\n color: var(--checkbox-card-color);\n }\n\n &__description {\n margin: 0;\n font-size: calc(16 / var(--font-size-base) * 1rem);\n font-weight: 400;\n line-height: calc(16 / var(--font-size-base) * 1rem);\n color: var(--checkbox-card-color);\n\n @media (width > #{breakpoints.$breakpoint-sm}) {\n font-size: calc(18 / var(--font-size-base) * 1rem);\n line-height: calc(18 / var(--font-size-base) * 1rem);\n }\n }\n\n &__choices {\n display: flex;\n flex-direction: column;\n row-gap: calc(8 / var(--font-size-base) * 1rem);\n }\n\n &-group {\n display: flex;\n margin: 0;\n padding: 0;\n align-items: stretch;\n gap: 1rem;\n font-family: var(--checkbox-card-font-family);\n font-style: normal;\n font-weight: 400;\n line-height: calc(20 / var(--font-size-base) * 1rem);\n list-style: none;\n\n &--horizontal {\n flex-direction: var(--checkbox-card-flex-direction);\n\n .af-checkbox-card-label {\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-items);\n\n .af-checkbox-card-content {\n flex-direction: var(--checkbox-card-flex-direction);\n\n .af-checkbox-card-content-description {\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-item);\n text-align: left;\n }\n }\n }\n }\n\n &--vertical {\n flex-direction: var(--checkbox-card-flex-direction);\n\n > * {\n flex-basis: 0;\n flex-grow: 1;\n }\n\n .af-checkbox-card-label {\n height: 100%;\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-items);\n justify-content: var(--checkbox-card-justify-content);\n\n .af-checkbox-card-content {\n width: 100%;\n flex: 1;\n flex-direction: var(--checkbox-card-flex-direction);\n\n .af-checkbox-card-content-description {\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-item);\n text-align: center;\n }\n }\n }\n }\n\n .af-checkbox-card-label[aria-invalid=\"true\"] {\n border: solid var(--checkbox-card-border);\n background-color: var(--checkbox-card-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n }\n\n .af-checkbox-card-label {\n display: flex;\n padding: 1rem;\n border: solid var(--checkbox-card-border);\n border-radius: var(--checkbox-card-border-radius);\n flex: 1;\n align-self: stretch;\n gap: calc(12 / var(--font-size-base) * 1rem);\n cursor: pointer;\n\n .af-checkbox-card-content {\n display: flex;\n align-items: center;\n gap: calc(4 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description {\n display: flex;\n justify-content: center;\n font-size: 1rem;\n line-height: calc(20 / var(--font-size-base) * 1rem);\n\n & > span:first-child {\n font-size: calc(18 / var(--font-size-base) * 1rem);\n font-weight: 400;\n color: var(--checkbox-card-label-text-color);\n\n @media (width < #{breakpoints.$breakpoint-sm}) {\n font-size: calc(16 / var(--font-size-base) * 1rem);\n font-weight: 400;\n }\n }\n\n & > span:not(:first-child) {\n font-size: calc(16 / var(--font-size-base) * 1rem);\n font-weight: 400;\n color: var(--checkbox-card-label-text-color);\n\n @media (width < #{breakpoints.$breakpoint-sm}) {\n font-size: calc(14 / var(--font-size-base) * 1rem);\n font-weight: 400;\n }\n }\n }\n }\n\n &:hover {\n border: solid var(--checkbox-card-border);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n }\n\n &:has(input:checked) {\n border: solid var(--checkbox-card-border);\n background-color: var(--checkbox-card-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n\n .af-checkbox-card-content-description > span:first-child {\n font-weight: 600;\n }\n }\n }\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.af-checkbox-card__container{display:flex;flex-direction:column;gap:1rem}.af-checkbox-card__label-container{display:flex;flex-direction:column;row-gap:calc(4/var(--font-size-base)*1rem)}.af-checkbox-card__legend{color:var(--checkbox-card-color);font-size:calc(18/var(--font-size-base)*1rem);font-weight:600}.af-checkbox-card__description{color:var(--checkbox-card-color);font-size:calc(16/var(--font-size-base)*1rem);font-weight:400;line-height:calc(16/var(--font-size-base)*1rem);margin:0}@media (width > 667px){.af-checkbox-card__description{font-size:calc(18/var(--font-size-base)*1rem);line-height:calc(18/var(--font-size-base)*1rem)}}.af-checkbox-card__choices{display:flex;flex-direction:column;row-gap:calc(8/var(--font-size-base)*1rem)}.af-checkbox-card-group{align-items:stretch;display:flex;font-family:var(--checkbox-card-font-family);font-style:normal;font-weight:400;gap:1rem;line-height:calc(20/var(--font-size-base)*1rem);list-style:none;margin:0;padding:0}.af-checkbox-card-group--horizontal{flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--horizontal .af-checkbox-card-label{align-items:var(--checkbox-card-align-items);flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--horizontal .af-checkbox-card-label .af-checkbox-card-content{flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description{align-items:var(--checkbox-card-align-item);flex-direction:var(--checkbox-card-flex-direction);text-align:left}.af-checkbox-card-group--vertical{flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--vertical>*{flex-basis:0;flex-grow:1}.af-checkbox-card-group--vertical .af-checkbox-card-label{align-items:var(--checkbox-card-align-items);flex-direction:var(--checkbox-card-flex-direction);height:100%;justify-content:var(--checkbox-card-justify-content)}.af-checkbox-card-group--vertical .af-checkbox-card-label .af-checkbox-card-content{flex:1 1;flex-direction:var(--checkbox-card-flex-direction);width:100%}.af-checkbox-card-group--vertical .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description{align-items:var(--checkbox-card-align-item);flex-direction:var(--checkbox-card-flex-direction);text-align:center}.af-checkbox-card-group .af-checkbox-card-label[aria-invalid=true]{background-color:var(--checkbox-card-background-color);border:solid var(--checkbox-card-border);box-shadow:0 0 0 1px var(--checkbox-card-shadow-color) inset}.af-checkbox-card-group .af-checkbox-card-label{align-self:stretch;border:solid var(--checkbox-card-border);border-radius:var(--checkbox-card-border-radius);cursor:pointer;display:flex;flex:1 1;gap:calc(12/var(--font-size-base)*1rem);padding:1rem}.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content{align-items:center;display:flex;gap:calc(4/var(--font-size-base)*1rem)}.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description{display:flex;font-size:1rem;justify-content:center;line-height:calc(20/var(--font-size-base)*1rem)}.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child{color:var(--checkbox-card-label-text-color);font-size:calc(18/var(--font-size-base)*1rem);font-weight:400}@media (width < 667px){.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child{font-size:calc(16/var(--font-size-base)*1rem);font-weight:400}}.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:not(:first-child){color:var(--checkbox-card-label-text-color);font-size:calc(16/var(--font-size-base)*1rem);font-weight:400}@media (width < 667px){.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:not(:first-child){font-size:calc(14/var(--font-size-base)*1rem);font-weight:400}}.af-checkbox-card-group .af-checkbox-card-label:hover{border:solid var(--checkbox-card-border);box-shadow:0 0 0 1px var(--checkbox-card-shadow-color) inset}.af-checkbox-card-group .af-checkbox-card-label:has(input:checked){background-color:var(--checkbox-card-background-color);border:solid var(--checkbox-card-border);box-shadow:0 0 0 1px var(--checkbox-card-shadow-color) inset}.af-checkbox-card-group .af-checkbox-card-label:has(input:checked) .af-checkbox-card-content-description>span:first-child{font-weight:600}.af-checkbox-card__label-container{--font-size-base:calc(16/var(--font-size-base)*1rem)}.af-checkbox-card__legend{--checkbox-card-color:var(--color-gray-900)}.af-checkbox-card__description{--checkbox-card-color:var(--color-gray-700)}.af-checkbox-card-group--horizontal{--checkbox-card-flex-direction:column}.af-checkbox-card-group--horizontal .af-checkbox-card-label{--checkbox-card-flex-direction:row;--checkbox-card-align-items:center}.af-checkbox-card-group--horizontal .af-checkbox-card-label .af-checkbox-card-content{--checkbox-card-flex-direction:row;--checkbox-card-margin-left:calc(12/var(--font-size-base)*1rem)}.af-checkbox-card-group--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description{--checkbox-card-flex-direction:column;--checkbox-card-align-item:flex-start}.af-checkbox-card-group--vertical{--checkbox-card-flex-direction:row}.af-checkbox-card-group--vertical .af-checkbox-card-label{--checkbox-card-flex-direction:row;--checkbox-card-align-items:flex-start;--checkbox-card-justify-content:flex-start}.af-checkbox-card-group--vertical .af-checkbox-card-label .af-checkbox{position:absolute}.af-checkbox-card-group--vertical .af-checkbox-card-label .af-checkbox-card-content{--checkbox-card-flex-direction:column;--checkbox-card-margin-left:calc(2/var(--font-size-base)*1rem)}.af-checkbox-card-group--vertical .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description{--checkbox-card-flex-direction:column;--checkbox-card-align-item:center}.af-checkbox-card-group .af-checkbox-card-label[aria-invalid=true]{--checkbox-card-background-color:var(--color-white);--checkbox-card-border:1px var(--color-red-700);--checkbox-card-shadow-color:var(--color-red-700)}.af-checkbox-card-group .af-checkbox-card-label{--checkbox-card-border:1px var(--color-gray-700);--checkbox-card-border-radius:calc(6/var(--font-size-base)*1rem)}.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content-description>span:first-child{--checkbox-card-label-text-color:var(--color-gray-900)}.af-checkbox-card-group .af-checkbox-card-label .af-checkbox-card-content-description>span:not(:first-child){--checkbox-card-label-text-color:var(--color-gray-700)}.af-checkbox-card-group .af-checkbox-card-label:hover{--checkbox-card-border:1px var(--color-axa);--checkbox-card-shadow-color:var(--color-axa)}.af-checkbox-card-group .af-checkbox-card-label:has(input:checked){--checkbox-card-border:1px var(--color-axa);--checkbox-card-shadow-color:var(--color-axa);--checkbox-card-background-color:var(--color-blue-2)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/Form/Checkbox/CheckboxCard/CheckboxCardCommon.scss","../../../../src/Form/Checkbox/CheckboxCard/CheckboxCardLF.scss","../../../../src/Form/Checkbox/CheckboxCard/CheckboxCardLF.scss%23sass"],"names":[],"mappings":"AAGE,6BACE,YAAA,CCFJ,qBAAA,CDII,QCFJ,CDKE,mCACE,YAAA,CACA,qBAAA,CACA,0CCHJ,CDME,0BAGE,gCAAA,CAFA,6CAAA,CACA,eCHJ,CDOE,+BAKE,gCAAA,CAHA,6CAAA,CACA,eAAA,CACA,+CAAA,CAHA,QCDJ,CDOI,uBAPF,+BAQI,6CAAA,CACA,+CCJJ,CACF,CDOE,2BACE,YAAA,CACA,qBAAA,CACA,0CCLJ,CDQE,wBAIE,mBAAA,CAHA,YAAA,CAKA,4CAAA,CACA,iBAAA,CACA,eAAA,CAHA,QAAA,CAIA,+CAAA,CACA,eAAA,CARA,QAAA,CACA,SCCJ,CDQI,oCACE,kDCNN,CDQM,4DAEE,4CAAA,CADA,kDCLR,CDQQ,sFACE,kDCNV,CDQU,4HAEE,2CAAA,CADA,kDAAA,CAEA,eCNZ,CDYI,kCACE,kDCVN,CDYM,oCACE,YAAA,CACA,WCVR,CDaM,0DAGE,4CAAA,CADA,kDAAA,CADA,WAAA,CAGA,oDCXR,CDaQ,oFAEE,QAAA,CACA,kDAAA,CAFA,UCTV,CDaU,0HAEE,2CAAA,CADA,kDAAA,CAEA,iBCXZ,CDiBI,mEAEE,sDAAA,CADA,wCAAA,CAEA,4DCfN,CDkBI,gDAME,kBAAA,CCpBN,wCAAA,CDkBM,gDAAA,CAIA,cAAA,CAPA,YAAA,CAIA,QAAA,CAEA,uCAAA,CALA,YCVN,CDkBM,0EAEE,kBAAA,CADA,YAAA,CAEA,sCChBR,CDkBQ,gHACE,YAAA,CAEA,cAAA,CADA,sBAAA,CAEA,+CChBV,CDkBU,iIAGE,2CAAA,CAFA,6CAAA,CACA,eCfZ,CDkBY,uBALF,iIAMI,6CAAA,CACA,eCfZ,CACF,CDkBU,uIAGE,2CAAA,CAFA,6CAAA,CACA,eCfZ,CDkBY,uBALF,uIAMI,6CAAA,CACA,eCfZ,CACF,CDoBM,sDACE,wCAAA,CACA,4DClBR,CDqBM,mEAEE,sDAAA,CADA,wCAAA,CAEA,4DCnBR,CDqBQ,0HACE,eCnBV,CC3IE,mCACE,oDD8IJ,CC3IE,0BACE,2CD6IJ,CC1IE,+BACE,2CD4IJ,CCxII,oCACE,qCD0IN,CCxIM,4DACE,kCAAA,CACA,kCD0IR,CCxIQ,sFACE,kCAAA,CACA,+DD0IV,CCxIU,4HACE,qCAAA,CACA,qCD0IZ,CCpII,kCACE,kCDsIN,CCpIM,0DACE,kCAAA,CACA,sCAAA,CACA,0CDsIR,CCpIQ,uEACE,iBDsIV,CCnIQ,oFACE,qCAAA,CACA,8DDqIV,CCnIU,0HACE,qCAAA,CACA,iCDqIZ,CC/HI,mEACE,mDAAA,CACA,+CAAA,CACA,iDDiIN,CC9HI,gDACE,gDAAA,CACA,gEDgIN,CC7HQ,uGACE,sDD+HV,CC5HQ,6GACE,sDD8HV,CC1HM,sDACE,2CAAA,CACA,6CD4HR,CCzHM,mEACE,2CAAA,CACA,6CAAA,CACA,oDD2HR","file":"CheckboxCardLF.css","sourcesContent":["@use \"../../../common/breakpoints\" as breakpoints;\n\n.af-checkbox-card {\n &__container {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n }\n\n &__label-container {\n display: flex;\n flex-direction: column;\n row-gap: calc(4 / var(--font-size-base) * 1rem);\n }\n\n &__legend {\n font-size: calc(18 / var(--font-size-base) * 1rem);\n font-weight: 600;\n color: var(--checkbox-card-color);\n }\n\n &__description {\n margin: 0;\n font-size: calc(16 / var(--font-size-base) * 1rem);\n font-weight: 400;\n line-height: calc(16 / var(--font-size-base) * 1rem);\n color: var(--checkbox-card-color);\n\n @media (width > #{breakpoints.$breakpoint-sm}) {\n font-size: calc(18 / var(--font-size-base) * 1rem);\n line-height: calc(18 / var(--font-size-base) * 1rem);\n }\n }\n\n &__choices {\n display: flex;\n flex-direction: column;\n row-gap: calc(8 / var(--font-size-base) * 1rem);\n }\n\n &-group {\n display: flex;\n margin: 0;\n padding: 0;\n align-items: stretch;\n gap: 1rem;\n font-family: var(--checkbox-card-font-family);\n font-style: normal;\n font-weight: 400;\n line-height: calc(20 / var(--font-size-base) * 1rem);\n list-style: none;\n\n &--horizontal {\n flex-direction: var(--checkbox-card-flex-direction);\n\n .af-checkbox-card-label {\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-items);\n\n .af-checkbox-card-content {\n flex-direction: var(--checkbox-card-flex-direction);\n\n .af-checkbox-card-content-description {\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-item);\n text-align: left;\n }\n }\n }\n }\n\n &--vertical {\n flex-direction: var(--checkbox-card-flex-direction);\n\n > * {\n flex-basis: 0;\n flex-grow: 1;\n }\n\n .af-checkbox-card-label {\n height: 100%;\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-items);\n justify-content: var(--checkbox-card-justify-content);\n\n .af-checkbox-card-content {\n width: 100%;\n flex: 1;\n flex-direction: var(--checkbox-card-flex-direction);\n\n .af-checkbox-card-content-description {\n flex-direction: var(--checkbox-card-flex-direction);\n align-items: var(--checkbox-card-align-item);\n text-align: center;\n }\n }\n }\n }\n\n .af-checkbox-card-label[aria-invalid=\"true\"] {\n border: solid var(--checkbox-card-border);\n background-color: var(--checkbox-card-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n }\n\n .af-checkbox-card-label {\n display: flex;\n padding: 1rem;\n border: solid var(--checkbox-card-border);\n border-radius: var(--checkbox-card-border-radius);\n flex: 1;\n align-self: stretch;\n gap: calc(12 / var(--font-size-base) * 1rem);\n cursor: pointer;\n\n .af-checkbox-card-content {\n display: flex;\n align-items: center;\n gap: calc(4 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description {\n display: flex;\n justify-content: center;\n font-size: 1rem;\n line-height: calc(20 / var(--font-size-base) * 1rem);\n\n & > span:first-child {\n font-size: calc(18 / var(--font-size-base) * 1rem);\n font-weight: 400;\n color: var(--checkbox-card-label-text-color);\n\n @media (width < #{breakpoints.$breakpoint-sm}) {\n font-size: calc(16 / var(--font-size-base) * 1rem);\n font-weight: 400;\n }\n }\n\n & > span:not(:first-child) {\n font-size: calc(16 / var(--font-size-base) * 1rem);\n font-weight: 400;\n color: var(--checkbox-card-label-text-color);\n\n @media (width < #{breakpoints.$breakpoint-sm}) {\n font-size: calc(14 / var(--font-size-base) * 1rem);\n font-weight: 400;\n }\n }\n }\n }\n\n &:hover {\n border: solid var(--checkbox-card-border);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n }\n\n &:has(input:checked) {\n border: solid var(--checkbox-card-border);\n background-color: var(--checkbox-card-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n\n .af-checkbox-card-content-description > span:first-child {\n font-weight: 600;\n }\n }\n }\n }\n}\n","@use \"CheckboxCardCommon\";\n\n.af-checkbox-card {\n &__label-container {\n --font-size-base: calc(16 / var(--font-size-base) * 1rem);\n }\n\n &__legend {\n --checkbox-card-color: var(--color-gray-900);\n }\n\n &__description {\n --checkbox-card-color: var(--color-gray-700);\n }\n\n &-group {\n &--horizontal {\n --checkbox-card-flex-direction: column;\n\n .af-checkbox-card-label {\n --checkbox-card-flex-direction: row;\n --checkbox-card-align-items: center;\n\n .af-checkbox-card-content {\n --checkbox-card-flex-direction: row;\n --checkbox-card-margin-left: calc(12 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description {\n --checkbox-card-flex-direction: column;\n --checkbox-card-align-item: flex-start;\n }\n }\n }\n }\n\n &--vertical {\n --checkbox-card-flex-direction: row;\n\n .af-checkbox-card-label {\n --checkbox-card-flex-direction: row;\n --checkbox-card-align-items: flex-start;\n --checkbox-card-justify-content: flex-start;\n\n .af-checkbox {\n position: absolute;\n }\n\n .af-checkbox-card-content {\n --checkbox-card-flex-direction: column;\n --checkbox-card-margin-left: calc(2 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description {\n --checkbox-card-flex-direction: column;\n --checkbox-card-align-item: center;\n }\n }\n }\n }\n\n .af-checkbox-card-label[aria-invalid=\"true\"] {\n --checkbox-card-background-color: var(--color-white);\n --checkbox-card-border: 1px var(--color-red-700);\n --checkbox-card-shadow-color: var(--color-red-700);\n }\n\n .af-checkbox-card-label {\n --checkbox-card-border: 1px var(--color-gray-700);\n --checkbox-card-border-radius: calc(6 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description > span {\n &:first-child {\n --checkbox-card-label-text-color: var(--color-gray-900);\n }\n\n &:not(:first-child) {\n --checkbox-card-label-text-color: var(--color-gray-700);\n }\n }\n\n &:hover {\n --checkbox-card-border: 1px var(--color-axa);\n --checkbox-card-shadow-color: var(--color-axa);\n }\n\n &:has(input:checked) {\n --checkbox-card-border: 1px var(--color-axa);\n --checkbox-card-shadow-color: var(--color-axa);\n --checkbox-card-background-color: var(--color-blue-2);\n }\n }\n }\n}\n","@use \"CheckboxCardCommon\";\n\n.af-checkbox-card {\n &__label-container {\n --font-size-base: calc(16 / var(--font-size-base) * 1rem);\n }\n\n &__legend {\n --checkbox-card-color: var(--color-gray-900);\n }\n\n &__description {\n --checkbox-card-color: var(--color-gray-700);\n }\n\n &-group {\n &--horizontal {\n --checkbox-card-flex-direction: column;\n\n .af-checkbox-card-label {\n --checkbox-card-flex-direction: row;\n --checkbox-card-align-items: center;\n\n .af-checkbox-card-content {\n --checkbox-card-flex-direction: row;\n --checkbox-card-margin-left: calc(12 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description {\n --checkbox-card-flex-direction: column;\n --checkbox-card-align-item: flex-start;\n }\n }\n }\n }\n\n &--vertical {\n --checkbox-card-flex-direction: row;\n\n .af-checkbox-card-label {\n --checkbox-card-flex-direction: row;\n --checkbox-card-align-items: flex-start;\n --checkbox-card-justify-content: flex-start;\n\n .af-checkbox {\n position: absolute;\n }\n\n .af-checkbox-card-content {\n --checkbox-card-flex-direction: column;\n --checkbox-card-margin-left: calc(2 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description {\n --checkbox-card-flex-direction: column;\n --checkbox-card-align-item: center;\n }\n }\n }\n }\n\n .af-checkbox-card-label[aria-invalid=\"true\"] {\n --checkbox-card-background-color: var(--color-white);\n --checkbox-card-border: 1px var(--color-red-700);\n --checkbox-card-shadow-color: var(--color-red-700);\n }\n\n .af-checkbox-card-label {\n --checkbox-card-border: 1px var(--color-gray-700);\n --checkbox-card-border-radius: calc(6 / var(--font-size-base) * 1rem);\n\n .af-checkbox-card-content-description > span {\n &:first-child {\n --checkbox-card-label-text-color: var(--color-gray-900);\n }\n\n &:not(:first-child) {\n --checkbox-card-label-text-color: var(--color-gray-700);\n }\n }\n\n &:hover {\n --checkbox-card-border: 1px var(--color-axa);\n --checkbox-card-shadow-color: var(--color-axa);\n }\n\n &:has(input:checked) {\n --checkbox-card-border: 1px var(--color-axa);\n --checkbox-card-shadow-color: var(--color-axa);\n --checkbox-card-background-color: var(--color-blue-2);\n }\n }\n }\n}\n"]}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
@use "CheckboxCardCommon";
|
|
2
|
-
|
|
3
|
-
.af-checkbox-card {
|
|
4
|
-
&__label-container {
|
|
5
|
-
--font-size-base: calc(16 / var(--font-size-base) * 1rem);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
&__legend {
|
|
9
|
-
--checkbox-card-color: var(--color-gray-900);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&__description {
|
|
13
|
-
--checkbox-card-color: var(--color-gray-700);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&-group {
|
|
17
|
-
&--horizontal {
|
|
18
|
-
--checkbox-card-flex-direction: column;
|
|
19
|
-
|
|
20
|
-
.af-checkbox-card-label {
|
|
21
|
-
--checkbox-card-flex-direction: row;
|
|
22
|
-
--checkbox-card-align-items: center;
|
|
23
|
-
|
|
24
|
-
.af-checkbox-card-content {
|
|
25
|
-
--checkbox-card-flex-direction: row;
|
|
26
|
-
--checkbox-card-margin-left: calc(12 / var(--font-size-base) * 1rem);
|
|
27
|
-
|
|
28
|
-
.af-checkbox-card-content-description {
|
|
29
|
-
--checkbox-card-flex-direction: column;
|
|
30
|
-
--checkbox-card-align-item: flex-start;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&--vertical {
|
|
37
|
-
--checkbox-card-flex-direction: row;
|
|
38
|
-
|
|
39
|
-
.af-checkbox-card-label {
|
|
40
|
-
--checkbox-card-flex-direction: row;
|
|
41
|
-
--checkbox-card-align-items: flex-start;
|
|
42
|
-
--checkbox-card-justify-content: flex-start;
|
|
43
|
-
|
|
44
|
-
.af-checkbox {
|
|
45
|
-
position: absolute;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.af-checkbox-card-content {
|
|
49
|
-
--checkbox-card-flex-direction: column;
|
|
50
|
-
--checkbox-card-margin-left: calc(2 / var(--font-size-base) * 1rem);
|
|
51
|
-
|
|
52
|
-
.af-checkbox-card-content-description {
|
|
53
|
-
--checkbox-card-flex-direction: column;
|
|
54
|
-
--checkbox-card-align-item: center;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.af-checkbox-card-label[aria-invalid="true"] {
|
|
61
|
-
--checkbox-card-background-color: var(--color-white);
|
|
62
|
-
--checkbox-card-border: 1px var(--color-red-700);
|
|
63
|
-
--checkbox-card-shadow-color: var(--color-red-700);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.af-checkbox-card-label {
|
|
67
|
-
--checkbox-card-border: 1px var(--color-gray-700);
|
|
68
|
-
--checkbox-card-border-radius: calc(6 / var(--font-size-base) * 1rem);
|
|
69
|
-
|
|
70
|
-
.af-checkbox-card-content-description > span {
|
|
71
|
-
&:first-child {
|
|
72
|
-
--checkbox-card-label-text-color: var(--color-gray-900);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&:not(:first-child) {
|
|
76
|
-
--checkbox-card-label-text-color: var(--color-gray-700);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&:hover {
|
|
81
|
-
--checkbox-card-border: 1px var(--color-axa);
|
|
82
|
-
--checkbox-card-shadow-color: var(--color-axa);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&:has(input:checked) {
|
|
86
|
-
--checkbox-card-border: 1px var(--color-axa);
|
|
87
|
-
--checkbox-card-shadow-color: var(--color-axa);
|
|
88
|
-
--checkbox-card-background-color: var(--color-blue-2);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|