@axa-fr/design-system-look-and-feel-css 0.1.1
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 +241 -0
- package/dist/AccordionCore/AccordionCore.css +1 -0
- package/dist/AccordionCore/AccordionCore.css.map +1 -0
- package/dist/AccordionCore/AccordionCore.scss +75 -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 +57 -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 +218 -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 +86 -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 +85 -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 +48 -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 +167 -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 +67 -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 +130 -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 +109 -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/mixins.css +0 -0
- package/dist/common/mixins.scss +5 -0
- package/dist/common/reboot.css +1 -0
- package/dist/common/reboot.css.map +1 -0
- package/dist/common/reboot.scss +332 -0
- package/dist/look-and-feel.css +1 -0
- package/dist/look-and-feel.css.map +1 -0
- package/dist/look-and-feel.scss +31 -0
- package/package.json +110 -0
@@ -0,0 +1,48 @@
|
|
1
|
+
@use "../../../common/common" as common;
|
2
|
+
|
3
|
+
af-header-previous-link-container .af-header-previous-link-container {
|
4
|
+
display: flex;
|
5
|
+
padding-top: 1rem;
|
6
|
+
align-items: center;
|
7
|
+
gap: 0.25rem;
|
8
|
+
}
|
9
|
+
|
10
|
+
.af-header-previous-link {
|
11
|
+
display: flex;
|
12
|
+
flex-direction: row;
|
13
|
+
align-items: center;
|
14
|
+
gap: 0.5rem;
|
15
|
+
text-decoration: none;
|
16
|
+
cursor: pointer;
|
17
|
+
|
18
|
+
&__icon {
|
19
|
+
width: 1rem;
|
20
|
+
height: 1rem;
|
21
|
+
fill: common.$color-gray-700;
|
22
|
+
}
|
23
|
+
|
24
|
+
&__text {
|
25
|
+
font-family: common.$font-family-sans-serif;
|
26
|
+
font-size: 1rem;
|
27
|
+
font-weight: normal;
|
28
|
+
line-height: 1.25rem;
|
29
|
+
text-align: center;
|
30
|
+
color: common.$color-gray-700;
|
31
|
+
}
|
32
|
+
|
33
|
+
&:focus {
|
34
|
+
outline: none;
|
35
|
+
}
|
36
|
+
|
37
|
+
&:focus,
|
38
|
+
&:hover {
|
39
|
+
text-decoration: none;
|
40
|
+
color: common.$color-gray-700;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
@media only screen and (width >= #{common.$breakpoint-md}) {
|
45
|
+
.af-header-previous-link-container {
|
46
|
+
padding: 1.5rem 0 0 7.5rem;
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
.af-link{align-items:center;color:#00008f;display:inline-flex;font-family:Source Sans Pro,arial,sans-serif;height:fit-content;text-decoration:underline;width:fit-content;fill:#00008f}.af-link:active,.af-link:focus,.af-link:hover{color:#000072;fill:#000072}.af-link:focus-visible{outline:2px solid #36f;outline-offset:3px}.af-link--openInNewTab{font-weight:600;text-decoration:none}.af-link--openInNewTab:hover{text-decoration:none}.af-link--openInNewTab svg{aspect-ratio:1;height:1.25rem;margin-left:.2rem;width:1.25rem}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../src/Link/Link.scss%23sass","../../src/common/common.scss","../../src/Link/Link.scss"],"names":[],"mappings":"AAEA,SAIE,kBAAA,CAGA,aAAA,CANA,mBAAA,CAIA,4CCLuB,CDGvB,kBAAA,CAGA,yBAAA,CENF,iBAAA,CFQE,YEDF,CFQE,8CAEE,aAAA,CACA,YEHJ,CFME,uBACE,sBAAA,CACA,kBEJJ,CFOE,uBACE,eAAA,CACA,oBELJ,CFOI,6BACE,oBELN,CFQI,2BAGE,cAAA,CADA,cAAA,CAEA,iBAAA,CAHA,aEHN","file":"Link.css","sourcesContent":["@use \"../common/common\" as common;\n\n.af-link {\n display: inline-flex;\n width: fit-content;\n height: fit-content;\n align-items: center;\n font-family: common.$font-family-base;\n text-decoration: underline;\n color: common.$color-axa;\n fill: common.$color-axa;\n\n &:hover {\n color: common.$color-blue-1;\n fill: common.$color-blue-1;\n }\n\n &:active,\n &:focus {\n color: common.$color-blue-1;\n fill: common.$color-blue-1;\n }\n\n &:focus-visible {\n outline: 2px solid common.$color-blue-3;\n outline-offset: 3px;\n }\n\n &--openInNewTab {\n font-weight: 600;\n text-decoration: none;\n\n &:hover {\n text-decoration: none;\n }\n\n svg {\n width: 1.25rem;\n height: 1.25rem;\n aspect-ratio: 1;\n margin-left: 0.2rem;\n }\n }\n}\n","@import \"./mixins\";\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","@use \"../common/common\" as common;\n\n.af-link {\n display: inline-flex;\n width: fit-content;\n height: fit-content;\n align-items: center;\n font-family: common.$font-family-base;\n text-decoration: underline;\n color: common.$color-axa;\n fill: common.$color-axa;\n\n &:hover {\n color: common.$color-blue-1;\n fill: common.$color-blue-1;\n }\n\n &:active,\n &:focus {\n color: common.$color-blue-1;\n fill: common.$color-blue-1;\n }\n\n &:focus-visible {\n outline: 2px solid common.$color-blue-3;\n outline-offset: 3px;\n }\n\n &--openInNewTab {\n font-weight: 600;\n text-decoration: none;\n\n &:hover {\n text-decoration: none;\n }\n\n svg {\n width: 1.25rem;\n height: 1.25rem;\n aspect-ratio: 1;\n margin-left: 0.2rem;\n }\n }\n}\n"]}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
@use "../common/common" as common;
|
2
|
+
|
3
|
+
.af-link {
|
4
|
+
display: inline-flex;
|
5
|
+
width: fit-content;
|
6
|
+
height: fit-content;
|
7
|
+
align-items: center;
|
8
|
+
font-family: common.$font-family-base;
|
9
|
+
text-decoration: underline;
|
10
|
+
color: common.$color-axa;
|
11
|
+
fill: common.$color-axa;
|
12
|
+
|
13
|
+
&:hover {
|
14
|
+
color: common.$color-blue-1;
|
15
|
+
fill: common.$color-blue-1;
|
16
|
+
}
|
17
|
+
|
18
|
+
&:active,
|
19
|
+
&:focus {
|
20
|
+
color: common.$color-blue-1;
|
21
|
+
fill: common.$color-blue-1;
|
22
|
+
}
|
23
|
+
|
24
|
+
&:focus-visible {
|
25
|
+
outline: 2px solid common.$color-blue-3;
|
26
|
+
outline-offset: 3px;
|
27
|
+
}
|
28
|
+
|
29
|
+
&--openInNewTab {
|
30
|
+
font-weight: 600;
|
31
|
+
text-decoration: none;
|
32
|
+
|
33
|
+
&:hover {
|
34
|
+
text-decoration: none;
|
35
|
+
}
|
36
|
+
|
37
|
+
svg {
|
38
|
+
width: 1.25rem;
|
39
|
+
height: 1.25rem;
|
40
|
+
aspect-ratio: 1;
|
41
|
+
margin-left: 0.2rem;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:#fff;color:#333;font-family:Source Sans Pro,Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.5;margin:0;text-align:left}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:initial;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}a{background-color:initial;color:#00008f;text-decoration:none}a:hover{color:#000043;text-decoration:underline}a:not([href],[tabindex]),a:not([href],[tabindex]):focus,a:not([href],[tabindex]):hover{color:inherit;text-decoration:none}a:not([href],[tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{margin-bottom:1rem;margin-top:0;overflow:auto}figure{margin:0 0 1rem}img{border-style:none}img,svg{vertical-align:middle}svg{overflow:hidden}table{border-collapse:collapse}caption{caption-side:bottom;color:#6c757d;padding-bottom:.5rem;padding-top:.5rem;text-align:left}th{text-align:inherit}button{border-radius:0}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;appearance:button}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox;appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:initial}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;appearance:none;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}output{display:inline-block}summary{cursor:pointer;display:list-item}template{display:none}[hidden]{display:none!important}.af-click-item{align-items:center;background:none;border:none;border-radius:4px;cursor:pointer;display:flex;gap:.5rem;padding:1rem;width:100%}.af-click-item:active,.af-click-item:focus,.af-click-item:focus-visible{outline:none}.af-click-item:hover{text-decoration:none}.af-click-item:focus-visible{border:2px solid #36f}.af-click-item__content{align-items:center;display:flex;gap:.75rem}.af-click-item__action svg,.af-click-item__icon svg{height:1.5rem;width:1.5rem;fill:#00008f}.af-click-item__label,.af-click-item__subtitle,.af-click-item__title{font-size:1.125rem;line-height:1.4rem}.af-click-item__secondary,.af-click-item__subtitle,.af-click-item__title{margin:0}.af-click-item__label{text-align:left}.af-click-item__title{color:#333;font-weight:600}.af-click-item__secondary,.af-click-item__subtitle{color:#5f5f5f;font-weight:400}.af-click-item__secondary{font-size:.875rem;line-height:1.1rem}.af-click-item__action{margin-left:auto}.af-click-item--small .af-click-item__label{font-size:1rem;line-height:1.25rem}.af-click-item--large .af-click-item__label{font-weight:600}.af-click-item.af-click-item--disabled{pointer-events:none}.af-click-item.af-click-item--disabled .af-click-item__action svg,.af-click-item.af-click-item--disabled .af-click-item__icon svg{fill:#999}.af-click-item.af-click-item--disabled .af-click-item__label,.af-click-item.af-click-item--disabled .af-click-item__secondary,.af-click-item.af-click-item--disabled .af-click-item__subtitle,.af-click-item.af-click-item--disabled .af-click-item__title{color:#999}.af-click-item:not(.af-click-item--disabled):hover{box-shadow:0 4px 8px 0 #10184114}.af-click-item:not(.af-click-item--disabled):active{box-shadow:inset 0 2px 8px 0 #00000026}@media (width <= 667px){.af-click-item:focus-visible{border:1px solid #36f}.af-click-item__label,.af-click-item__subtitle,.af-click-item__title{font-size:1rem;line-height:1.25rem}.af-click-item--small .af-click-item__label{font-size:.875rem;line-height:1.1rem}.af-click-item:not(.af-click-item--disabled),.af-click-item:not(.af-click-item--disabled):hover{box-shadow:none}.af-click-item:not(.af-click-item--disabled):hover .af-click-item__label,.af-click-item:not(.af-click-item--disabled):hover .af-click-item__secondary,.af-click-item:not(.af-click-item--disabled):hover .af-click-item__subtitle,.af-click-item:not(.af-click-item--disabled):hover .af-click-item__title{color:#00008f}.af-click-item:not(.af-click-item--disabled):active{box-shadow:none}.af-click-item:not(.af-click-item--disabled):active .af-click-item__label,.af-click-item:not(.af-click-item--disabled):active .af-click-item__secondary,.af-click-item:not(.af-click-item--disabled):active .af-click-item__subtitle,.af-click-item:not(.af-click-item--disabled):active .af-click-item__title{color:#000072}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/common/reboot.scss","../../../src/List/ClickList/ClickList.scss","../../../src/List/ClickList/ClickList.scss%23sass","../../../src/common/common.scss"],"names":[],"mappings":"AAAA,iBCGA,qBACA,CDEA,KACE,sBAAA,CACA,gBAAA,CACA,6BAAA,CAAA,0BAAA,CAAA,qBAAA,CACA,uCCCF,CDEA,sEAUE,aCCF,CDEA,KAQE,qBAAA,CADA,UAAA,CALA,4CAAA,CACA,cAAA,CACA,eAAA,CACA,eAAA,CAJA,QAAA,CAKA,eCGF,CDEA,sBACE,mBCCF,CDEA,GACE,kBAAA,CACA,QAAA,CACA,gBCCF,CDEA,kBAOE,mBAAA,CADA,YCEF,CDEA,EAEE,kBAAA,CADA,YCEF,CDEA,sCAEE,eAAA,CAIA,WAAA,CAHA,yBAAA,CACA,wCAAA,CAAA,gCAAA,CACA,qCAAA,CAAA,6BCEF,CDEA,QAEE,iBAAA,CACA,mBCCF,CDEA,iBALE,kBCUF,CDLA,SAGE,YCEF,CDEA,wBAIE,eCCF,CDEA,GACE,eCCF,CDEA,GACE,mBAAA,CACA,aCCF,CDEA,WACE,eCCF,CDEA,SAEE,kBCCF,CDEA,MACE,aCCF,CDEA,QCIA,aAAA,CDCE,aAAA,CCHF,iBAAA,CDCE,sBCGF,CDEA,IACE,aCCF,CDEA,IACE,SCCF,CDEA,EAGE,wBAAA,CADA,aAAA,CADA,oBCGF,CDEA,QAEE,aAAA,CADA,yBCEF,CDOA,uFAGE,aAAA,CADA,oBCEF,CDEA,+BACE,SCCF,CDEA,kBAIE,sFAAA,CAEA,aCAF,CDGA,IAEE,kBAAA,CADA,YAAA,CCCF,aACA,CDGA,OACE,eCAF,CDGA,IACE,iBCCF,CDGA,QAHE,qBCKF,CDFA,IAEE,eCAF,CDGA,MACE,wBCAF,CDGA,QAGE,mBAAA,CAEA,aAAA,CAHA,oBAAA,CADA,iBAAA,CAGA,eCCF,CDGA,GACE,kBCAF,CDGA,OACE,eCAF,CDGA,sCAME,mBAAA,CACA,iBAAA,CACA,mBAAA,CAHA,QCGF,CDGA,aAEE,gBCAF,CDGA,cAEE,mBCAF,CDGA,OACE,gBCAF,CDGA,gDAIE,yBAAA,CAAA,iBCAF,CDGA,aACE,kBAAA,CACA,yCCAF,CDGA,4GAIE,cCAF,CDGA,wHAKE,iBAAA,CADA,SCCF,CDGA,uCAEE,qBAAA,CACA,SCAF,CDGA,+EAIE,0BAAA,CAAA,kBCAF,CDGA,SACE,aAAA,CACA,eCAF,CDGA,SAIE,QAAA,CAFA,QAAA,CADA,WAAA,CAEA,SCCF,CDGA,OASE,aAAA,CARA,aAAA,CAKA,gBAAA,CACA,mBAAA,CAHA,mBAAA,CADA,cAAA,CAEA,SAAA,CAGA,kBAAA,CANA,UCOF,CDGA,SACE,sBCAF,CDGA,kFAEE,WCAF,CDGA,cAEE,uBAAA,CAAA,eAAA,CADA,mBCCF,CDGA,yCACE,uBAAA,CAAA,eCAF,CDGA,6BAEE,yBAAA,CAAA,iBAAA,CADA,YCCF,CDGA,OACE,oBCAF,CDGA,QAEE,cAAA,CADA,iBCCF,CDGA,SACE,YCAF,CDGA,SACE,sBCAF,CCvUA,eAME,kBAAA,CAEA,eAAA,CAJA,WAAA,CACA,iBCmCsB,CD/BtB,cAAA,CARA,YAAA,CAMA,SAAA,CAJA,YAAA,CADA,UDiVF,CCxUE,wEAGE,YDwUJ,CCrUE,qBACE,oBDuUJ,CCpUE,6BACE,qBDsUJ,CCnUE,wBAEE,kBAAA,CADA,YAAA,CAEA,UDqUJ,CClUE,oDAGE,aAAA,CADA,YAAA,CAEA,YDmUJ,CChUE,qEAGE,kBAAA,CACA,kBDgUJ,CC7TE,yEAGE,QD6TJ,CC1TE,sBACE,eD4TJ,CCzTE,sBAEE,UCxBa,CDuBb,eD4TJ,CCnTE,mDAHE,aC9Ba,CD6Bb,eDiUJ,CC7TE,0BACE,iBAAA,CAEA,kBD0TJ,CCtTE,uBACE,gBDwTJ,CCrTE,4CACE,cAAA,CACA,mBDuTJ,CCpTE,4CACE,eDsTJ,CCnTE,uCACE,mBDqTJ,CClTM,kIAEE,SDmTR,CChTM,2PAIE,UD+SR,CCzSI,mDACE,gCD2SN,CCxSI,oDACE,sCD0SN,CCrSA,wBAEI,6BAEE,qBDuSJ,CCpSE,qEAGE,cAAA,CACA,mBDoSJ,CCjSE,4CACE,iBAAA,CACA,kBDmSJ,CC7RI,gGACE,eDkSN,CC/RQ,2SAIE,aD8RV,CCzRI,oDACE,eD2RN,CCxRQ,+SAIE,aDuRV,CACF","file":"ClickList.css","sourcesContent":["*,\n::after,\n::before {\n box-sizing: border-box;\n}\n\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n text-size-adjust: 100%;\n -webkit-tap-highlight-color: transparent;\n}\n\narticle,\naside,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block;\n}\n\nbody {\n margin: 0;\n font-family: \"Source Sans Pro\", Arial, sans-serif;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n text-align: left;\n color: #333;\n background-color: #fff;\n}\n\n[tabindex=\"-1\"]:focus {\n outline: 0 !important;\n}\n\nhr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin-top: 0;\n margin-bottom: 0.5rem;\n}\n\np {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nabbr[data-original-title],\nabbr[title] {\n border-bottom: 0;\n text-decoration: underline;\n text-decoration: underline dotted;\n text-decoration-skip-ink: none;\n cursor: help;\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\ndl,\nol,\nul {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nol ul,\nul ol,\nul ul {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: 700;\n}\n\ndd {\n margin-bottom: 0.5rem;\n margin-left: 0;\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n vertical-align: baseline;\n font-size: 75%;\n line-height: 0;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\na {\n text-decoration: none;\n color: #00008f;\n background-color: transparent;\n}\n\na:hover {\n text-decoration: underline;\n color: #000043;\n}\n\na:not([href], [tabindex]) {\n text-decoration: none;\n color: inherit;\n}\n\na:not([href], [tabindex]):focus,\na:not([href], [tabindex]):hover {\n text-decoration: none;\n color: inherit;\n}\n\na:not([href], [tabindex]):focus {\n outline: 0;\n}\n\ncode,\nkbd,\npre,\nsamp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n font-size: 1em;\n}\n\npre {\n margin-top: 0;\n margin-bottom: 1rem;\n overflow: auto;\n}\n\nfigure {\n margin: 0 0 1rem;\n}\n\nimg {\n border-style: none;\n vertical-align: middle;\n}\n\nsvg {\n vertical-align: middle;\n overflow: hidden;\n}\n\ntable {\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n caption-side: bottom;\n text-align: left;\n color: #6c757d;\n}\n\nth {\n text-align: inherit;\n}\n\nbutton {\n border-radius: 0;\n}\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nselect {\n word-wrap: normal;\n}\n\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"],\nbutton {\n appearance: button;\n}\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\n[type=\"button\"]:not(:disabled),\n[type=\"reset\"]:not(:disabled),\n[type=\"submit\"]:not(:disabled),\nbutton:not(:disabled) {\n cursor: pointer;\n}\n\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner,\nbutton::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box;\n padding: 0;\n}\n\ninput[type=\"date\"],\ninput[type=\"datetime-local\"],\ninput[type=\"month\"],\ninput[type=\"time\"] {\n appearance: listbox;\n}\n\ntextarea {\n overflow: auto;\n resize: vertical;\n}\n\nfieldset {\n min-width: 0;\n margin: 0;\n padding: 0;\n border: 0;\n}\n\nlegend {\n display: block;\n width: 100%;\n max-width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n font-size: 1.5rem;\n line-height: inherit;\n white-space: normal;\n color: inherit;\n}\n\nprogress {\n vertical-align: baseline;\n}\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type=\"search\"] {\n outline-offset: -2px;\n appearance: none;\n}\n\n[type=\"search\"]::-webkit-search-decoration {\n appearance: none;\n}\n\n::-webkit-file-upload-button {\n font: inherit;\n appearance: button;\n}\n\noutput {\n display: inline-block;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n}\n\ntemplate {\n display: none;\n}\n\n[hidden] {\n display: none !important;\n}\n","@use \"../../common/reboot\";\n@use \"../../common/common\" as common;\n\n.af-click-item {\n display: flex;\n width: 100%;\n padding: 1rem;\n border: none;\n border-radius: common.$default-border-radius;\n align-items: center;\n gap: 0.5rem;\n background: none;\n cursor: pointer;\n\n &:active,\n &:focus,\n &:focus-visible {\n outline: none;\n }\n\n &:hover {\n text-decoration: none;\n }\n\n &:focus-visible {\n border: 2px solid common.$color-focus;\n }\n\n &__content {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n }\n\n &__icon svg,\n &__action svg {\n width: 1.5rem;\n height: 1.5rem;\n fill: common.$color-axa;\n }\n\n &__title,\n &__subtitle,\n &__label {\n font-size: 1.125rem;\n line-height: 1.4rem;\n }\n\n &__title,\n &__subtitle,\n &__secondary {\n margin: 0;\n }\n\n &__label {\n text-align: left;\n }\n\n &__title {\n font-weight: 600;\n color: common.$color-gray-900;\n }\n\n &__subtitle {\n font-weight: 400;\n color: common.$color-gray-700;\n }\n\n &__secondary {\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 1.1rem;\n color: common.$color-gray-700;\n }\n\n &__action {\n margin-left: auto;\n }\n\n &--small &__label {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n\n &--large &__label {\n font-weight: 600;\n }\n\n &.af-click-item--disabled {\n pointer-events: none;\n\n .af-click-item {\n &__action svg,\n &__icon svg {\n fill: common.$color-gray-500;\n }\n\n &__label,\n &__title,\n &__subtitle,\n &__secondary {\n color: common.$color-gray-500;\n }\n }\n }\n\n &:not(.af-click-item--disabled) {\n &:hover {\n box-shadow: 0 4px 8px 0 hsla(230deg, 60%, 16%, 8%);\n }\n\n &:active {\n box-shadow: 0 2px 8px 0 hsla(0deg, 0%, 0%, 15%) inset;\n }\n }\n}\n\n@media (width <= #{common.$breakpoint-sm}) {\n .af-click-item {\n &:focus-visible {\n border: none;\n border: 1px solid common.$color-focus;\n }\n\n &__label,\n &__title,\n &__subtitle {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n\n &--small &__label {\n font-size: 0.875rem;\n line-height: 1.1rem;\n }\n\n &:not(.af-click-item--disabled) {\n box-shadow: none;\n\n &:hover {\n box-shadow: none;\n\n .af-click-item {\n &__label,\n &__title,\n &__subtitle,\n &__secondary {\n color: common.$color-axa;\n }\n }\n }\n\n &:active {\n box-shadow: none;\n\n .af-click-item {\n &__label,\n &__title,\n &__subtitle,\n &__secondary {\n color: common.$color-blue-1;\n }\n }\n }\n }\n }\n}\n","@use \"../../common/reboot\";\n@use \"../../common/common\" as common;\n\n.af-click-item {\n display: flex;\n width: 100%;\n padding: 1rem;\n border: none;\n border-radius: common.$default-border-radius;\n align-items: center;\n gap: 0.5rem;\n background: none;\n cursor: pointer;\n\n &:active,\n &:focus,\n &:focus-visible {\n outline: none;\n }\n\n &:hover {\n text-decoration: none;\n }\n\n &:focus-visible {\n border: 2px solid common.$color-focus;\n }\n\n &__content {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n }\n\n &__icon svg,\n &__action svg {\n width: 1.5rem;\n height: 1.5rem;\n fill: common.$color-axa;\n }\n\n &__title,\n &__subtitle,\n &__label {\n font-size: 1.125rem;\n line-height: 1.4rem;\n }\n\n &__title,\n &__subtitle,\n &__secondary {\n margin: 0;\n }\n\n &__label {\n text-align: left;\n }\n\n &__title {\n font-weight: 600;\n color: common.$color-gray-900;\n }\n\n &__subtitle {\n font-weight: 400;\n color: common.$color-gray-700;\n }\n\n &__secondary {\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 1.1rem;\n color: common.$color-gray-700;\n }\n\n &__action {\n margin-left: auto;\n }\n\n &--small &__label {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n\n &--large &__label {\n font-weight: 600;\n }\n\n &.af-click-item--disabled {\n pointer-events: none;\n\n .af-click-item {\n &__action svg,\n &__icon svg {\n fill: common.$color-gray-500;\n }\n\n &__label,\n &__title,\n &__subtitle,\n &__secondary {\n color: common.$color-gray-500;\n }\n }\n }\n\n &:not(.af-click-item--disabled) {\n &:hover {\n box-shadow: 0 4px 8px 0 hsla(230deg, 60%, 16%, 8%);\n }\n\n &:active {\n box-shadow: 0 2px 8px 0 hsla(0deg, 0%, 0%, 15%) inset;\n }\n }\n}\n\n@media (width <= #{common.$breakpoint-sm}) {\n .af-click-item {\n &:focus-visible {\n border: none;\n border: 1px solid common.$color-focus;\n }\n\n &__label,\n &__title,\n &__subtitle {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n\n &--small &__label {\n font-size: 0.875rem;\n line-height: 1.1rem;\n }\n\n &:not(.af-click-item--disabled) {\n box-shadow: none;\n\n &:hover {\n box-shadow: none;\n\n .af-click-item {\n &__label,\n &__title,\n &__subtitle,\n &__secondary {\n color: common.$color-axa;\n }\n }\n }\n\n &:active {\n box-shadow: none;\n\n .af-click-item {\n &__label,\n &__title,\n &__subtitle,\n &__secondary {\n color: common.$color-blue-1;\n }\n }\n }\n }\n }\n}\n","@import \"./mixins\";\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,167 @@
|
|
1
|
+
@use "../../common/reboot";
|
2
|
+
@use "../../common/common" as common;
|
3
|
+
|
4
|
+
.af-click-item {
|
5
|
+
display: flex;
|
6
|
+
width: 100%;
|
7
|
+
padding: 1rem;
|
8
|
+
border: none;
|
9
|
+
border-radius: common.$default-border-radius;
|
10
|
+
align-items: center;
|
11
|
+
gap: 0.5rem;
|
12
|
+
background: none;
|
13
|
+
cursor: pointer;
|
14
|
+
|
15
|
+
&:active,
|
16
|
+
&:focus,
|
17
|
+
&:focus-visible {
|
18
|
+
outline: none;
|
19
|
+
}
|
20
|
+
|
21
|
+
&:hover {
|
22
|
+
text-decoration: none;
|
23
|
+
}
|
24
|
+
|
25
|
+
&:focus-visible {
|
26
|
+
border: 2px solid common.$color-focus;
|
27
|
+
}
|
28
|
+
|
29
|
+
&__content {
|
30
|
+
display: flex;
|
31
|
+
align-items: center;
|
32
|
+
gap: 0.75rem;
|
33
|
+
}
|
34
|
+
|
35
|
+
&__icon svg,
|
36
|
+
&__action svg {
|
37
|
+
width: 1.5rem;
|
38
|
+
height: 1.5rem;
|
39
|
+
fill: common.$color-axa;
|
40
|
+
}
|
41
|
+
|
42
|
+
&__title,
|
43
|
+
&__subtitle,
|
44
|
+
&__label {
|
45
|
+
font-size: 1.125rem;
|
46
|
+
line-height: 1.4rem;
|
47
|
+
}
|
48
|
+
|
49
|
+
&__title,
|
50
|
+
&__subtitle,
|
51
|
+
&__secondary {
|
52
|
+
margin: 0;
|
53
|
+
}
|
54
|
+
|
55
|
+
&__label {
|
56
|
+
text-align: left;
|
57
|
+
}
|
58
|
+
|
59
|
+
&__title {
|
60
|
+
font-weight: 600;
|
61
|
+
color: common.$color-gray-900;
|
62
|
+
}
|
63
|
+
|
64
|
+
&__subtitle {
|
65
|
+
font-weight: 400;
|
66
|
+
color: common.$color-gray-700;
|
67
|
+
}
|
68
|
+
|
69
|
+
&__secondary {
|
70
|
+
font-size: 0.875rem;
|
71
|
+
font-weight: 400;
|
72
|
+
line-height: 1.1rem;
|
73
|
+
color: common.$color-gray-700;
|
74
|
+
}
|
75
|
+
|
76
|
+
&__action {
|
77
|
+
margin-left: auto;
|
78
|
+
}
|
79
|
+
|
80
|
+
&--small &__label {
|
81
|
+
font-size: 1rem;
|
82
|
+
line-height: 1.25rem;
|
83
|
+
}
|
84
|
+
|
85
|
+
&--large &__label {
|
86
|
+
font-weight: 600;
|
87
|
+
}
|
88
|
+
|
89
|
+
&.af-click-item--disabled {
|
90
|
+
pointer-events: none;
|
91
|
+
|
92
|
+
.af-click-item {
|
93
|
+
&__action svg,
|
94
|
+
&__icon svg {
|
95
|
+
fill: common.$color-gray-500;
|
96
|
+
}
|
97
|
+
|
98
|
+
&__label,
|
99
|
+
&__title,
|
100
|
+
&__subtitle,
|
101
|
+
&__secondary {
|
102
|
+
color: common.$color-gray-500;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
&:not(.af-click-item--disabled) {
|
108
|
+
&:hover {
|
109
|
+
box-shadow: 0 4px 8px 0 hsla(230deg, 60%, 16%, 8%);
|
110
|
+
}
|
111
|
+
|
112
|
+
&:active {
|
113
|
+
box-shadow: 0 2px 8px 0 hsla(0deg, 0%, 0%, 15%) inset;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
@media (width <= #{common.$breakpoint-sm}) {
|
119
|
+
.af-click-item {
|
120
|
+
&:focus-visible {
|
121
|
+
border: none;
|
122
|
+
border: 1px solid common.$color-focus;
|
123
|
+
}
|
124
|
+
|
125
|
+
&__label,
|
126
|
+
&__title,
|
127
|
+
&__subtitle {
|
128
|
+
font-size: 1rem;
|
129
|
+
line-height: 1.25rem;
|
130
|
+
}
|
131
|
+
|
132
|
+
&--small &__label {
|
133
|
+
font-size: 0.875rem;
|
134
|
+
line-height: 1.1rem;
|
135
|
+
}
|
136
|
+
|
137
|
+
&:not(.af-click-item--disabled) {
|
138
|
+
box-shadow: none;
|
139
|
+
|
140
|
+
&:hover {
|
141
|
+
box-shadow: none;
|
142
|
+
|
143
|
+
.af-click-item {
|
144
|
+
&__label,
|
145
|
+
&__title,
|
146
|
+
&__subtitle,
|
147
|
+
&__secondary {
|
148
|
+
color: common.$color-axa;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
&:active {
|
154
|
+
box-shadow: none;
|
155
|
+
|
156
|
+
.af-click-item {
|
157
|
+
&__label,
|
158
|
+
&__title,
|
159
|
+
&__subtitle,
|
160
|
+
&__secondary {
|
161
|
+
color: common.$color-blue-1;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
.af-content-item-duo{display:grid;grid-template:"icon label value" "icon label button";grid-template-columns:auto 1fr 1fr;row-gap:.5rem;width:100%}.af-content-item-duo__icon{grid-area:icon;margin-right:.75rem;margin-top:.125rem}.af-content-item-duo__icon svg{height:1.5rem;width:1.5rem}.af-content-item-duo__icon--done svg{fill:#00008f}.af-content-item-duo__icon--close svg{fill:#c91432}.af-content-item-duo__label,.af-content-item-duo__value{font-family:Source Sans Pro,arial,sans-serif;font-size:1rem;line-height:1.25rem;margin:0;overflow-wrap:break-word}.af-content-item-duo__label{color:#5f5f5f;font-weight:400;grid-area:label;margin-right:1rem}.af-content-item-duo__value{color:#333;font-weight:600;grid-area:value;text-align:end}.af-content-item-duo__button{grid-area:button;justify-self:end}.af-content-item-duo--large{row-gap:.75rem}.af-content-item-duo--large .af-content-item-duo__icon{margin-top:.25rem}.af-content-item-duo--large .af-content-item-duo__label,.af-content-item-duo--large .af-content-item-duo__value{font-size:1.125rem;line-height:1.4rem}.af-content-item-duo--large .af-content-item-duo__label{margin-right:2.5rem}.af-content-item-duo--large .af-content-item-duo__value{text-align:start}.af-content-item-duo--large .af-content-item-duo__button{justify-self:start}.af-content-item-duo--vertical{gap:.375rem .75rem;grid-template:"icon label button" ". value value";grid-template-columns:auto 1fr auto}.af-content-item-duo--vertical .af-content-item-duo__icon{margin-right:0;margin-top:.125rem}.af-content-item-duo--vertical .af-content-item-duo__label,.af-content-item-duo--vertical .af-content-item-duo__value{font-size:1.125rem;line-height:1.4rem;margin-right:0;text-align:start}.af-content-item-duo--vertical .af-content-item-duo__value{margin:0}.af-content-item-duo--vertical .af-content-item-duo__button{justify-self:end;margin-left:0}@media (width <= 667px){.af-content-item-duo--large{row-gap:.5rem}.af-content-item-duo--large .af-content-item-duo__icon{margin-top:.125rem}.af-content-item-duo--large .af-content-item-duo__label,.af-content-item-duo--large .af-content-item-duo__value{font-size:1rem;line-height:1.25rem}.af-content-item-duo--large .af-content-item-duo__label{margin-right:1rem}.af-content-item-duo--large .af-content-item-duo__value{text-align:end}.af-content-item-duo--large .af-content-item-duo__button{justify-self:end;margin-left:0}.af-content-item-duo--vertical{row-gap:.375rem}.af-content-item-duo--vertical .af-content-item-duo__label,.af-content-item-duo--vertical .af-content-item-duo__value{font-size:1rem;line-height:1.25rem;text-align:start}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/List/ContentItemDuo/ContentItemDuo.scss%23sass","../../../src/List/ContentItemDuo/ContentItemDuo.scss","../../../src/common/common.scss"],"names":[],"mappings":"AAEA,qBACE,YAAA,CAEA,oDAAA,CAGA,kCAAA,CACA,aAAA,CCPF,UAIA,CDKE,2BAGE,cAAA,CADA,mBAAA,CADA,kBCDJ,CDKI,+BAEE,aAAA,CADA,YCFN,CDOM,qCACE,YCLR,CDUM,sCACE,YCRR,CDaE,wDAGE,4CAAA,CACA,cAAA,CACA,mBAAA,CAHA,QAAA,CAIA,wBCZJ,CDeE,4BAIE,aEZa,CFWb,eAAA,CADA,eAAA,CADA,iBCVJ,CDgBE,4BAIE,UAAA,CAFA,eAAA,CADA,eAAA,CAEA,cCbJ,CDiBE,6BACE,gBAAA,CACA,gBCfJ,CDkBE,4BACE,cChBJ,CDmBM,uDACE,iBCjBR,CDoBM,gHAEE,kBAAA,CACA,kBCnBR,CDsBM,wDACE,mBCpBR,CDuBM,wDACE,gBCrBR,CDwBM,yDACE,kBCtBR,CD2BE,+BAKE,kBAAA,CAJA,iDAAA,CAGA,mCC1BJ,CD8BM,0DAEE,cAAA,CADA,kBC3BR,CD+BM,sHAGE,kBAAA,CACA,kBAAA,CAFA,cAAA,CAGA,gBC9BR,CDiCM,2DACE,QC/BR,CDkCM,4DAEE,gBAAA,CADA,aC/BR,CDsCA,wBAEI,4BACE,aCpCJ,CDuCM,uDACE,kBCrCR,CDwCM,gHAEE,cAAA,CACA,mBCvCR,CD0CM,wDACE,iBCxCR,CD2CM,wDACE,cCzCR,CD4CM,yDAEE,gBAAA,CADA,aCzCR,CD+CE,+BACE,eC7CJ,CDgDM,sHAEE,cAAA,CACA,mBAAA,CACA,gBC/CR,CACF","file":"ContentItemDuo.css","sourcesContent":["@use \"../../common/common\" as common;\n\n.af-content-item-duo {\n display: grid;\n width: 100%;\n grid-template:\n \"icon label value\"\n \"icon label button\";\n grid-template-columns: auto 1fr 1fr;\n row-gap: 0.5rem;\n\n &__icon {\n margin-top: 0.125rem;\n margin-right: 0.75rem;\n grid-area: icon;\n\n svg {\n width: 1.5rem;\n height: 1.5rem;\n }\n\n &--done {\n svg {\n fill: common.$color-axa;\n }\n }\n\n &--close {\n svg {\n fill: common.$color-red-700;\n }\n }\n }\n\n &__label,\n &__value {\n margin: 0;\n font-family: common.$font-family-base;\n font-size: 1rem;\n line-height: 1.25rem;\n overflow-wrap: break-word;\n }\n\n &__label {\n margin-right: 1rem;\n grid-area: label;\n font-weight: 400;\n color: common.$color-gray-700;\n }\n\n &__value {\n grid-area: value;\n font-weight: 600;\n text-align: end;\n color: common.$color-gray-900;\n }\n\n &__button {\n grid-area: button;\n justify-self: end;\n }\n\n &--large {\n row-gap: 0.75rem;\n\n .af-content-item-duo {\n &__icon {\n margin-top: 0.25rem;\n }\n\n &__label,\n &__value {\n font-size: 1.125rem;\n line-height: 1.4rem;\n }\n\n &__label {\n margin-right: 2.5rem;\n }\n\n &__value {\n text-align: start;\n }\n\n &__button {\n justify-self: start;\n }\n }\n }\n\n &--vertical {\n grid-template:\n \"icon label button\"\n \". value value\";\n grid-template-columns: auto 1fr auto;\n gap: 0.375rem 0.75rem;\n\n .af-content-item-duo {\n &__icon {\n margin-top: 0.125rem;\n margin-right: 0;\n }\n\n &__label,\n &__value {\n margin-right: 0;\n font-size: 1.125rem;\n line-height: 1.4rem;\n text-align: start;\n }\n\n &__value {\n margin: 0;\n }\n\n &__button {\n margin-left: 0;\n justify-self: end;\n }\n }\n }\n}\n\n@media (width <= #{common.$breakpoint-sm}) {\n .af-content-item-duo {\n &--large {\n row-gap: 0.5rem;\n\n .af-content-item-duo {\n &__icon {\n margin-top: 0.125rem;\n }\n\n &__label,\n &__value {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n\n &__label {\n margin-right: 1rem;\n }\n\n &__value {\n text-align: end;\n }\n\n &__button {\n margin-left: 0;\n justify-self: end;\n }\n }\n }\n\n &--vertical {\n row-gap: 0.375rem;\n\n .af-content-item-duo {\n &__label,\n &__value {\n font-size: 1rem;\n line-height: 1.25rem;\n text-align: start;\n }\n }\n }\n }\n}\n","@use \"../../common/common\" as common;\n\n.af-content-item-duo {\n display: grid;\n width: 100%;\n grid-template:\n \"icon label value\"\n \"icon label button\";\n grid-template-columns: auto 1fr 1fr;\n row-gap: 0.5rem;\n\n &__icon {\n margin-top: 0.125rem;\n margin-right: 0.75rem;\n grid-area: icon;\n\n svg {\n width: 1.5rem;\n height: 1.5rem;\n }\n\n &--done {\n svg {\n fill: common.$color-axa;\n }\n }\n\n &--close {\n svg {\n fill: common.$color-red-700;\n }\n }\n }\n\n &__label,\n &__value {\n margin: 0;\n font-family: common.$font-family-base;\n font-size: 1rem;\n line-height: 1.25rem;\n overflow-wrap: break-word;\n }\n\n &__label {\n margin-right: 1rem;\n grid-area: label;\n font-weight: 400;\n color: common.$color-gray-700;\n }\n\n &__value {\n grid-area: value;\n font-weight: 600;\n text-align: end;\n color: common.$color-gray-900;\n }\n\n &__button {\n grid-area: button;\n justify-self: end;\n }\n\n &--large {\n row-gap: 0.75rem;\n\n .af-content-item-duo {\n &__icon {\n margin-top: 0.25rem;\n }\n\n &__label,\n &__value {\n font-size: 1.125rem;\n line-height: 1.4rem;\n }\n\n &__label {\n margin-right: 2.5rem;\n }\n\n &__value {\n text-align: start;\n }\n\n &__button {\n justify-self: start;\n }\n }\n }\n\n &--vertical {\n grid-template:\n \"icon label button\"\n \". value value\";\n grid-template-columns: auto 1fr auto;\n gap: 0.375rem 0.75rem;\n\n .af-content-item-duo {\n &__icon {\n margin-top: 0.125rem;\n margin-right: 0;\n }\n\n &__label,\n &__value {\n margin-right: 0;\n font-size: 1.125rem;\n line-height: 1.4rem;\n text-align: start;\n }\n\n &__value {\n margin: 0;\n }\n\n &__button {\n margin-left: 0;\n justify-self: end;\n }\n }\n }\n}\n\n@media (width <= #{common.$breakpoint-sm}) {\n .af-content-item-duo {\n &--large {\n row-gap: 0.5rem;\n\n .af-content-item-duo {\n &__icon {\n margin-top: 0.125rem;\n }\n\n &__label,\n &__value {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n\n &__label {\n margin-right: 1rem;\n }\n\n &__value {\n text-align: end;\n }\n\n &__button {\n margin-left: 0;\n justify-self: end;\n }\n }\n }\n\n &--vertical {\n row-gap: 0.375rem;\n\n .af-content-item-duo {\n &__label,\n &__value {\n font-size: 1rem;\n line-height: 1.25rem;\n text-align: start;\n }\n }\n }\n }\n}\n","@import \"./mixins\";\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,168 @@
|
|
1
|
+
@use "../../common/common" as common;
|
2
|
+
|
3
|
+
.af-content-item-duo {
|
4
|
+
display: grid;
|
5
|
+
width: 100%;
|
6
|
+
grid-template:
|
7
|
+
"icon label value"
|
8
|
+
"icon label button";
|
9
|
+
grid-template-columns: auto 1fr 1fr;
|
10
|
+
row-gap: 0.5rem;
|
11
|
+
|
12
|
+
&__icon {
|
13
|
+
margin-top: 0.125rem;
|
14
|
+
margin-right: 0.75rem;
|
15
|
+
grid-area: icon;
|
16
|
+
|
17
|
+
svg {
|
18
|
+
width: 1.5rem;
|
19
|
+
height: 1.5rem;
|
20
|
+
}
|
21
|
+
|
22
|
+
&--done {
|
23
|
+
svg {
|
24
|
+
fill: common.$color-axa;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
&--close {
|
29
|
+
svg {
|
30
|
+
fill: common.$color-red-700;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
&__label,
|
36
|
+
&__value {
|
37
|
+
margin: 0;
|
38
|
+
font-family: common.$font-family-base;
|
39
|
+
font-size: 1rem;
|
40
|
+
line-height: 1.25rem;
|
41
|
+
overflow-wrap: break-word;
|
42
|
+
}
|
43
|
+
|
44
|
+
&__label {
|
45
|
+
margin-right: 1rem;
|
46
|
+
grid-area: label;
|
47
|
+
font-weight: 400;
|
48
|
+
color: common.$color-gray-700;
|
49
|
+
}
|
50
|
+
|
51
|
+
&__value {
|
52
|
+
grid-area: value;
|
53
|
+
font-weight: 600;
|
54
|
+
text-align: end;
|
55
|
+
color: common.$color-gray-900;
|
56
|
+
}
|
57
|
+
|
58
|
+
&__button {
|
59
|
+
grid-area: button;
|
60
|
+
justify-self: end;
|
61
|
+
}
|
62
|
+
|
63
|
+
&--large {
|
64
|
+
row-gap: 0.75rem;
|
65
|
+
|
66
|
+
.af-content-item-duo {
|
67
|
+
&__icon {
|
68
|
+
margin-top: 0.25rem;
|
69
|
+
}
|
70
|
+
|
71
|
+
&__label,
|
72
|
+
&__value {
|
73
|
+
font-size: 1.125rem;
|
74
|
+
line-height: 1.4rem;
|
75
|
+
}
|
76
|
+
|
77
|
+
&__label {
|
78
|
+
margin-right: 2.5rem;
|
79
|
+
}
|
80
|
+
|
81
|
+
&__value {
|
82
|
+
text-align: start;
|
83
|
+
}
|
84
|
+
|
85
|
+
&__button {
|
86
|
+
justify-self: start;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
&--vertical {
|
92
|
+
grid-template:
|
93
|
+
"icon label button"
|
94
|
+
". value value";
|
95
|
+
grid-template-columns: auto 1fr auto;
|
96
|
+
gap: 0.375rem 0.75rem;
|
97
|
+
|
98
|
+
.af-content-item-duo {
|
99
|
+
&__icon {
|
100
|
+
margin-top: 0.125rem;
|
101
|
+
margin-right: 0;
|
102
|
+
}
|
103
|
+
|
104
|
+
&__label,
|
105
|
+
&__value {
|
106
|
+
margin-right: 0;
|
107
|
+
font-size: 1.125rem;
|
108
|
+
line-height: 1.4rem;
|
109
|
+
text-align: start;
|
110
|
+
}
|
111
|
+
|
112
|
+
&__value {
|
113
|
+
margin: 0;
|
114
|
+
}
|
115
|
+
|
116
|
+
&__button {
|
117
|
+
margin-left: 0;
|
118
|
+
justify-self: end;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
@media (width <= #{common.$breakpoint-sm}) {
|
125
|
+
.af-content-item-duo {
|
126
|
+
&--large {
|
127
|
+
row-gap: 0.5rem;
|
128
|
+
|
129
|
+
.af-content-item-duo {
|
130
|
+
&__icon {
|
131
|
+
margin-top: 0.125rem;
|
132
|
+
}
|
133
|
+
|
134
|
+
&__label,
|
135
|
+
&__value {
|
136
|
+
font-size: 1rem;
|
137
|
+
line-height: 1.25rem;
|
138
|
+
}
|
139
|
+
|
140
|
+
&__label {
|
141
|
+
margin-right: 1rem;
|
142
|
+
}
|
143
|
+
|
144
|
+
&__value {
|
145
|
+
text-align: end;
|
146
|
+
}
|
147
|
+
|
148
|
+
&__button {
|
149
|
+
margin-left: 0;
|
150
|
+
justify-self: end;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
&--vertical {
|
156
|
+
row-gap: 0.375rem;
|
157
|
+
|
158
|
+
.af-content-item-duo {
|
159
|
+
&__label,
|
160
|
+
&__value {
|
161
|
+
font-size: 1rem;
|
162
|
+
line-height: 1.25rem;
|
163
|
+
text-align: start;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
.af-content-item-mono{display:flex;gap:.75rem}.af-content-item-mono__stick{background-color:#00008f;border-radius:.125rem;width:.25rem}.af-content-item-mono__left-container svg{height:1.5rem;width:1.5rem;fill:#00008f}.af-content-item-mono__left-container--center{align-items:center;display:flex}.af-content-item-mono--disabled .af-content-item-mono__stick{background-color:#333}.af-content-item-mono--disabled .af-content-item-mono__left-container svg{fill:#333}.af-content-item-mono__text-container{display:grid;gap:.125rem}.af-content-item-mono__text-container p{margin:0}.af-content-item-mono__text-container .af-content-item-mono__main-text{color:#333}.af-content-item-mono__text-container .af-content-item-mono__secondary-text{font-family:Source Sans Pro,arial,sans-serif;font-weight:400}.af-content-item-mono--xl .af-content-item-mono__text-container .af-content-item-mono__main-text{font-family:Publico Headline;font-size:1.5rem;font-weight:700;line-height:1.875rem}.af-content-item-mono--xl .af-content-item-mono__text-container .af-content-item-mono__secondary-text{color:#5f5f5f;font-size:1.125rem;line-height:1.4rem}.af-content-item-mono--m .af-content-item-mono__text-container .af-content-item-mono__main-text{font-family:Source Sans Pro,arial,sans-serif;font-size:1.125rem;font-weight:600;line-height:1.4rem}.af-content-item-mono--m .af-content-item-mono__text-container .af-content-item-mono__secondary-text{font-size:1.125rem;line-height:1.4rem}.af-content-item-mono--m .af-content-item-mono__text-container .af-content-item-mono__tertiary-text{color:#5f5f5f;font-family:Source Sans Pro,arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.25rem}.af-content-item-mono--m .af-content-item-mono__text-container:not(:has(.af-content-item-mono__tertiary-text)) .af-content-item-mono__secondary-text{color:#5f5f5f;font-size:1rem;line-height:1.25rem}.af-content-item-mono--m:has(.af-content-item-mono__stick) .af-content-item-mono__text-container .af-content-item-mono__main-text{font-size:1rem;line-height:1.25rem}.af-content-item-mono--m:not(:has(.af-content-item-mono__text-container .af-content-item-mono__secondary-text)):has(.af-content-item-mono__text-container .af-content-item-mono__tertiary-text) .af-content-item-mono__text-container .af-content-item-mono__main-text{font-size:1rem;font-weight:400;line-height:1.25rem}@media (width <= 667px){.af-content-item-mono--xl .af-content-item-mono__text-container .af-content-item-mono__main-text{font-size:1.25rem;line-height:1.56rem}.af-content-item-mono--m .af-content-item-mono__text-container .af-content-item-mono__main-text,.af-content-item-mono--m .af-content-item-mono__text-container .af-content-item-mono__secondary-text,.af-content-item-mono--xl .af-content-item-mono__text-container .af-content-item-mono__secondary-text{font-size:1rem;line-height:1.25rem}.af-content-item-mono--m .af-content-item-mono__text-container .af-content-item-mono__tertiary-text{font-size:.875rem;line-height:1.1rem}.af-content-item-mono--m .af-content-item-mono__text-container:not(:has(.af-content-item-mono__tertiary-text)) .af-content-item-mono__secondary-text{font-size:.875rem;line-height:1.1rem}.af-content-item-mono--m:has(.af-content-item-mono__stick) .af-content-item-mono__text-container .af-content-item-mono__main-text{font-size:.875rem;line-height:1.1rem}.af-content-item-mono--m:not(:has(.af-content-item-mono__text-container .af-content-item-mono__secondary-text)):has(.af-content-item-mono__text-container .af-content-item-mono__tertiary-text) .af-content-item-mono__text-container .af-content-item-mono__main-text{font-size:.875rem;font-weight:400;line-height:1.1rem}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/List/ContentItemMono/ContentItemMono.scss%23sass","../../../src/List/ContentItemMono/ContentItemMono.scss","../../../src/common/common.scss"],"names":[],"mappings":"AAEA,sBACE,YAAA,CCDF,UACA,CDGE,6BAGE,wBAAA,CADA,qBAAA,CADA,YCCJ,CDKI,0CAEE,aAAA,CADA,YAAA,CAEA,YCHN,CDMI,8CAEE,kBAAA,CADA,YCHN,CDSI,6DACE,qBCPN,CDUI,0EACE,SCRN,CDYE,sCACE,YAAA,CACA,WCVJ,CDYI,wCACE,QCVN,CDaI,uEACE,UCXN,CDcI,4EACE,4CAAA,CACA,eCZN,CDiBI,iGACE,4BAAA,CACA,gBAAA,CACA,eAAA,CACA,oBCfN,CDkBI,sGAGE,aAAA,CAFA,kBAAA,CACA,kBCfN,CDsBM,gGACE,4CAAA,CACA,kBAAA,CACA,eAAA,CACA,kBCpBR,CDuBM,qGACE,kBAAA,CACA,kBCrBR,CDwBM,oGAKE,aAAA,CAJA,4CEjFiB,CFkFjB,cAAA,CACA,eAAA,CACA,mBCrBR,CD0BQ,qJAGE,aAAA,CAFA,cAAA,CACA,mBCvBV,CD8BM,kIACE,cAAA,CACA,mBC5BR,CDyCM,uQACE,cAAA,CACA,eAAA,CACA,mBCvCR,CD6CA,wBAGM,iGACE,iBAAA,CACA,mBC5CN,CD4DM,2SACE,cAAA,CACA,mBClDR,CDqDM,oGACE,iBAAA,CACA,kBCnDR,CDuDQ,qJACE,iBAAA,CACA,kBCrDV,CD2DM,kIACE,iBAAA,CACA,kBCzDR,CDsEM,uQACE,iBAAA,CACA,eAAA,CACA,kBCpER,CACF","file":"ContentItemMono.css","sourcesContent":["@use \"../../common/common\" as common;\n\n.af-content-item-mono {\n display: flex;\n gap: 0.75rem;\n\n &__stick {\n width: 0.25rem;\n border-radius: 0.125rem;\n background-color: common.$color-axa;\n }\n\n &__left-container {\n svg {\n width: 1.5rem;\n height: 1.5rem;\n fill: common.$color-axa;\n }\n\n &--center {\n display: flex;\n align-items: center;\n }\n }\n\n &--disabled {\n .af-content-item-mono__stick {\n background-color: common.$color-gray-900;\n }\n\n .af-content-item-mono__left-container svg {\n fill: common.$color-gray-900;\n }\n }\n\n &__text-container {\n display: grid;\n gap: 0.125rem;\n\n p {\n margin: 0;\n }\n\n .af-content-item-mono__main-text {\n color: common.$color-gray-900;\n }\n\n .af-content-item-mono__secondary-text {\n font-family: common.$font-family-base;\n font-weight: 400;\n }\n }\n\n &--xl .af-content-item-mono__text-container {\n .af-content-item-mono__main-text {\n font-family: common.$font-family-publico;\n font-size: 1.5rem;\n font-weight: 700;\n line-height: 1.875rem;\n }\n\n .af-content-item-mono__secondary-text {\n font-size: 1.125rem;\n line-height: 1.4rem;\n color: common.$color-gray-700;\n }\n }\n\n &--m {\n .af-content-item-mono__text-container {\n .af-content-item-mono__main-text {\n font-family: common.$font-family-base;\n font-size: 1.125rem;\n font-weight: 600;\n line-height: 1.4rem;\n }\n\n .af-content-item-mono__secondary-text {\n font-size: 1.125rem;\n line-height: 1.4rem;\n }\n\n .af-content-item-mono__tertiary-text {\n font-family: common.$font-family-base;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.25rem;\n color: common.$color-gray-700;\n }\n\n &:not(:has(.af-content-item-mono__tertiary-text)) {\n .af-content-item-mono__secondary-text {\n font-size: 1rem;\n line-height: 1.25rem;\n color: common.$color-gray-700;\n }\n }\n }\n\n &:has(.af-content-item-mono__stick) {\n .af-content-item-mono__text-container .af-content-item-mono__main-text {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n }\n\n &:not(\n :has(\n .af-content-item-mono__text-container\n .af-content-item-mono__secondary-text\n )\n ):has(\n .af-content-item-mono__text-container\n .af-content-item-mono__tertiary-text\n ) {\n .af-content-item-mono__text-container .af-content-item-mono__main-text {\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.25rem;\n }\n }\n }\n}\n\n@media (width <= #{common.$breakpoint-sm}) {\n .af-content-item-mono {\n &--xl .af-content-item-mono__text-container {\n .af-content-item-mono__main-text {\n font-size: 1.25rem;\n line-height: 1.56rem;\n }\n\n .af-content-item-mono__secondary-text {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n }\n\n &--m {\n .af-content-item-mono__text-container {\n .af-content-item-mono__main-text {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n\n .af-content-item-mono__secondary-text {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n\n .af-content-item-mono__tertiary-text {\n font-size: 0.875rem;\n line-height: 1.1rem;\n }\n\n &:not(:has(.af-content-item-mono__tertiary-text)) {\n .af-content-item-mono__secondary-text {\n font-size: 0.875rem;\n line-height: 1.1rem;\n }\n }\n }\n\n &:has(.af-content-item-mono__stick) {\n .af-content-item-mono__text-container .af-content-item-mono__main-text {\n font-size: 0.875rem;\n line-height: 1.1rem;\n }\n }\n\n &:not(\n :has(\n .af-content-item-mono__text-container\n .af-content-item-mono__secondary-text\n )\n ):has(\n .af-content-item-mono__text-container\n .af-content-item-mono__tertiary-text\n ) {\n .af-content-item-mono__text-container .af-content-item-mono__main-text {\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 1.1rem;\n }\n }\n }\n }\n}\n","@use \"../../common/common\" as common;\n\n.af-content-item-mono {\n display: flex;\n gap: 0.75rem;\n\n &__stick {\n width: 0.25rem;\n border-radius: 0.125rem;\n background-color: common.$color-axa;\n }\n\n &__left-container {\n svg {\n width: 1.5rem;\n height: 1.5rem;\n fill: common.$color-axa;\n }\n\n &--center {\n display: flex;\n align-items: center;\n }\n }\n\n &--disabled {\n .af-content-item-mono__stick {\n background-color: common.$color-gray-900;\n }\n\n .af-content-item-mono__left-container svg {\n fill: common.$color-gray-900;\n }\n }\n\n &__text-container {\n display: grid;\n gap: 0.125rem;\n\n p {\n margin: 0;\n }\n\n .af-content-item-mono__main-text {\n color: common.$color-gray-900;\n }\n\n .af-content-item-mono__secondary-text {\n font-family: common.$font-family-base;\n font-weight: 400;\n }\n }\n\n &--xl .af-content-item-mono__text-container {\n .af-content-item-mono__main-text {\n font-family: common.$font-family-publico;\n font-size: 1.5rem;\n font-weight: 700;\n line-height: 1.875rem;\n }\n\n .af-content-item-mono__secondary-text {\n font-size: 1.125rem;\n line-height: 1.4rem;\n color: common.$color-gray-700;\n }\n }\n\n &--m {\n .af-content-item-mono__text-container {\n .af-content-item-mono__main-text {\n font-family: common.$font-family-base;\n font-size: 1.125rem;\n font-weight: 600;\n line-height: 1.4rem;\n }\n\n .af-content-item-mono__secondary-text {\n font-size: 1.125rem;\n line-height: 1.4rem;\n }\n\n .af-content-item-mono__tertiary-text {\n font-family: common.$font-family-base;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.25rem;\n color: common.$color-gray-700;\n }\n\n &:not(:has(.af-content-item-mono__tertiary-text)) {\n .af-content-item-mono__secondary-text {\n font-size: 1rem;\n line-height: 1.25rem;\n color: common.$color-gray-700;\n }\n }\n }\n\n &:has(.af-content-item-mono__stick) {\n .af-content-item-mono__text-container .af-content-item-mono__main-text {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n }\n\n &:not(\n :has(\n .af-content-item-mono__text-container\n .af-content-item-mono__secondary-text\n )\n ):has(\n .af-content-item-mono__text-container\n .af-content-item-mono__tertiary-text\n ) {\n .af-content-item-mono__text-container .af-content-item-mono__main-text {\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.25rem;\n }\n }\n }\n}\n\n@media (width <= #{common.$breakpoint-sm}) {\n .af-content-item-mono {\n &--xl .af-content-item-mono__text-container {\n .af-content-item-mono__main-text {\n font-size: 1.25rem;\n line-height: 1.56rem;\n }\n\n .af-content-item-mono__secondary-text {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n }\n\n &--m {\n .af-content-item-mono__text-container {\n .af-content-item-mono__main-text {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n\n .af-content-item-mono__secondary-text {\n font-size: 1rem;\n line-height: 1.25rem;\n }\n\n .af-content-item-mono__tertiary-text {\n font-size: 0.875rem;\n line-height: 1.1rem;\n }\n\n &:not(:has(.af-content-item-mono__tertiary-text)) {\n .af-content-item-mono__secondary-text {\n font-size: 0.875rem;\n line-height: 1.1rem;\n }\n }\n }\n\n &:has(.af-content-item-mono__stick) {\n .af-content-item-mono__text-container .af-content-item-mono__main-text {\n font-size: 0.875rem;\n line-height: 1.1rem;\n }\n }\n\n &:not(\n :has(\n .af-content-item-mono__text-container\n .af-content-item-mono__secondary-text\n )\n ):has(\n .af-content-item-mono__text-container\n .af-content-item-mono__tertiary-text\n ) {\n .af-content-item-mono__text-container .af-content-item-mono__main-text {\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 1.1rem;\n }\n }\n }\n }\n}\n","@import \"./mixins\";\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"]}
|