@axa-fr/design-system-look-and-feel-css 1.0.5-ci.115 → 1.0.5-ci.119

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.
@@ -0,0 +1 @@
1
+ .af-burger-menu.af-card{display:none}@media (max-width:1278.98px){.af-burger-menu.af-card{border-radius:0 0 .5rem .5rem;position:absolute;width:100%}.af-burger-menu.af-card,.af-burger-menu.af-card>ul{list-style-type:none;padding:0}.af-burger-menu.af-card .af-list__item{padding:0}.af-burger-menu.af-card .af-list__item .af-click-item{box-shadow:none;gap:1rem}.af-burger-menu.af-card .af-list__item .af-click-item>svg{fill:var(--color-axa)}.af-burger-menu.af-card .af-list__item .af-click-item__label{align-items:center;display:flex;flex-direction:row;font-size:1rem;font-weight:400;gap:1rem}.af-burger-menu.af-card .af-list__item .af-click-item__label>svg{fill:var(--color-axa)}.af-burger-menu.af-card.open{display:block}}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/Layout/Header/BurgerMenu/BurgerMenu.scss%23sass","../../../../src/Layout/Header/BurgerMenu/BurgerMenu.scss","../../../../src/common/common.scss"],"names":[],"mappings":"AAEA,wBACE,YCDF,CCqMI,6BFrMJ,wBAOI,6BAAA,CCJF,iBAAA,CDEE,UCGF,CDEE,mDAFA,oBAAA,CAFA,SCMF,CDGE,uCACE,SCDJ,CDGI,sDAEE,eAAA,CADA,QCAN,CDGM,0DACE,qBCDR,CDIM,6DAGE,kBAAA,CAFA,YAAA,CACA,kBAAA,CAGA,cAAA,CACA,eAAA,CAFA,QCAR,CDIQ,iEACE,qBCFV,CDQE,6BACE,aCNJ,CACF","file":"BurgerMenu.css","sourcesContent":["@use \"../../../common/common\" as common;\n\n.af-burger-menu.af-card {\n display: none;\n\n @include common.media-breakpoint-down(md) {\n position: absolute;\n width: 100%;\n padding: 0;\n border-radius: 0 0 common.rem(8) common.rem(8);\n list-style-type: none;\n\n & > ul {\n padding: 0;\n list-style-type: none;\n }\n\n .af-list__item {\n padding: 0;\n\n .af-click-item {\n gap: common.rem(16);\n box-shadow: none;\n\n & > svg {\n fill: var(--color-axa);\n }\n\n &__label {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: common.rem(16);\n font-size: common.rem(16);\n font-weight: 400;\n\n & > svg {\n fill: var(--color-axa);\n }\n }\n }\n }\n\n &.open {\n display: block;\n }\n }\n}\n","@use \"../../../common/common\" as common;\n\n.af-burger-menu.af-card {\n display: none;\n\n @include common.media-breakpoint-down(md) {\n position: absolute;\n width: 100%;\n padding: 0;\n border-radius: 0 0 common.rem(8) common.rem(8);\n list-style-type: none;\n\n & > ul {\n padding: 0;\n list-style-type: none;\n }\n\n .af-list__item {\n padding: 0;\n\n .af-click-item {\n gap: common.rem(16);\n box-shadow: none;\n\n & > svg {\n fill: var(--color-axa);\n }\n\n &__label {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: common.rem(16);\n font-size: common.rem(16);\n font-weight: 400;\n\n & > svg {\n fill: var(--color-axa);\n }\n }\n }\n }\n\n &.open {\n display: block;\n }\n }\n}\n","@use \"sass:map\";\n@use \"sass:list\";\n\n@forward \"./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-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$radius-8: 8px !default;\n$radius-100: 100% !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// Grid 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\n// Define the minimum dimensions at which your layout will change,\n// adapting to different screen sizes, for use in media queries.\n\n$grid-breakpoints: (\n xs: $breakpoint-xs,\n sm: $breakpoint-sm,\n md: $breakpoint-md,\n lg: $breakpoint-lg,\n xl: $breakpoint-xl,\n);\n\n// Breakpoint viewport sizes and media queries.\n\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n\n// (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px)\n\n// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n// Name of the next breakpoint, or null for the last breakpoint.\n\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next(\n $name,\n $breakpoints: $grid-breakpoints,\n $breakpoint-names: map.keys($breakpoints)\n) {\n $n: list.index($breakpoint-names, $name);\n\n @return if(\n $n < list.length($breakpoint-names),\n list.nth($breakpoint-names, $n + 1),\n null\n );\n}\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n\n// >> breakpoint-min(sm, (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px))\n// 667px\n@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {\n $min: map.get($breakpoints, $name);\n\n @return if($min != 0, $min, null);\n}\n\n// Maximum breakpoint width. Null for the largest (last) breakpoint.\n// The maximum value is calculated as the minimum of the next one less 0.02px\n// to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\n\n// >> breakpoint-max(sm, (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px))\n// 1022.98px\n@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {\n $next: breakpoint-next($name, $breakpoints);\n\n @return if($next, breakpoint-min($next, $breakpoints) - 0.02px, null);\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n"]}
@@ -0,0 +1,48 @@
1
+ @use "../../../common/common" as common;
2
+
3
+ .af-burger-menu.af-card {
4
+ display: none;
5
+
6
+ @include common.media-breakpoint-down(md) {
7
+ position: absolute;
8
+ width: 100%;
9
+ padding: 0;
10
+ border-radius: 0 0 common.rem(8) common.rem(8);
11
+ list-style-type: none;
12
+
13
+ & > ul {
14
+ padding: 0;
15
+ list-style-type: none;
16
+ }
17
+
18
+ .af-list__item {
19
+ padding: 0;
20
+
21
+ .af-click-item {
22
+ gap: common.rem(16);
23
+ box-shadow: none;
24
+
25
+ & > svg {
26
+ fill: var(--color-axa);
27
+ }
28
+
29
+ &__label {
30
+ display: flex;
31
+ flex-direction: row;
32
+ align-items: center;
33
+ gap: common.rem(16);
34
+ font-size: common.rem(16);
35
+ font-weight: 400;
36
+
37
+ & > svg {
38
+ fill: var(--color-axa);
39
+ }
40
+ }
41
+ }
42
+ }
43
+
44
+ &.open {
45
+ display: block;
46
+ }
47
+ }
48
+ }
@@ -1 +1 @@
1
- .af-header{background-color:var(--color-white);position:sticky;top:0;z-index:100}.af-header-container{align-items:center;border-bottom:1px solid var(--color-gray-300);border-top:2px solid var(--color-axa);color:var(--color-axa);display:flex;flex-direction:row;font-family:var(--font-family-sans-serif);font-size:1.25rem;font-weight:600;height:72px;justify-content:space-between;padding:0 1rem;width:100%}.af-header-container .af-btn-client{min-width:auto}.af-header-container .af-btn-client>svg{display:none}.af-logo{align-self:center;height:40px;width:40px}.af-header-left-item>nav{display:none}.af-header-right-item{align-items:center;display:flex;flex-direction:row;gap:var(--spacing-u1);margin:0 var(--spacing-u1)}@media only screen and (width >= 1023px){.af-header-container{border-top:2px solid var(--color-axa);height:80px;padding:0 3.75rem;width:auto}.af-header-container .af-btn-client>svg{display:block}.af-logo{height:56px;width:56px}.af-header-left-item{align-items:center;display:flex;flex-direction:row;gap:1.5rem;height:5rem}.af-header-left-item>nav{display:block}.af-header-right-item{gap:var(--spacing-u2);margin:0}}
1
+ .af-header{background-color:var(--color-white);position:sticky;top:0;z-index:2}.af-header>.af-header-container{align-items:center;border-bottom:1px solid var(--color-gray-300);border-top:2px solid var(--color-axa);color:var(--color-axa);display:flex;flex-direction:row;font-family:var(--font-family-sans-serif);font-size:1.25rem;font-weight:600;height:5rem;justify-content:space-between;padding:0 3.75rem;width:auto}@media (max-width:1278.98px){.af-header>.af-header-container{height:72px;padding:0 1rem;width:100%}}.af-header>.af-header-container>.af-header-left-item{align-items:center;display:flex;flex-direction:row;gap:1.5rem;height:5rem}.af-header>.af-header-container>.af-header-left-item>.af-logo{height:56px;width:56px}@media (max-width:1278.98px){.af-header>.af-header-container>.af-header-left-item>.af-logo{align-self:center;height:40px;width:40px}}.af-header>.af-header-container>.af-header-left-item>nav{display:block}@media (max-width:1278.98px){.af-header>.af-header-container>.af-header-left-item>nav{display:none}}.af-header>.af-header-container>.af-header-right-item{display:flex;flex-direction:row;gap:var(--spacing-u2);margin:0}@media (max-width:1278.98px){.af-header>.af-header-container>.af-header-right-item{display:none}}.af-header>.af-header-container>.af-btn-client{display:none}@media (max-width:1278.98px){.af-header>.af-header-container>.af-btn-client{display:block}}.af-header-overlay{display:none}@media (max-width:1278.98px){.af-header-overlay.open{background:var(--color-gray-900);display:block;inset:0;opacity:.5;position:fixed;z-index:1}}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Layout/Header/Header.scss%23sass","../../../src/Layout/Header/Header.scss"],"names":[],"mappings":"AAEA,WAIE,mCAAA,CAHA,eAAA,CAEA,KAAA,CCHF,WAGA,CDIA,qBAQE,kBAAA,CAFA,6CAAA,CADA,qCAAA,CAQA,sBAAA,CAZA,YAAA,CAMA,kBAAA,CAGA,yCAAA,CACA,iBAAA,CACA,eAAA,CATA,WAAA,CAMA,6BAAA,CALA,cAAA,CCJF,UAYA,CDGE,oCACE,cCDJ,CDGI,wCACE,YCDN,CDMA,SAGE,iBAAA,CCLF,WAAA,CDGE,UCDF,CDMA,yBACE,YCHF,CDMA,sBCAA,kBAAA,CDCE,YAAA,CAEA,kBAAA,CAEA,qBAAA,CCPF,0BAIA,CDMA,yCACE,qBCAA,qCAAA,CDEE,WAAA,CCHJ,iBAAA,CAFA,UAIE,CDKE,wCACE,aCHJ,CDOA,SAEE,WAAA,CADA,UCJF,CDQA,qBAIE,kBAAA,CAHA,YAAA,CAEA,kBAAA,CCLF,UAAA,CAHA,WAIA,CDQE,yBACE,aCNJ,CDUA,sBAEE,qBAAA,CADA,QCPF,CACF","file":"Header.css","sourcesContent":["@use \"../../common/common\" as common;\n\n.af-header {\n position: sticky;\n z-index: 100;\n top: 0;\n background-color: var(--color-white);\n}\n\n.af-header-container {\n display: flex;\n width: 100%;\n height: 72px;\n padding: 0 1rem;\n border-top: 2px solid var(--color-axa);\n border-bottom: 1px solid var(--color-gray-300);\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n font-family: var(--font-family-sans-serif);\n font-size: 1.25rem;\n font-weight: 600;\n color: var(--color-axa);\n\n & .af-btn-client {\n min-width: initial;\n\n & > svg {\n display: none;\n }\n }\n}\n\n.af-logo {\n width: 40px;\n height: 40px;\n align-self: center;\n}\n\n.af-header-left-item > nav {\n display: none;\n}\n\n.af-header-right-item {\n display: flex;\n margin: 0 var(--spacing-u1);\n flex-direction: row;\n align-items: center;\n gap: var(--spacing-u1);\n}\n\n@media only screen and (width >= #{common.$breakpoint-md}) {\n .af-header-container {\n width: auto;\n height: 80px;\n padding: 0 3.75rem;\n border-top: 2px solid var(--color-axa);\n\n & .af-btn-client > svg {\n display: block;\n }\n }\n\n .af-logo {\n width: 56px;\n height: 56px;\n }\n\n .af-header-left-item {\n display: flex;\n height: 5rem;\n flex-direction: row;\n align-items: center;\n gap: 1.5rem;\n\n & > nav {\n display: block;\n }\n }\n\n .af-header-right-item {\n margin: 0;\n gap: var(--spacing-u2);\n }\n}\n","@use \"../../common/common\" as common;\n\n.af-header {\n position: sticky;\n z-index: 100;\n top: 0;\n background-color: var(--color-white);\n}\n\n.af-header-container {\n display: flex;\n width: 100%;\n height: 72px;\n padding: 0 1rem;\n border-top: 2px solid var(--color-axa);\n border-bottom: 1px solid var(--color-gray-300);\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n font-family: var(--font-family-sans-serif);\n font-size: 1.25rem;\n font-weight: 600;\n color: var(--color-axa);\n\n & .af-btn-client {\n min-width: initial;\n\n & > svg {\n display: none;\n }\n }\n}\n\n.af-logo {\n width: 40px;\n height: 40px;\n align-self: center;\n}\n\n.af-header-left-item > nav {\n display: none;\n}\n\n.af-header-right-item {\n display: flex;\n margin: 0 var(--spacing-u1);\n flex-direction: row;\n align-items: center;\n gap: var(--spacing-u1);\n}\n\n@media only screen and (width >= #{common.$breakpoint-md}) {\n .af-header-container {\n width: auto;\n height: 80px;\n padding: 0 3.75rem;\n border-top: 2px solid var(--color-axa);\n\n & .af-btn-client > svg {\n display: block;\n }\n }\n\n .af-logo {\n width: 56px;\n height: 56px;\n }\n\n .af-header-left-item {\n display: flex;\n height: 5rem;\n flex-direction: row;\n align-items: center;\n gap: 1.5rem;\n\n & > nav {\n display: block;\n }\n }\n\n .af-header-right-item {\n margin: 0;\n gap: var(--spacing-u2);\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/Layout/Header/Header.scss%23sass","../../../src/Layout/Header/Header.scss","../../../src/common/common.scss"],"names":[],"mappings":"AAEA,WAIE,mCAAA,CAHA,eAAA,CAEA,KAAA,CCHF,SAGA,CDGE,gCAQE,kBAAA,CAFA,6CAAA,CADA,qCAAA,CAQA,sBAAA,CAZA,YAAA,CAMA,kBAAA,CAGA,yCAAA,CACA,iBAAA,CACA,eAAA,CATA,WAAA,CAMA,6BAAA,CALA,iBAAA,CAFA,UCUJ,CCmLI,6BF/LF,gCAiBI,WAAA,CACA,cAAA,CAFA,UCEJ,CACF,CDEI,qDAIE,kBAAA,CAHA,YAAA,CAEA,kBAAA,CAEA,UAAA,CAHA,WCGN,CDEM,8DAEE,WAAA,CADA,UCCR,CCiKI,6BFnKE,8DAOI,iBAAA,CADA,WAAA,CADA,UCGR,CACF,CDEM,yDACE,aCAR,CCuJI,6BFnJI,yDACE,YCDR,CACF,CDKI,sDACE,YAAA,CAEA,kBAAA,CACA,qBAAA,CAFA,QCDN,CC4II,6BF7IA,sDAOI,YCFN,CACF,CDKI,+CACE,YCHN,CCoII,6BFlIA,+CAII,aCFN,CACF,CDOA,mBACE,YCJF,CC2HI,6BFpHA,wBAME,gCAAA,CCPJ,aAAA,CDII,OAAA,CAEA,UAAA,CCTN,cAAA,CACE,SAKA,CACF","file":"Header.css","sourcesContent":["@use \"../../common/common\" as common;\n\n.af-header {\n position: sticky;\n z-index: 2;\n top: 0;\n background-color: var(--color-white);\n\n & > .af-header-container {\n display: flex;\n width: auto;\n height: common.rem(80);\n padding: 0 3.75rem;\n border-top: 2px solid var(--color-axa);\n border-bottom: 1px solid var(--color-gray-300);\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n font-family: var(--font-family-sans-serif);\n font-size: 1.25rem;\n font-weight: 600;\n color: var(--color-axa);\n\n @include common.media-breakpoint-down(md) {\n width: 100%;\n height: 72px;\n padding: 0 1rem;\n }\n\n & > .af-header-left-item {\n display: flex;\n height: 5rem;\n flex-direction: row;\n align-items: center;\n gap: 1.5rem;\n\n & > .af-logo {\n width: 56px;\n height: 56px;\n\n @include common.media-breakpoint-down(md) {\n width: 40px;\n height: 40px;\n align-self: center;\n }\n }\n\n & > nav {\n display: block;\n }\n\n @include common.media-breakpoint-down(md) {\n & > nav {\n display: none;\n }\n }\n }\n\n & > .af-header-right-item {\n display: flex;\n margin: 0;\n flex-direction: row;\n gap: var(--spacing-u2);\n\n @include common.media-breakpoint-down(md) {\n display: none;\n }\n }\n\n & > .af-btn-client {\n display: none;\n\n @include common.media-breakpoint-down(md) {\n display: block;\n }\n }\n }\n}\n\n.af-header-overlay {\n display: none;\n\n @include common.media-breakpoint-down(md) {\n &.open {\n position: fixed;\n z-index: 1;\n inset: 0;\n display: block;\n opacity: 0.5;\n background: var(--color-gray-900);\n }\n }\n}\n","@use \"../../common/common\" as common;\n\n.af-header {\n position: sticky;\n z-index: 2;\n top: 0;\n background-color: var(--color-white);\n\n & > .af-header-container {\n display: flex;\n width: auto;\n height: common.rem(80);\n padding: 0 3.75rem;\n border-top: 2px solid var(--color-axa);\n border-bottom: 1px solid var(--color-gray-300);\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n font-family: var(--font-family-sans-serif);\n font-size: 1.25rem;\n font-weight: 600;\n color: var(--color-axa);\n\n @include common.media-breakpoint-down(md) {\n width: 100%;\n height: 72px;\n padding: 0 1rem;\n }\n\n & > .af-header-left-item {\n display: flex;\n height: 5rem;\n flex-direction: row;\n align-items: center;\n gap: 1.5rem;\n\n & > .af-logo {\n width: 56px;\n height: 56px;\n\n @include common.media-breakpoint-down(md) {\n width: 40px;\n height: 40px;\n align-self: center;\n }\n }\n\n & > nav {\n display: block;\n }\n\n @include common.media-breakpoint-down(md) {\n & > nav {\n display: none;\n }\n }\n }\n\n & > .af-header-right-item {\n display: flex;\n margin: 0;\n flex-direction: row;\n gap: var(--spacing-u2);\n\n @include common.media-breakpoint-down(md) {\n display: none;\n }\n }\n\n & > .af-btn-client {\n display: none;\n\n @include common.media-breakpoint-down(md) {\n display: block;\n }\n }\n }\n}\n\n.af-header-overlay {\n display: none;\n\n @include common.media-breakpoint-down(md) {\n &.open {\n position: fixed;\n z-index: 1;\n inset: 0;\n display: block;\n opacity: 0.5;\n background: var(--color-gray-900);\n }\n }\n}\n","@use \"sass:map\";\n@use \"sass:list\";\n\n@forward \"./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-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$radius-8: 8px !default;\n$radius-100: 100% !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// Grid 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\n// Define the minimum dimensions at which your layout will change,\n// adapting to different screen sizes, for use in media queries.\n\n$grid-breakpoints: (\n xs: $breakpoint-xs,\n sm: $breakpoint-sm,\n md: $breakpoint-md,\n lg: $breakpoint-lg,\n xl: $breakpoint-xl,\n);\n\n// Breakpoint viewport sizes and media queries.\n\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n\n// (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px)\n\n// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n// Name of the next breakpoint, or null for the last breakpoint.\n\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next(\n $name,\n $breakpoints: $grid-breakpoints,\n $breakpoint-names: map.keys($breakpoints)\n) {\n $n: list.index($breakpoint-names, $name);\n\n @return if(\n $n < list.length($breakpoint-names),\n list.nth($breakpoint-names, $n + 1),\n null\n );\n}\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n\n// >> breakpoint-min(sm, (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px))\n// 667px\n@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {\n $min: map.get($breakpoints, $name);\n\n @return if($min != 0, $min, null);\n}\n\n// Maximum breakpoint width. Null for the largest (last) breakpoint.\n// The maximum value is calculated as the minimum of the next one less 0.02px\n// to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\n\n// >> breakpoint-max(sm, (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px))\n// 1022.98px\n@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {\n $next: breakpoint-next($name, $breakpoints);\n\n @return if($next, breakpoint-min($next, $breakpoints) - 0.02px, null);\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n"]}
@@ -2,84 +2,92 @@
2
2
 
