@axa-fr/design-system-look-and-feel-css 0.2.0-beta.306
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/Accordion/Accordion.css +1 -0
- package/dist/Accordion/Accordion.css.map +1 -0
- package/dist/Accordion/Accordion.scss +74 -0
- package/dist/Alert/Alert.css +1 -0
- package/dist/Alert/Alert.css.map +1 -0
- package/dist/Alert/Alert.scss +104 -0
- package/dist/Button/Button.css +1 -0
- package/dist/Button/Button.css.map +1 -0
- package/dist/Button/Button.scss +148 -0
- package/dist/Card/Card.css +1 -0
- package/dist/Card/Card.css.map +1 -0
- package/dist/Card/Card.scss +48 -0
- package/dist/Form/Checkbox/Checkbox.css +1 -0
- package/dist/Form/Checkbox/Checkbox.css.map +1 -0
- package/dist/Form/Checkbox/Checkbox.scss +218 -0
- package/dist/Form/FileUpload/FileUpload.css +1 -0
- package/dist/Form/FileUpload/FileUpload.css.map +1 -0
- package/dist/Form/FileUpload/FileUpload.scss +191 -0
- package/dist/Form/InputError/InputError.css +1 -0
- package/dist/Form/InputError/InputError.css.map +1 -0
- package/dist/Form/InputError/InputError.scss +19 -0
- package/dist/Form/Radio/Radio.css +1 -0
- package/dist/Form/Radio/Radio.css.map +1 -0
- package/dist/Form/Radio/Radio.scss +221 -0
- package/dist/Form/Select/Select.css +1 -0
- package/dist/Form/Select/Select.css.map +1 -0
- package/dist/Form/Select/Select.scss +116 -0
- package/dist/Form/Text/Text.css +1 -0
- package/dist/Form/Text/Text.css.map +1 -0
- package/dist/Form/Text/Text.scss +56 -0
- package/dist/Form/core/FormCore.css +0 -0
- package/dist/Form/core/FormCore.scss +1 -0
- package/dist/IconBg/IconBg.css +1 -0
- package/dist/IconBg/IconBg.css.map +1 -0
- package/dist/IconBg/IconBg.scss +38 -0
- package/dist/Layout/Footer/Footer.css +1 -0
- package/dist/Layout/Footer/Footer.css.map +1 -0
- package/dist/Layout/Footer/Footer.scss +173 -0
- package/dist/Layout/Header/Header.css +1 -0
- package/dist/Layout/Header/Header.css.map +1 -0
- package/dist/Layout/Header/Header.scss +84 -0
- package/dist/Layout/Header/NavBar/NavBar.css +1 -0
- package/dist/Layout/Header/NavBar/NavBar.css.map +1 -0
- package/dist/Layout/Header/NavBar/NavBar.scss +50 -0
- package/dist/Layout/Header/PreviousLink/PreviousLink.css +1 -0
- package/dist/Layout/Header/PreviousLink/PreviousLink.css.map +1 -0
- package/dist/Layout/Header/PreviousLink/PreviousLink.scss +42 -0
- package/dist/Link/Link.css +1 -0
- package/dist/Link/Link.css.map +1 -0
- package/dist/Link/Link.scss +44 -0
- package/dist/List/ClickList/ClickList.css +1 -0
- package/dist/List/ClickList/ClickList.css.map +1 -0
- package/dist/List/ClickList/ClickList.scss +228 -0
- package/dist/List/ContentItemDuo/ContentItemDuo.css +1 -0
- package/dist/List/ContentItemDuo/ContentItemDuo.css.map +1 -0
- package/dist/List/ContentItemDuo/ContentItemDuo.scss +168 -0
- package/dist/List/ContentItemMono/ContentItemMono.css +1 -0
- package/dist/List/ContentItemMono/ContentItemMono.css.map +1 -0
- package/dist/List/ContentItemMono/ContentItemMono.scss +188 -0
- package/dist/List/ContentTabList/ContentTabList.css +1 -0
- package/dist/List/ContentTabList/ContentTabList.css.map +1 -0
- package/dist/List/ContentTabList/ContentTabList.scss +161 -0
- package/dist/List/List.css +1 -0
- package/dist/List/List.css.map +1 -0
- package/dist/List/List.scss +53 -0
- package/dist/Loader/Loader.css +1 -0
- package/dist/Loader/Loader.css.map +1 -0
- package/dist/Loader/Loader.scss +26 -0
- package/dist/Modal/Modal.css +1 -0
- package/dist/Modal/Modal.css.map +1 -0
- package/dist/Modal/Modal.scss +128 -0
- package/dist/Pagination/Pagination.css +1 -0
- package/dist/Pagination/Pagination.css.map +1 -0
- package/dist/Pagination/Pagination.scss +8 -0
- package/dist/Pagination/PaginationDesktop.css +1 -0
- package/dist/Pagination/PaginationDesktop.css.map +1 -0
- package/dist/Pagination/PaginationDesktop.scss +68 -0
- package/dist/Pagination/PaginationMobile.css +1 -0
- package/dist/Pagination/PaginationMobile.css.map +1 -0
- package/dist/Pagination/PaginationMobile.scss +35 -0
- package/dist/Stepper/Stepper.css +1 -0
- package/dist/Stepper/Stepper.css.map +1 -0
- package/dist/Stepper/Stepper.scss +53 -0
- package/dist/Tabs/Tabs.css +1 -0
- package/dist/Tabs/Tabs.css.map +1 -0
- package/dist/Tabs/Tabs.scss +63 -0
- package/dist/Tag/Tag.css +1 -0
- package/dist/Tag/Tag.css.map +1 -0
- package/dist/Tag/Tag.scss +48 -0
- package/dist/Title/Title.css +1 -0
- package/dist/Title/Title.css.map +1 -0
- package/dist/Title/Title.scss +76 -0
- package/dist/common/assets/logo-axa.svg +40 -0
- package/dist/common/common.css +0 -0
- package/dist/common/common.scss +107 -0
- package/dist/common/glyphicons/icons.eot +0 -0
- package/dist/common/glyphicons/icons.svg +918 -0
- package/dist/common/glyphicons/icons.ttf +0 -0
- package/dist/common/glyphicons/icons.woff +0 -0
- package/dist/common/grid.css +1 -0
- package/dist/common/grid.css.map +1 -0
- package/dist/common/grid.scss +1029 -0
- package/dist/common/icons.css +1 -0
- package/dist/common/icons.css.map +1 -0
- package/dist/common/icons.scss +1236 -0
- package/dist/common/reboot.css +1 -0
- package/dist/common/reboot.css.map +1 -0
- package/dist/common/reboot.scss +337 -0
- package/dist/look-and-feel.css +1 -0
- package/dist/look-and-feel.css.map +1 -0
- package/dist/look-and-feel.scss +27 -0
- package/package.json +108 -0
@@ -0,0 +1,218 @@
|
|
1
|
+
@use "../../common/common" as common;
|
2
|
+
|
3
|
+
.af-checkbox {
|
4
|
+
font-family: "Source Sans Pro", arial, sans-serif;
|
5
|
+
|
6
|
+
* {
|
7
|
+
box-sizing: border-box;
|
8
|
+
}
|
9
|
+
|
10
|
+
&__content {
|
11
|
+
display: flex;
|
12
|
+
align-items: center;
|
13
|
+
justify-content: center;
|
14
|
+
gap: 1rem;
|
15
|
+
|
16
|
+
& > svg {
|
17
|
+
width: 1.75rem;
|
18
|
+
height: 1.75rem;
|
19
|
+
color: common.$color-axa;
|
20
|
+
fill: common.$color-axa;
|
21
|
+
}
|
22
|
+
|
23
|
+
& &-description {
|
24
|
+
display: flex;
|
25
|
+
flex-direction: column;
|
26
|
+
gap: 0.25rem;
|
27
|
+
line-height: 1.25rem;
|
28
|
+
|
29
|
+
& > span:first-child {
|
30
|
+
line-height: 1.4rem;
|
31
|
+
color: common.$color-gray-900;
|
32
|
+
}
|
33
|
+
|
34
|
+
& > span:not(:first-child) {
|
35
|
+
color: common.$color-gray-700;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
&-select--horizontal &__content {
|
41
|
+
flex-direction: column;
|
42
|
+
gap: 0.5rem;
|
43
|
+
}
|
44
|
+
|
45
|
+
&__group-description {
|
46
|
+
font-size: 1rem;
|
47
|
+
line-height: 1.25rem;
|
48
|
+
}
|
49
|
+
|
50
|
+
& ~ &__error {
|
51
|
+
display: flex;
|
52
|
+
margin-left: 3.2rem;
|
53
|
+
align-items: center;
|
54
|
+
gap: 0.5rem;
|
55
|
+
font-family: "Source Sans Pro", arial, sans-serif;
|
56
|
+
line-height: 1.25rem;
|
57
|
+
color: common.$color-red-700;
|
58
|
+
|
59
|
+
& > svg {
|
60
|
+
color: common.$color-red-700;
|
61
|
+
fill: common.$color-red-700;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
&-select ~ &__error {
|
66
|
+
margin: 1rem 0 0;
|
67
|
+
}
|
68
|
+
|
69
|
+
& label {
|
70
|
+
display: flex;
|
71
|
+
margin: 0;
|
72
|
+
border-radius: common.$default-border-radius;
|
73
|
+
align-items: center;
|
74
|
+
gap: 0.75rem;
|
75
|
+
cursor: pointer;
|
76
|
+
}
|
77
|
+
|
78
|
+
&-select label {
|
79
|
+
height: 6.4rem;
|
80
|
+
padding: 1rem;
|
81
|
+
align-items: center;
|
82
|
+
box-shadow: 0 0 0 1px var(--box-shadow-color) inset;
|
83
|
+
|
84
|
+
--box-shadow-color: #{common.$color-gray};
|
85
|
+
}
|
86
|
+
|
87
|
+
&-select--horizontal label {
|
88
|
+
position: relative;
|
89
|
+
width: 12rem;
|
90
|
+
height: auto;
|
91
|
+
padding: 1rem;
|
92
|
+
flex-direction: column;
|
93
|
+
justify-content: flex-start;
|
94
|
+
gap: 0;
|
95
|
+
text-align: center;
|
96
|
+
|
97
|
+
& .af-checkbox__icons {
|
98
|
+
position: absolute;
|
99
|
+
top: 1rem;
|
100
|
+
left: 1rem;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
& label input[type="checkbox"] {
|
105
|
+
position: absolute;
|
106
|
+
margin-right: 0.5rem;
|
107
|
+
opacity: 0;
|
108
|
+
|
109
|
+
& ~ .af-checkbox__icons {
|
110
|
+
display: flex;
|
111
|
+
align-items: center;
|
112
|
+
gap: 0.75rem;
|
113
|
+
|
114
|
+
& .af-checkbox__checked,
|
115
|
+
& .af-checkbox__unchecked {
|
116
|
+
width: 1.75rem;
|
117
|
+
height: 1.75rem;
|
118
|
+
align-items: center;
|
119
|
+
}
|
120
|
+
|
121
|
+
& .af-checkbox__checked {
|
122
|
+
display: none;
|
123
|
+
}
|
124
|
+
|
125
|
+
& .af-checkbox__unchecked {
|
126
|
+
color: common.$color-gray-700;
|
127
|
+
fill: common.$color-gray-700;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
& label:has(input[type="checkbox"][aria-invalid="true"]) {
|
133
|
+
& .af-checkbox__checked,
|
134
|
+
& .af-checkbox__unchecked {
|
135
|
+
color: common.$color-red-700;
|
136
|
+
fill: common.$color-red-700;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
& label:has(input[type="checkbox"]:checked) {
|
141
|
+
& .af-checkbox__checked {
|
142
|
+
display: block;
|
143
|
+
color: common.$color-axa;
|
144
|
+
fill: common.$color-axa;
|
145
|
+
}
|
146
|
+
|
147
|
+
& .af-checkbox__unchecked {
|
148
|
+
display: none;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
&-select label:has(input[type="checkbox"]:checked) {
|
153
|
+
background-color: common.$color-blue-2;
|
154
|
+
box-shadow: 0 0 0 2px common.$color-axa inset;
|
155
|
+
}
|
156
|
+
|
157
|
+
& label:has(input[type="checkbox"]:disabled) {
|
158
|
+
cursor: default;
|
159
|
+
|
160
|
+
& .af-checkbox__content > svg,
|
161
|
+
& .af-checkbox__checked,
|
162
|
+
& .af-checkbox__unchecked {
|
163
|
+
color: common.$color-btn-disabled-text;
|
164
|
+
fill: common.$color-btn-disabled-text;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
&-select label:has(input[type="checkbox"]:disabled) {
|
169
|
+
color: common.$color-btn-disabled-text;
|
170
|
+
background-color: common.$color-gray-200;
|
171
|
+
box-shadow: 0 0 0 1px var(--box-shadow-color) inset;
|
172
|
+
|
173
|
+
--box-shadow-color: #{common.$color-gray-400};
|
174
|
+
}
|
175
|
+
|
176
|
+
&-select label:has(input[type="checkbox"][aria-invalid="true"]) {
|
177
|
+
--box-shadow-color: #{common.$color-red-700};
|
178
|
+
|
179
|
+
box-shadow: 0 0 0 2px var(--box-shadow-color) inset;
|
180
|
+
}
|
181
|
+
|
182
|
+
& label input[type="checkbox"]:focus-visible ~ .af-checkbox__icons {
|
183
|
+
& .af-checkbox__unchecked,
|
184
|
+
& .af-checkbox__checked {
|
185
|
+
outline: 2px solid common.$color-blue-3;
|
186
|
+
outline-offset: 3px;
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
& label:hover:not(:has(input[type="checkbox"]:disabled)) {
|
191
|
+
& .af-checkbox__unchecked {
|
192
|
+
color: common.$color-axa;
|
193
|
+
fill: common.$color-axa;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
&-select label:hover:not(:has(input[type="checkbox"]:disabled)) {
|
198
|
+
--box-shadow-color: #{common.$color-axa};
|
199
|
+
|
200
|
+
box-shadow: 0 0 0 1px var(--box-shadow-color) inset;
|
201
|
+
}
|
202
|
+
|
203
|
+
&-select {
|
204
|
+
display: flex;
|
205
|
+
margin-top: 1rem;
|
206
|
+
flex-direction: column;
|
207
|
+
gap: 1rem;
|
208
|
+
font-family: common.$font-family-base;
|
209
|
+
font-style: normal;
|
210
|
+
font-weight: 400;
|
211
|
+
line-height: 1.25rem;
|
212
|
+
color: common.$color-gray-700;
|
213
|
+
|
214
|
+
&--horizontal {
|
215
|
+
flex-direction: row;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
.af-form__group--label{color:#333;font-size:1.125rem;font-weight:600}.af-form__file-input{align-items:center;background-color:#fff;border:2px dashed #00008f;border-radius:8px;color:#333;cursor:pointer;display:flex;flex-direction:column;font-weight:400;justify-content:space-between;margin-bottom:.6rem;margin-top:.5rem;padding:1rem 1rem 2rem;position:relative;text-align:center}.af-form__file-input.is-mobile{padding-bottom:1rem}.af-form__file-input:hover{border-color:#5f5f5f}.af-form__file-input--error{border-color:#c91432}.af-form__file-input input{bottom:0;cursor:pointer;left:0;opacity:0;position:absolute;top:0;width:100%}.af-form__file-input-dropdown-text{line-height:5px;padding-top:1rem}.af-form__file-input-help{color:#5f5f5f;font-size:1rem;font-weight:400}.af-form__file-input-icon path{fill:#00008f}.af-form__file-input .af-btn-client{width:50%}.af-form__file-list{display:flex;flex-wrap:wrap;font-size:.9rem;list-style:none;margin-top:1.125rem;padding:0}.af-form__file-title-container{align-items:center;display:flex;gap:.5rem;justify-content:center}.af-form__file-title-container-icon-error path{fill:#c91432}.af-form__file-title-container-icon-success path{fill:#118635}.af-form__file-title{align-items:center;display:flex;gap:.5rem}.af-form__file-title>div{display:flex;flex-direction:column}.af-form__file-name{color:#333;font-size:1.125rem}.af-form__file-size{color:#5f5f5f;font-size:1rem}.af-form__file-error{align-items:center;color:#c91432;display:flex;font-size:1rem;gap:.25rem;margin-bottom:.9rem;margin-top:-.9rem}.af-form__file-error-icon path{fill:#c91432}.af-form__file-line{width:100%}.af-form__file-line-container{align-items:center;background:#fff;border:1px solid #5f5f5f;border-radius:4px;display:flex;justify-content:space-between;margin-bottom:1rem;padding:1rem}.af-form__file-line-container--error{border-color:#c91432}.af-form__file-actions{align-items:baseline;cursor:pointer;display:flex;gap:1rem;justify-content:center}.af-form__file-actions-icon path{fill:#5f5f5f}.is-mobile .af-form__file-input-dropdown-text{display:none}.is-mobile .af-btn-client{width:100%}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/Form/FileUpload/FileUpload.scss%23sass","../../../src/Form/FileUpload/FileUpload.scss","../../../src/common/common.scss"],"names":[],"mappings":"AAII,uBAGE,UAAA,CAFA,kBAAA,CCHN,eAEA,CDQI,qBAUE,kBAAA,CAKA,qBEnBQ,CFWR,yBAAA,CACA,iBAAA,CAMA,UAAA,CAEA,cAAA,CAdA,YAAA,CAOA,qBAAA,CAGA,eAAA,CADA,6BAAA,CAPA,mBAAA,CADA,gBAAA,CAGA,sBAAA,CALA,iBAAA,CAYA,iBCHN,CDQM,+BACE,mBCNR,CDSM,2BACE,oBCPR,CDUM,4BACE,oBCRR,CDWM,2BAGE,QAAA,CAIA,cAAA,CAHA,MAAA,CAEA,SAAA,CALA,iBAAA,CACA,KAAA,CAGA,UCPR,CDYM,mCAEE,eAAA,CADA,gBCTR,CDaM,0BAGE,aAAA,CAFA,cAAA,CACA,eCVR,CDeQ,+BACE,YCbV,CDiBM,oCACE,SCfR,CDmBI,oBACE,YAAA,CAGA,cAAA,CACA,eAAA,CACA,eAAA,CAJA,mBAAA,CACA,SCdN,CDoBI,+BAEE,kBAAA,CADA,YAAA,CAGA,SAAA,CADA,sBCjBN,CDsBU,+CACE,YCpBZ,CDyBU,iDACE,YCvBZ,CD6BI,qBAEE,kBAAA,CADA,YAAA,CAEA,SC3BN,CD6BM,yBACE,YAAA,CACA,qBC3BR,CD+BI,oBAEE,UAAA,CADA,kBC5BN,CDgCI,oBAEE,aEzFW,CFwFX,cC7BN,CDiCI,qBAIE,kBAAA,CAGA,aAAA,CANA,YAAA,CAKA,cAAA,CADA,UAAA,CAFA,mBAAA,CADA,iBC1BN,CDkCQ,+BACE,YChCV,CDqCI,oBACE,UCnCN,CDqCM,8BAME,kBAAA,CAEA,eAAA,CAJA,wBAAA,CACA,iBAAA,CAJA,YAAA,CAMA,6BAAA,CALA,kBAAA,CACA,YC9BR,CDqCQ,qCACE,oBCnCV,CDwCI,uBAEE,oBAAA,CAGA,cAAA,CAJA,YAAA,CAGA,QAAA,CADA,sBCpCN,CDyCQ,iCACE,YCvCV,CDkDQ,8CACE,YC/CV,CDqDE,0BACE,UCnDJ","file":"FileUpload.css","sourcesContent":["@use \"../../common/common\" as common;\n\n.af-form {\n &__group {\n &--label {\n font-size: 1.125rem;\n font-weight: 600;\n color: common.$color-gray-900;\n }\n }\n\n &__file {\n &-input {\n position: relative;\n display: flex;\n margin-top: 0.5rem;\n margin-bottom: 0.6rem;\n padding: 1rem;\n padding-bottom: 2rem;\n border: 2px dashed common.$color-axa;\n border-radius: 8px;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n font-weight: normal;\n text-align: center;\n color: common.$color-gray-900;\n background-color: common.$color-white;\n cursor: pointer;\n\n &.is-mobile {\n padding-bottom: 1rem;\n }\n\n &:hover {\n border-color: common.$color-gray-700;\n }\n\n &--error {\n border-color: common.$color-red-700;\n }\n\n input {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n opacity: 0;\n cursor: pointer;\n }\n\n &-dropdown-text {\n padding-top: 1rem;\n line-height: 5px;\n }\n\n &-help {\n font-size: 1rem;\n font-weight: 400;\n color: common.$color-gray-700;\n }\n\n &-icon {\n path {\n fill: common.$color-axa;\n }\n }\n\n .af-btn-client {\n width: 50%;\n }\n }\n\n &-list {\n display: flex;\n margin-top: 1.125rem;\n padding: 0;\n flex-wrap: wrap;\n font-size: 0.9rem;\n list-style: none;\n }\n\n &-title-container {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n\n &-icon {\n &-error {\n path {\n fill: common.$color-red-700;\n }\n }\n\n &-success {\n path {\n fill: common.$color-green-600;\n }\n }\n }\n }\n\n &-title {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n\n & > div {\n display: flex;\n flex-direction: column;\n }\n }\n\n &-name {\n font-size: 1.125rem;\n color: common.$color-gray-900;\n }\n\n &-size {\n font-size: 1rem;\n color: common.$color-gray-700;\n }\n\n &-error {\n display: flex;\n margin-top: -0.9rem;\n margin-bottom: 0.9rem;\n align-items: center;\n gap: 0.25rem;\n font-size: 1rem;\n color: common.$color-red-700;\n\n &-icon {\n path {\n fill: common.$color-red-700;\n }\n }\n }\n\n &-line {\n width: 100%;\n\n &-container {\n display: flex;\n margin-bottom: 1rem;\n padding: 1rem;\n border: 1px solid common.$color-gray-700;\n border-radius: common.$default-border-radius;\n align-items: center;\n justify-content: space-between;\n background: common.$color-white;\n\n &--error {\n border-color: common.$color-red-700;\n }\n }\n }\n\n &-actions {\n display: flex;\n align-items: baseline;\n justify-content: center;\n gap: 1rem;\n cursor: pointer;\n\n &-icon {\n path {\n fill: common.$color-gray-700;\n }\n }\n }\n }\n}\n\n.is-mobile {\n .af-form {\n &__file {\n &-input {\n &-dropdown-text {\n display: none;\n }\n }\n }\n }\n\n .af-btn-client {\n width: 100%;\n }\n}\n","@use \"../../common/common\" as common;\n\n.af-form {\n &__group {\n &--label {\n font-size: 1.125rem;\n font-weight: 600;\n color: common.$color-gray-900;\n }\n }\n\n &__file {\n &-input {\n position: relative;\n display: flex;\n margin-top: 0.5rem;\n margin-bottom: 0.6rem;\n padding: 1rem;\n padding-bottom: 2rem;\n border: 2px dashed common.$color-axa;\n border-radius: 8px;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n font-weight: normal;\n text-align: center;\n color: common.$color-gray-900;\n background-color: common.$color-white;\n cursor: pointer;\n\n &.is-mobile {\n padding-bottom: 1rem;\n }\n\n &:hover {\n border-color: common.$color-gray-700;\n }\n\n &--error {\n border-color: common.$color-red-700;\n }\n\n input {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n opacity: 0;\n cursor: pointer;\n }\n\n &-dropdown-text {\n padding-top: 1rem;\n line-height: 5px;\n }\n\n &-help {\n font-size: 1rem;\n font-weight: 400;\n color: common.$color-gray-700;\n }\n\n &-icon {\n path {\n fill: common.$color-axa;\n }\n }\n\n .af-btn-client {\n width: 50%;\n }\n }\n\n &-list {\n display: flex;\n margin-top: 1.125rem;\n padding: 0;\n flex-wrap: wrap;\n font-size: 0.9rem;\n list-style: none;\n }\n\n &-title-container {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n\n &-icon {\n &-error {\n path {\n fill: common.$color-red-700;\n }\n }\n\n &-success {\n path {\n fill: common.$color-green-600;\n }\n }\n }\n }\n\n &-title {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n\n & > div {\n display: flex;\n flex-direction: column;\n }\n }\n\n &-name {\n font-size: 1.125rem;\n color: common.$color-gray-900;\n }\n\n &-size {\n font-size: 1rem;\n color: common.$color-gray-700;\n }\n\n &-error {\n display: flex;\n margin-top: -0.9rem;\n margin-bottom: 0.9rem;\n align-items: center;\n gap: 0.25rem;\n font-size: 1rem;\n color: common.$color-red-700;\n\n &-icon {\n path {\n fill: common.$color-red-700;\n }\n }\n }\n\n &-line {\n width: 100%;\n\n &-container {\n display: flex;\n margin-bottom: 1rem;\n padding: 1rem;\n border: 1px solid common.$color-gray-700;\n border-radius: common.$default-border-radius;\n align-items: center;\n justify-content: space-between;\n background: common.$color-white;\n\n &--error {\n border-color: common.$color-red-700;\n }\n }\n }\n\n &-actions {\n display: flex;\n align-items: baseline;\n justify-content: center;\n gap: 1rem;\n cursor: pointer;\n\n &-icon {\n path {\n fill: common.$color-gray-700;\n }\n }\n }\n }\n}\n\n.is-mobile {\n .af-form {\n &__file {\n &-input {\n &-dropdown-text {\n display: none;\n }\n }\n }\n }\n\n .af-btn-client {\n width: 100%;\n }\n}\n","$font-family-sans-serif: \"Source Sans Pro\", arial, sans-serif !default;\n$font-family-serif: georgia, times, \"Times New Roman\", serif !default;\n$font-family-base: $font-family-sans-serif !default;\n$font-family-publico-bold: \"Publico Headline Bold\" !default;\n$font-family-publico: \"Publico Headline\" !default;\n// colors\n\n$color-axa: #00008f !default;\n$color-white: #fff !default;\n$color-black: #000 !default;\n$color-red: #ff1721 !default;\n$color-gray: #5f5f5f !default;\n$color-red-700: #c91432 !default;\n$color-blue-1: #000072 !default;\n$color-blue-2: #f8f8ff !default;\n$color-blue-3: #36f !default;\n$color-btn-light: #3333a5 !default;\n$color-btn-business: #c94e14 !default;\n$color-btn-business-dark: #a8391c !default;\n$color-btn-business-light: #df7e65 !default;\n$color-btn-disabled-text: #999 !default;\n$color-btn-disabled-border: #e5e5e5 !default;\n$color-btn-error-text: #a11028 !default;\n$color-btn-error-bg: #fff3f5 !default;\n$color-btn-tertiary-bg: #eef !default;\n$color-btn-tertiary-bg-darker: #e4e4ff !default;\n$color-btn-tertiary-bg-lighter: #f8f8ff !default;\n$color-oceanBlue: #4976ba !default;\n$color-gray-1: #ccc !default;\n$color-gray-200: #f3f3f3;\n$color-gray-300: #e9ecf2;\n$color-gray-400: #e5e5e5;\n$color-gray-500: #999;\n$color-gray-700: #5f5f5f;\n$color-gray-900: #333 !default;\n$color-green-600: #118635 !default;\n$color-border: #f3f3f3 !default;\n$color-focus: #36f !default;\n\n// others\n\n$default-border-radius: 4px !default;\n\n$transition-duration: 0.2s !default;\n\n// spacing\n\n$sizing-u0: 0 !default;\n$sizing-u05: 0.4rem !default;\n$sizing-u1: 0.8rem !default;\n$sizing-u2: 1.6rem !default;\n$sizing-u3: 2.4rem !default;\n$sizing-u4: 3.2rem !default;\n$sizing-u5: 4rem !default;\n$sizing-u6: 4.8rem !default;\n$sizing-u7: 5.6rem !default;\n$sizing-u8: 6.4rem !default;\n$sizing-u9: 7.2rem !default;\n$sizing-u10: 8rem !default;\n$spacing-u0: 0 !default;\n$spacing-u05: 0.4rem !default;\n$spacing-u1: 0.8rem !default;\n$spacing-u2: 1.6rem !default;\n$spacing-u3: 2.4rem !default;\n$spacing-u4: 3.2rem !default;\n$spacing-u5: 4rem !default;\n$spacing-u6: 4.8rem !default;\n$spacing-u7: 5.6rem !default;\n$spacing-u8: 6.4rem !default;\n$spacing-u9: 7.2rem !default;\n$spacing-u10: 8rem !default;\n$spacing-u11: 8.8rem !default;\n$spacing-u12: 9.6rem !default;\n$spacing-u13: 10.4rem !default;\n$spacing-u14: 11.2rem !default;\n$spacing-u15: 12rem !default;\n$spacing-u16: 12.8rem !default;\n$spacing-u17: 13.6rem !default;\n$spacing-u18: 14.4rem !default;\n$spacing-u19: 15.2rem !default;\n$spacing-u20: 16rem !default;\n$screen-size-668: s !default;\n$screen-size-1024: m !default;\n$screen-size-1200: oldl !default;\n$screen-size-1280: l !default;\n$screen-size-1540: oldxl !default;\n$screen-size-1600: xl !default;\n$screen-size-s: 668px !default;\n$screen-size-m: 1024px !default;\n$screen-size-l: 1280px !default;\n$screen-size-xl: 1600px !default;\n$screen-size-oldl: 1200px !default;\n$screen-size-oldxl: 1540px !default;\n\n$error-custom-border: #d18e8e !default;\n$error-custom-bg: #ffbfbf !default;\n\n$color-alertDanger-colorBorder: #c8b282 !default;\n$color-alertDanger-bgColor: #f1d596 !default;\n\n// breakpoints\n\n$breakpoint-xs: 0 !default;\n$breakpoint-sm: 667px !default;\n$breakpoint-md: 1023px !default;\n$breakpoint-lg: 1279px !default;\n$breakpoint-xl: 1599px !default;\n"]}
|
@@ -0,0 +1,191 @@
|
|
1
|
+
@use "../../common/common" as common;
|
2
|
+
|
3
|
+
.af-form {
|
4
|
+
&__group {
|
5
|
+
&--label {
|
6
|
+
font-size: 1.125rem;
|
7
|
+
font-weight: 600;
|
8
|
+
color: common.$color-gray-900;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
&__file {
|
13
|
+
&-input {
|
14
|
+
position: relative;
|
15
|
+
display: flex;
|
16
|
+
margin-top: 0.5rem;
|
17
|
+
margin-bottom: 0.6rem;
|
18
|
+
padding: 1rem;
|
19
|
+
padding-bottom: 2rem;
|
20
|
+
border: 2px dashed common.$color-axa;
|
21
|
+
border-radius: 8px;
|
22
|
+
flex-direction: column;
|
23
|
+
align-items: center;
|
24
|
+
justify-content: space-between;
|
25
|
+
font-weight: normal;
|
26
|
+
text-align: center;
|
27
|
+
color: common.$color-gray-900;
|
28
|
+
background-color: common.$color-white;
|
29
|
+
cursor: pointer;
|
30
|
+
|
31
|
+
&.is-mobile {
|
32
|
+
padding-bottom: 1rem;
|
33
|
+
}
|
34
|
+
|
35
|
+
&:hover {
|
36
|
+
border-color: common.$color-gray-700;
|
37
|
+
}
|
38
|
+
|
39
|
+
&--error {
|
40
|
+
border-color: common.$color-red-700;
|
41
|
+
}
|
42
|
+
|
43
|
+
input {
|
44
|
+
position: absolute;
|
45
|
+
top: 0;
|
46
|
+
bottom: 0;
|
47
|
+
left: 0;
|
48
|
+
width: 100%;
|
49
|
+
opacity: 0;
|
50
|
+
cursor: pointer;
|
51
|
+
}
|
52
|
+
|
53
|
+
&-dropdown-text {
|
54
|
+
padding-top: 1rem;
|
55
|
+
line-height: 5px;
|
56
|
+
}
|
57
|
+
|
58
|
+
&-help {
|
59
|
+
font-size: 1rem;
|
60
|
+
font-weight: 400;
|
61
|
+
color: common.$color-gray-700;
|
62
|
+
}
|
63
|
+
|
64
|
+
&-icon {
|
65
|
+
path {
|
66
|
+
fill: common.$color-axa;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
.af-btn-client {
|
71
|
+
width: 50%;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
&-list {
|
76
|
+
display: flex;
|
77
|
+
margin-top: 1.125rem;
|
78
|
+
padding: 0;
|
79
|
+
flex-wrap: wrap;
|
80
|
+
font-size: 0.9rem;
|
81
|
+
list-style: none;
|
82
|
+
}
|
83
|
+
|
84
|
+
&-title-container {
|
85
|
+
display: flex;
|
86
|
+
align-items: center;
|
87
|
+
justify-content: center;
|
88
|
+
gap: 0.5rem;
|
89
|
+
|
90
|
+
&-icon {
|
91
|
+
&-error {
|
92
|
+
path {
|
93
|
+
fill: common.$color-red-700;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
&-success {
|
98
|
+
path {
|
99
|
+
fill: common.$color-green-600;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
&-title {
|
106
|
+
display: flex;
|
107
|
+
align-items: center;
|
108
|
+
gap: 0.5rem;
|
109
|
+
|
110
|
+
& > div {
|
111
|
+
display: flex;
|
112
|
+
flex-direction: column;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
&-name {
|
117
|
+
font-size: 1.125rem;
|
118
|
+
color: common.$color-gray-900;
|
119
|
+
}
|
120
|
+
|
121
|
+
&-size {
|
122
|
+
font-size: 1rem;
|
123
|
+
color: common.$color-gray-700;
|
124
|
+
}
|
125
|
+
|
126
|
+
&-error {
|
127
|
+
display: flex;
|
128
|
+
margin-top: -0.9rem;
|
129
|
+
margin-bottom: 0.9rem;
|
130
|
+
align-items: center;
|
131
|
+
gap: 0.25rem;
|
132
|
+
font-size: 1rem;
|
133
|
+
color: common.$color-red-700;
|
134
|
+
|
135
|
+
&-icon {
|
136
|
+
path {
|
137
|
+
fill: common.$color-red-700;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
&-line {
|
143
|
+
width: 100%;
|
144
|
+
|
145
|
+
&-container {
|
146
|
+
display: flex;
|
147
|
+
margin-bottom: 1rem;
|
148
|
+
padding: 1rem;
|
149
|
+
border: 1px solid common.$color-gray-700;
|
150
|
+
border-radius: common.$default-border-radius;
|
151
|
+
align-items: center;
|
152
|
+
justify-content: space-between;
|
153
|
+
background: common.$color-white;
|
154
|
+
|
155
|
+
&--error {
|
156
|
+
border-color: common.$color-red-700;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
&-actions {
|
162
|
+
display: flex;
|
163
|
+
align-items: baseline;
|
164
|
+
justify-content: center;
|
165
|
+
gap: 1rem;
|
166
|
+
cursor: pointer;
|
167
|
+
|
168
|
+
&-icon {
|
169
|
+
path {
|
170
|
+
fill: common.$color-gray-700;
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
.is-mobile {
|
178
|
+
.af-form {
|
179
|
+
&__file {
|
180
|
+
&-input {
|
181
|
+
&-dropdown-text {
|
182
|
+
display: none;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
.af-btn-client {
|
189
|
+
width: 100%;
|
190
|
+
}
|
191
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
.af-input-error{align-items:center;display:flex;gap:.25rem}.af-input-error__icon{color:#c91432;width:1rem;fill:#c91432}.af-input-error__message{color:#c91432;font-family:Source Sans Pro,arial,sans-serif;font-size:1rem}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/Form/InputError/InputError.scss%23sass","../../../src/Form/InputError/InputError.scss"],"names":[],"mappings":"AAEA,gBCAA,kBAAA,CDCE,YAAA,CAEA,UCDF,CDGE,sBAEE,aAAA,CADA,UAAA,CAEA,YCDJ,CDIE,yBAGE,aAAA,CAFA,4CAAA,CACA,cCDJ","file":"InputError.css","sourcesContent":["@use \"../../common/common\" as common;\n\n.af-input-error {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n\n &__icon {\n width: 1rem;\n color: common.$color-red-700;\n fill: common.$color-red-700;\n }\n\n &__message {\n font-family: common.$font-family-base;\n font-size: 1rem;\n color: common.$color-red-700;\n }\n}\n","@use \"../../common/common\" as common;\n\n.af-input-error {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n\n &__icon {\n width: 1rem;\n color: common.$color-red-700;\n fill: common.$color-red-700;\n }\n\n &__message {\n font-family: common.$font-family-base;\n font-size: 1rem;\n color: common.$color-red-700;\n }\n}\n"]}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
@use "../../common/common" as common;
|
2
|
+
|
3
|
+
.af-input-error {
|
4
|
+
display: flex;
|
5
|
+
align-items: center;
|
6
|
+
gap: 0.25rem;
|
7
|
+
|
8
|
+
&__icon {
|
9
|
+
width: 1rem;
|
10
|
+
color: common.$color-red-700;
|
11
|
+
fill: common.$color-red-700;
|
12
|
+
}
|
13
|
+
|
14
|
+
&__message {
|
15
|
+
font-family: common.$font-family-base;
|
16
|
+
font-size: 1rem;
|
17
|
+
color: common.$color-red-700;
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
.af-radio{font-family:Source Sans Pro,arial,sans-serif}.af-radio *{box-sizing:border-box}.af-radio__content{align-items:center;display:flex;gap:1rem;justify-content:center}.af-radio__content>svg{color:#00008f;height:1.75rem;width:1.75rem;fill:#00008f}.af-radio__content .af-radio__content-description{display:flex;flex-direction:column;gap:.25rem;line-height:1.25rem}.af-radio__content .af-radio__content-description>span:first-child{color:#333;font-size:1.125rem;line-height:1.4rem}.af-radio__content .af-radio__content-description>span:not(:first-child){color:#5f5f5f}.af-radio-select--horizontal .af-radio__content{flex-direction:column;gap:.5rem}.af-radio__group-description,.af-radio~.af-radio__error{font-size:1rem;line-height:1.25rem}.af-radio~.af-radio__error{align-items:center;color:#c91432;display:flex;font-family:Source Sans Pro,arial,sans-serif;gap:.5rem;margin-left:3.2rem}.af-radio~.af-radio__error>svg{color:#c91432;height:1rem;width:1rem;fill:#c91432}.af-radio-select~.af-radio__error{margin:1rem 0 0}.af-radio label{align-items:flex-start;border-radius:4px;cursor:pointer;display:flex;gap:.75rem;margin:0}.af-radio-select label{align-items:center;box-shadow:0 0 0 1px var(--box-shadow-color) inset;height:6.4rem;padding:1rem;--box-shadow-color:#5f5f5f}.af-radio[aria-invalid=true] *{color:#c91432;fill:#c91432}.af-radio-select--horizontal label{flex-direction:column;gap:0;height:auto;justify-content:flex-start;padding:1rem;position:relative;text-align:center;width:12rem}.af-radio-select--horizontal label .af-radio__icons{left:1rem;position:absolute;top:1rem}.af-radio-select[aria-invalid=true] label{--box-shadow-color:#c91432;box-shadow:0 0 0 2px var(--box-shadow-color) inset}.af-radio label input[type=radio]{margin-right:.5rem;opacity:0;position:absolute}.af-radio label input[type=radio]~.af-radio__icons{align-items:center;display:flex;gap:.75rem}.af-radio label input[type=radio]~.af-radio__icons .af-radio__checked,.af-radio label input[type=radio]~.af-radio__icons .af-radio__unchecked{align-items:center;height:1.75rem;width:1.75rem}.af-radio label input[type=radio]~.af-radio__icons .af-radio__checked{display:none}.af-radio label input[type=radio]~.af-radio__icons .af-radio__unchecked{color:#5f5f5f;fill:#5f5f5f}.af-radio label:has(input[type=radio]:checked) .af-radio__checked{color:#00008f;display:block;fill:#00008f}.af-radio label:has(input[type=radio]:checked) .af-radio__unchecked{display:none}.af-radio label:has(input[type=radio]:disabled){cursor:default}.af-radio label:has(input[type=radio]:disabled) .af-radio__checked,.af-radio label:has(input[type=radio]:disabled) .af-radio__content>svg,.af-radio label:has(input[type=radio]:disabled) .af-radio__unchecked{color:#999;fill:#999}.af-radio-select[aria-invalid=false] label:has(input[type=radio]:checked){background-color:#f8f8ff;box-shadow:inset 0 0 0 2px #00008f}.af-radio-select[aria-invalid=false] label:has(input[type=radio]:disabled){background-color:#f3f3f3;box-shadow:0 0 0 1px var(--box-shadow-color) inset;color:#999;--box-shadow-color:#e5e5e5}.af-radio label input[type=radio]:focus-visible~.af-radio__icons .af-radio__checked,.af-radio label input[type=radio]:focus-visible~.af-radio__icons .af-radio__unchecked{outline:2px solid #36f;outline-offset:3px}.af-radio label:hover:not(:has(input[type=radio]:disabled)) .af-radio__unchecked{color:#00008f;fill:#00008f}.af-radio-select label:hover:not(:has(input[type=radio]:disabled)){--box-shadow-color:#00008f;box-shadow:0 0 0 1px var(--box-shadow-color) inset}.af-radio-select{color:#5f5f5f;display:flex;flex-direction:column;font-family:Source Sans Pro,arial,sans-serif;font-style:normal;font-weight:400;gap:1rem;line-height:1.25rem;margin-top:1rem}.af-radio-select--horizontal{flex-direction:row}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/Form/Radio/Radio.scss%23sass","../../../src/Form/Radio/Radio.scss","../../../src/common/common.scss"],"names":[],"mappings":"AAEA,UACE,4CCDF,CDGE,YACE,qBCDJ,CDIE,mBAEE,kBAAA,CADA,YAAA,CAGA,QAAA,CADA,sBCDJ,CDII,uBAGE,aAAA,CADA,cAAA,CADA,aAAA,CAGA,YCFN,CDKI,kDACE,YAAA,CACA,qBAAA,CACA,UAAA,CACA,mBCHN,CDKM,mEAGE,UEGS,CFLT,kBAAA,CACA,kBCFR,CDMM,yEACE,aCJR,CDSE,gDACE,qBAAA,CACA,SCPJ,CDeE,wDAJE,cAAA,CACA,mBCEJ,CDCE,2BAGE,kBAAA,CAKA,aAAA,CAPA,YAAA,CAIA,4CAAA,CADA,SAAA,CAFA,kBCHJ,CDWI,+BAGE,aAAA,CADA,WAAA,CADA,UAAA,CAGA,YCTN,CDaE,kCACE,eCXJ,CDcE,gBAIE,sBAAA,CADA,iBElCoB,CFqCpB,cAAA,CALA,YAAA,CAIA,UAAA,CAHA,QCRJ,CDeE,uBAGE,kBAAA,CACA,kDAAA,CAHA,aAAA,CACA,YAAA,CAIA,0BCdJ,CDkBI,+BACE,aAAA,CACA,YChBN,CDoBE,mCAKE,qBAAA,CAEA,KAAA,CAJA,WAAA,CAGA,0BAAA,CAFA,YAAA,CAHA,iBAAA,CAOA,iBAAA,CANA,WCZJ,CDoBI,oDAGE,SAAA,CAFA,iBAAA,CACA,QCjBN,CDsBE,0CACE,0BAAA,CAEA,kDCrBJ,CDwBE,kCAEE,kBAAA,CACA,SAAA,CAFA,iBCpBJ,CDwBI,mDAEE,kBAAA,CADA,YAAA,CAEA,UCtBN,CDwBM,8IAIE,kBAAA,CADA,cAAA,CADA,aCrBR,CD0BM,sEACE,YCxBR,CD2BM,wEACE,aE7GS,CF8GT,YCzBR,CD+BI,kEAEE,aAAA,CADA,aAAA,CAEA,YC7BN,CDgCI,oEACE,YC9BN,CDkCE,gDACE,cChCJ,CDkCI,+MAGE,UEtIW,CFuIX,SClCN,CDsCE,0EACE,wBAAA,CACA,kCCpCJ,CDuCE,2EAEE,wBErJa,CFsJb,kDAAA,CAFA,UAAA,CAIA,0BCtCJ,CD0CI,0KAEE,sBAAA,CACA,kBCzCN,CD8CI,iFACE,aAAA,CACA,YC5CN,CDgDE,mEACE,0BAAA,CAEA,kDC/CJ,CDkDE,iBASE,aErLa,CF6Kb,YAAA,CAEA,qBAAA,CAEA,4CElNqB,CFmNrB,iBAAA,CACA,eAAA,CAHA,QAAA,CAIA,mBAAA,CANA,eCzCJ,CDkDI,6BACE,kBChDN","file":"Radio.css","sourcesContent":["@use \"../../common/common\" as common;\n\n.af-radio {\n font-family: \"Source Sans Pro\", arial, sans-serif;\n\n * {\n box-sizing: border-box;\n }\n\n &__content {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 1rem;\n\n & > svg {\n width: 1.75rem;\n height: 1.75rem;\n color: common.$color-axa;\n fill: common.$color-axa;\n }\n\n & &-description {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n line-height: 1.25rem;\n\n & > span:first-child {\n font-size: 1.125rem;\n line-height: 1.4rem;\n color: common.$color-gray-900;\n }\n\n & > span:not(:first-child) {\n color: common.$color-gray-700;\n }\n }\n }\n\n &-select--horizontal &__content {\n flex-direction: column;\n gap: 0.5rem;\n }\n\n &__group-description {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n\n & ~ &__error {\n display: flex;\n margin-left: 3.2rem;\n align-items: center;\n gap: 0.5rem;\n font-family: \"Source Sans Pro\", arial, sans-serif;\n font-size: 1rem;\n line-height: 1.25rem;\n color: common.$color-red-700;\n\n & > svg {\n width: 1rem;\n height: 1rem;\n color: common.$color-red-700;\n fill: common.$color-red-700;\n }\n }\n\n &-select ~ &__error {\n margin: 1rem 0 0;\n }\n\n & label {\n display: flex;\n margin: 0;\n border-radius: common.$default-border-radius;\n align-items: flex-start;\n gap: 0.75rem;\n cursor: pointer;\n }\n\n &-select label {\n height: 6.4rem;\n padding: 1rem;\n align-items: center;\n box-shadow: 0 0 0 1px var(--box-shadow-color) inset;\n\n --box-shadow-color: #{common.$color-gray};\n }\n\n &[aria-invalid=\"true\"] {\n * {\n color: common.$color-red-700;\n fill: common.$color-red-700;\n }\n }\n\n &-select--horizontal label {\n position: relative;\n width: 12rem;\n height: auto;\n padding: 1rem;\n flex-direction: column;\n justify-content: flex-start;\n gap: 0;\n text-align: center;\n\n & .af-radio__icons {\n position: absolute;\n top: 1rem;\n left: 1rem;\n }\n }\n\n &-select[aria-invalid=\"true\"] label {\n --box-shadow-color: #{common.$color-red-700};\n\n box-shadow: 0 0 0 2px var(--box-shadow-color) inset;\n }\n\n & label input[type=\"radio\"] {\n position: absolute;\n margin-right: 0.5rem;\n opacity: 0;\n\n & ~ .af-radio__icons {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n\n & .af-radio__checked,\n & .af-radio__unchecked {\n width: 1.75rem;\n height: 1.75rem;\n align-items: center;\n }\n\n & .af-radio__checked {\n display: none;\n }\n\n & .af-radio__unchecked {\n color: common.$color-gray-700;\n fill: common.$color-gray-700;\n }\n }\n }\n\n & label:has(input[type=\"radio\"]:checked) {\n & .af-radio__checked {\n display: block;\n color: common.$color-axa;\n fill: common.$color-axa;\n }\n\n & .af-radio__unchecked {\n display: none;\n }\n }\n\n & label:has(input[type=\"radio\"]:disabled) {\n cursor: default;\n\n & .af-radio__content > svg,\n & .af-radio__checked,\n & .af-radio__unchecked {\n color: common.$color-gray-500;\n fill: common.$color-gray-500;\n }\n }\n\n &-select[aria-invalid=\"false\"] label:has(input[type=\"radio\"]:checked) {\n background-color: common.$color-blue-2;\n box-shadow: 0 0 0 2px common.$color-axa inset;\n }\n\n &-select[aria-invalid=\"false\"] label:has(input[type=\"radio\"]:disabled) {\n color: common.$color-gray-500;\n background-color: common.$color-gray-200;\n box-shadow: 0 0 0 1px var(--box-shadow-color) inset;\n\n --box-shadow-color: #{common.$color-gray-400};\n }\n\n & label input[type=\"radio\"]:focus-visible ~ .af-radio__icons {\n & .af-radio__unchecked,\n & .af-radio__checked {\n outline: 2px solid common.$color-blue-3;\n outline-offset: 3px;\n }\n }\n\n & label:hover:not(:has(input[type=\"radio\"]:disabled)) {\n & .af-radio__unchecked {\n color: common.$color-axa;\n fill: common.$color-axa;\n }\n }\n\n &-select label:hover:not(:has(input[type=\"radio\"]:disabled)) {\n --box-shadow-color: #{common.$color-axa};\n\n box-shadow: 0 0 0 1px var(--box-shadow-color) inset;\n }\n\n &-select {\n display: flex;\n margin-top: 1rem;\n flex-direction: column;\n gap: 1rem;\n font-family: common.$font-family-base;\n font-style: normal;\n font-weight: 400;\n line-height: 1.25rem;\n color: common.$color-gray-700;\n\n &--horizontal {\n flex-direction: row;\n }\n }\n}\n","@use \"../../common/common\" as common;\n\n.af-radio {\n font-family: \"Source Sans Pro\", arial, sans-serif;\n\n * {\n box-sizing: border-box;\n }\n\n &__content {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 1rem;\n\n & > svg {\n width: 1.75rem;\n height: 1.75rem;\n color: common.$color-axa;\n fill: common.$color-axa;\n }\n\n & &-description {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n line-height: 1.25rem;\n\n & > span:first-child {\n font-size: 1.125rem;\n line-height: 1.4rem;\n color: common.$color-gray-900;\n }\n\n & > span:not(:first-child) {\n color: common.$color-gray-700;\n }\n }\n }\n\n &-select--horizontal &__content {\n flex-direction: column;\n gap: 0.5rem;\n }\n\n &__group-description {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n\n & ~ &__error {\n display: flex;\n margin-left: 3.2rem;\n align-items: center;\n gap: 0.5rem;\n font-family: \"Source Sans Pro\", arial, sans-serif;\n font-size: 1rem;\n line-height: 1.25rem;\n color: common.$color-red-700;\n\n & > svg {\n width: 1rem;\n height: 1rem;\n color: common.$color-red-700;\n fill: common.$color-red-700;\n }\n }\n\n &-select ~ &__error {\n margin: 1rem 0 0;\n }\n\n & label {\n display: flex;\n margin: 0;\n border-radius: common.$default-border-radius;\n align-items: flex-start;\n gap: 0.75rem;\n cursor: pointer;\n }\n\n &-select label {\n height: 6.4rem;\n padding: 1rem;\n align-items: center;\n box-shadow: 0 0 0 1px var(--box-shadow-color) inset;\n\n --box-shadow-color: #{common.$color-gray};\n }\n\n &[aria-invalid=\"true\"] {\n * {\n color: common.$color-red-700;\n fill: common.$color-red-700;\n }\n }\n\n &-select--horizontal label {\n position: relative;\n width: 12rem;\n height: auto;\n padding: 1rem;\n flex-direction: column;\n justify-content: flex-start;\n gap: 0;\n text-align: center;\n\n & .af-radio__icons {\n position: absolute;\n top: 1rem;\n left: 1rem;\n }\n }\n\n &-select[aria-invalid=\"true\"] label {\n --box-shadow-color: #{common.$color-red-700};\n\n box-shadow: 0 0 0 2px var(--box-shadow-color) inset;\n }\n\n & label input[type=\"radio\"] {\n position: absolute;\n margin-right: 0.5rem;\n opacity: 0;\n\n & ~ .af-radio__icons {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n\n & .af-radio__checked,\n & .af-radio__unchecked {\n width: 1.75rem;\n height: 1.75rem;\n align-items: center;\n }\n\n & .af-radio__checked {\n display: none;\n }\n\n & .af-radio__unchecked {\n color: common.$color-gray-700;\n fill: common.$color-gray-700;\n }\n }\n }\n\n & label:has(input[type=\"radio\"]:checked) {\n & .af-radio__checked {\n display: block;\n color: common.$color-axa;\n fill: common.$color-axa;\n }\n\n & .af-radio__unchecked {\n display: none;\n }\n }\n\n & label:has(input[type=\"radio\"]:disabled) {\n cursor: default;\n\n & .af-radio__content > svg,\n & .af-radio__checked,\n & .af-radio__unchecked {\n color: common.$color-gray-500;\n fill: common.$color-gray-500;\n }\n }\n\n &-select[aria-invalid=\"false\"] label:has(input[type=\"radio\"]:checked) {\n background-color: common.$color-blue-2;\n box-shadow: 0 0 0 2px common.$color-axa inset;\n }\n\n &-select[aria-invalid=\"false\"] label:has(input[type=\"radio\"]:disabled) {\n color: common.$color-gray-500;\n background-color: common.$color-gray-200;\n box-shadow: 0 0 0 1px var(--box-shadow-color) inset;\n\n --box-shadow-color: #{common.$color-gray-400};\n }\n\n & label input[type=\"radio\"]:focus-visible ~ .af-radio__icons {\n & .af-radio__unchecked,\n & .af-radio__checked {\n outline: 2px solid common.$color-blue-3;\n outline-offset: 3px;\n }\n }\n\n & label:hover:not(:has(input[type=\"radio\"]:disabled)) {\n & .af-radio__unchecked {\n color: common.$color-axa;\n fill: common.$color-axa;\n }\n }\n\n &-select label:hover:not(:has(input[type=\"radio\"]:disabled)) {\n --box-shadow-color: #{common.$color-axa};\n\n box-shadow: 0 0 0 1px var(--box-shadow-color) inset;\n }\n\n &-select {\n display: flex;\n margin-top: 1rem;\n flex-direction: column;\n gap: 1rem;\n font-family: common.$font-family-base;\n font-style: normal;\n font-weight: 400;\n line-height: 1.25rem;\n color: common.$color-gray-700;\n\n &--horizontal {\n flex-direction: row;\n }\n }\n}\n","$font-family-sans-serif: \"Source Sans Pro\", arial, sans-serif !default;\n$font-family-serif: georgia, times, \"Times New Roman\", serif !default;\n$font-family-base: $font-family-sans-serif !default;\n$font-family-publico-bold: \"Publico Headline Bold\" !default;\n$font-family-publico: \"Publico Headline\" !default;\n// colors\n\n$color-axa: #00008f !default;\n$color-white: #fff !default;\n$color-black: #000 !default;\n$color-red: #ff1721 !default;\n$color-gray: #5f5f5f !default;\n$color-red-700: #c91432 !default;\n$color-blue-1: #000072 !default;\n$color-blue-2: #f8f8ff !default;\n$color-blue-3: #36f !default;\n$color-btn-light: #3333a5 !default;\n$color-btn-business: #c94e14 !default;\n$color-btn-business-dark: #a8391c !default;\n$color-btn-business-light: #df7e65 !default;\n$color-btn-disabled-text: #999 !default;\n$color-btn-disabled-border: #e5e5e5 !default;\n$color-btn-error-text: #a11028 !default;\n$color-btn-error-bg: #fff3f5 !default;\n$color-btn-tertiary-bg: #eef !default;\n$color-btn-tertiary-bg-darker: #e4e4ff !default;\n$color-btn-tertiary-bg-lighter: #f8f8ff !default;\n$color-oceanBlue: #4976ba !default;\n$color-gray-1: #ccc !default;\n$color-gray-200: #f3f3f3;\n$color-gray-300: #e9ecf2;\n$color-gray-400: #e5e5e5;\n$color-gray-500: #999;\n$color-gray-700: #5f5f5f;\n$color-gray-900: #333 !default;\n$color-green-600: #118635 !default;\n$color-border: #f3f3f3 !default;\n$color-focus: #36f !default;\n\n// others\n\n$default-border-radius: 4px !default;\n\n$transition-duration: 0.2s !default;\n\n// spacing\n\n$sizing-u0: 0 !default;\n$sizing-u05: 0.4rem !default;\n$sizing-u1: 0.8rem !default;\n$sizing-u2: 1.6rem !default;\n$sizing-u3: 2.4rem !default;\n$sizing-u4: 3.2rem !default;\n$sizing-u5: 4rem !default;\n$sizing-u6: 4.8rem !default;\n$sizing-u7: 5.6rem !default;\n$sizing-u8: 6.4rem !default;\n$sizing-u9: 7.2rem !default;\n$sizing-u10: 8rem !default;\n$spacing-u0: 0 !default;\n$spacing-u05: 0.4rem !default;\n$spacing-u1: 0.8rem !default;\n$spacing-u2: 1.6rem !default;\n$spacing-u3: 2.4rem !default;\n$spacing-u4: 3.2rem !default;\n$spacing-u5: 4rem !default;\n$spacing-u6: 4.8rem !default;\n$spacing-u7: 5.6rem !default;\n$spacing-u8: 6.4rem !default;\n$spacing-u9: 7.2rem !default;\n$spacing-u10: 8rem !default;\n$spacing-u11: 8.8rem !default;\n$spacing-u12: 9.6rem !default;\n$spacing-u13: 10.4rem !default;\n$spacing-u14: 11.2rem !default;\n$spacing-u15: 12rem !default;\n$spacing-u16: 12.8rem !default;\n$spacing-u17: 13.6rem !default;\n$spacing-u18: 14.4rem !default;\n$spacing-u19: 15.2rem !default;\n$spacing-u20: 16rem !default;\n$screen-size-668: s !default;\n$screen-size-1024: m !default;\n$screen-size-1200: oldl !default;\n$screen-size-1280: l !default;\n$screen-size-1540: oldxl !default;\n$screen-size-1600: xl !default;\n$screen-size-s: 668px !default;\n$screen-size-m: 1024px !default;\n$screen-size-l: 1280px !default;\n$screen-size-xl: 1600px !default;\n$screen-size-oldl: 1200px !default;\n$screen-size-oldxl: 1540px !default;\n\n$error-custom-border: #d18e8e !default;\n$error-custom-bg: #ffbfbf !default;\n\n$color-alertDanger-colorBorder: #c8b282 !default;\n$color-alertDanger-bgColor: #f1d596 !default;\n\n// breakpoints\n\n$breakpoint-xs: 0 !default;\n$breakpoint-sm: 667px !default;\n$breakpoint-md: 1023px !default;\n$breakpoint-lg: 1279px !default;\n$breakpoint-xl: 1599px !default;\n"]}
|