@axa-fr/design-system-apollo-css 1.0.5-alpha.249 → 1.0.5-alpha.251
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/Form/Checkbox/Checkbox/CheckboxApollo.css +1 -0
- package/dist/Form/Checkbox/Checkbox/CheckboxApollo.css.map +1 -0
- package/dist/Form/Checkbox/Checkbox/CheckboxApollo.scss +35 -0
- package/dist/Form/Checkbox/Checkbox/CheckboxCommon.css +1 -0
- package/dist/Form/Checkbox/Checkbox/CheckboxCommon.css.map +1 -0
- package/dist/Form/Checkbox/Checkbox/CheckboxCommon.scss +53 -0
- package/dist/Form/Checkbox/Checkbox/CheckboxLF.css +1 -0
- package/dist/Form/Checkbox/Checkbox/CheckboxLF.css.map +1 -0
- package/dist/Form/Checkbox/Checkbox/CheckboxLF.scss +35 -0
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardApollo.css +1 -0
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardApollo.css.map +1 -0
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardApollo.scss +116 -0
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardCommon.css +1 -0
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardCommon.css.map +1 -0
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardCommon.scss +188 -0
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardLF.css +1 -0
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardLF.css.map +1 -0
- package/dist/Form/Checkbox/CheckboxCard/CheckboxCardLF.scss +114 -0
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextApollo.css +1 -0
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextApollo.css.map +1 -0
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextApollo.scss +7 -0
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextCommon.css +1 -0
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextCommon.css.map +1 -0
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextCommon.scss +22 -0
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextLF.css +1 -0
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextLF.css.map +1 -0
- package/dist/Form/Checkbox/CheckboxText/CheckboxTextLF.scss +7 -0
- package/dist/Heading/HeadingApollo.css +1 -0
- package/dist/Heading/HeadingApollo.css.map +1 -0
- package/dist/Heading/HeadingApollo.scss +50 -0
- package/dist/Heading/HeadingCommon.css +1 -0
- package/dist/Heading/HeadingCommon.css.map +1 -0
- package/dist/Heading/HeadingCommon.scss +48 -0
- package/dist/Heading/HeadingLF.css +1 -0
- package/dist/Heading/HeadingLF.css.map +1 -0
- package/dist/Heading/HeadingLF.scss +47 -0
- package/dist/apollo.css +1 -1
- package/dist/apollo.css.map +1 -1
- package/dist/apollo.scss +4 -0
- package/dist/look-and-feel.css +1 -1
- package/dist/look-and-feel.css.map +1 -1
- package/dist/look-and-feel.scss +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.af-checkbox__icons{align-items:center;border:solid var(--checkbox-border);border-radius:var(--checkbox-border-radius);display:flex;gap:calc(12/var(--font-size-base)*1rem);height:calc(24/var(--font-size-base)*1rem);max-width:calc(24/var(--font-size-base)*1rem);min-width:calc(24/var(--font-size-base)*1rem)}.af-checkbox__icons .af-checkbox__checked{display:none}.af-checkbox input[type=checkbox][aria-invalid=true]~.af-checkbox__icons{background-color:var(--checkbox-background-color);border:solid var(--checkbox-border);box-shadow:0 0 0 1px var(--checkbox-box-shadow-color) inset}.af-checkbox input[type=checkbox]{cursor:pointer;height:calc(24/var(--font-size-base)*1rem);margin:0;opacity:0;position:absolute;width:calc(24/var(--font-size-base)*1rem)}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons,.af-checkbox input[type=checkbox]:hover~.af-checkbox__icons{border:solid var(--checkbox-border);box-shadow:0 0 0 1px var(--checkbox-box-shadow-color) inset}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons{background-color:var(--checkbox-background-color)}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons .af-checkbox__checked{display:block;fill:var(--checkbox-check-fill)}.af-checkbox__icons{--checkbox-border-radius:calc(6/var(--font-size-base)*1rem);--checkbox-border:1px var(--axa-blue-65)}.af-checkbox input[type=checkbox][aria-invalid=true]~.af-checkbox__icons{--checkbox-border:1px var(--red-alert-100);--checkbox-box-shadow-color:var(--red-alert-100);--checkbox-background-color:var(--white)}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons,.af-checkbox input[type=checkbox]:hover~.af-checkbox__icons{--checkbox-border:1px var(--axa-blue-100);--checkbox-box-shadow-color:var(--axa-blue-100)}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons{--checkbox-background-color:var(--axa-blue-100)}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons .af-checkbox__checked{--checkbox-check-fill:var(--white)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/Form/Checkbox/Checkbox/CheckboxCommon.scss","../../../../src/Form/Checkbox/Checkbox/CheckboxApollo.scss","../../../../src/Form/Checkbox/Checkbox/CheckboxApollo.scss%23sass"],"names":[],"mappings":"AACE,oBAOE,kBAAA,CAFA,mCAAA,CACA,2CAAA,CALA,YAAA,CAOA,uCAAA,CAJA,0CAAA,CADA,6CAAA,CCFJ,6CAOA,CDEI,0CACE,YCAN,CDKI,yEAEE,iDAAA,CADA,mCAAA,CAEA,2DCHN,CDOE,kCAME,cAAA,CAHA,0CAAA,CACA,QAAA,CACA,SAAA,CAJA,iBAAA,CACA,yCCDJ,CDgBI,0HAPI,mCAAA,CACA,2DCDR,CDOI,8DAEE,iDCTN,CDYM,oFACE,aAAA,CACA,+BCVR,CCnCE,oBACE,2DAAA,CACA,wCDsCJ,CClCI,yEACE,0CAAA,CACA,gDAAA,CACA,wCDoCN,CCxBI,0HANE,yCAAA,CACA,+CDsCN,CCjCI,8DAGE,+CD8BN,CC5BM,oFACE,kCD8BR","file":"CheckboxApollo.css","sourcesContent":[".af-checkbox {\n &__icons {\n display: flex;\n min-width: calc(24 / var(--font-size-base) * 1rem);\n max-width: calc(24 / var(--font-size-base) * 1rem);\n height: calc(24 / var(--font-size-base) * 1rem);\n border: solid var(--checkbox-border);\n border-radius: var(--checkbox-border-radius);\n align-items: center;\n gap: calc(12 / var(--font-size-base) * 1rem);\n\n .af-checkbox__checked {\n display: none;\n }\n }\n\n input[type=\"checkbox\"][aria-invalid=\"true\"] {\n ~ .af-checkbox__icons {\n border: solid var(--checkbox-border);\n background-color: var(--checkbox-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;\n }\n }\n\n input[type=\"checkbox\"] {\n position: absolute;\n width: calc(24 / var(--font-size-base) * 1rem);\n height: calc(24 / var(--font-size-base) * 1rem);\n margin: 0;\n opacity: 0;\n cursor: pointer;\n\n &:hover {\n ~ .af-checkbox__icons {\n border: solid var(--checkbox-border);\n box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;\n }\n }\n }\n\n input[type=\"checkbox\"]:checked {\n ~ .af-checkbox__icons {\n border: solid var(--checkbox-border);\n background-color: var(--checkbox-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;\n\n & .af-checkbox__checked {\n display: block;\n fill: var(--checkbox-check-fill);\n }\n }\n }\n}\n","@use \"CheckboxCommon\";\n\n.af-checkbox {\n &__icons {\n --checkbox-border-radius: calc(6 / var(--font-size-base) * 1rem);\n --checkbox-border: 1px var(--axa-blue-65);\n }\n\n input[type=\"checkbox\"][aria-invalid=\"true\"] {\n ~ .af-checkbox__icons {\n --checkbox-border: 1px var(--red-alert-100);\n --checkbox-box-shadow-color: var(--red-alert-100);\n --checkbox-background-color: var(--white);\n }\n }\n\n input[type=\"checkbox\"]:hover {\n ~ .af-checkbox__icons {\n --checkbox-border: 1px var(--axa-blue-100);\n --checkbox-box-shadow-color: var(--axa-blue-100);\n }\n }\n\n input[type=\"checkbox\"]:checked {\n ~ .af-checkbox__icons {\n --checkbox-border: 1px var(--axa-blue-100);\n --checkbox-box-shadow-color: var(--axa-blue-100);\n --checkbox-background-color: var(--axa-blue-100);\n\n & .af-checkbox__checked {\n --checkbox-check-fill: var(--white);\n }\n }\n }\n}\n","@use \"CheckboxCommon\";\n\n.af-checkbox {\n &__icons {\n --checkbox-border-radius: calc(6 / var(--font-size-base) * 1rem);\n --checkbox-border: 1px var(--axa-blue-65);\n }\n\n input[type=\"checkbox\"][aria-invalid=\"true\"] {\n ~ .af-checkbox__icons {\n --checkbox-border: 1px var(--red-alert-100);\n --checkbox-box-shadow-color: var(--red-alert-100);\n --checkbox-background-color: var(--white);\n }\n }\n\n input[type=\"checkbox\"]:hover {\n ~ .af-checkbox__icons {\n --checkbox-border: 1px var(--axa-blue-100);\n --checkbox-box-shadow-color: var(--axa-blue-100);\n }\n }\n\n input[type=\"checkbox\"]:checked {\n ~ .af-checkbox__icons {\n --checkbox-border: 1px var(--axa-blue-100);\n --checkbox-box-shadow-color: var(--axa-blue-100);\n --checkbox-background-color: var(--axa-blue-100);\n\n & .af-checkbox__checked {\n --checkbox-check-fill: var(--white);\n }\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@use "CheckboxCommon";
|
|
2
|
+
|
|
3
|
+
.af-checkbox {
|
|
4
|
+
&__icons {
|
|
5
|
+
--checkbox-border-radius: calc(6 / var(--font-size-base) * 1rem);
|
|
6
|
+
--checkbox-border: 1px var(--axa-blue-65);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
input[type="checkbox"][aria-invalid="true"] {
|
|
10
|
+
~ .af-checkbox__icons {
|
|
11
|
+
--checkbox-border: 1px var(--red-alert-100);
|
|
12
|
+
--checkbox-box-shadow-color: var(--red-alert-100);
|
|
13
|
+
--checkbox-background-color: var(--white);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
input[type="checkbox"]:hover {
|
|
18
|
+
~ .af-checkbox__icons {
|
|
19
|
+
--checkbox-border: 1px var(--axa-blue-100);
|
|
20
|
+
--checkbox-box-shadow-color: var(--axa-blue-100);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
input[type="checkbox"]:checked {
|
|
25
|
+
~ .af-checkbox__icons {
|
|
26
|
+
--checkbox-border: 1px var(--axa-blue-100);
|
|
27
|
+
--checkbox-box-shadow-color: var(--axa-blue-100);
|
|
28
|
+
--checkbox-background-color: var(--axa-blue-100);
|
|
29
|
+
|
|
30
|
+
& .af-checkbox__checked {
|
|
31
|
+
--checkbox-check-fill: var(--white);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.af-checkbox__icons{align-items:center;border:solid var(--checkbox-border);border-radius:var(--checkbox-border-radius);display:flex;gap:calc(12/var(--font-size-base)*1rem);height:calc(24/var(--font-size-base)*1rem);max-width:calc(24/var(--font-size-base)*1rem);min-width:calc(24/var(--font-size-base)*1rem)}.af-checkbox__icons .af-checkbox__checked{display:none}.af-checkbox input[type=checkbox][aria-invalid=true]~.af-checkbox__icons{background-color:var(--checkbox-background-color);border:solid var(--checkbox-border);box-shadow:0 0 0 1px var(--checkbox-box-shadow-color) inset}.af-checkbox input[type=checkbox]{cursor:pointer;height:calc(24/var(--font-size-base)*1rem);margin:0;opacity:0;position:absolute;width:calc(24/var(--font-size-base)*1rem)}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons,.af-checkbox input[type=checkbox]:hover~.af-checkbox__icons{border:solid var(--checkbox-border);box-shadow:0 0 0 1px var(--checkbox-box-shadow-color) inset}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons{background-color:var(--checkbox-background-color)}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons .af-checkbox__checked{display:block;fill:var(--checkbox-check-fill)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/Form/Checkbox/Checkbox/CheckboxCommon.scss%23sass","../../../../src/Form/Checkbox/Checkbox/CheckboxCommon.scss"],"names":[],"mappings":"AACE,oBAOE,kBAAA,CAFA,mCAAA,CACA,2CAAA,CALA,YAAA,CAOA,uCAAA,CAJA,0CAAA,CADA,6CAAA,CADA,6CCMJ,CDEI,0CACE,YCAN,CDKI,yEAEE,iDAAA,CADA,mCAAA,CAEA,2DCHN,CDOE,kCAME,cAAA,CAHA,0CAAA,CACA,QAAA,CACA,SAAA,CAJA,iBAAA,CACA,yCCDJ,CDgBI,0HAPI,mCAAA,CACA,2DCDR,CDOI,8DAEE,iDCTN,CDYM,oFACE,aAAA,CACA,+BCVR","file":"CheckboxCommon.css","sourcesContent":[".af-checkbox {\n &__icons {\n display: flex;\n min-width: calc(24 / var(--font-size-base) * 1rem);\n max-width: calc(24 / var(--font-size-base) * 1rem);\n height: calc(24 / var(--font-size-base) * 1rem);\n border: solid var(--checkbox-border);\n border-radius: var(--checkbox-border-radius);\n align-items: center;\n gap: calc(12 / var(--font-size-base) * 1rem);\n\n .af-checkbox__checked {\n display: none;\n }\n }\n\n input[type=\"checkbox\"][aria-invalid=\"true\"] {\n ~ .af-checkbox__icons {\n border: solid var(--checkbox-border);\n background-color: var(--checkbox-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;\n }\n }\n\n input[type=\"checkbox\"] {\n position: absolute;\n width: calc(24 / var(--font-size-base) * 1rem);\n height: calc(24 / var(--font-size-base) * 1rem);\n margin: 0;\n opacity: 0;\n cursor: pointer;\n\n &:hover {\n ~ .af-checkbox__icons {\n border: solid var(--checkbox-border);\n box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;\n }\n }\n }\n\n input[type=\"checkbox\"]:checked {\n ~ .af-checkbox__icons {\n border: solid var(--checkbox-border);\n background-color: var(--checkbox-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;\n\n & .af-checkbox__checked {\n display: block;\n fill: var(--checkbox-check-fill);\n }\n }\n }\n}\n",".af-checkbox {\n &__icons {\n display: flex;\n min-width: calc(24 / var(--font-size-base) * 1rem);\n max-width: calc(24 / var(--font-size-base) * 1rem);\n height: calc(24 / var(--font-size-base) * 1rem);\n border: solid var(--checkbox-border);\n border-radius: var(--checkbox-border-radius);\n align-items: center;\n gap: calc(12 / var(--font-size-base) * 1rem);\n\n .af-checkbox__checked {\n display: none;\n }\n }\n\n input[type=\"checkbox\"][aria-invalid=\"true\"] {\n ~ .af-checkbox__icons {\n border: solid var(--checkbox-border);\n background-color: var(--checkbox-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;\n }\n }\n\n input[type=\"checkbox\"] {\n position: absolute;\n width: calc(24 / var(--font-size-base) * 1rem);\n height: calc(24 / var(--font-size-base) * 1rem);\n margin: 0;\n opacity: 0;\n cursor: pointer;\n\n &:hover {\n ~ .af-checkbox__icons {\n border: solid var(--checkbox-border);\n box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;\n }\n }\n }\n\n input[type=\"checkbox\"]:checked {\n ~ .af-checkbox__icons {\n border: solid var(--checkbox-border);\n background-color: var(--checkbox-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;\n\n & .af-checkbox__checked {\n display: block;\n fill: var(--checkbox-check-fill);\n }\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.af-checkbox {
|
|
2
|
+
&__icons {
|
|
3
|
+
display: flex;
|
|
4
|
+
min-width: calc(24 / var(--font-size-base) * 1rem);
|
|
5
|
+
max-width: calc(24 / var(--font-size-base) * 1rem);
|
|
6
|
+
height: calc(24 / var(--font-size-base) * 1rem);
|
|
7
|
+
border: solid var(--checkbox-border);
|
|
8
|
+
border-radius: var(--checkbox-border-radius);
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: calc(12 / var(--font-size-base) * 1rem);
|
|
11
|
+
|
|
12
|
+
.af-checkbox__checked {
|
|
13
|
+
display: none;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
input[type="checkbox"][aria-invalid="true"] {
|
|
18
|
+
~ .af-checkbox__icons {
|
|
19
|
+
border: solid var(--checkbox-border);
|
|
20
|
+
background-color: var(--checkbox-background-color);
|
|
21
|
+
box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
input[type="checkbox"] {
|
|
26
|
+
position: absolute;
|
|
27
|
+
width: calc(24 / var(--font-size-base) * 1rem);
|
|
28
|
+
height: calc(24 / var(--font-size-base) * 1rem);
|
|
29
|
+
margin: 0;
|
|
30
|
+
opacity: 0;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
|
|
33
|
+
&:hover {
|
|
34
|
+
~ .af-checkbox__icons {
|
|
35
|
+
border: solid var(--checkbox-border);
|
|
36
|
+
box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
input[type="checkbox"]:checked {
|
|
42
|
+
~ .af-checkbox__icons {
|
|
43
|
+
border: solid var(--checkbox-border);
|
|
44
|
+
background-color: var(--checkbox-background-color);
|
|
45
|
+
box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;
|
|
46
|
+
|
|
47
|
+
& .af-checkbox__checked {
|
|
48
|
+
display: block;
|
|
49
|
+
fill: var(--checkbox-check-fill);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.af-checkbox__icons{align-items:center;border:solid var(--checkbox-border);border-radius:var(--checkbox-border-radius);display:flex;gap:calc(12/var(--font-size-base)*1rem);height:calc(24/var(--font-size-base)*1rem);max-width:calc(24/var(--font-size-base)*1rem);min-width:calc(24/var(--font-size-base)*1rem)}.af-checkbox__icons .af-checkbox__checked{display:none}.af-checkbox input[type=checkbox][aria-invalid=true]~.af-checkbox__icons{background-color:var(--checkbox-background-color);border:solid var(--checkbox-border);box-shadow:0 0 0 1px var(--checkbox-box-shadow-color) inset}.af-checkbox input[type=checkbox]{cursor:pointer;height:calc(24/var(--font-size-base)*1rem);margin:0;opacity:0;position:absolute;width:calc(24/var(--font-size-base)*1rem)}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons,.af-checkbox input[type=checkbox]:hover~.af-checkbox__icons{border:solid var(--checkbox-border);box-shadow:0 0 0 1px var(--checkbox-box-shadow-color) inset}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons{background-color:var(--checkbox-background-color)}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons .af-checkbox__checked{display:block;fill:var(--checkbox-check-fill)}.af-checkbox__icons{--checkbox-border-radius:calc(4/var(--font-size-base)*1rem);--checkbox-border:2px var(--color-gray-700)}.af-checkbox input[type=checkbox][aria-invalid=true]~.af-checkbox__icons{--checkbox-border:2px var(--color-red-700);--checkbox-box-shadow-color:var(--color-red-700);--checkbox-background-color:var(--color-white)}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons,.af-checkbox input[type=checkbox]:hover~.af-checkbox__icons{--checkbox-border:2px var(--color-axa);--checkbox-box-shadow-color:var(--color-axa)}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons{--checkbox-background-color:var(--color-axa)}.af-checkbox input[type=checkbox]:checked~.af-checkbox__icons .af-checkbox__checked{--checkbox-check-fill:var(--color-white)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/Form/Checkbox/Checkbox/CheckboxCommon.scss","../../../../src/Form/Checkbox/Checkbox/CheckboxLF.scss","../../../../src/Form/Checkbox/Checkbox/CheckboxLF.scss%23sass"],"names":[],"mappings":"AACE,oBAOE,kBAAA,CAFA,mCAAA,CACA,2CAAA,CALA,YAAA,CAOA,uCAAA,CAJA,0CAAA,CADA,6CAAA,CCFJ,6CAOA,CDEI,0CACE,YCAN,CDKI,yEAEE,iDAAA,CADA,mCAAA,CAEA,2DCHN,CDOE,kCAME,cAAA,CAHA,0CAAA,CACA,QAAA,CACA,SAAA,CAJA,iBAAA,CACA,yCCDJ,CDgBI,0HAPI,mCAAA,CACA,2DCDR,CDOI,8DAEE,iDCTN,CDYM,oFACE,aAAA,CACA,+BCVR,CCnCE,oBACE,2DAAA,CACA,2CDsCJ,CClCI,yEACE,0CAAA,CACA,gDAAA,CACA,8CDoCN,CCxBI,0HANE,sCAAA,CACA,4CDsCN,CCjCI,8DAGE,4CD8BN,CC5BM,oFACE,wCD8BR","file":"CheckboxLF.css","sourcesContent":[".af-checkbox {\n &__icons {\n display: flex;\n min-width: calc(24 / var(--font-size-base) * 1rem);\n max-width: calc(24 / var(--font-size-base) * 1rem);\n height: calc(24 / var(--font-size-base) * 1rem);\n border: solid var(--checkbox-border);\n border-radius: var(--checkbox-border-radius);\n align-items: center;\n gap: calc(12 / var(--font-size-base) * 1rem);\n\n .af-checkbox__checked {\n display: none;\n }\n }\n\n input[type=\"checkbox\"][aria-invalid=\"true\"] {\n ~ .af-checkbox__icons {\n border: solid var(--checkbox-border);\n background-color: var(--checkbox-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;\n }\n }\n\n input[type=\"checkbox\"] {\n position: absolute;\n width: calc(24 / var(--font-size-base) * 1rem);\n height: calc(24 / var(--font-size-base) * 1rem);\n margin: 0;\n opacity: 0;\n cursor: pointer;\n\n &:hover {\n ~ .af-checkbox__icons {\n border: solid var(--checkbox-border);\n box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;\n }\n }\n }\n\n input[type=\"checkbox\"]:checked {\n ~ .af-checkbox__icons {\n border: solid var(--checkbox-border);\n background-color: var(--checkbox-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-box-shadow-color) inset;\n\n & .af-checkbox__checked {\n display: block;\n fill: var(--checkbox-check-fill);\n }\n }\n }\n}\n","@use \"CheckboxCommon\";\n\n.af-checkbox {\n &__icons {\n --checkbox-border-radius: calc(4 / var(--font-size-base) * 1rem);\n --checkbox-border: 2px var(--color-gray-700);\n }\n\n input[type=\"checkbox\"][aria-invalid=\"true\"] {\n ~ .af-checkbox__icons {\n --checkbox-border: 2px var(--color-red-700);\n --checkbox-box-shadow-color: var(--color-red-700);\n --checkbox-background-color: var(--color-white);\n }\n }\n\n input[type=\"checkbox\"]:hover {\n ~ .af-checkbox__icons {\n --checkbox-border: 2px var(--color-axa);\n --checkbox-box-shadow-color: var(--color-axa);\n }\n }\n\n input[type=\"checkbox\"]:checked {\n ~ .af-checkbox__icons {\n --checkbox-border: 2px var(--color-axa);\n --checkbox-box-shadow-color: var(--color-axa);\n --checkbox-background-color: var(--color-axa);\n\n & .af-checkbox__checked {\n --checkbox-check-fill: var(--color-white);\n }\n }\n }\n}\n","@use \"CheckboxCommon\";\n\n.af-checkbox {\n &__icons {\n --checkbox-border-radius: calc(4 / var(--font-size-base) * 1rem);\n --checkbox-border: 2px var(--color-gray-700);\n }\n\n input[type=\"checkbox\"][aria-invalid=\"true\"] {\n ~ .af-checkbox__icons {\n --checkbox-border: 2px var(--color-red-700);\n --checkbox-box-shadow-color: var(--color-red-700);\n --checkbox-background-color: var(--color-white);\n }\n }\n\n input[type=\"checkbox\"]:hover {\n ~ .af-checkbox__icons {\n --checkbox-border: 2px var(--color-axa);\n --checkbox-box-shadow-color: var(--color-axa);\n }\n }\n\n input[type=\"checkbox\"]:checked {\n ~ .af-checkbox__icons {\n --checkbox-border: 2px var(--color-axa);\n --checkbox-box-shadow-color: var(--color-axa);\n --checkbox-background-color: var(--color-axa);\n\n & .af-checkbox__checked {\n --checkbox-check-fill: var(--color-white);\n }\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@use "CheckboxCommon";
|
|
2
|
+
|
|
3
|
+
.af-checkbox {
|
|
4
|
+
&__icons {
|
|
5
|
+
--checkbox-border-radius: calc(4 / var(--font-size-base) * 1rem);
|
|
6
|
+
--checkbox-border: 2px var(--color-gray-700);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
input[type="checkbox"][aria-invalid="true"] {
|
|
10
|
+
~ .af-checkbox__icons {
|
|
11
|
+
--checkbox-border: 2px var(--color-red-700);
|
|
12
|
+
--checkbox-box-shadow-color: var(--color-red-700);
|
|
13
|
+
--checkbox-background-color: var(--color-white);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
input[type="checkbox"]:hover {
|
|
18
|
+
~ .af-checkbox__icons {
|
|
19
|
+
--checkbox-border: 2px var(--color-axa);
|
|
20
|
+
--checkbox-box-shadow-color: var(--color-axa);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
input[type="checkbox"]:checked {
|
|
25
|
+
~ .af-checkbox__icons {
|
|
26
|
+
--checkbox-border: 2px var(--color-axa);
|
|
27
|
+
--checkbox-box-shadow-color: var(--color-axa);
|
|
28
|
+
--checkbox-background-color: var(--color-axa);
|
|
29
|
+
|
|
30
|
+
& .af-checkbox__checked {
|
|
31
|
+
--checkbox-check-fill: var(--color-white);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
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__label{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)}@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__content{align-items:center;display:flex;gap:1rem;justify-content:center;width:100%}.af-checkbox-card__content>svg{color:var(--checkbox-card-color);height:calc(28/var(--font-size-base)*1rem);width:calc(28/var(--font-size-base)*1rem);fill:var(--checkbox-card-fill)}.af-checkbox-card__content-description{display:flex;flex-direction:column;gap:calc(4/var(--font-size-base)*1rem);line-height:calc(20/var(--font-size-base)*1rem)}.af-checkbox-card__content-description>span:first-child{color:var(--checkbox-card-color);line-height:calc(24/var(--font-size-base)*1rem)}.af-checkbox-card__content-description>span:not(:first-child){color:var(--checkbox-card-color)}.af-checkbox-card~.af-checkbox-card__error,.af-checkbox-card~.af-checkbox-card__error>svg{border:solid var(--color-red-700)}.af-checkbox-card-group--vertical{flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--vertical .af-checkbox-card-label{align-items:var(--checkbox-card-align-items);flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--vertical .af-checkbox-card-label .af-checkbox-card-content{flex-direction:var(--checkbox-card-flex-direction)}.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:left}.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);justify-content:var(--checkbox-card-justify-content)}.af-checkbox-card-group--horizontal .af-checkbox-card-label .af-checkbox-card-content{flex:1 1;flex-direction:var(--checkbox-card-flex-direction);width:100%}.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:center}.af-checkbox-card-group--horizontal,.af-checkbox-card-group--vertical{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)}.af-checkbox-card-group--horizontal .af-checkbox-card-label[aria-invalid=true],.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:not(:first-child),.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:not(:first-child),.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label:hover,.af-checkbox-card-group--vertical .af-checkbox-card-label:hover{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--horizontal .af-checkbox-card-label:has(input:checked),.af-checkbox-card-group--vertical .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__label-container{--font-size-base:calc(16/var(--font-size-base)*1rem)}.af-checkbox-card__label{--checkbox-card-color:var(--color-gray-900)}.af-checkbox-card__description{--checkbox-card-color:var(--color-gray-700)}.af-checkbox-card__content>svg{--checkbox-card-color:var(--color-axa);--checkbox-card-fill:var(--color-axa)}.af-checkbox-card__content-description>span:first-child{--checkbox-card-color:var(--color-gray-900)}.af-checkbox-card__content-description>span:not(:first-child){--checkbox-card-color:var(--color-gray-700)}.af-checkbox-card~.af-checkbox-card__error,.af-checkbox-card~.af-checkbox-card__error>svg{--error-box-color:var(--color-red-700)}.af-checkbox-card-group--vertical{--checkbox-card-flex-direction:column}.af-checkbox-card-group--vertical .af-checkbox-card-label{--checkbox-card-flex-direction:row}.af-checkbox-card-group--vertical .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--vertical .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 .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child{--checkbox-card-label-text-color:var(--axa-blue-100)}.af-checkbox-card-group--horizontal{--checkbox-card-flex-direction:row}.af-checkbox-card-group--horizontal .af-checkbox-card-label{--checkbox-card-flex-direction:column-reverse}.af-checkbox-card-group--horizontal .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--horizontal .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--horizontal .af-checkbox-card-label[aria-invalid=true],.af-checkbox-card-group--vertical .af-checkbox-card-label[aria-invalid=true]{--checkbox-card-background-color:var(--axa-red-4);--checkbox-card-border:1px var(--red-alert-100);--checkbox-card-shadow-color:var(--red-alert-100)}.af-checkbox-card-group--horizontal .af-checkbox-card-label,.af-checkbox-card-group--vertical .af-checkbox-card-label{--checkbox-card-border:1px var(--axa-blue-65);--checkbox-card-border-radius:calc(8/var(--font-size-base)*1rem);--checkbox-card-align-items:center}.af-checkbox-card-group--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child,.af-checkbox-card-group--vertical .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child{--checkbox-card-label-text-color:var(--axa-blue-100)}.af-checkbox-card-group--horizontal .af-checkbox-card-label:hover,.af-checkbox-card-group--vertical .af-checkbox-card-label:hover{--checkbox-card-border:1px var(--axa-blue-100);--checkbox-card-shadow-color:var(--axa-blue-100);--checkbox-card-background-color:var(--white)}.af-checkbox-card-group--horizontal .af-checkbox-card-label:has(input:checked),.af-checkbox-card-group--vertical .af-checkbox-card-label:has(input:checked){--checkbox-card-border:1px var(--axa-blue-100);--checkbox-card-shadow-color:var(--axa-blue-100);--checkbox-card-background-color:var(--axa-blue-4)}
|
|
@@ -0,0 +1 @@
|
|
|
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,yBAGE,gCAAA,CAFA,6CAAA,CACA,eCHJ,CDOE,+BAIE,gCAAA,CAHA,6CAAA,CACA,eAAA,CACA,+CCJJ,CDOI,uBANF,+BAOI,6CAAA,CACA,+CCJJ,CACF,CDOE,2BAGE,kBAAA,CAFA,YAAA,CAIA,QAAA,CADA,sBAAA,CAFA,UCFJ,CDOI,+BAGE,gCAAA,CADA,0CAAA,CADA,yCAAA,CAGA,8BCLN,CDQI,uCACE,YAAA,CACA,qBAAA,CACA,sCAAA,CACA,+CCNN,CDQM,wDAEE,gCAAA,CADA,+CCLR,CDSM,8DACE,gCCPR,CDeI,0FACE,iCCVN,CDcE,kCACE,kDCZJ,CDcI,0DAEE,4CAAA,CADA,kDCXN,CDcM,oFACE,kDCZR,CDcQ,0HAEE,2CAAA,CADA,kDAAA,CAEA,eCZV,CDkBE,oCACE,kDChBJ,CDkBI,4DAEE,4CAAA,CADA,kDAAA,CAEA,oDChBN,CDkBM,sFAEE,QAAA,CACA,kDAAA,CAFA,UCdR,CDkBQ,4HAEE,2CAAA,CADA,kDAAA,CAEA,iBChBV,CDsBE,sEAGE,mBAAA,CADA,YAAA,CAGA,4CAAA,CACA,iBAAA,CACA,eAAA,CAHA,QAAA,CAIA,+CCrBJ,CDuBI,4JAEE,sDAAA,CADA,wCAAA,CAEA,4DCrBN,CDwBI,sHAME,kBAAA,CAHA,wCAAA,CACA,gDAAA,CAIA,cAAA,CAPA,YAAA,CAIA,QAAA,CAEA,uCAAA,CALA,YChBN,CDwBM,0KAEE,kBAAA,CADA,YAAA,CAEA,sCCtBR,CDwBQ,sPACE,YAAA,CAEA,cAAA,CADA,sBAAA,CAEA,+CCtBV,CDwBU,wRAGE,2CAAA,CAFA,6CAAA,CACA,eCrBZ,CDwBY,uBALF,wRAMI,6CAAA,CACA,eCrBZ,CACF,CDwBU,oSAGE,2CAAA,CAFA,6CAAA,CACA,eCrBZ,CDwBY,uBALF,oSAMI,6CAAA,CACA,eCrBZ,CACF,CD0BM,kIAEE,sDAAA,CADA,wCAAA,CAEA,4DCxBR,CD4BI,4JAEE,sDAAA,CADA,wCAAA,CAEA,4DC1BN,CC1JE,mCACE,oDD6JJ,CC1JE,yBACE,2CD4JJ,CCzJE,+BACE,2CD2JJ,CCvJI,+BACE,sCAAA,CACA,qCDyJN,CCrJM,wDACE,2CDuJR,CCpJM,8DACE,2CDsJR,CC9II,0FACE,sCDmJN,CC/IE,kCACE,qCDiJJ,CC/II,0DACE,kCDiJN,CC/IM,oFACE,kCAAA,CACA,+DDiJR,CC/IQ,0HACE,qCAAA,CACA,qCDiJV,CC/IU,2IACE,oDDiJZ,CC1IE,oCACE,kCD4IJ,CC1II,4DACE,6CD4IN,CC1IM,sFACE,qCAAA,CACA,8DD4IR,CC1IQ,4HACE,qCAAA,CACA,iCD4IV,CCpII,4JACE,iDAAA,CACA,+CAAA,CACA,iDDsIN,CCnII,sHACE,6CAAA,CACA,gEAAA,CACA,kCDqIN,CCjIU,wRACE,oDDmIZ,CC9HM,kIACE,8CAAA,CACA,gDAAA,CACA,6CDgIR,CC5HI,4JACE,8CAAA,CACA,gDAAA,CACA,kDD8HN","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 &__label {\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 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 &__content {\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n gap: 1rem;\n\n & > svg {\n width: calc(28 / var(--font-size-base) * 1rem);\n height: calc(28 / var(--font-size-base) * 1rem);\n color: var(--checkbox-card-color);\n fill: var(--checkbox-card-fill);\n }\n\n &-description {\n display: flex;\n flex-direction: column;\n gap: calc(4 / var(--font-size-base) * 1rem);\n line-height: calc(20 / var(--font-size-base) * 1rem);\n\n & > span:first-child {\n line-height: calc(24 / var(--font-size-base) * 1rem);\n color: var(--checkbox-card-color);\n }\n\n & > span:not(:first-child) {\n color: var(--checkbox-card-color);\n }\n }\n }\n\n & ~ &__error {\n border: solid var(--color-red-700);\n\n & > svg {\n border: solid var(--color-red-700);\n }\n }\n\n &-group--vertical {\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 &-group--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 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 &-group--vertical,\n &-group--horizontal {\n display: flex;\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\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 background-color: var(--checkbox-card-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n }\n }\n\n .af-checkbox-card-label: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 }\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 &__label {\n --checkbox-card-color: var(--color-gray-900);\n }\n\n &__description {\n --checkbox-card-color: var(--color-gray-700);\n }\n\n &__content {\n & > svg {\n --checkbox-card-color: var(--color-axa);\n --checkbox-card-fill: var(--color-axa);\n }\n\n &-description {\n & > span:first-child {\n --checkbox-card-color: var(--color-gray-900);\n }\n\n & > span:not(:first-child) {\n --checkbox-card-color: var(--color-gray-700);\n }\n }\n }\n\n & ~ &__error {\n --error-box-color: var(--color-red-700);\n\n & > svg {\n --error-box-color: var(--color-red-700);\n }\n }\n\n &-group--vertical {\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 &-group--horizontal {\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 &-group--vertical,\n &-group--horizontal {\n .af-checkbox-card-label[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\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 {\n .af-checkbox-card-content-description {\n & > span:first-child {\n --checkbox-card-label-text-color: var(--axa-blue-100);\n }\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 }\n\n .af-checkbox-card-label: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 }\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 &__label {\n --checkbox-card-color: var(--color-gray-900);\n }\n\n &__description {\n --checkbox-card-color: var(--color-gray-700);\n }\n\n &__content {\n & > svg {\n --checkbox-card-color: var(--color-axa);\n --checkbox-card-fill: var(--color-axa);\n }\n\n &-description {\n & > span:first-child {\n --checkbox-card-color: var(--color-gray-900);\n }\n\n & > span:not(:first-child) {\n --checkbox-card-color: var(--color-gray-700);\n }\n }\n }\n\n & ~ &__error {\n --error-box-color: var(--color-red-700);\n\n & > svg {\n --error-box-color: var(--color-red-700);\n }\n }\n\n &-group--vertical {\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 &-group--horizontal {\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 &-group--vertical,\n &-group--horizontal {\n .af-checkbox-card-label[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\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 {\n .af-checkbox-card-content-description {\n & > span:first-child {\n --checkbox-card-label-text-color: var(--axa-blue-100);\n }\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 }\n\n .af-checkbox-card-label: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 }\n}\n"]}
|
|
@@ -0,0 +1,116 @@
|
|
|
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
|
+
&__label {
|
|
10
|
+
--checkbox-card-color: var(--color-gray-900);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&__description {
|
|
14
|
+
--checkbox-card-color: var(--color-gray-700);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__content {
|
|
18
|
+
& > svg {
|
|
19
|
+
--checkbox-card-color: var(--color-axa);
|
|
20
|
+
--checkbox-card-fill: var(--color-axa);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&-description {
|
|
24
|
+
& > span:first-child {
|
|
25
|
+
--checkbox-card-color: var(--color-gray-900);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
& > span:not(:first-child) {
|
|
29
|
+
--checkbox-card-color: var(--color-gray-700);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
& ~ &__error {
|
|
35
|
+
--error-box-color: var(--color-red-700);
|
|
36
|
+
|
|
37
|
+
& > svg {
|
|
38
|
+
--error-box-color: var(--color-red-700);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&-group--vertical {
|
|
43
|
+
--checkbox-card-flex-direction: column;
|
|
44
|
+
|
|
45
|
+
.af-checkbox-card-label {
|
|
46
|
+
--checkbox-card-flex-direction: row;
|
|
47
|
+
|
|
48
|
+
.af-checkbox-card-content {
|
|
49
|
+
--checkbox-card-flex-direction: row;
|
|
50
|
+
--checkbox-card-margin-left: calc(12 / var(--font-size-base) * 1rem);
|
|
51
|
+
|
|
52
|
+
.af-checkbox-card-content-description {
|
|
53
|
+
--checkbox-card-flex-direction: column;
|
|
54
|
+
--checkbox-card-align-item: flex-start;
|
|
55
|
+
|
|
56
|
+
& > span:first-child {
|
|
57
|
+
--checkbox-card-label-text-color: var(--axa-blue-100);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&-group--horizontal {
|
|
65
|
+
--checkbox-card-flex-direction: row;
|
|
66
|
+
|
|
67
|
+
.af-checkbox-card-label {
|
|
68
|
+
--checkbox-card-flex-direction: column-reverse;
|
|
69
|
+
|
|
70
|
+
.af-checkbox-card-content {
|
|
71
|
+
--checkbox-card-flex-direction: column;
|
|
72
|
+
--checkbox-card-margin-left: calc(2 / var(--font-size-base) * 1rem);
|
|
73
|
+
|
|
74
|
+
.af-checkbox-card-content-description {
|
|
75
|
+
--checkbox-card-flex-direction: column;
|
|
76
|
+
--checkbox-card-align-item: center;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&-group--vertical,
|
|
83
|
+
&-group--horizontal {
|
|
84
|
+
.af-checkbox-card-label[aria-invalid="true"] {
|
|
85
|
+
--checkbox-card-background-color: var(--axa-red-4);
|
|
86
|
+
--checkbox-card-border: 1px var(--red-alert-100);
|
|
87
|
+
--checkbox-card-shadow-color: var(--red-alert-100);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.af-checkbox-card-label {
|
|
91
|
+
--checkbox-card-border: 1px var(--axa-blue-65);
|
|
92
|
+
--checkbox-card-border-radius: calc(8 / var(--font-size-base) * 1rem);
|
|
93
|
+
--checkbox-card-align-items: center;
|
|
94
|
+
|
|
95
|
+
.af-checkbox-card-content {
|
|
96
|
+
.af-checkbox-card-content-description {
|
|
97
|
+
& > span:first-child {
|
|
98
|
+
--checkbox-card-label-text-color: var(--axa-blue-100);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&:hover {
|
|
104
|
+
--checkbox-card-border: 1px var(--axa-blue-100);
|
|
105
|
+
--checkbox-card-shadow-color: var(--axa-blue-100);
|
|
106
|
+
--checkbox-card-background-color: var(--white);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.af-checkbox-card-label:has(input:checked) {
|
|
111
|
+
--checkbox-card-border: 1px var(--axa-blue-100);
|
|
112
|
+
--checkbox-card-shadow-color: var(--axa-blue-100);
|
|
113
|
+
--checkbox-card-background-color: var(--axa-blue-4);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
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__label{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)}@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__content{align-items:center;display:flex;gap:1rem;justify-content:center;width:100%}.af-checkbox-card__content>svg{color:var(--checkbox-card-color);height:calc(28/var(--font-size-base)*1rem);width:calc(28/var(--font-size-base)*1rem);fill:var(--checkbox-card-fill)}.af-checkbox-card__content-description{display:flex;flex-direction:column;gap:calc(4/var(--font-size-base)*1rem);line-height:calc(20/var(--font-size-base)*1rem)}.af-checkbox-card__content-description>span:first-child{color:var(--checkbox-card-color);line-height:calc(24/var(--font-size-base)*1rem)}.af-checkbox-card__content-description>span:not(:first-child){color:var(--checkbox-card-color)}.af-checkbox-card~.af-checkbox-card__error,.af-checkbox-card~.af-checkbox-card__error>svg{border:solid var(--color-red-700)}.af-checkbox-card-group--vertical{flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--vertical .af-checkbox-card-label{align-items:var(--checkbox-card-align-items);flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--vertical .af-checkbox-card-label .af-checkbox-card-content{flex-direction:var(--checkbox-card-flex-direction)}.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:left}.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);justify-content:var(--checkbox-card-justify-content)}.af-checkbox-card-group--horizontal .af-checkbox-card-label .af-checkbox-card-content{flex:1 1;flex-direction:var(--checkbox-card-flex-direction);width:100%}.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:center}.af-checkbox-card-group--horizontal,.af-checkbox-card-group--vertical{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)}.af-checkbox-card-group--horizontal .af-checkbox-card-label[aria-invalid=true],.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:not(:first-child),.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:not(:first-child),.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label:hover,.af-checkbox-card-group--vertical .af-checkbox-card-label:hover{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--horizontal .af-checkbox-card-label:has(input:checked),.af-checkbox-card-group--vertical .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}
|
|
@@ -0,0 +1 @@
|
|
|
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,yBAGE,gCAAA,CAFA,6CAAA,CACA,eCHJ,CDOE,+BAIE,gCAAA,CAHA,6CAAA,CACA,eAAA,CACA,+CCJJ,CDOI,uBANF,+BAOI,6CAAA,CACA,+CCJJ,CACF,CDOE,2BAGE,kBAAA,CAFA,YAAA,CAIA,QAAA,CADA,sBAAA,CAFA,UCFJ,CDOI,+BAGE,gCAAA,CADA,0CAAA,CADA,yCAAA,CAGA,8BCLN,CDQI,uCACE,YAAA,CACA,qBAAA,CACA,sCAAA,CACA,+CCNN,CDQM,wDAEE,gCAAA,CADA,+CCLR,CDSM,8DACE,gCCPR,CDeI,0FACE,iCCVN,CDcE,kCACE,kDCZJ,CDcI,0DAEE,4CAAA,CADA,kDCXN,CDcM,oFACE,kDCZR,CDcQ,0HAEE,2CAAA,CADA,kDAAA,CAEA,eCZV,CDkBE,oCACE,kDChBJ,CDkBI,4DAEE,4CAAA,CADA,kDAAA,CAEA,oDChBN,CDkBM,sFAEE,QAAA,CACA,kDAAA,CAFA,UCdR,CDkBQ,4HAEE,2CAAA,CADA,kDAAA,CAEA,iBChBV,CDsBE,sEAGE,mBAAA,CADA,YAAA,CAGA,4CAAA,CACA,iBAAA,CACA,eAAA,CAHA,QAAA,CAIA,+CCrBJ,CDuBI,4JAEE,sDAAA,CADA,wCAAA,CAEA,4DCrBN,CDwBI,sHAME,kBAAA,CAHA,wCAAA,CACA,gDAAA,CAIA,cAAA,CAPA,YAAA,CAIA,QAAA,CAEA,uCAAA,CALA,YChBN,CDwBM,0KAEE,kBAAA,CADA,YAAA,CAEA,sCCtBR,CDwBQ,sPACE,YAAA,CAEA,cAAA,CADA,sBAAA,CAEA,+CCtBV,CDwBU,wRAGE,2CAAA,CAFA,6CAAA,CACA,eCrBZ,CDwBY,uBALF,wRAMI,6CAAA,CACA,eCrBZ,CACF,CDwBU,oSAGE,2CAAA,CAFA,6CAAA,CACA,eCrBZ,CDwBY,uBALF,oSAMI,6CAAA,CACA,eCrBZ,CACF,CD0BM,kIAEE,sDAAA,CADA,wCAAA,CAEA,4DCxBR,CD4BI,4JAEE,sDAAA,CADA,wCAAA,CAEA,4DC1BN","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 &__label {\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 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 &__content {\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n gap: 1rem;\n\n & > svg {\n width: calc(28 / var(--font-size-base) * 1rem);\n height: calc(28 / var(--font-size-base) * 1rem);\n color: var(--checkbox-card-color);\n fill: var(--checkbox-card-fill);\n }\n\n &-description {\n display: flex;\n flex-direction: column;\n gap: calc(4 / var(--font-size-base) * 1rem);\n line-height: calc(20 / var(--font-size-base) * 1rem);\n\n & > span:first-child {\n line-height: calc(24 / var(--font-size-base) * 1rem);\n color: var(--checkbox-card-color);\n }\n\n & > span:not(:first-child) {\n color: var(--checkbox-card-color);\n }\n }\n }\n\n & ~ &__error {\n border: solid var(--color-red-700);\n\n & > svg {\n border: solid var(--color-red-700);\n }\n }\n\n &-group--vertical {\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 &-group--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 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 &-group--vertical,\n &-group--horizontal {\n display: flex;\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\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 background-color: var(--checkbox-card-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n }\n }\n\n .af-checkbox-card-label: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 }\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 &__label {\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 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 &__content {\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n gap: 1rem;\n\n & > svg {\n width: calc(28 / var(--font-size-base) * 1rem);\n height: calc(28 / var(--font-size-base) * 1rem);\n color: var(--checkbox-card-color);\n fill: var(--checkbox-card-fill);\n }\n\n &-description {\n display: flex;\n flex-direction: column;\n gap: calc(4 / var(--font-size-base) * 1rem);\n line-height: calc(20 / var(--font-size-base) * 1rem);\n\n & > span:first-child {\n line-height: calc(24 / var(--font-size-base) * 1rem);\n color: var(--checkbox-card-color);\n }\n\n & > span:not(:first-child) {\n color: var(--checkbox-card-color);\n }\n }\n }\n\n & ~ &__error {\n border: solid var(--color-red-700);\n\n & > svg {\n border: solid var(--color-red-700);\n }\n }\n\n &-group--vertical {\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 &-group--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 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 &-group--vertical,\n &-group--horizontal {\n display: flex;\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\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 background-color: var(--checkbox-card-background-color);\n box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;\n }\n }\n\n .af-checkbox-card-label: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 }\n}\n"]}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
@use "../../../common/breakpoints" as breakpoints;
|
|
2
|
+
|
|
3
|
+
.af-checkbox-card {
|
|
4
|
+
&__container {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: 1rem;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&__label-container {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
row-gap: calc(4 / var(--font-size-base) * 1rem);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__label {
|
|
17
|
+
font-size: calc(18 / var(--font-size-base) * 1rem);
|
|
18
|
+
font-weight: 600;
|
|
19
|
+
color: var(--checkbox-card-color);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__description {
|
|
23
|
+
font-size: calc(16 / var(--font-size-base) * 1rem);
|
|
24
|
+
font-weight: 400;
|
|
25
|
+
line-height: calc(16 / var(--font-size-base) * 1rem);
|
|
26
|
+
color: var(--checkbox-card-color);
|
|
27
|
+
|
|
28
|
+
@media (width > #{breakpoints.$breakpoint-sm}) {
|
|
29
|
+
font-size: calc(18 / var(--font-size-base) * 1rem);
|
|
30
|
+
line-height: calc(18 / var(--font-size-base) * 1rem);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__content {
|
|
35
|
+
display: flex;
|
|
36
|
+
width: 100%;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
gap: 1rem;
|
|
40
|
+
|
|
41
|
+
& > svg {
|
|
42
|
+
width: calc(28 / var(--font-size-base) * 1rem);
|
|
43
|
+
height: calc(28 / var(--font-size-base) * 1rem);
|
|
44
|
+
color: var(--checkbox-card-color);
|
|
45
|
+
fill: var(--checkbox-card-fill);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-description {
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
gap: calc(4 / var(--font-size-base) * 1rem);
|
|
52
|
+
line-height: calc(20 / var(--font-size-base) * 1rem);
|
|
53
|
+
|
|
54
|
+
& > span:first-child {
|
|
55
|
+
line-height: calc(24 / var(--font-size-base) * 1rem);
|
|
56
|
+
color: var(--checkbox-card-color);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
& > span:not(:first-child) {
|
|
60
|
+
color: var(--checkbox-card-color);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
& ~ &__error {
|
|
66
|
+
border: solid var(--color-red-700);
|
|
67
|
+
|
|
68
|
+
& > svg {
|
|
69
|
+
border: solid var(--color-red-700);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&-group--vertical {
|
|
74
|
+
flex-direction: var(--checkbox-card-flex-direction);
|
|
75
|
+
|
|
76
|
+
.af-checkbox-card-label {
|
|
77
|
+
flex-direction: var(--checkbox-card-flex-direction);
|
|
78
|
+
align-items: var(--checkbox-card-align-items);
|
|
79
|
+
|
|
80
|
+
.af-checkbox-card-content {
|
|
81
|
+
flex-direction: var(--checkbox-card-flex-direction);
|
|
82
|
+
|
|
83
|
+
.af-checkbox-card-content-description {
|
|
84
|
+
flex-direction: var(--checkbox-card-flex-direction);
|
|
85
|
+
align-items: var(--checkbox-card-align-item);
|
|
86
|
+
text-align: left;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&-group--horizontal {
|
|
93
|
+
flex-direction: var(--checkbox-card-flex-direction);
|
|
94
|
+
|
|
95
|
+
.af-checkbox-card-label {
|
|
96
|
+
flex-direction: var(--checkbox-card-flex-direction);
|
|
97
|
+
align-items: var(--checkbox-card-align-items);
|
|
98
|
+
justify-content: var(--checkbox-card-justify-content);
|
|
99
|
+
|
|
100
|
+
.af-checkbox-card-content {
|
|
101
|
+
width: 100%;
|
|
102
|
+
flex: 1;
|
|
103
|
+
flex-direction: var(--checkbox-card-flex-direction);
|
|
104
|
+
|
|
105
|
+
.af-checkbox-card-content-description {
|
|
106
|
+
flex-direction: var(--checkbox-card-flex-direction);
|
|
107
|
+
align-items: var(--checkbox-card-align-item);
|
|
108
|
+
text-align: center;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&-group--vertical,
|
|
115
|
+
&-group--horizontal {
|
|
116
|
+
display: flex;
|
|
117
|
+
align-items: stretch;
|
|
118
|
+
gap: 1rem;
|
|
119
|
+
font-family: var(--checkbox-card-font-family);
|
|
120
|
+
font-style: normal;
|
|
121
|
+
font-weight: 400;
|
|
122
|
+
line-height: calc(20 / var(--font-size-base) * 1rem);
|
|
123
|
+
|
|
124
|
+
.af-checkbox-card-label[aria-invalid="true"] {
|
|
125
|
+
border: solid var(--checkbox-card-border);
|
|
126
|
+
background-color: var(--checkbox-card-background-color);
|
|
127
|
+
box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.af-checkbox-card-label {
|
|
131
|
+
display: flex;
|
|
132
|
+
padding: 1rem;
|
|
133
|
+
border: solid var(--checkbox-card-border);
|
|
134
|
+
border-radius: var(--checkbox-card-border-radius);
|
|
135
|
+
flex: 1;
|
|
136
|
+
align-self: stretch;
|
|
137
|
+
gap: calc(12 / var(--font-size-base) * 1rem);
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
|
|
140
|
+
.af-checkbox-card-content {
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
gap: calc(4 / var(--font-size-base) * 1rem);
|
|
144
|
+
|
|
145
|
+
.af-checkbox-card-content-description {
|
|
146
|
+
display: flex;
|
|
147
|
+
justify-content: center;
|
|
148
|
+
font-size: 1rem;
|
|
149
|
+
line-height: calc(20 / var(--font-size-base) * 1rem);
|
|
150
|
+
|
|
151
|
+
& > span:first-child {
|
|
152
|
+
font-size: calc(18 / var(--font-size-base) * 1rem);
|
|
153
|
+
font-weight: 400;
|
|
154
|
+
color: var(--checkbox-card-label-text-color);
|
|
155
|
+
|
|
156
|
+
@media (width < #{breakpoints.$breakpoint-sm}) {
|
|
157
|
+
font-size: calc(16 / var(--font-size-base) * 1rem);
|
|
158
|
+
font-weight: 400;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
& > span:not(:first-child) {
|
|
163
|
+
font-size: calc(16 / var(--font-size-base) * 1rem);
|
|
164
|
+
font-weight: 400;
|
|
165
|
+
color: var(--checkbox-card-label-text-color);
|
|
166
|
+
|
|
167
|
+
@media (width < #{breakpoints.$breakpoint-sm}) {
|
|
168
|
+
font-size: calc(14 / var(--font-size-base) * 1rem);
|
|
169
|
+
font-weight: 400;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&:hover {
|
|
176
|
+
border: solid var(--checkbox-card-border);
|
|
177
|
+
background-color: var(--checkbox-card-background-color);
|
|
178
|
+
box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.af-checkbox-card-label:has(input:checked) {
|
|
183
|
+
border: solid var(--checkbox-card-border);
|
|
184
|
+
background-color: var(--checkbox-card-background-color);
|
|
185
|
+
box-shadow: 0 0 0 1px var(--checkbox-card-shadow-color) inset;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
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__label{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)}@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__content{align-items:center;display:flex;gap:1rem;justify-content:center;width:100%}.af-checkbox-card__content>svg{color:var(--checkbox-card-color);height:calc(28/var(--font-size-base)*1rem);width:calc(28/var(--font-size-base)*1rem);fill:var(--checkbox-card-fill)}.af-checkbox-card__content-description{display:flex;flex-direction:column;gap:calc(4/var(--font-size-base)*1rem);line-height:calc(20/var(--font-size-base)*1rem)}.af-checkbox-card__content-description>span:first-child{color:var(--checkbox-card-color);line-height:calc(24/var(--font-size-base)*1rem)}.af-checkbox-card__content-description>span:not(:first-child){color:var(--checkbox-card-color)}.af-checkbox-card~.af-checkbox-card__error,.af-checkbox-card~.af-checkbox-card__error>svg{border:solid var(--color-red-700)}.af-checkbox-card-group--vertical{flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--vertical .af-checkbox-card-label{align-items:var(--checkbox-card-align-items);flex-direction:var(--checkbox-card-flex-direction)}.af-checkbox-card-group--vertical .af-checkbox-card-label .af-checkbox-card-content{flex-direction:var(--checkbox-card-flex-direction)}.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:left}.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);justify-content:var(--checkbox-card-justify-content)}.af-checkbox-card-group--horizontal .af-checkbox-card-label .af-checkbox-card-content{flex:1 1;flex-direction:var(--checkbox-card-flex-direction);width:100%}.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:center}.af-checkbox-card-group--horizontal,.af-checkbox-card-group--vertical{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)}.af-checkbox-card-group--horizontal .af-checkbox-card-label[aria-invalid=true],.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child,.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:not(:first-child),.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:not(:first-child),.af-checkbox-card-group--vertical .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--horizontal .af-checkbox-card-label:hover,.af-checkbox-card-group--vertical .af-checkbox-card-label:hover{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--horizontal .af-checkbox-card-label:has(input:checked),.af-checkbox-card-group--vertical .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__label-container{--font-size-base:calc(16/var(--font-size-base)*1rem)}.af-checkbox-card__label{--checkbox-card-color:var(--color-gray-900)}.af-checkbox-card__description{--checkbox-card-color:var(--color-gray-700)}.af-checkbox-card__content>svg{--checkbox-card-color:var(--color-axa);--checkbox-card-fill:var(--color-axa)}.af-checkbox-card__content-description>span:first-child{--checkbox-card-color:var(--color-gray-900)}.af-checkbox-card__content-description>span:not(:first-child){--checkbox-card-color:var(--color-gray-700)}.af-checkbox-card~.af-checkbox-card__error{--error-box-color:var(--color-red-700)}.af-checkbox-card~.af-checkbox-card__error>svg{--error-box-color:var(--color-red-700);--error-box-fill:var(--color-red-700)}.af-checkbox-card-group--vertical{--checkbox-card-flex-direction:column}.af-checkbox-card-group--vertical .af-checkbox-card-label{--checkbox-card-flex-direction:row;--checkbox-card-align-items:center}.af-checkbox-card-group--vertical .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--vertical .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--horizontal{--checkbox-card-flex-direction:row}.af-checkbox-card-group--horizontal .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--horizontal .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--horizontal .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--horizontal .af-checkbox-card-label[aria-invalid=true],.af-checkbox-card-group--vertical .af-checkbox-card-label[aria-invalid=true]{--checkbox-card-background-color:var(--color-white);--checkbox-card-border:2px var(--color-red-700);--checkbox-card-shadow-color:var(--color-red-700)}.af-checkbox-card-group--horizontal .af-checkbox-card-label,.af-checkbox-card-group--vertical .af-checkbox-card-label{--checkbox-card-border:2px var(--color-gray-700);--checkbox-card-border-radius:calc(6/var(--font-size-base)*1rem)}.af-checkbox-card-group--horizontal .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child,.af-checkbox-card-group--vertical .af-checkbox-card-label .af-checkbox-card-content .af-checkbox-card-content-description>span:first-child{--checkbox-card-label-text-color:var(--color-black)}.af-checkbox-card-group--horizontal .af-checkbox-card-label:hover,.af-checkbox-card-group--vertical .af-checkbox-card-label:hover{--checkbox-card-border:2px var(--color-axa);--checkbox-card-shadow-color:var(--color-axa);--checkbox-card-background-color:var(--color-white)}.af-checkbox-card-group--horizontal .af-checkbox-card-label:has(input:checked),.af-checkbox-card-group--vertical .af-checkbox-card-label:has(input:checked){--checkbox-card-border:2px var(--color-axa);--checkbox-card-shadow-color:var(--color-axa);--checkbox-card-background-color:var(--color-blue-2)}
|