3
3
  .af-header {
4
4
  position: sticky;
5
- z-index: 100;
5
+ z-index: 2;
6
6
  top: 0;
7
7
  background-color: var(--color-white);
8
- }
9
-
10
- .af-header-container {
11
- display: flex;
12
- width: 100%;
13
- height: 72px;
14
- padding: 0 1rem;
15
- border-top: 2px solid var(--color-axa);
16
- border-bottom: 1px solid var(--color-gray-300);
17
- flex-direction: row;
18
- align-items: center;
19
- justify-content: space-between;
20
- font-family: var(--font-family-sans-serif);
21
- font-size: 1.25rem;
22
- font-weight: 600;
23
- color: var(--color-axa);
24
8
 
25
- & .af-btn-client {
26
- min-width: initial;
9
+ & > .af-header-container {
10
+ display: flex;
11
+ width: auto;
12
+ height: common.rem(80);
13
+ padding: 0 3.75rem;
14
+ border-top: 2px solid var(--color-axa);
15
+ border-bottom: 1px solid var(--color-gray-300);
16
+ flex-direction: row;
17
+ align-items: center;
18
+ justify-content: space-between;
19
+ font-family: var(--font-family-sans-serif);
20
+ font-size: 1.25rem;
21
+ font-weight: 600;
22
+ color: var(--color-axa);
27
23
 
28
- & > svg {
29
- display: none;
24
+ @include common.media-breakpoint-down(md) {
25
+ width: 100%;
26
+ height: 72px;
27
+ padding: 0 1rem;
30
28
  }
31
- }
32
- }
33
29
 
34
- .af-logo {
35
- width: 40px;
36
- height: 40px;
37
- align-self: center;
38
- }
30
+ & > .af-header-left-item {
31
+ display: flex;
32
+ height: 5rem;
33
+ flex-direction: row;
34
+ align-items: center;
35
+ gap: 1.5rem;
39
36
 
40
- .af-header-left-item > nav {
41
- display: none;
42
- }
37
+ & > .af-logo {
38
+ width: 56px;
39
+ height: 56px;
43
40
 
44
- .af-header-right-item {
45
- display: flex;
46
- margin: 0 var(--spacing-u1);
47
- flex-direction: row;
48
- align-items: center;
49
- gap: var(--spacing-u1);
50
- }
41
+ @include common.media-breakpoint-down(md) {
42
+ width: 40px;
43
+ height: 40px;
44
+ align-self: center;
45
+ }
46
+ }
51
47
 
52
- @media only screen and (width >= #{common.$breakpoint-md}) {
53
- .af-header-container {
54
- width: auto;
55
- height: 80px;
56
- padding: 0 3.75rem;
57
- border-top: 2px solid var(--color-axa);
48
+ & > nav {
49
+ display: block;
50
+ }
58
51
 
59
- & .af-btn-client > svg {
60
- display: block;
52
+ @include common.media-breakpoint-down(md) {
53
+ & > nav {
54
+ display: none;
55
+ }
56
+ }
61
57
  }
62
- }
63
58
 
64
- .af-logo {
65
- width: 56px;
66
- height: 56px;
67
- }
59
+ & > .af-header-right-item {
60
+ display: flex;
61
+ margin: 0;
62
+ flex-direction: row;
63
+ gap: var(--spacing-u2);
68
64
 
69
- .af-header-left-item {
70
- display: flex;
71
- height: 5rem;
72
- flex-direction: row;
73
- align-items: center;
74
- gap: 1.5rem;
65
+ @include common.media-breakpoint-down(md) {
66
+ display: none;
67
+ }
68
+ }
75
69
 
76
- & > nav {
77
- display: block;
70
+ & > .af-btn-client {
71
+ display: none;
72
+
73
+ @include common.media-breakpoint-down(md) {
74
+ display: block;
75
+ }
78
76
  }
79
77
  }
78
+ }
80
79
 
81
- .af-header-right-item {
82
- margin: 0;
83
- gap: var(--spacing-u2);
80
+ .af-header-overlay {
81
+ display: none;
82
+
83
+ @include common.media-breakpoint-down(md) {
84
+ &.open {
85
+ position: fixed;
86
+ z-index: 1;
87
+ inset: 0;
88
+ display: block;
89
+ opacity: 0.5;
90
+ background: var(--color-gray-900);
91
+ }
84
92
  }
85
93
  }
@@ -1 +1 @@
1
- .af-navbar-container{align-items:center;display:flex;flex-direction:row;gap:1.6rem;height:5rem;list-style-type:none;margin:0;padding:0}.af-navbar-item{cursor:pointer;height:100%}.af-navbar-item__link{box-sizing:border-box;color:var(--color-gray-900);display:inline-block;font-family:var(--font-family-base);font-size:1.125rem;font-weight:400;height:100%;line-height:1.4rem;min-width:8.4rem;padding:1.625rem 1.5rem;text-align:center;text-decoration:none}.af-navbar-item__link--active,.af-navbar-item__link:focus{border-bottom:4px solid var(--color-axa);color:var(--color-axa);font-weight:600;line-height:1.6rem;outline:none;text-decoration:none}.af-navbar-item__link:not(:focus,--active):hover{border-bottom:2px solid var(--color-gray-300);color:var(--color-gray-900);font-weight:400;line-height:1.4rem;text-decoration:none}
1
+ .af-navbar-container{align-items:center;display:flex;flex-direction:row;gap:1.6rem;height:5rem;list-style-type:none;margin:0;padding:0}.af-navbar-container .af-navbar-item{cursor:pointer;height:100%}.af-navbar-container .af-navbar-item__link{box-sizing:border-box;color:var(--color-gray-900);display:inline-block;font-family:var(--font-family-base);font-size:1.125rem;font-weight:400;height:100%;line-height:1.4rem;min-width:8.4rem;padding:1.625rem 1.5rem;text-align:center;text-decoration:none}.af-navbar-container .af-navbar-item__link>svg{display:none}.af-navbar-container .af-navbar-item__link--active,.af-navbar-container .af-navbar-item__link:focus{border-bottom:4px solid var(--color-axa);color:var(--color-axa);font-weight:600;line-height:1.6rem;outline:none;text-decoration:none}.af-navbar-container .af-navbar-item__link:not(:focus,--active):hover{border-bottom:2px solid var(--color-gray-300);color:var(--color-gray-900);font-weight:400;line-height:1.4rem;text-decoration:none}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/Layout/Header/NavBar/NavBar.scss%23sass","../../../../src/Layout/Header/NavBar/NavBar.scss"],"names":[],"mappings":"AAAA,qBAME,kBAAA,CALA,YAAA,CAIA,kBAAA,CAEA,UAAA,CALA,WAAA,CAMA,oBAAA,CALA,QAAA,CACA,SCKF,CDEA,gBAEE,cAAA,CADA,WCEF,CDCE,sBAEE,qBAAA,CAUA,2BAAA,CAXA,oBAAA,CAKA,mCAAA,CACA,kBAAA,CACA,eAAA,CAJA,WAAA,CAKA,kBAAA,CANA,gBAAA,CAEA,uBAAA,CAKA,iBAAA,CACA,oBCEJ,CDCI,0DAEE,wCAAA,CAIA,sBAAA,CAHA,eAAA,CACA,kBAAA,CAGA,YAAA,CAFA,oBCEN,CDGI,iDACE,6CAAA,CAIA,2BAAA,CAHA,eAAA,CACA,kBAAA,CACA,oBCAN","file":"NavBar.css","sourcesContent":[".af-navbar-container {\n display: flex;\n height: 5rem;\n margin: 0;\n padding: 0;\n flex-direction: row;\n align-items: center;\n gap: 1.6rem;\n list-style-type: none;\n}\n\n.af-navbar-item {\n height: 100%;\n cursor: pointer;\n\n &__link {\n display: inline-block;\n box-sizing: border-box;\n min-width: 8.4rem;\n height: 100%;\n padding: 1.625rem 1.5rem;\n font-family: var(--font-family-base);\n font-size: 1.125rem;\n font-weight: 400;\n line-height: 1.4rem;\n text-align: center;\n text-decoration: none;\n color: var(--color-gray-900);\n\n &:focus,\n &--active {\n border-bottom: 4px solid var(--color-axa);\n font-weight: 600;\n line-height: 1.6rem;\n text-decoration: none;\n color: var(--color-axa);\n outline: none;\n }\n\n &:not(:focus, --active):hover {\n border-bottom: 2px solid var(--color-gray-300);\n font-weight: 400;\n line-height: 1.4rem;\n text-decoration: none;\n color: var(--color-gray-900);\n }\n }\n}\n",".af-navbar-container {\n display: flex;\n height: 5rem;\n margin: 0;\n padding: 0;\n flex-direction: row;\n align-items: center;\n gap: 1.6rem;\n list-style-type: none;\n}\n\n.af-navbar-item {\n height: 100%;\n cursor: pointer;\n\n &__link {\n display: inline-block;\n box-sizing: border-box;\n min-width: 8.4rem;\n height: 100%;\n padding: 1.625rem 1.5rem;\n font-family: var(--font-family-base);\n font-size: 1.125rem;\n font-weight: 400;\n line-height: 1.4rem;\n text-align: center;\n text-decoration: none;\n color: var(--color-gray-900);\n\n &:focus,\n &--active {\n border-bottom: 4px solid var(--color-axa);\n font-weight: 600;\n line-height: 1.6rem;\n text-decoration: none;\n color: var(--color-axa);\n outline: none;\n }\n\n &:not(:focus, --active):hover {\n border-bottom: 2px solid var(--color-gray-300);\n font-weight: 400;\n line-height: 1.4rem;\n text-decoration: none;\n color: var(--color-gray-900);\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/Layout/Header/NavBar/NavBar.scss%23sass","../../../../src/Layout/Header/NavBar/NavBar.scss"],"names":[],"mappings":"AAEA,qBAME,kBAAA,CALA,YAAA,CAIA,kBAAA,CAEA,UAAA,CCPF,WAAA,CDQE,oBAAA,CALA,QAAA,CACA,SCGF,CDGE,qCAEE,cAAA,CADA,WCAJ,CDGI,2CAEE,qBAAA,CAUA,2BAAA,CAXA,oBAAA,CAKA,mCAAA,CACA,kBAAA,CACA,eAAA,CAJA,WAAA,CAKA,kBAAA,CANA,gBAAA,CAEA,uBAAA,CAKA,iBAAA,CACA,oBCAN,CDGM,+CACE,YCDR,CDIM,oGAEE,wCAAA,CAIA,sBAAA,CAHA,eAAA,CACA,kBAAA,CAGA,YAAA,CAFA,oBCDR,CDMM,sEACE,6CAAA,CAIA,2BAAA,CAHA,eAAA,CACA,kBAAA,CACA,oBCHR","file":"NavBar.css","sourcesContent":["@use \"../../../common/common\" as common;\n\n.af-navbar-container {\n display: flex;\n height: 5rem;\n margin: 0;\n padding: 0;\n flex-direction: row;\n align-items: center;\n gap: 1.6rem;\n list-style-type: none;\n\n .af-navbar-item {\n height: 100%;\n cursor: pointer;\n\n &__link {\n display: inline-block;\n box-sizing: border-box;\n min-width: 8.4rem;\n height: 100%;\n padding: 1.625rem 1.5rem;\n font-family: var(--font-family-base);\n font-size: 1.125rem;\n font-weight: 400;\n line-height: 1.4rem;\n text-align: center;\n text-decoration: none;\n color: var(--color-gray-900);\n\n & > svg {\n display: none;\n }\n\n &:focus,\n &--active {\n border-bottom: 4px solid var(--color-axa);\n font-weight: 600;\n line-height: 1.6rem;\n text-decoration: none;\n color: var(--color-axa);\n outline: none;\n }\n\n &:not(:focus, --active):hover {\n border-bottom: 2px solid var(--color-gray-300);\n font-weight: 400;\n line-height: 1.4rem;\n text-decoration: none;\n color: var(--color-gray-900);\n }\n }\n }\n}\n","@use \"../../../common/common\" as common;\n\n.af-navbar-container {\n display: flex;\n height: 5rem;\n margin: 0;\n padding: 0;\n flex-direction: row;\n align-items: center;\n gap: 1.6rem;\n list-style-type: none;\n\n .af-navbar-item {\n height: 100%;\n cursor: pointer;\n\n &__link {\n display: inline-block;\n box-sizing: border-box;\n min-width: 8.4rem;\n height: 100%;\n padding: 1.625rem 1.5rem;\n font-family: var(--font-family-base);\n font-size: 1.125rem;\n font-weight: 400;\n line-height: 1.4rem;\n text-align: center;\n text-decoration: none;\n color: var(--color-gray-900);\n\n & > svg {\n display: none;\n }\n\n &:focus,\n &--active {\n border-bottom: 4px solid var(--color-axa);\n font-weight: 600;\n line-height: 1.6rem;\n text-decoration: none;\n color: var(--color-axa);\n outline: none;\n }\n\n &:not(:focus, --active):hover {\n border-bottom: 2px solid var(--color-gray-300);\n font-weight: 400;\n line-height: 1.4rem;\n text-decoration: none;\n color: var(--color-gray-900);\n }\n }\n }\n}\n"]}
@@ -1,3 +1,5 @@
1
+ @use "../../../common/common" as common;
2
+
1
3
  .af-navbar-container {
2
4
  display: flex;
3
5
  height: 5rem;
@@ -7,42 +9,46 @@
7
9
  align-items: center;
8
10
  gap: 1.6rem;
9
11
  list-style-type: none;
10
- }
11
-
12
- .af-navbar-item {
13
- height: 100%;
14
- cursor: pointer;
15
12
 
16
- &__link {
17
- display: inline-block;
18
- box-sizing: border-box;
19
- min-width: 8.4rem;
13
+ .af-navbar-item {
20
14
  height: 100%;
21
- padding: 1.625rem 1.5rem;
22
- font-family: var(--font-family-base);
23
- font-size: 1.125rem;
24
- font-weight: 400;
25
- line-height: 1.4rem;
26
- text-align: center;
27
- text-decoration: none;
28
- color: var(--color-gray-900);
15
+ cursor: pointer;
29
16
 
30
- &:focus,
31
- &--active {
32
- border-bottom: 4px solid var(--color-axa);
33
- font-weight: 600;
34
- line-height: 1.6rem;
35
- text-decoration: none;
36
- color: var(--color-axa);
37
- outline: none;
38
- }
39
-
40
- &:not(:focus, --active):hover {
41
- border-bottom: 2px solid var(--color-gray-300);
17
+ &__link {
18
+ display: inline-block;
19
+ box-sizing: border-box;
20
+ min-width: 8.4rem;
21
+ height: 100%;
22
+ padding: 1.625rem 1.5rem;
23
+ font-family: var(--font-family-base);
24
+ font-size: 1.125rem;
42
25
  font-weight: 400;
43
26
  line-height: 1.4rem;
27
+ text-align: center;
44
28
  text-decoration: none;
45
29
  color: var(--color-gray-900);
30
+
31
+ & > svg {
32
+ display: none;
33
+ }
34
+
35
+ &:focus,
36
+ &--active {
37
+ border-bottom: 4px solid var(--color-axa);
38
+ font-weight: 600;
39
+ line-height: 1.6rem;
40
+ text-decoration: none;
41
+ color: var(--color-axa);
42
+ outline: none;
43
+ }
44
+
45
+ &:not(:focus, --active):hover {
46
+ border-bottom: 2px solid var(--color-gray-300);
47
+ font-weight: 400;
48
+ line-height: 1.4rem;
49
+ text-decoration: none;
50
+ color: var(--color-gray-900);
51
+ }
46
52
  }
47
53
  }
48
54
  }
@@ -1 +1 @@
1
- .af-header-previous-link-container{align-items:center;display:flex;gap:.25rem;padding-top:1rem}.af-header-previous-link-container .af-btn-client--header-previous-link{color:var(--color-gray-700);font-size:1rem;font-weight:400;line-height:1.25rem}.af-header-previous-link-container .af-btn-client--header-previous-link svg{fill:var(--color-gray-700)}@media only screen and (width >= 1023px){.af-header-previous-link-container{padding:1.5rem 0 0 7.5rem}.af-header-previous-link-container .af-btn-client--header-previous-link{font-size:1.125rem;line-height:1.40625rem}}
1
+ .af-header-previous-link-container{align-items:center;display:flex;gap:.25rem;padding-top:1rem}@media (min-width:1023px){.af-header-previous-link-container{padding:1.5rem 0 0 7.5rem}}.af-header-previous-link-container .af-btn-client--header-previous-link{color:var(--color-gray-700);font-size:1rem;font-weight:400;line-height:1.25rem}.af-header-previous-link-container .af-btn-client--header-previous-link svg{fill:var(--color-gray-700)}@media (min-width:1023px){.af-header-previous-link-container .af-btn-client--header-previous-link{font-size:1.125rem;line-height:1.40625rem}}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/Layout/Header/PreviousLink/PreviousLink.scss%23sass","../../../../src/Layout/Header/PreviousLink/PreviousLink.scss"],"names":[],"mappings":"AAEA,mCAGE,kBAAA,CAFA,YAAA,CAGA,UAAA,CCJF,gBAGA,CDGE,wEAIE,2BAAA,CAHA,cAAA,CACA,eAAA,CACA,mBCAJ,CDGI,4EACE,0BCDN,CDMA,yCACE,mCCHF,yBACE,CACF,wEACE,kBAAA,CDKI,sBCHJ,CACF","file":"PreviousLink.css","sourcesContent":["@use \"../../../common/common\" as common;\n\n.af-header-previous-link-container {\n display: flex;\n padding-top: 1rem;\n align-items: center;\n gap: 0.25rem;\n\n .af-btn-client--header-previous-link {\n font-size: common.rem(16);\n font-weight: 400;\n line-height: common.rem(20);\n color: var(--color-gray-700);\n\n svg {\n fill: var(--color-gray-700);\n }\n }\n}\n\n@media only screen and (width >= #{common.$breakpoint-md}) {\n .af-header-previous-link-container {\n padding: 1.5rem 0 0 7.5rem;\n\n .af-btn-client--header-previous-link {\n font-size: common.rem(18);\n line-height: common.rem(22.5);\n }\n }\n}\n","@use \"../../../common/common\" as common;\n\n.af-header-previous-link-container {\n display: flex;\n padding-top: 1rem;\n align-items: center;\n gap: 0.25rem;\n\n .af-btn-client--header-previous-link {\n font-size: common.rem(16);\n font-weight: 400;\n line-height: common.rem(20);\n color: var(--color-gray-700);\n\n svg {\n fill: var(--color-gray-700);\n }\n }\n}\n\n@media only screen and (width >= #{common.$breakpoint-md}) {\n .af-header-previous-link-container {\n padding: 1.5rem 0 0 7.5rem;\n\n .af-btn-client--header-previous-link {\n font-size: common.rem(18);\n line-height: common.rem(22.5);\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/Layout/Header/PreviousLink/PreviousLink.scss%23sass","../../../../src/Layout/Header/PreviousLink/PreviousLink.scss","../../../../src/common/common.scss"],"names":[],"mappings":"AAEA,mCAGE,kBAAA,CAFA,YAAA,CAGA,UAAA,CCJF,gBAGA,CCoLI,0BFvLJ,mCCME,yBACA,CACF,CDEE,wEAIE,2BAAA,CAHA,cAAA,CACA,eAAA,CACA,mBCCJ,CDEI,4EACE,0BCAN,CCsKI,0BF7KF,wEAWI,kBAAA,CACA,sBCAJ,CACF","file":"PreviousLink.css","sourcesContent":["@use \"../../../common/common\" as common;\n\n.af-header-previous-link-container {\n display: flex;\n padding-top: 1rem;\n align-items: center;\n gap: 0.25rem;\n\n @include common.media-breakpoint-up(md) {\n padding: 1.5rem 0 0 7.5rem;\n }\n\n .af-btn-client--header-previous-link {\n font-size: common.rem(16);\n font-weight: 400;\n line-height: common.rem(20);\n color: var(--color-gray-700);\n\n svg {\n fill: var(--color-gray-700);\n }\n\n @include common.media-breakpoint-up(md) {\n font-size: common.rem(18);\n line-height: common.rem(22.5);\n }\n }\n}\n","@use \"../../../common/common\" as common;\n\n.af-header-previous-link-container {\n display: flex;\n padding-top: 1rem;\n align-items: center;\n gap: 0.25rem;\n\n @include common.media-breakpoint-up(md) {\n padding: 1.5rem 0 0 7.5rem;\n }\n\n .af-btn-client--header-previous-link {\n font-size: common.rem(16);\n font-weight: 400;\n line-height: common.rem(20);\n color: var(--color-gray-700);\n\n svg {\n fill: var(--color-gray-700);\n }\n\n @include common.media-breakpoint-up(md) {\n font-size: common.rem(18);\n line-height: common.rem(22.5);\n }\n }\n}\n","@use \"sass:map\";\n@use \"sass:list\";\n\n@forward \"./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-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$radius-8: 8px !default;\n$radius-100: 100% !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// Grid 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\n// Define the minimum dimensions at which your layout will change,\n// adapting to different screen sizes, for use in media queries.\n\n$grid-breakpoints: (\n xs: $breakpoint-xs,\n sm: $breakpoint-sm,\n md: $breakpoint-md,\n lg: $breakpoint-lg,\n xl: $breakpoint-xl,\n);\n\n// Breakpoint viewport sizes and media queries.\n\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n\n// (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px)\n\n// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n// Name of the next breakpoint, or null for the last breakpoint.\n\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next(\n $name,\n $breakpoints: $grid-breakpoints,\n $breakpoint-names: map.keys($breakpoints)\n) {\n $n: list.index($breakpoint-names, $name);\n\n @return if(\n $n < list.length($breakpoint-names),\n list.nth($breakpoint-names, $n + 1),\n null\n );\n}\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n\n// >> breakpoint-min(sm, (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px))\n// 667px\n@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {\n $min: map.get($breakpoints, $name);\n\n @return if($min != 0, $min, null);\n}\n\n// Maximum breakpoint width. Null for the largest (last) breakpoint.\n// The maximum value is calculated as the minimum of the next one less 0.02px\n// to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\n\n// >> breakpoint-max(sm, (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px))\n// 1022.98px\n@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {\n $next: breakpoint-next($name, $breakpoints);\n\n @return if($next, breakpoint-min($next, $breakpoints) - 0.02px, null);\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n"]}
@@ -6,6 +6,10 @@
6
6
  align-items: center;
7
7
  gap: 0.25rem;
8
8
 
9
+ @include common.media-breakpoint-up(md) {
10
+ padding: 1.5rem 0 0 7.5rem;
11
+ }
12
+
9
13
  .af-btn-client--header-previous-link {
10
14
  font-size: common.rem(16);
11
15
  font-weight: 400;
@@ -15,14 +19,8 @@
15
19
  svg {
16
20
  fill: var(--color-gray-700);
17
21
  }
18
- }
19
- }
20
-
21
- @media only screen and (width >= #{common.$breakpoint-md}) {
22
- .af-header-previous-link-container {
23
- padding: 1.5rem 0 0 7.5rem;
24
22
 
25
- .af-btn-client--header-previous-link {
23
+ @include common.media-breakpoint-up(md) {
26
24
  font-size: common.rem(18);
27
25
  line-height: common.rem(22.5);
28
26
  }
@@ -1,3 +1,6 @@
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+
1
4
  @forward "./mixins";
2
5
 
3
6
  $font-family-sans-serif: "Source Sans Pro", arial, sans-serif !default;
@@ -101,10 +104,103 @@ $error-custom-bg: #ffbfbf !default;
101
104
  $color-alertDanger-colorBorder: #c8b282 !default;
102
105
  $color-alertDanger-bgColor: #f1d596 !default;
103
106
 
104
- // breakpoints
107
+ // Grid breakpoints
105
108
 
106
109
  $breakpoint-xs: 0 !default;
107
110
  $breakpoint-sm: 667px !default;
108
111
  $breakpoint-md: 1023px !default;
109
112
  $breakpoint-lg: 1279px !default;
110
113
  $breakpoint-xl: 1599px !default;
114
+
115
+ // Define the minimum dimensions at which your layout will change,
116
+ // adapting to different screen sizes, for use in media queries.
117
+
118
+ $grid-breakpoints: (
119
+ xs: $breakpoint-xs,
120
+ sm: $breakpoint-sm,
121
+ md: $breakpoint-md,
122
+ lg: $breakpoint-lg,
123
+ xl: $breakpoint-xl,
124
+ );
125
+
126
+ // Breakpoint viewport sizes and media queries.
127
+
128
+ // Breakpoints are defined as a map of (name: minimum width), order from small to large:
129
+
130
+ // (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px)
131
+
132
+ // The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.
133
+ // Name of the next breakpoint, or null for the last breakpoint.
134
+
135
+ // >> breakpoint-next(sm)
136
+ // md
137
+ // >> breakpoint-next(sm, (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px))
138
+ // md
139
+ // >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))
140
+ // md
141
+ @function breakpoint-next(
142
+ $name,
143
+ $breakpoints: $grid-breakpoints,
144
+ $breakpoint-names: map.keys($breakpoints)
145
+ ) {
146
+ $n: list.index($breakpoint-names, $name);
147
+
148
+ @return if(
149
+ $n < list.length($breakpoint-names),
150
+ list.nth($breakpoint-names, $n + 1),
151
+ null
152
+ );
153
+ }
154
+
155
+ // Minimum breakpoint width. Null for the smallest (first) breakpoint.
156
+
157
+ // >> breakpoint-min(sm, (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px))
158
+ // 667px
159
+ @function breakpoint-min($name, $breakpoints: $grid-breakpoints) {
160
+ $min: map.get($breakpoints, $name);
161
+
162
+ @return if($min != 0, $min, null);
163
+ }
164
+
165
+ // Maximum breakpoint width. Null for the largest (last) breakpoint.
166
+ // The maximum value is calculated as the minimum of the next one less 0.02px
167
+ // to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.
168
+ // See https://www.w3.org/TR/mediaqueries-4/#mq-min-max
169
+ // Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.
170
+ // See https://bugs.webkit.org/show_bug.cgi?id=178261
171
+
172
+ // >> breakpoint-max(sm, (xs: 0, sm: 667px, md: 1023px, lg: 1279px, xl: 1599px))
173
+ // 1022.98px
174
+ @function breakpoint-max($name, $breakpoints: $grid-breakpoints) {
175
+ $next: breakpoint-next($name, $breakpoints);
176
+
177
+ @return if($next, breakpoint-min($next, $breakpoints) - 0.02px, null);
178
+ }
179
+
180
+ // Media of at least the minimum breakpoint width. No query for the smallest breakpoint.
181
+ // Makes the @content apply to the given breakpoint and wider.
182
+ @mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {
183
+ $min: breakpoint-min($name, $breakpoints);
184
+
185
+ @if $min {
186
+ @media (min-width: $min) {
187
+ @content;
188
+ }
189
+ } @else {
190
+ @content;
191
+ }
192
+ }
193
+
194
+ // Media of at most the maximum breakpoint width. No query for the largest breakpoint.
195
+ // Makes the @content apply to the given breakpoint and narrower.
196
+ @mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {
197
+ $max: breakpoint-max($name, $breakpoints);
198
+
199
+ @if $max {
200
+ @media (max-width: $max) {
201
+ @content;
202
+ }
203
+ } @else {
204
+ @content;
205
+ }
206
+ }