@sunrise-upc/sales-static-components 3.8.7-beta.6 → 3.8.7-beta.7
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/cjs/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js.map +1 -1
- package/dist/cjs/services/customerSegmentSync.js +1 -1
- package/dist/cjs/services/customerSegmentSync.js.map +1 -1
- package/dist/esm/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js +1 -1
- package/dist/esm/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js.map +1 -1
- package/dist/esm/services/customerSegmentSync.js +1 -1
- package/dist/esm/services/customerSegmentSync.js.map +1 -1
- package/dist/navigation.css +481 -481
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
require('./ProfileLinkOut.css');
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=require("react"),
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=require("react"),t=require("./ProfileLinkOut.module.scss.js"),l=require("../../../utils/AnalyticUtils.js"),s=require("../../../utils/AnalyticsConstants.js"),i=require("../../Constants.js"),r=require("../shared.js"),n=require("../useOnClickOutside.js");exports.default=({link:c,title:d,logoutLabel:o,salutationLabel:u,userIcon:m,arrowRight:f,arrowDown:N,logoutIcon:h,isBlackFriday:v=!1,logoutUrl:E})=>{var g;const[k,x]=a.useState(()=>(()=>{if("undefined"==typeof document)return;const e=`${i.AUTHCOOKIE}=`,a=document.cookie.split(";");for(let t of a){for(;" "===t.charAt(0);)t=t.substring(1);if(0===t.indexOf(e))try{const a=JSON.parse(decodeURIComponent(t.substring(e.length,t.length)));return!a.personalisedName&&a.firstName&&a.lastName&&(a.personalisedName=`${a.firstName[0]}${a.lastName[0]}`),a}catch(e){return}}})()),[j,w]=a.useState(!1),[C,y]=a.useState(!1),_=n.default(w,!1,j),I=(null==m?void 0:m.filename)||r.getStaticAssetPath("/HeaderIcons/new_profile_icon.svg"),A=(null==f?void 0:f.filename)||r.getStaticAssetPath("/HeaderIcons/arrow-right.svg"),O=(null==N?void 0:N.filename)||r.getStaticAssetPath("/HeaderIcons/red_down_arrow.svg"),p=(null==h?void 0:h.filename)||r.getStaticAssetPath("/HeaderIcons/logout.svg"),S=(null==c?void 0:c.cached_url)||(null==c?void 0:c.url)||"/",T=()=>{var e;try{window.sessionStorage.removeItem(i.AUTHSTAMP),localStorage.removeItem("userNameType"),localStorage.setItem(i.CUSTOMER_GROUP_STORAGE_KEY,i.CUSTOMER_GROUP_NEW_CUSTOMER_VALUE),window.dispatchEvent(new CustomEvent(i.CUSTOMER_SEGMENT_REFRESH_EVENT)),null===(e=window.sprChat)||void 0===e||e.call(window,"updateUserSettings",{})}catch(e){}x(void 0)},$=()=>{l.trackNewDatalayerEvent(s.GAEVENT,s.SUBNAVCLICK,{link_url:"#",click_text:o}),l.trackNewDatalayerEvent(s.GAEVENT,s.PROFILELOGOUT,{click_text:o});const e=()=>{"undefined"!=typeof window&&window.location.reload()};if(!E)return T(),void e();fetch(E,{method:"GET"}).then(e=>{e.ok&&T()}).catch(()=>{}).finally(()=>{e()})},L=()=>{k?l.trackNewDatalayerEvent(s.GAEVENT,s.PROFILECLICK,{click_text:k.personalisedName}):l.trackNewDatalayerEvent(s.GAEVENT,s.LOGINCLICK,{click_text:d})},R=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:t.default["profile-icon"],style:{backgroundImage:`url(${I})`}}),e.jsx("div",{className:t.default["profile-name"],children:k?k.personalisedName:d}),k?e.jsx("div",{className:t.default["profile-arrow-down-icon"],style:{backgroundImage:`url(${O})`}}):e.jsx("div",{className:t.default["profile-arrow-icon"],style:{backgroundImage:`url(${A})`}})]}),U=e.jsxs("div",{className:`${t.default["login-flyover"]} ${v?t.default["black-friday"]:""}`,children:[k&&e.jsxs("div",{className:t.default.salutation,children:[u||""," ",k.firstName?`${k.firstName} ${null!==(g=k.lastName)&&void 0!==g?g:""}`:""]}),e.jsxs("div",{className:"d-none d-md-block",children:[e.jsx("div",{className:t.default.mysunrise,onClick:()=>l.trackNewDatalayerEvent(s.GAEVENT,s.MYPROFILECLICK,{click_text:d}),children:e.jsx("a",{href:S,children:d})}),k&&o&&e.jsx("div",{className:t.default.logout,children:e.jsxs("a",{onClick:$,children:[o,e.jsx("img",{className:t.default.logout1,src:p,alt:"logout"})]})})]}),e.jsxs("div",{className:"d-md-none",children:[e.jsx("a",{href:S,onClick:()=>l.trackNewDatalayerEvent(s.GAEVENT,s.MYPROFILECLICK,{click_text:d}),children:e.jsx("div",{className:t.default.mysunrise,children:d})}),k&&o&&e.jsx("a",{onClick:$,children:e.jsxs("div",{className:t.default.logout,children:[o,e.jsx("img",{className:"d-md-none",src:p,alt:"logout"})]})})]})]});return k?e.jsxs(e.Fragment,{children:[e.jsxs("div",{ref:_,className:"d-none d-md-block",children:[e.jsx("a",{onClick:()=>{w(e=>!e),L()},className:`d-flex align-items-center ${t.default.section} ${j?t.default.highlight:""} ${v?t.default["black-friday"]:""}`,children:R}),j&&U]}),e.jsxs("div",{className:"d-md-none",children:[e.jsx("a",{onClick:()=>{y(e=>!e),L()},className:`d-flex align-items-center ${t.default.section} ${C?t.default["section-clicked"]:""} ${v?t.default["black-friday"]:""}`,children:R}),C&&U]})]}):e.jsx("a",{href:S,className:`d-flex ${t.default["non-section"]} ${v?t.default["black-friday"]:""}`,onClick:()=>{l.trackNewDatalayerEvent(s.GAEVENT,s.MAINNAVCLICK,{link_url:null==c?void 0:c.cached_url,click_text:d}),L()},children:R})};
|
|
3
3
|
//# sourceMappingURL=ProfileLinkOut.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileLinkOut.js","sources":["../../../../../../src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.tsx"],"sourcesContent":[null],"names":["link","title","logoutLabel","salutationLabel","userIcon","arrowRight","arrowDown","logoutIcon","isBlackFriday","logoutUrl","authData","setAuthData","useState","document","name","AUTHCOOKIE","cookies","cookie","split","charAt","substring","indexOf","parsed","JSON","parse","decodeURIComponent","length","personalisedName","firstName","lastName","_a","readAuthCookie","desktopPopup","setDesktopPopup","mobilePopup","setMobilePopup","popUpRef","useOnClickOutside","profileIconSrc","filename","getStaticAssetPath","arrowRightSrc","arrowDownSrc","logoutIconSrc","linkHref","cached_url","url","clearClientAuthState","window","sessionStorage","removeItem","AUTHSTAMP","localStorage","sprChat","call","_b","undefined","handleLogout","trackNewDatalayerEvent","GAEVENT","SUBNAVCLICK","link_url","click_text","PROFILELOGOUT","reload","location","fetch","method","then","response","ok","catch","finally","profileClick","PROFILECLICK","LOGINCLICK","ProfileContent","_jsxs","_Fragment","children","_jsx","className","styles","style","backgroundImage","FlyOverContent","onClick","MYPROFILECLICK","href","src","alt","ref","prev","MAINNAVCLICK"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProfileLinkOut.js","sources":["../../../../../../src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.tsx"],"sourcesContent":[null],"names":["link","title","logoutLabel","salutationLabel","userIcon","arrowRight","arrowDown","logoutIcon","isBlackFriday","logoutUrl","authData","setAuthData","useState","document","name","AUTHCOOKIE","cookies","cookie","split","charAt","substring","indexOf","parsed","JSON","parse","decodeURIComponent","length","personalisedName","firstName","lastName","_a","readAuthCookie","desktopPopup","setDesktopPopup","mobilePopup","setMobilePopup","popUpRef","useOnClickOutside","profileIconSrc","filename","getStaticAssetPath","arrowRightSrc","arrowDownSrc","logoutIconSrc","linkHref","cached_url","url","clearClientAuthState","window","sessionStorage","removeItem","AUTHSTAMP","localStorage","setItem","CUSTOMER_GROUP_STORAGE_KEY","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","dispatchEvent","CustomEvent","CUSTOMER_SEGMENT_REFRESH_EVENT","sprChat","call","_b","undefined","handleLogout","trackNewDatalayerEvent","GAEVENT","SUBNAVCLICK","link_url","click_text","PROFILELOGOUT","reload","location","fetch","method","then","response","ok","catch","finally","profileClick","PROFILECLICK","LOGINCLICK","ProfileContent","_jsxs","_Fragment","children","_jsx","className","styles","style","backgroundImage","FlyOverContent","onClick","MYPROFILECLICK","href","src","alt","ref","prev","MAINNAVCLICK"],"mappings":"qXA0EuB,EACrBA,OACAC,QACAC,cACAC,kBACAC,WACAC,aACAC,YACAC,aACAC,iBAAgB,EAChBC,sBAEA,MAAOC,EAAUC,GAAeC,EAAAA,SAAqC,IA3ChD,MACrB,GAAwB,oBAAbC,SACT,OAGF,MAAMC,EAAO,GAAGC,EAAAA,cACVC,EAAUH,SAASI,OAAOC,MAAM,KAEtC,IAAK,IAAID,KAAUD,EAAS,CAC1B,KAA4B,MAArBC,EAAOE,OAAO,IACnBF,EAASA,EAAOG,UAAU,GAG5B,GAA6B,IAAzBH,EAAOI,QAAQP,GACjB,IACE,MAAMQ,EAASC,KAAKC,MAClBC,mBAAmBR,EAAOG,UAAUN,EAAKY,OAAQT,EAAOS,UAK1D,OAHKJ,EAAOK,kBAAoBL,EAAOM,WAAaN,EAAOO,WACzDP,EAAOK,iBAAmB,GAAGL,EAAOM,UAAU,KAAKN,EAAOO,SAAS,MAE9DP,CACT,CAAE,MAAAQ,GACA,MACF,CAEJ,GAkBEC,KAEKC,EAAcC,GAAmBrB,EAAAA,UAAS,IAC1CsB,EAAaC,GAAkBvB,EAAAA,UAAS,GAEzCwB,EAAWC,EAAAA,QACfJ,GACA,EACAD,GAGIM,GACJlC,aAAQ,EAARA,EAAUmC,WACVC,EAAAA,mBAAmB,qCACfC,GACJpC,aAAU,EAAVA,EAAYkC,WAAYC,EAAAA,mBAAmB,gCACvCE,GACJpC,aAAS,EAATA,EAAWiC,WACXC,EAAAA,mBAAmB,mCACfG,GACJpC,aAAU,EAAVA,EAAYgC,WAAYC,EAAAA,mBAAmB,2BAEvCI,GAAW5C,a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KtF,EAqBHyE,EAAAA,KAAAC,EAAAA,SAAA,CAAAC,SAAA,CACEF,EAAAA,KAAA,MAAA,CACEc,IAAK7D,EACLmD,UAAU,oBAAmBF,SAAA,CAE7BC,EAAAA,IAAA,IAAA,CACEM,QAAS,KAnLgB3D,EAAiBiE,IAAUA,GAqLlDnB,KAEFQ,UAAW,6BAA6BC,EAAAA,QAAgB,WACtDxD,EAAewD,EAAAA,QAAkB,UAAI,MAErChF,EAAgBgF,EAAAA,QAAO,gBAAkB,KACzCH,SAEDH,IAEFlD,GAAgB2D,KAEnBR,OAAA,MAAA,CAAKI,UAAU,YAAWF,SAAA,CACxBC,EAAAA,IAAA,IAAA,CACEM,QAAS,KAlMezD,EAAgB+D,IAAUA,GAoMhDnB,KAEFQ,UAAW,6BAA6BC,EAAAA,QAAgB,WACtDtD,EAAcsD,EAAAA,QAAO,mBAAqB,MAE1ChF,EAAgBgF,EAAAA,QAAO,gBAAkB,KACzCH,SAEDH,IAEFhD,GAAeyD,QArDlBL,EAAAA,IAAA,IAAA,CACEQ,KAAMlD,EACN2C,UAAW,UAAUC,EAAAA,QAAO,kBAC1BhF,EAAgBgF,UAAO,gBAAkB,KAE3CI,QAAS,KACP5B,EAAAA,uBAAuBC,EAAAA,QAASkC,eAAc,CAC5ChC,SAAUnE,aAAI,EAAJA,EAAM6C,WAChBuB,WAAYnE,IAEd8E,KACDM,SAEAH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("../node_modules/tslib/tslib.es6.js"),
|
|
1
|
+
"use strict";var e=require("../node_modules/tslib/tslib.es6.js"),o=require("../components/Constants.js");const t=e=>{if("string"!=typeof e)return null;const o=e.trim();return o.length>0?o:null},n=e=>{var o,n;const r=t(null==e?void 0:e.customerGroup);if(r)return r;const i=t(null===(n=null===(o=null==e?void 0:e.relatedParty)||void 0===o?void 0:o[0])||void 0===n?void 0:n.segment);return i||null},r=new Map,i=e=>"undefined"==typeof window?null:t(window.localStorage.getItem(e)),u=(e,o)=>{"undefined"!=typeof window&&(o?window.localStorage.setItem(e,o):window.localStorage.removeItem(e))},d=n=>e.__awaiter(void 0,void 0,void 0,function*(){const d=o.CUSTOMER_GROUP_STORAGE_KEY,s=o.CUSTOMER_GROUP_NEW_CUSTOMER_VALUE;if("undefined"==typeof window)return null;if(!n.isLoggedIn())return u(d,s),s;if(!n.forceRefresh){const e=i(d);if(e&&e!==s)return e}const f=r.get(d);if(f)return f;const l=e.__awaiter(void 0,void 0,void 0,function*(){try{const e=t(yield n.fetchCustomerGroup());return u(d,e),e}catch(e){return n.onError&&n.onError(e),i(d)}finally{r.delete(d)}});return r.set(d,l),l});exports.createCustomerGroupFetcher=o=>()=>e.__awaiter(void 0,void 0,void 0,function*(){const e=yield o.fetchCustomerProfile();return n(e||{})}),exports.createCustomerSegmentSync=t=>{const n=o.CUSTOMER_GROUP_STORAGE_KEY,r=o.CUSTOMER_SEGMENT_REFRESH_EVENT;let u=null,s=0;const f=e=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent(r,{detail:{customerGroup:e,refreshedAt:Date.now()}}))};return{refreshCustomerSegmentAfterLogin:()=>e.__awaiter(void 0,void 0,void 0,function*(){if("undefined"==typeof window)return null;var o;if(yield(o=t.isLoggedIn,e.__awaiter(void 0,void 0,void 0,function*(){if("undefined"==typeof window||o())return;const e=Date.now()+2e3;for(;!o()&&Date.now()<e;)yield new Promise(e=>window.setTimeout(e,100))})),u)return u;if(Date.now()-s<8e3){const e=i(n);return f(e),e}return u=e.__awaiter(void 0,void 0,void 0,function*(){try{const e=yield d({fetchCustomerGroup:t.fetchCustomerGroup,isLoggedIn:t.isLoggedIn,forceRefresh:!0,onError:t.onError});return s=Date.now(),f(e),e}finally{u=null}}),u}),subscribeToCustomerSegmentRefresh:e=>{if("undefined"==typeof window)return()=>{};const o=o=>{e(o)};return window.addEventListener(r,o),()=>{window.removeEventListener(r,o)}},dispatchCustomerSegmentRefreshEvent:f}},exports.extractCustomerGroupFromProfile=n,exports.resolveCustomerGroup=d;
|
|
2
2
|
//# sourceMappingURL=customerSegmentSync.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customerSegmentSync.js","sources":["../../../../src/services/customerSegmentSync.ts"],"sourcesContent":[null],"names":["normalizeCustomerGroup","value","normalized","trim","length","extractCustomerGroupFromProfile","profile","directCustomerGroup","customerGroup","relatedPartySegment","_b","_a","relatedParty","segment","inFlightCustomerGroupByStorageKey","Map","getCachedCustomerGroup","storageKey","window","localStorage","getItem","setCachedCustomerGroup","setItem","removeItem","resolveCustomerGroup","options","__awaiter","CUSTOMER_GROUP_STORAGE_KEY","newCustomerValue","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","isLoggedIn","forceRefresh","cachedCustomerGroup","inFlightCustomerGroup","get","customerGroupPromise","resolvedCustomerGroup","fetchCustomerGroup","error","onError","delete","set","customerProfile","fetchCustomerProfile","refreshEventName","CUSTOMER_SEGMENT_REFRESH_EVENT","inFlightSync","lastSyncedAtMs","dispatchCustomerSegmentRefreshEvent","dispatchEvent","CustomEvent","detail","refreshedAt","Date","now","refreshCustomerSegmentAfterLogin","subscribeToCustomerSegmentRefresh","handler","eventListener","event","addEventListener","removeEventListener"],"mappings":"yGAyCA,MAAMA,EAA0BC,IAC9B,GAAqB,iBAAVA,EACT,OAAO,KAGT,MAAMC,EAAaD,EAAME,OACzB,OAAOD,EAAWE,OAAS,EAAIF,EAAa,MAGjCG,EAAmCC,YAC9C,MAAMC,EAAsBP,EAAuBM,aAAO,EAAPA,EAASE,eAC5D,GAAID,EACF,OAAOA,EAGT,MAAME,EAAsBT,EAAiD,QAA1BU,EAAqB,QAArBC,EAAAL,eAAAA,EAASM,oBAAY,IAAAD,OAAA,EAAAA,EAAG,UAAE,IAAAD,OAAA,EAAAA,EAAEG,SAC/E,OAAIJ,GAIG,MAYHK,EAAoC,IAAIC,
|
|
1
|
+
{"version":3,"file":"customerSegmentSync.js","sources":["../../../../src/services/customerSegmentSync.ts"],"sourcesContent":[null],"names":["normalizeCustomerGroup","value","normalized","trim","length","extractCustomerGroupFromProfile","profile","directCustomerGroup","customerGroup","relatedPartySegment","_b","_a","relatedParty","segment","inFlightCustomerGroupByStorageKey","Map","getCachedCustomerGroup","storageKey","window","localStorage","getItem","setCachedCustomerGroup","setItem","removeItem","resolveCustomerGroup","options","__awaiter","CUSTOMER_GROUP_STORAGE_KEY","newCustomerValue","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","isLoggedIn","forceRefresh","cachedCustomerGroup","inFlightCustomerGroup","get","customerGroupPromise","resolvedCustomerGroup","fetchCustomerGroup","error","onError","delete","set","customerProfile","fetchCustomerProfile","refreshEventName","CUSTOMER_SEGMENT_REFRESH_EVENT","inFlightSync","lastSyncedAtMs","dispatchCustomerSegmentRefreshEvent","dispatchEvent","CustomEvent","detail","refreshedAt","Date","now","refreshCustomerSegmentAfterLogin","deadline","Promise","resolve","setTimeout","subscribeToCustomerSegmentRefresh","handler","eventListener","event","addEventListener","removeEventListener"],"mappings":"yGAyCA,MAAMA,EAA0BC,IAC9B,GAAqB,iBAAVA,EACT,OAAO,KAGT,MAAMC,EAAaD,EAAME,OACzB,OAAOD,EAAWE,OAAS,EAAIF,EAAa,MAGjCG,EAAmCC,YAC9C,MAAMC,EAAsBP,EAAuBM,aAAO,EAAPA,EAASE,eAC5D,GAAID,EACF,OAAOA,EAGT,MAAME,EAAsBT,EAAiD,QAA1BU,EAAqB,QAArBC,EAAAL,eAAAA,EAASM,oBAAY,IAAAD,OAAA,EAAAA,EAAG,UAAE,IAAAD,OAAA,EAAAA,EAAEG,SAC/E,OAAIJ,GAIG,MAYHK,EAAoC,IAAIC,IAgBxCC,EAA0BC,GACR,oBAAXC,OACF,KAGFlB,EAAuBkB,OAAOC,aAAaC,QAAQH,IAGtDI,EAAyB,CAACJ,EAAoBT,KAC5B,oBAAXU,SAIPV,EACFU,OAAOC,aAAaG,QAAQL,EAAYT,GAI1CU,OAAOC,aAAaI,WAAWN,K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AC9E,GAAsB,oBAAXR,QAA0BY,IACnC,OAGF,MAAM0B,EAAWH,KAAKC,MARY,IASlC,MAAQxB,KAAgBuB,KAAKC,MAAQE,SAC7B,IAAIC,QAASC,GAAYxC,OAAOyC,WAAWD,EATpB,KAWjC,IAsGQZ,EACF,OAAOA,EAIT,GADYO,KAAKC,MACPP,EAxHgC,IAwHI,CAC5C,MAAMf,EAAsBhB,EAAuBC,GAEnD,OADA+B,EAAoChB,GAC7BA,CACT,CAkBA,OAhBAc,EAA2BpB,EAAAA,eAAA,OAAA,OAAA,EAAA,YACzB,IACE,MAAMU,QAA8BZ,EAAqB,CACvDa,mBAAoBZ,EAAQY,mBAC5BP,WAAYL,EAAQK,WACpBC,cAAc,EACdQ,QAASd,EAAQc,UAInB,OAFAQ,EAAiBM,KAAKC,MACtBN,EAAoCZ,GAC7BA,CACT,SACEU,EAAe,IACjB,CACF,GAEOA,CACT,GAsBEc,kCAnBAC,IAEA,GAAsB,oBAAX3C,OACT,MAAO,OAGT,MAAM4C,EAAgCC,IACpCF,EAAQE,IAKV,OAFA7C,OAAO8C,iBAAiBpB,EAAkBkB,GAEnC,KACL5C,OAAO+C,oBAAoBrB,EAAkBkB,KAO/Cd"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './ProfileLinkOut.css';
|
|
2
|
-
import{jsxs as e,Fragment as l,jsx as i}from"react/jsx-runtime";import{useState as o}from"react";import
|
|
2
|
+
import{jsxs as e,Fragment as l,jsx as i}from"react/jsx-runtime";import{useState as o}from"react";import n from"./ProfileLinkOut.module.scss.js";import{trackNewDatalayerEvent as a}from"../../../utils/AnalyticUtils.js";import{MYPROFILECLICK as r,GAEVENT as s,MAINNAVCLICK as c,SUBNAVCLICK as t,PROFILELOGOUT as d,PROFILECLICK as m,LOGINCLICK as u}from"../../../utils/AnalyticsConstants.js";import{AUTHCOOKIE as f,AUTHSTAMP as h,CUSTOMER_GROUP_STORAGE_KEY as g,CUSTOMER_GROUP_NEW_CUSTOMER_VALUE as v,CUSTOMER_SEGMENT_REFRESH_EVENT as k}from"../../Constants.js";import{getStaticAssetPath as N}from"../shared.js";import p from"../useOnClickOutside.js";const w=({link:w,title:y,logoutLabel:$,salutationLabel:_,userIcon:b,arrowRight:x,arrowDown:C,logoutIcon:I,isBlackFriday:j=!1,logoutUrl:O})=>{var S;const[H,U]=o(()=>(()=>{if("undefined"==typeof document)return;const e=`${f}=`,l=document.cookie.split(";");for(let i of l){for(;" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(e))try{const l=JSON.parse(decodeURIComponent(i.substring(e.length,i.length)));return!l.personalisedName&&l.firstName&&l.lastName&&(l.personalisedName=`${l.firstName[0]}${l.lastName[0]}`),l}catch(e){return}}})()),[A,E]=o(!1),[L,R]=o(!1),T=p(E,!1,A),B=(null==b?void 0:b.filename)||N("/HeaderIcons/new_profile_icon.svg"),D=(null==x?void 0:x.filename)||N("/HeaderIcons/arrow-right.svg"),F=(null==C?void 0:C.filename)||N("/HeaderIcons/red_down_arrow.svg"),G=(null==I?void 0:I.filename)||N("/HeaderIcons/logout.svg"),J=(null==w?void 0:w.cached_url)||(null==w?void 0:w.url)||"/",P=()=>{var e;try{window.sessionStorage.removeItem(h),localStorage.removeItem("userNameType"),localStorage.setItem(g,v),window.dispatchEvent(new CustomEvent(k)),null===(e=window.sprChat)||void 0===e||e.call(window,"updateUserSettings",{})}catch(e){}U(void 0)},q=()=>{a(s,t,{link_url:"#",click_text:$}),a(s,d,{click_text:$});const e=()=>{"undefined"!=typeof window&&window.location.reload()};if(!O)return P(),void e();fetch(O,{method:"GET"}).then(e=>{e.ok&&P()}).catch(()=>{}).finally(()=>{e()})},z=()=>{H?a(s,m,{click_text:H.personalisedName}):a(s,u,{click_text:y})},K=e(l,{children:[i("div",{className:n["profile-icon"],style:{backgroundImage:`url(${B})`}}),i("div",{className:n["profile-name"],children:H?H.personalisedName:y}),i("div",H?{className:n["profile-arrow-down-icon"],style:{backgroundImage:`url(${F})`}}:{className:n["profile-arrow-icon"],style:{backgroundImage:`url(${D})`}})]}),M=e("div",{className:`${n["login-flyover"]} ${j?n["black-friday"]:""}`,children:[H&&e("div",{className:n.salutation,children:[_||""," ",H.firstName?`${H.firstName} ${null!==(S=H.lastName)&&void 0!==S?S:""}`:""]}),e("div",{className:"d-none d-md-block",children:[i("div",{className:n.mysunrise,onClick:()=>a(s,r,{click_text:y}),children:i("a",{href:J,children:y})}),H&&$&&i("div",{className:n.logout,children:e("a",{onClick:q,children:[$,i("img",{className:n.logout1,src:G,alt:"logout"})]})})]}),e("div",{className:"d-md-none",children:[i("a",{href:J,onClick:()=>a(s,r,{click_text:y}),children:i("div",{className:n.mysunrise,children:y})}),H&&$&&i("a",{onClick:q,children:e("div",{className:n.logout,children:[$,i("img",{className:"d-md-none",src:G,alt:"logout"})]})})]})]});return H?e(l,{children:[e("div",{ref:T,className:"d-none d-md-block",children:[i("a",{onClick:()=>{E(e=>!e),z()},className:`d-flex align-items-center ${n.section} ${A?n.highlight:""} ${j?n["black-friday"]:""}`,children:K}),A&&M]}),e("div",{className:"d-md-none",children:[i("a",{onClick:()=>{R(e=>!e),z()},className:`d-flex align-items-center ${n.section} ${L?n["section-clicked"]:""} ${j?n["black-friday"]:""}`,children:K}),L&&M]})]}):i("a",{href:J,className:`d-flex ${n["non-section"]} ${j?n["black-friday"]:""}`,onClick:()=>{a(s,c,{link_url:null==w?void 0:w.cached_url,click_text:y}),z()},children:K})};export{w as default};
|
|
3
3
|
//# sourceMappingURL=ProfileLinkOut.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileLinkOut.js","sources":["../../../../../../src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.tsx"],"sourcesContent":[null],"names":["ProfileLinkOut","link","title","logoutLabel","salutationLabel","userIcon","arrowRight","arrowDown","logoutIcon","isBlackFriday","logoutUrl","authData","setAuthData","useState","document","name","AUTHCOOKIE","cookies","cookie","split","charAt","substring","indexOf","parsed","JSON","parse","decodeURIComponent","length","personalisedName","firstName","lastName","_a","readAuthCookie","desktopPopup","setDesktopPopup","mobilePopup","setMobilePopup","popUpRef","useOnClickOutside","profileIconSrc","filename","getStaticAssetPath","arrowRightSrc","arrowDownSrc","logoutIconSrc","linkHref","cached_url","url","clearClientAuthState","window","sessionStorage","removeItem","AUTHSTAMP","localStorage","sprChat","call","_b","undefined","handleLogout","trackNewDatalayerEvent","GAEVENT","SUBNAVCLICK","link_url","click_text","PROFILELOGOUT","reload","location","fetch","method","then","response","ok","catch","finally","profileClick","PROFILECLICK","LOGINCLICK","ProfileContent","_jsxs","_Fragment","children","_jsx","className","styles","style","backgroundImage","FlyOverContent","onClick","MYPROFILECLICK","href","src","alt","ref","prev","MAINNAVCLICK"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProfileLinkOut.js","sources":["../../../../../../src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.tsx"],"sourcesContent":[null],"names":["ProfileLinkOut","link","title","logoutLabel","salutationLabel","userIcon","arrowRight","arrowDown","logoutIcon","isBlackFriday","logoutUrl","authData","setAuthData","useState","document","name","AUTHCOOKIE","cookies","cookie","split","charAt","substring","indexOf","parsed","JSON","parse","decodeURIComponent","length","personalisedName","firstName","lastName","_a","readAuthCookie","desktopPopup","setDesktopPopup","mobilePopup","setMobilePopup","popUpRef","useOnClickOutside","profileIconSrc","filename","getStaticAssetPath","arrowRightSrc","arrowDownSrc","logoutIconSrc","linkHref","cached_url","url","clearClientAuthState","window","sessionStorage","removeItem","AUTHSTAMP","localStorage","setItem","CUSTOMER_GROUP_STORAGE_KEY","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","dispatchEvent","CustomEvent","CUSTOMER_SEGMENT_REFRESH_EVENT","sprChat","call","_b","undefined","handleLogout","trackNewDatalayerEvent","GAEVENT","SUBNAVCLICK","link_url","click_text","PROFILELOGOUT","reload","location","fetch","method","then","response","ok","catch","finally","profileClick","PROFILECLICK","LOGINCLICK","ProfileContent","_jsxs","_Fragment","children","_jsx","className","styles","style","backgroundImage","FlyOverContent","onClick","MYPROFILECLICK","href","src","alt","ref","prev","MAINNAVCLICK"],"mappings":"uoBA2CA,MA+BMA,EAAiB,EACrBC,OACAC,QACAC,cACAC,kBACAC,WACAC,aACAC,YACAC,aACAC,iBAAgB,EAChBC,sBAEA,MAAOC,EAAUC,GAAeC,EAAqC,IA3ChD,MACrB,GAAwB,oBAAbC,SACT,OAGF,MAAMC,EAAO,GAAGC,KACVC,EAAUH,SAASI,OAAOC,MAAM,KAEtC,IAAK,IAAID,KAAUD,EAAS,CAC1B,KAA4B,MAArBC,EAAOE,OAAO,IACnBF,EAASA,EAAOG,UAAU,GAG5B,GAA6B,IAAzBH,EAAOI,QAAQP,GACjB,IACE,MAAMQ,EAASC,KAAKC,MAClBC,mBAAmBR,EAAOG,UAAUN,EAAKY,OAAQT,EAAOS,UAK1D,OAHKJ,EAAOK,kBAAoBL,EAAOM,WAAaN,EAAOO,WACzDP,EAAOK,iBAAmB,GAAGL,EAAOM,UAAU,KAAKN,EAAOO,SAAS,MAE9DP,CACT,CAAE,MAAAQ,GACA,MACF,CAEJ,GAkBEC,KAEKC,EAAcC,GAAmBrB,GAAS,IAC1CsB,EAAaC,GAAkBvB,GAAS,GAEzCwB,EAAWC,EACfJ,GACA,EACAD,GAGIM,GACJlC,aAAQ,EAARA,EAAUmC,WACVC,EAAmB,qCACfC,GACJpC,aAAU,EAAVA,EAAYkC,WAAYC,EAAmB,gCACvCE,GACJpC,aAAS,EAATA,EAAWiC,WACXC,EAAmB,mCACfG,GACJpC,aAAU,EAAVA,EAAYgC,WAAYC,EAAmB,2BAEvCI,GAAW5C,aAAI,EAAJA,EAAM6C,cAAc7C,aAAI,EAAJA,EAAM8C,MAAO,IAK5CC,EAAuB,WAC3B,IACEC,OAAOC,eAAeC,WAAWC,GACjCC,aAAaF,WAAW,gBACxBE,aAAaC,QACXC,EACAC,GAEFP,OAAOQ,cAAc,IAAIC,YAAYC,IACvB,QAAd5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BL,EAAA,IAAA,CACEQ,KAAMlD,EACN2C,UAAW,UAAUC,EAAO,kBAC1BhF,EAAgBgF,EAAO,gBAAkB,KAE3CI,QAAS,KACP5B,EAAuBC,EAASkC,EAAc,CAC5ChC,SAAUnE,aAAI,EAAJA,EAAM6C,WAChBuB,WAAYnE,IAEd8E,KACDM,SAEAH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__awaiter as e}from"../node_modules/tslib/tslib.es6.js";import{CUSTOMER_GROUP_NEW_CUSTOMER_VALUE as n,CUSTOMER_GROUP_STORAGE_KEY as o,CUSTOMER_SEGMENT_REFRESH_EVENT as t}from"../components/Constants.js";const r=e=>{if("string"!=typeof e)return null;const n=e.trim();return n.length>0?n:null},i=e=>{var n,o;const t=r(null==e?void 0:e.customerGroup);if(t)return t;const i=r(null===(o=null===(n=null==e?void 0:e.relatedParty)||void 0===n?void 0:n[0])||void 0===o?void 0:o.segment);return i||null},d=n=>()=>e(void 0,void 0,void 0,function*(){const e=yield n.fetchCustomerProfile();return i(e||{})}),u=new Map,s=e=>"undefined"==typeof window?null:r(window.localStorage.getItem(e)),f=(e,n)=>{"undefined"!=typeof window&&(n?window.localStorage.setItem(e,n):window.localStorage.removeItem(e))},l=t=>e(void 0,void 0,void 0,function*(){const i=o,d=n;if("undefined"==typeof window)return null;if(!t.isLoggedIn())return f(i,d),d;if(!t.forceRefresh){const e=s(i);if(e&&e!==d)return e}const l=u.get(i);if(l)return l;const c=e(void 0,void 0,void 0,function*(){try{const e=r(yield t.fetchCustomerGroup());return f(i,e),e}catch(e){return t.onError&&t.onError(e),s(i)}finally{u.delete(i)}});return u.set(i,c),c}),c=n=>{const r=o,i=t;let d=null,u=0;const f=e=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent(i,{detail:{customerGroup:e,refreshedAt:Date.now()}}))};return{refreshCustomerSegmentAfterLogin:()=>e(void 0,void 0,void 0,function*(){if("undefined"==typeof window)return null;if(d)return d;if(Date.now()-u<8e3){const e=s(r);return f(e),e}return d=e(void 0,void 0,void 0,function*(){try{const e=yield l({fetchCustomerGroup:n.fetchCustomerGroup,isLoggedIn:n.isLoggedIn,forceRefresh:!0,onError:n.onError});return u=Date.now(),f(e),e}finally{d=null}}),d}),subscribeToCustomerSegmentRefresh:e=>{if("undefined"==typeof window)return()=>{};const n=n=>{e(n)};return window.addEventListener(i,n),()=>{window.removeEventListener(i,n)}},dispatchCustomerSegmentRefreshEvent:f}};export{d as createCustomerGroupFetcher,c as createCustomerSegmentSync,i as extractCustomerGroupFromProfile,l as resolveCustomerGroup};
|
|
1
|
+
import{__awaiter as e}from"../node_modules/tslib/tslib.es6.js";import{CUSTOMER_GROUP_NEW_CUSTOMER_VALUE as n,CUSTOMER_GROUP_STORAGE_KEY as o,CUSTOMER_SEGMENT_REFRESH_EVENT as t}from"../components/Constants.js";const r=e=>{if("string"!=typeof e)return null;const n=e.trim();return n.length>0?n:null},i=e=>{var n,o;const t=r(null==e?void 0:e.customerGroup);if(t)return t;const i=r(null===(o=null===(n=null==e?void 0:e.relatedParty)||void 0===n?void 0:n[0])||void 0===o?void 0:o.segment);return i||null},d=n=>()=>e(void 0,void 0,void 0,function*(){const e=yield n.fetchCustomerProfile();return i(e||{})}),u=new Map,s=e=>"undefined"==typeof window?null:r(window.localStorage.getItem(e)),f=(e,n)=>{"undefined"!=typeof window&&(n?window.localStorage.setItem(e,n):window.localStorage.removeItem(e))},l=t=>e(void 0,void 0,void 0,function*(){const i=o,d=n;if("undefined"==typeof window)return null;if(!t.isLoggedIn())return f(i,d),d;if(!t.forceRefresh){const e=s(i);if(e&&e!==d)return e}const l=u.get(i);if(l)return l;const c=e(void 0,void 0,void 0,function*(){try{const e=r(yield t.fetchCustomerGroup());return f(i,e),e}catch(e){return t.onError&&t.onError(e),s(i)}finally{u.delete(i)}});return u.set(i,c),c}),c=n=>{const r=o,i=t;let d=null,u=0;const f=e=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent(i,{detail:{customerGroup:e,refreshedAt:Date.now()}}))};return{refreshCustomerSegmentAfterLogin:()=>e(void 0,void 0,void 0,function*(){if("undefined"==typeof window)return null;var o;if(yield(o=n.isLoggedIn,e(void 0,void 0,void 0,function*(){if("undefined"==typeof window||o())return;const e=Date.now()+2e3;for(;!o()&&Date.now()<e;)yield new Promise(e=>window.setTimeout(e,100))})),d)return d;if(Date.now()-u<8e3){const e=s(r);return f(e),e}return d=e(void 0,void 0,void 0,function*(){try{const e=yield l({fetchCustomerGroup:n.fetchCustomerGroup,isLoggedIn:n.isLoggedIn,forceRefresh:!0,onError:n.onError});return u=Date.now(),f(e),e}finally{d=null}}),d}),subscribeToCustomerSegmentRefresh:e=>{if("undefined"==typeof window)return()=>{};const n=n=>{e(n)};return window.addEventListener(i,n),()=>{window.removeEventListener(i,n)}},dispatchCustomerSegmentRefreshEvent:f}};export{d as createCustomerGroupFetcher,c as createCustomerSegmentSync,i as extractCustomerGroupFromProfile,l as resolveCustomerGroup};
|
|
2
2
|
//# sourceMappingURL=customerSegmentSync.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customerSegmentSync.js","sources":["../../../../src/services/customerSegmentSync.ts"],"sourcesContent":[null],"names":["normalizeCustomerGroup","value","normalized","trim","length","extractCustomerGroupFromProfile","profile","directCustomerGroup","customerGroup","relatedPartySegment","_b","_a","relatedParty","segment","createCustomerGroupFetcher","options","__awaiter","customerProfile","fetchCustomerProfile","inFlightCustomerGroupByStorageKey","Map","getCachedCustomerGroup","storageKey","window","localStorage","getItem","setCachedCustomerGroup","setItem","removeItem","resolveCustomerGroup","CUSTOMER_GROUP_STORAGE_KEY","newCustomerValue","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","isLoggedIn","forceRefresh","cachedCustomerGroup","inFlightCustomerGroup","get","customerGroupPromise","resolvedCustomerGroup","fetchCustomerGroup","error","onError","delete","set","createCustomerSegmentSync","refreshEventName","CUSTOMER_SEGMENT_REFRESH_EVENT","inFlightSync","lastSyncedAtMs","dispatchCustomerSegmentRefreshEvent","dispatchEvent","CustomEvent","detail","refreshedAt","Date","now","refreshCustomerSegmentAfterLogin","subscribeToCustomerSegmentRefresh","handler","eventListener","event","addEventListener","removeEventListener"],"mappings":"kNAyCA,MAAMA,EAA0BC,IAC9B,GAAqB,iBAAVA,EACT,OAAO,KAGT,MAAMC,EAAaD,EAAME,OACzB,OAAOD,EAAWE,OAAS,EAAIF,EAAa,MAGjCG,EAAmCC,YAC9C,MAAMC,EAAsBP,EAAuBM,aAAO,EAAPA,EAASE,eAC5D,GAAID,EACF,OAAOA,EAGT,MAAME,EAAsBT,EAAiD,QAA1BU,EAAqB,QAArBC,EAAAL,eAAAA,EAASM,oBAAY,IAAAD,OAAA,EAAAA,EAAG,UAAE,IAAAD,OAAA,EAAAA,EAAEG,SAC/E,OAAIJ,GAIG,MAGIK,EACXC,GAEO,IAAWC,OAAA,OAAA,OAAA,EAAA,YAChB,MAAMC,QAAwBF,EAAQG,uBACtC,OAAOb,EAAiCY,GAAmB,GAC7D,GAGIE,EAAoC,IAAIC,
|
|
1
|
+
{"version":3,"file":"customerSegmentSync.js","sources":["../../../../src/services/customerSegmentSync.ts"],"sourcesContent":[null],"names":["normalizeCustomerGroup","value","normalized","trim","length","extractCustomerGroupFromProfile","profile","directCustomerGroup","customerGroup","relatedPartySegment","_b","_a","relatedParty","segment","createCustomerGroupFetcher","options","__awaiter","customerProfile","fetchCustomerProfile","inFlightCustomerGroupByStorageKey","Map","getCachedCustomerGroup","storageKey","window","localStorage","getItem","setCachedCustomerGroup","setItem","removeItem","resolveCustomerGroup","CUSTOMER_GROUP_STORAGE_KEY","newCustomerValue","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","isLoggedIn","forceRefresh","cachedCustomerGroup","inFlightCustomerGroup","get","customerGroupPromise","resolvedCustomerGroup","fetchCustomerGroup","error","onError","delete","set","createCustomerSegmentSync","refreshEventName","CUSTOMER_SEGMENT_REFRESH_EVENT","inFlightSync","lastSyncedAtMs","dispatchCustomerSegmentRefreshEvent","dispatchEvent","CustomEvent","detail","refreshedAt","Date","now","refreshCustomerSegmentAfterLogin","deadline","Promise","resolve","setTimeout","subscribeToCustomerSegmentRefresh","handler","eventListener","event","addEventListener","removeEventListener"],"mappings":"kNAyCA,MAAMA,EAA0BC,IAC9B,GAAqB,iBAAVA,EACT,OAAO,KAGT,MAAMC,EAAaD,EAAME,OACzB,OAAOD,EAAWE,OAAS,EAAIF,EAAa,MAGjCG,EAAmCC,YAC9C,MAAMC,EAAsBP,EAAuBM,aAAO,EAAPA,EAASE,eAC5D,GAAID,EACF,OAAOA,EAGT,MAAME,EAAsBT,EAAiD,QAA1BU,EAAqB,QAArBC,EAAAL,eAAAA,EAASM,oBAAY,IAAAD,OAAA,EAAAA,EAAG,UAAE,IAAAD,OAAA,EAAAA,EAAEG,SAC/E,OAAIJ,GAIG,MAGIK,EACXC,GAEO,IAAWC,OAAA,OAAA,OAAA,EAAA,YAChB,MAAMC,QAAwBF,EAAQG,uBACtC,OAAOb,EAAiCY,GAAmB,GAC7D,GAGIE,EAAoC,IAAIC,IAgBxCC,EAA0BC,GACR,oBAAXC,OACF,KAGFvB,EAAuBuB,OAAOC,aAAaC,QAAQH,IAGtDI,EAAyB,CAACJ,EAAoBd,KAC5B,oBAAXe,SAIPf,EACFe,OAAOC,aAAaG,QAAQL,EAAYd,GAI1Ce,OAAOC,aAAaI,WAAWN,KAGpBO,EACXd,GAC0BC,OAAA,OAAA,OAAA,EAAA,YAC1B,MAAMM,EAAaQ,EACbC,EAAmBC,EAEzB,GAAsB,oBAAXT,OACT,OAAO,KAGT,IAAKR,EAAQkB,aAEX,OADAP,EAAuBJ,EAAYS,GAC5BA,EAGT,IAAKhB,EAAQmB,aAAc,CACzB,MAAMC,EAAsBd,EAAuBC,GACnD,GAAIa,GAAuBA,IAAwBJ,EACjD,OAAOI,CAEX,CAEA,MAAMC,EAAwBjB,EAAkCkB,IAAIf,GACpE,GAAIc,EACF,OAAOA,EAGT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,SACES,EAAe,IACjB,CACF,GAEOA,CACT,GAsBEc,kCAnBAC,IAEA,GAAsB,oBAAXxC,OACT,MAAO,OAGT,MAAMyC,EAAgCC,IACpCF,EAAQE,IAKV,OAFA1C,OAAO2C,iBAAiBpB,EAAkBkB,GAEnC,KACLzC,OAAO4C,oBAAoBrB,EAAkBkB,KAO/Cd"}
|
package/dist/navigation.css
CHANGED
|
@@ -1,3 +1,137 @@
|
|
|
1
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/MinimizedHeader/MinimizedHeader.module.scss */
|
|
2
|
+
/* center a block element */
|
|
3
|
+
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
4
|
+
/* setting styles in separate formats for cross browser support */
|
|
5
|
+
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
6
|
+
/* vertically center alilgn any HTML element */
|
|
7
|
+
/* add basePath to assets */
|
|
8
|
+
@media (min-width: 768px) {
|
|
9
|
+
.MinimizedHeader-module__outer___JOzJC {
|
|
10
|
+
background-color: #ffffff;
|
|
11
|
+
border-top: 4px solid #da291c;
|
|
12
|
+
box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
|
|
13
|
+
height: 72px;
|
|
14
|
+
}
|
|
15
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__s20-header__version-number___vI9Rr {
|
|
16
|
+
position: fixed;
|
|
17
|
+
top: 0;
|
|
18
|
+
left: 0;
|
|
19
|
+
padding: 4px 8px;
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
z-index: 10000;
|
|
22
|
+
color: #5f5955;
|
|
23
|
+
background: #ffffff;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
@media (min-width: 768px) and (max-width: 850px) {
|
|
27
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__s20-header__version-number___vI9Rr {
|
|
28
|
+
padding: 0 4px;
|
|
29
|
+
font-size: 8px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
@media (min-width: 768px) {
|
|
33
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X {
|
|
34
|
+
width: 100%;
|
|
35
|
+
display: inline-block;
|
|
36
|
+
}
|
|
37
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO {
|
|
38
|
+
display: flex;
|
|
39
|
+
float: left;
|
|
40
|
+
align-items: center;
|
|
41
|
+
margin: 10px 0;
|
|
42
|
+
}
|
|
43
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
|
|
44
|
+
padding-left: 10px;
|
|
45
|
+
}
|
|
46
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
|
|
47
|
+
float: right;
|
|
48
|
+
display: flex;
|
|
49
|
+
margin: 24px 0 24px 0;
|
|
50
|
+
}
|
|
51
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
|
|
52
|
+
background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
|
|
53
|
+
background-repeat: no-repeat;
|
|
54
|
+
background-size: contain;
|
|
55
|
+
display: block;
|
|
56
|
+
height: 24px;
|
|
57
|
+
margin-right: 6px;
|
|
58
|
+
width: 24px;
|
|
59
|
+
}
|
|
60
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
|
|
61
|
+
color: #da291c;
|
|
62
|
+
font-weight: 700;
|
|
63
|
+
font-size: 18px;
|
|
64
|
+
line-height: 24px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
@media (max-width: 767px) {
|
|
68
|
+
.MinimizedHeader-module__outer___JOzJC {
|
|
69
|
+
background-color: #ffffff;
|
|
70
|
+
border-top: 4px solid #da291c;
|
|
71
|
+
box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
|
|
72
|
+
height: 48px;
|
|
73
|
+
}
|
|
74
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X {
|
|
75
|
+
width: 100%;
|
|
76
|
+
display: inline-block;
|
|
77
|
+
}
|
|
78
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO {
|
|
79
|
+
display: flex;
|
|
80
|
+
float: left;
|
|
81
|
+
}
|
|
82
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J {
|
|
83
|
+
margin-top: 12px;
|
|
84
|
+
}
|
|
85
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J > img {
|
|
86
|
+
height: 24px;
|
|
87
|
+
width: 24px;
|
|
88
|
+
float: left;
|
|
89
|
+
}
|
|
90
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
|
|
91
|
+
margin-top: 8px;
|
|
92
|
+
padding-left: 6px;
|
|
93
|
+
}
|
|
94
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 > img {
|
|
95
|
+
height: 20px;
|
|
96
|
+
}
|
|
97
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
|
|
98
|
+
float: right;
|
|
99
|
+
display: flex;
|
|
100
|
+
margin: 12px 0 12px 0;
|
|
101
|
+
}
|
|
102
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
|
|
103
|
+
background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
|
|
104
|
+
background-repeat: no-repeat;
|
|
105
|
+
background-size: contain;
|
|
106
|
+
display: block;
|
|
107
|
+
height: 20px;
|
|
108
|
+
margin-right: 6px;
|
|
109
|
+
width: 20px;
|
|
110
|
+
}
|
|
111
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
|
|
112
|
+
color: #da291c;
|
|
113
|
+
font-weight: 700;
|
|
114
|
+
font-size: 18px;
|
|
115
|
+
line-height: 24px;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
.MinimizedHeader-module__s20-header__version-number___vI9Rr {
|
|
119
|
+
position: fixed;
|
|
120
|
+
top: 0;
|
|
121
|
+
left: 0;
|
|
122
|
+
padding: 4px 8px;
|
|
123
|
+
font-size: 14px;
|
|
124
|
+
z-index: 10000;
|
|
125
|
+
color: #5f5955;
|
|
126
|
+
background: #ffffff;
|
|
127
|
+
}
|
|
128
|
+
@media (max-width: 850px) {
|
|
129
|
+
.MinimizedHeader-module__s20-header__version-number___vI9Rr {
|
|
130
|
+
padding: 0 4px;
|
|
131
|
+
font-size: 8px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
1
135
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconMainNavigation.module.scss */
|
|
2
136
|
/* center a block element */
|
|
3
137
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
@@ -765,185 +899,51 @@
|
|
|
765
899
|
text-align: center;
|
|
766
900
|
}
|
|
767
901
|
|
|
768
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/
|
|
902
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/LocaleSelector/LocaleSelector.module.scss */
|
|
769
903
|
/* center a block element */
|
|
770
904
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
771
905
|
/* setting styles in separate formats for cross browser support */
|
|
772
906
|
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
773
907
|
/* vertically center alilgn any HTML element */
|
|
774
908
|
/* add basePath to assets */
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
background-color: #ffffff;
|
|
778
|
-
border-top: 4px solid #da291c;
|
|
779
|
-
box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
|
|
780
|
-
height: 72px;
|
|
781
|
-
}
|
|
782
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__s20-header__version-number___vI9Rr {
|
|
783
|
-
position: fixed;
|
|
784
|
-
top: 0;
|
|
785
|
-
left: 0;
|
|
786
|
-
padding: 4px 8px;
|
|
787
|
-
font-size: 14px;
|
|
788
|
-
z-index: 10000;
|
|
789
|
-
color: #5f5955;
|
|
790
|
-
background: #ffffff;
|
|
791
|
-
}
|
|
909
|
+
.LocaleSelector-module__button___0LEXR {
|
|
910
|
+
position: relative;
|
|
792
911
|
}
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
912
|
+
.LocaleSelector-module__button___0LEXR button {
|
|
913
|
+
background-color: transparent;
|
|
914
|
+
color: #3d3935;
|
|
915
|
+
border: 0;
|
|
916
|
+
border-radius: 4px;
|
|
917
|
+
padding-bottom: 5px;
|
|
918
|
+
cursor: pointer;
|
|
919
|
+
height: 42px;
|
|
920
|
+
font-size: 14px;
|
|
921
|
+
line-height: 20px;
|
|
922
|
+
width: 100%;
|
|
798
923
|
}
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
align-items: center;
|
|
808
|
-
margin: 10px 0;
|
|
809
|
-
}
|
|
810
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
|
|
811
|
-
padding-left: 10px;
|
|
812
|
-
}
|
|
813
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
|
|
814
|
-
float: right;
|
|
815
|
-
display: flex;
|
|
816
|
-
margin: 24px 0 24px 0;
|
|
817
|
-
}
|
|
818
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
|
|
819
|
-
background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
|
|
820
|
-
background-repeat: no-repeat;
|
|
821
|
-
background-size: contain;
|
|
822
|
-
display: block;
|
|
823
|
-
height: 24px;
|
|
824
|
-
margin-right: 6px;
|
|
825
|
-
width: 24px;
|
|
826
|
-
}
|
|
827
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
|
|
828
|
-
color: #da291c;
|
|
829
|
-
font-weight: 700;
|
|
830
|
-
font-size: 18px;
|
|
831
|
-
line-height: 24px;
|
|
832
|
-
}
|
|
924
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R {
|
|
925
|
+
background-position: center center;
|
|
926
|
+
background-repeat: no-repeat;
|
|
927
|
+
height: 8px;
|
|
928
|
+
margin-left: 10px;
|
|
929
|
+
margin-top: 2px;
|
|
930
|
+
transition: transform 0.2s ease, -webkit-transform 0.2s ease;
|
|
931
|
+
width: 14px;
|
|
833
932
|
}
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
}
|
|
849
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J {
|
|
850
|
-
margin-top: 12px;
|
|
851
|
-
}
|
|
852
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J > img {
|
|
853
|
-
height: 24px;
|
|
854
|
-
width: 24px;
|
|
855
|
-
float: left;
|
|
856
|
-
}
|
|
857
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
|
|
858
|
-
margin-top: 8px;
|
|
859
|
-
padding-left: 6px;
|
|
860
|
-
}
|
|
861
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 > img {
|
|
862
|
-
height: 20px;
|
|
863
|
-
}
|
|
864
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
|
|
865
|
-
float: right;
|
|
866
|
-
display: flex;
|
|
867
|
-
margin: 12px 0 12px 0;
|
|
868
|
-
}
|
|
869
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
|
|
870
|
-
background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
|
|
871
|
-
background-repeat: no-repeat;
|
|
872
|
-
background-size: contain;
|
|
873
|
-
display: block;
|
|
874
|
-
height: 20px;
|
|
875
|
-
margin-right: 6px;
|
|
876
|
-
width: 20px;
|
|
877
|
-
}
|
|
878
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
|
|
879
|
-
color: #da291c;
|
|
880
|
-
font-weight: 700;
|
|
881
|
-
font-size: 18px;
|
|
882
|
-
line-height: 24px;
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
.MinimizedHeader-module__s20-header__version-number___vI9Rr {
|
|
886
|
-
position: fixed;
|
|
887
|
-
top: 0;
|
|
888
|
-
left: 0;
|
|
889
|
-
padding: 4px 8px;
|
|
890
|
-
font-size: 14px;
|
|
891
|
-
z-index: 10000;
|
|
892
|
-
color: #5f5955;
|
|
893
|
-
background: #ffffff;
|
|
894
|
-
}
|
|
895
|
-
@media (max-width: 850px) {
|
|
896
|
-
.MinimizedHeader-module__s20-header__version-number___vI9Rr {
|
|
897
|
-
padding: 0 4px;
|
|
898
|
-
font-size: 8px;
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/LocaleSelector/LocaleSelector.module.scss */
|
|
903
|
-
/* center a block element */
|
|
904
|
-
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
905
|
-
/* setting styles in separate formats for cross browser support */
|
|
906
|
-
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
907
|
-
/* vertically center alilgn any HTML element */
|
|
908
|
-
/* add basePath to assets */
|
|
909
|
-
.LocaleSelector-module__button___0LEXR {
|
|
910
|
-
position: relative;
|
|
911
|
-
}
|
|
912
|
-
.LocaleSelector-module__button___0LEXR button {
|
|
913
|
-
background-color: transparent;
|
|
914
|
-
color: #3d3935;
|
|
915
|
-
border: 0;
|
|
916
|
-
border-radius: 4px;
|
|
917
|
-
padding-bottom: 5px;
|
|
918
|
-
cursor: pointer;
|
|
919
|
-
height: 42px;
|
|
920
|
-
font-size: 14px;
|
|
921
|
-
line-height: 20px;
|
|
922
|
-
width: 100%;
|
|
923
|
-
}
|
|
924
|
-
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R {
|
|
925
|
-
background-position: center center;
|
|
926
|
-
background-repeat: no-repeat;
|
|
927
|
-
height: 8px;
|
|
928
|
-
margin-left: 10px;
|
|
929
|
-
margin-top: 2px;
|
|
930
|
-
transition: transform 0.2s ease, -webkit-transform 0.2s ease;
|
|
931
|
-
width: 14px;
|
|
932
|
-
}
|
|
933
|
-
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R.active {
|
|
934
|
-
-webkit-transform: rotate(-180deg);
|
|
935
|
-
-moz-transform: rotate(-180deg);
|
|
936
|
-
-o-transform: rotate(-180deg);
|
|
937
|
-
transform: rotate(-180deg);
|
|
938
|
-
}
|
|
939
|
-
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
|
|
940
|
-
padding: 24px 32px;
|
|
941
|
-
background-color: #ffffff;
|
|
942
|
-
transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(-57px) !important;
|
|
943
|
-
}
|
|
944
|
-
@media (max-width: 1023px) {
|
|
945
|
-
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
|
|
946
|
-
transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(7px) !important;
|
|
933
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R.active {
|
|
934
|
+
-webkit-transform: rotate(-180deg);
|
|
935
|
+
-moz-transform: rotate(-180deg);
|
|
936
|
+
-o-transform: rotate(-180deg);
|
|
937
|
+
transform: rotate(-180deg);
|
|
938
|
+
}
|
|
939
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
|
|
940
|
+
padding: 24px 32px;
|
|
941
|
+
background-color: #ffffff;
|
|
942
|
+
transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(-57px) !important;
|
|
943
|
+
}
|
|
944
|
+
@media (max-width: 1023px) {
|
|
945
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
|
|
946
|
+
transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(7px) !important;
|
|
947
947
|
}
|
|
948
948
|
}
|
|
949
949
|
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
|
|
@@ -1349,62 +1349,52 @@
|
|
|
1349
1349
|
text-align: center;
|
|
1350
1350
|
}
|
|
1351
1351
|
|
|
1352
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/
|
|
1352
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.module.scss */
|
|
1353
1353
|
/* center a block element */
|
|
1354
1354
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1355
1355
|
/* setting styles in separate formats for cross browser support */
|
|
1356
1356
|
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
1357
1357
|
/* vertically center alilgn any HTML element */
|
|
1358
1358
|
/* add basePath to assets */
|
|
1359
|
-
.
|
|
1360
|
-
font-weight: unset;
|
|
1361
|
-
}
|
|
1362
|
-
.MobileMenuItem-module__container___7iZGF .MobileMenuItem-module__nav-link___56LxY {
|
|
1363
|
-
position: relative;
|
|
1364
|
-
color: #333333;
|
|
1365
|
-
display: -webkit-box;
|
|
1366
|
-
font-size: 16px;
|
|
1367
|
-
line-height: 24px;
|
|
1359
|
+
.CartHeader-module__headerTitle___35F6g {
|
|
1368
1360
|
display: flex;
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
padding: 10px 10px 10px 10px;
|
|
1372
|
-
margin-bottom: 4px;
|
|
1373
|
-
background-color: #ffffff;
|
|
1374
|
-
}
|
|
1375
|
-
.MobileMenuItem-module__container___7iZGF .MobileMenuItem-module__nav-link___56LxY.MobileMenuItem-module__new-style___tBLR0 {
|
|
1376
|
-
border: 1px solid #e8e8e8;
|
|
1377
|
-
}
|
|
1378
|
-
.MobileMenuItem-module__container___7iZGF .MobileMenuItem-module__nav-link___56LxY > img {
|
|
1379
|
-
position: absolute;
|
|
1380
|
-
left: 10px;
|
|
1381
|
-
}
|
|
1382
|
-
.MobileMenuItem-module__container___7iZGF .MobileMenuItem-module__nav-link___56LxY .MobileMenuItem-module__icon___mC-gC {
|
|
1383
|
-
position: absolute;
|
|
1384
|
-
right: 10px;
|
|
1361
|
+
align-items: center;
|
|
1362
|
+
gap: 8px;
|
|
1385
1363
|
}
|
|
1386
|
-
|
|
1387
|
-
|
|
1364
|
+
|
|
1365
|
+
.CartHeader-module__headerItemCount___g1Ynd {
|
|
1366
|
+
font-size: 24px;
|
|
1367
|
+
line-height: 32px;
|
|
1368
|
+
font-weight: 400;
|
|
1369
|
+
color: #3d3935;
|
|
1388
1370
|
}
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
margin-right: 8px;
|
|
1371
|
+
@media (max-width: 1023px) {
|
|
1372
|
+
.CartHeader-module__headerItemCount___g1Ynd {
|
|
1373
|
+
font-size: 20px;
|
|
1374
|
+
line-height: 28px;
|
|
1375
|
+
}
|
|
1395
1376
|
}
|
|
1396
1377
|
|
|
1397
|
-
.
|
|
1398
|
-
|
|
1378
|
+
.CartHeader-module__clearAllButton___B3bNF {
|
|
1379
|
+
display: inline;
|
|
1380
|
+
background: none;
|
|
1381
|
+
border: none;
|
|
1382
|
+
padding: 0;
|
|
1383
|
+
cursor: pointer;
|
|
1384
|
+
font-size: 14px;
|
|
1385
|
+
line-height: 20px;
|
|
1386
|
+
font-weight: 400;
|
|
1387
|
+
color: #da291c;
|
|
1388
|
+
text-decoration: underline;
|
|
1389
|
+
text-underline-offset: 2px;
|
|
1399
1390
|
}
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
background-color: #1f1f1f;
|
|
1403
|
-
color: #ffffff;
|
|
1404
|
-
border: 1px solid #2c2c2c;
|
|
1391
|
+
.CartHeader-module__clearAllButton___B3bNF:hover {
|
|
1392
|
+
color: #961c13;
|
|
1405
1393
|
}
|
|
1406
|
-
.
|
|
1407
|
-
|
|
1394
|
+
.CartHeader-module__clearAllButton___B3bNF:focus-visible {
|
|
1395
|
+
outline: 2px solid #da291c;
|
|
1396
|
+
outline-offset: 2px;
|
|
1397
|
+
border-radius: 2px;
|
|
1408
1398
|
}
|
|
1409
1399
|
|
|
1410
1400
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/EmptyCart/EmptyCart.module.scss */
|
|
@@ -1489,201 +1479,89 @@
|
|
|
1489
1479
|
line-height: 1.3;
|
|
1490
1480
|
}
|
|
1491
1481
|
|
|
1492
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/
|
|
1482
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.module.scss */
|
|
1493
1483
|
/* center a block element */
|
|
1494
1484
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1495
1485
|
/* setting styles in separate formats for cross browser support */
|
|
1496
1486
|
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
1497
1487
|
/* vertically center alilgn any HTML element */
|
|
1498
1488
|
/* add basePath to assets */
|
|
1499
|
-
.
|
|
1500
|
-
|
|
1489
|
+
.CartClearConfirm-module__overlay___sxCOO {
|
|
1490
|
+
position: absolute;
|
|
1491
|
+
inset: 0;
|
|
1492
|
+
z-index: 10;
|
|
1493
|
+
background: rgba(0, 0, 0, 0.5);
|
|
1494
|
+
display: flex;
|
|
1495
|
+
align-items: center;
|
|
1496
|
+
justify-content: center;
|
|
1497
|
+
padding: 24px;
|
|
1501
1498
|
}
|
|
1502
1499
|
|
|
1503
|
-
.
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1500
|
+
.CartClearConfirm-module__dialog___UWokE {
|
|
1501
|
+
background: #ffffff;
|
|
1502
|
+
border-radius: 16px;
|
|
1503
|
+
padding: 24px;
|
|
1504
|
+
width: 100%;
|
|
1505
|
+
max-width: 320px;
|
|
1506
|
+
display: flex;
|
|
1507
|
+
flex-direction: column;
|
|
1508
|
+
gap: 24px;
|
|
1510
1509
|
}
|
|
1511
1510
|
|
|
1512
|
-
.
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
.BusinessCustomerLinkOut-module__icon1___VBeT5 img {
|
|
1519
|
-
color: #da291c;
|
|
1520
|
-
margin-left: 0px !important;
|
|
1521
|
-
padding-left: unset;
|
|
1522
|
-
padding-right: 8px;
|
|
1523
|
-
transform: rotate(-180deg);
|
|
1511
|
+
.CartClearConfirm-module__message___vd9VO {
|
|
1512
|
+
font-size: 18px;
|
|
1513
|
+
line-height: 26px;
|
|
1514
|
+
font-weight: 700;
|
|
1515
|
+
color: #3d3935;
|
|
1516
|
+
text-align: center;
|
|
1524
1517
|
}
|
|
1525
1518
|
|
|
1526
|
-
.
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
.BusinessCustomerLinkOut-module__icon2___gPMoZ, .BusinessCustomerLinkOut-module__icon2-scroll___lSNWm {
|
|
1530
|
-
border-radius: 4px 4px 0 0;
|
|
1531
|
-
background-color: #ffffff;
|
|
1532
|
-
padding: 14px 8px 18px 8px;
|
|
1519
|
+
.CartClearConfirm-module__actions___X0-0w {
|
|
1520
|
+
display: flex;
|
|
1521
|
+
gap: 12px;
|
|
1533
1522
|
}
|
|
1534
1523
|
|
|
1535
|
-
.
|
|
1536
|
-
|
|
1524
|
+
.CartClearConfirm-module__cancelButton___LYopb {
|
|
1525
|
+
flex: 1;
|
|
1526
|
+
height: 48px;
|
|
1527
|
+
background: none;
|
|
1528
|
+
border: 2px solid #3d3935;
|
|
1529
|
+
border-radius: 28px;
|
|
1530
|
+
font-size: 16px;
|
|
1531
|
+
line-height: 24px;
|
|
1532
|
+
font-weight: 600;
|
|
1533
|
+
color: #3d3935;
|
|
1534
|
+
cursor: pointer;
|
|
1535
|
+
transition: background-color 0.15s ease;
|
|
1537
1536
|
}
|
|
1538
|
-
.
|
|
1539
|
-
background-color:
|
|
1537
|
+
.CartClearConfirm-module__cancelButton___LYopb:hover {
|
|
1538
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
1540
1539
|
}
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1540
|
+
.CartClearConfirm-module__cancelButton___LYopb:focus-visible {
|
|
1541
|
+
outline: 2px solid #3d3935;
|
|
1542
|
+
outline-offset: 2px;
|
|
1544
1543
|
}
|
|
1545
1544
|
|
|
1546
|
-
.
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
font-size:
|
|
1545
|
+
.CartClearConfirm-module__confirmButton___KgPKy {
|
|
1546
|
+
flex: 1;
|
|
1547
|
+
height: 48px;
|
|
1548
|
+
background: #3d3935;
|
|
1549
|
+
border: 2px solid #3d3935;
|
|
1550
|
+
border-radius: 28px;
|
|
1551
|
+
font-size: 16px;
|
|
1553
1552
|
line-height: 24px;
|
|
1554
|
-
|
|
1555
|
-
box-shadow: 0 2px 4px rgba(87, 84, 82, 0.2);
|
|
1556
|
-
background-color: #ffffff;
|
|
1557
|
-
border-radius: 0 0 8px 8px;
|
|
1558
|
-
z-index: 1;
|
|
1559
|
-
}
|
|
1560
|
-
.BusinessCustomerLinkOut-module__login-flyover___9GsNf :not(:first-child) {
|
|
1561
|
-
margin-left: 0 !important;
|
|
1562
|
-
padding-top: 18px;
|
|
1563
|
-
}
|
|
1564
|
-
.BusinessCustomerLinkOut-module__login-flyover___9GsNf :last-child {
|
|
1565
|
-
padding-top: 28px;
|
|
1566
|
-
}
|
|
1567
|
-
.BusinessCustomerLinkOut-module__login-flyover___9GsNf div:nth-child(1) {
|
|
1568
|
-
border-bottom: 1px solid #e6e3df;
|
|
1569
|
-
padding-bottom: 18px;
|
|
1570
|
-
}
|
|
1571
|
-
|
|
1572
|
-
.BusinessCustomerLinkOut-module__black-friday___AwfEN .BusinessCustomerLinkOut-module__icon2___gPMoZ, .BusinessCustomerLinkOut-module__black-friday___AwfEN .BusinessCustomerLinkOut-module__icon2-scroll___lSNWm {
|
|
1573
|
-
background-color: #111111;
|
|
1574
|
-
}
|
|
1575
|
-
.BusinessCustomerLinkOut-module__black-friday___AwfEN .BusinessCustomerLinkOut-module__highlighted___Y5Afb {
|
|
1576
|
-
background-color: #1f1f1f;
|
|
1577
|
-
}
|
|
1578
|
-
|
|
1579
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/SubNavigation/SubNavigation.module.scss */
|
|
1580
|
-
/* center a block element */
|
|
1581
|
-
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1582
|
-
/* setting styles in separate formats for cross browser support */
|
|
1583
|
-
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
1584
|
-
/* vertically center alilgn any HTML element */
|
|
1585
|
-
/* add basePath to assets */
|
|
1586
|
-
.SubNavigation-module__container___Wb5XN {
|
|
1587
|
-
background-color: #ffffff;
|
|
1588
|
-
color: #575452;
|
|
1589
|
-
border-radius: 0px 0px 8px 8px;
|
|
1590
|
-
margin: 0 auto;
|
|
1591
|
-
max-width: 1308px;
|
|
1592
|
-
min-height: 47px;
|
|
1593
|
-
-webkit-align-items: center;
|
|
1594
|
-
-moz-align-items: center;
|
|
1595
|
-
-o-align-items: center;
|
|
1596
|
-
align-items: center;
|
|
1597
|
-
}
|
|
1598
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__item___c32EK {
|
|
1599
|
-
font-size: 14px;
|
|
1600
|
-
line-height: 20px;
|
|
1601
|
-
font-weight: 700;
|
|
1602
|
-
}
|
|
1603
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__item___c32EK a {
|
|
1604
|
-
margin-left: 0 !important;
|
|
1605
|
-
margin-top: 0 !important;
|
|
1606
|
-
font-size: 18px;
|
|
1607
|
-
line-height: 24px;
|
|
1608
|
-
font-weight: 400;
|
|
1609
|
-
display: block !important;
|
|
1610
|
-
}
|
|
1611
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__item___c32EK:not(:last-child) {
|
|
1612
|
-
padding-bottom: 28px;
|
|
1613
|
-
}
|
|
1614
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__title-item___Ly5e7 {
|
|
1615
|
-
font-size: 14px;
|
|
1616
|
-
line-height: 20px;
|
|
1617
|
-
color: #7A7A7B;
|
|
1618
|
-
font-weight: 700;
|
|
1619
|
-
padding-bottom: 28px;
|
|
1620
|
-
}
|
|
1621
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__columns___q7D8X {
|
|
1622
|
-
display: flex;
|
|
1623
|
-
grid-column: 2;
|
|
1624
|
-
grid-template-columns: repeat(auto-fit, 20%);
|
|
1625
|
-
padding: 24px 32px;
|
|
1626
|
-
}
|
|
1627
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__columns___q7D8X > div {
|
|
1628
|
-
border-left: 1px solid #e6e3df;
|
|
1629
|
-
padding-left: 24px;
|
|
1630
|
-
padding-right: 24px;
|
|
1631
|
-
max-width: 248px;
|
|
1632
|
-
}
|
|
1633
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__columns___q7D8X > div:first-child {
|
|
1634
|
-
padding-left: 0;
|
|
1635
|
-
border: none;
|
|
1636
|
-
}
|
|
1637
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__promo-icon___fW190 {
|
|
1638
|
-
margin-left: 4px;
|
|
1639
|
-
vertical-align: middle;
|
|
1640
|
-
height: 24px;
|
|
1641
|
-
width: 24px;
|
|
1642
|
-
}
|
|
1643
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__promo-icon-left___Pfn0P {
|
|
1644
|
-
margin-left: 0;
|
|
1645
|
-
margin-right: 4px;
|
|
1646
|
-
}
|
|
1647
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__promo-text-tail___L5-D5 {
|
|
1648
|
-
white-space: nowrap;
|
|
1649
|
-
display: inline-flex;
|
|
1650
|
-
align-items: center;
|
|
1651
|
-
}
|
|
1652
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__promo-text-left___pVaby {
|
|
1653
|
-
display: flex;
|
|
1654
|
-
align-items: flex-start;
|
|
1655
|
-
gap: 4px;
|
|
1656
|
-
white-space: normal;
|
|
1657
|
-
max-width: 100%;
|
|
1658
|
-
}
|
|
1659
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__promo-text___8C1qG {
|
|
1660
|
-
white-space: normal;
|
|
1661
|
-
min-width: 0;
|
|
1662
|
-
}
|
|
1663
|
-
.SubNavigation-module__container___Wb5XN .SubNavigation-module__promo-text-left___pVaby {
|
|
1664
|
-
white-space: normal;
|
|
1665
|
-
align-items: flex-start;
|
|
1666
|
-
gap: 4px;
|
|
1667
|
-
}
|
|
1668
|
-
|
|
1669
|
-
.SubNavigation-module__container___Wb5XN.SubNavigation-module__inverted___3w-wB {
|
|
1670
|
-
background-color: #1f1f1f;
|
|
1671
|
-
color: #ffffff;
|
|
1672
|
-
}
|
|
1673
|
-
.SubNavigation-module__container___Wb5XN.SubNavigation-module__inverted___3w-wB .SubNavigation-module__item___c32EK {
|
|
1674
|
-
color: #ffffff;
|
|
1675
|
-
}
|
|
1676
|
-
.SubNavigation-module__container___Wb5XN.SubNavigation-module__inverted___3w-wB .SubNavigation-module__item___c32EK a {
|
|
1677
|
-
color: #ffffff;
|
|
1678
|
-
}
|
|
1679
|
-
.SubNavigation-module__container___Wb5XN.SubNavigation-module__inverted___3w-wB .SubNavigation-module__title-item___Ly5e7 {
|
|
1553
|
+
font-weight: 600;
|
|
1680
1554
|
color: #ffffff;
|
|
1555
|
+
cursor: pointer;
|
|
1556
|
+
transition: background-color 0.15s ease;
|
|
1681
1557
|
}
|
|
1682
|
-
.
|
|
1683
|
-
|
|
1558
|
+
.CartClearConfirm-module__confirmButton___KgPKy:hover {
|
|
1559
|
+
background-color: #3d3935;
|
|
1560
|
+
border-color: #3d3935;
|
|
1684
1561
|
}
|
|
1685
|
-
.
|
|
1686
|
-
|
|
1562
|
+
.CartClearConfirm-module__confirmButton___KgPKy:focus-visible {
|
|
1563
|
+
outline: 2px solid #3d3935;
|
|
1564
|
+
outline-offset: 2px;
|
|
1687
1565
|
}
|
|
1688
1566
|
|
|
1689
1567
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartFooter/CartFooter.module.scss */
|
|
@@ -1960,137 +1838,149 @@
|
|
|
1960
1838
|
}
|
|
1961
1839
|
}
|
|
1962
1840
|
|
|
1963
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/
|
|
1841
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/MobileNavigation/MobileMenuItem/MobileMenuItem.module.scss */
|
|
1964
1842
|
/* center a block element */
|
|
1965
1843
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1966
1844
|
/* setting styles in separate formats for cross browser support */
|
|
1967
1845
|
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
1968
1846
|
/* vertically center alilgn any HTML element */
|
|
1969
1847
|
/* add basePath to assets */
|
|
1970
|
-
.
|
|
1848
|
+
.MobileMenuItem-module__container___7iZGF .MobileMenuItem-module__open-item___F6T3z:hover {
|
|
1849
|
+
font-weight: unset;
|
|
1850
|
+
}
|
|
1851
|
+
.MobileMenuItem-module__container___7iZGF .MobileMenuItem-module__nav-link___56LxY {
|
|
1852
|
+
position: relative;
|
|
1853
|
+
color: #333333;
|
|
1854
|
+
display: -webkit-box;
|
|
1855
|
+
font-size: 16px;
|
|
1856
|
+
line-height: 24px;
|
|
1971
1857
|
display: flex;
|
|
1972
|
-
|
|
1973
|
-
|
|
1858
|
+
height: auto;
|
|
1859
|
+
text-decoration: none;
|
|
1860
|
+
padding: 10px 10px 10px 10px;
|
|
1861
|
+
margin-bottom: 4px;
|
|
1862
|
+
background-color: #ffffff;
|
|
1974
1863
|
}
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
font-size: 24px;
|
|
1978
|
-
line-height: 32px;
|
|
1979
|
-
font-weight: 400;
|
|
1980
|
-
color: #3d3935;
|
|
1864
|
+
.MobileMenuItem-module__container___7iZGF .MobileMenuItem-module__nav-link___56LxY.MobileMenuItem-module__new-style___tBLR0 {
|
|
1865
|
+
border: 1px solid #e8e8e8;
|
|
1981
1866
|
}
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1867
|
+
.MobileMenuItem-module__container___7iZGF .MobileMenuItem-module__nav-link___56LxY > img {
|
|
1868
|
+
position: absolute;
|
|
1869
|
+
left: 10px;
|
|
1870
|
+
}
|
|
1871
|
+
.MobileMenuItem-module__container___7iZGF .MobileMenuItem-module__nav-link___56LxY .MobileMenuItem-module__icon___mC-gC {
|
|
1872
|
+
position: absolute;
|
|
1873
|
+
right: 10px;
|
|
1874
|
+
}
|
|
1875
|
+
.MobileMenuItem-module__container___7iZGF .MobileMenuItem-module__nav-link___56LxY .MobileMenuItem-module__icon___mC-gC img {
|
|
1876
|
+
transition: transform 0.2s ease;
|
|
1877
|
+
}
|
|
1878
|
+
.MobileMenuItem-module__container___7iZGF .MobileMenuItem-module__nav-link___56LxY .MobileMenuItem-module__promo-icon___TLFaw {
|
|
1879
|
+
display: block;
|
|
1880
|
+
flex-shrink: 0;
|
|
1881
|
+
height: 24px;
|
|
1882
|
+
width: 24px;
|
|
1883
|
+
margin-right: 8px;
|
|
1987
1884
|
}
|
|
1988
1885
|
|
|
1989
|
-
.
|
|
1990
|
-
|
|
1991
|
-
background: none;
|
|
1992
|
-
border: none;
|
|
1993
|
-
padding: 0;
|
|
1994
|
-
cursor: pointer;
|
|
1995
|
-
font-size: 14px;
|
|
1996
|
-
line-height: 20px;
|
|
1997
|
-
font-weight: 400;
|
|
1998
|
-
color: #da291c;
|
|
1999
|
-
text-decoration: underline;
|
|
2000
|
-
text-underline-offset: 2px;
|
|
1886
|
+
.MobileMenuItem-module__container___7iZGF.active-link .MobileMenuItem-module__nav-link___56LxY .MobileMenuItem-module__icon___mC-gC img {
|
|
1887
|
+
transform: rotate(-180deg);
|
|
2001
1888
|
}
|
|
2002
|
-
|
|
2003
|
-
|
|
1889
|
+
|
|
1890
|
+
.MobileMenuItem-module__container___7iZGF.MobileMenuItem-module__inverted___kaJ2O .MobileMenuItem-module__nav-link___56LxY {
|
|
1891
|
+
background-color: #1f1f1f;
|
|
1892
|
+
color: #ffffff;
|
|
1893
|
+
border: 1px solid #2c2c2c;
|
|
2004
1894
|
}
|
|
2005
|
-
.
|
|
2006
|
-
|
|
2007
|
-
outline-offset: 2px;
|
|
2008
|
-
border-radius: 2px;
|
|
1895
|
+
.MobileMenuItem-module__container___7iZGF.MobileMenuItem-module__inverted___kaJ2O .MobileMenuItem-module__icon___mC-gC img {
|
|
1896
|
+
filter: brightness(0) invert(0.9);
|
|
2009
1897
|
}
|
|
2010
1898
|
|
|
2011
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/
|
|
1899
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/BusinessCustomerLinkOut/BusinessCustomerLinkOut.module.scss */
|
|
2012
1900
|
/* center a block element */
|
|
2013
1901
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
2014
1902
|
/* setting styles in separate formats for cross browser support */
|
|
2015
1903
|
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
2016
1904
|
/* vertically center alilgn any HTML element */
|
|
2017
1905
|
/* add basePath to assets */
|
|
2018
|
-
.
|
|
2019
|
-
|
|
2020
|
-
inset: 0;
|
|
2021
|
-
z-index: 10;
|
|
2022
|
-
background: rgba(0, 0, 0, 0.5);
|
|
2023
|
-
display: flex;
|
|
2024
|
-
align-items: center;
|
|
2025
|
-
justify-content: center;
|
|
2026
|
-
padding: 24px;
|
|
1906
|
+
.BusinessCustomerLinkOut-module__outer-icon___lsbX9 {
|
|
1907
|
+
margin-left: 0 !important;
|
|
2027
1908
|
}
|
|
2028
1909
|
|
|
2029
|
-
.
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
flex-direction: column;
|
|
2037
|
-
gap: 24px;
|
|
1910
|
+
.BusinessCustomerLinkOut-module__icon___lYHUm {
|
|
1911
|
+
padding: 14px 8px 18px 8px;
|
|
1912
|
+
cursor: pointer;
|
|
1913
|
+
}
|
|
1914
|
+
.BusinessCustomerLinkOut-module__icon___lYHUm img {
|
|
1915
|
+
margin-left: 0px !important;
|
|
1916
|
+
padding-left: 8px;
|
|
2038
1917
|
}
|
|
2039
1918
|
|
|
2040
|
-
.
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
1919
|
+
.BusinessCustomerLinkOut-module__icon1___VBeT5 {
|
|
1920
|
+
color: #da291c;
|
|
1921
|
+
background-color: #ffffff;
|
|
1922
|
+
padding: 14px 8px 18px 8px;
|
|
1923
|
+
border-radius: 4px 4px 0 0;
|
|
1924
|
+
}
|
|
1925
|
+
.BusinessCustomerLinkOut-module__icon1___VBeT5 img {
|
|
1926
|
+
color: #da291c;
|
|
1927
|
+
margin-left: 0px !important;
|
|
1928
|
+
padding-left: unset;
|
|
1929
|
+
padding-right: 8px;
|
|
1930
|
+
transform: rotate(-180deg);
|
|
2046
1931
|
}
|
|
2047
1932
|
|
|
2048
|
-
.
|
|
2049
|
-
|
|
2050
|
-
|
|
1933
|
+
.BusinessCustomerLinkOut-module__icon2___gPMoZ a, .BusinessCustomerLinkOut-module__icon2-scroll___lSNWm a {
|
|
1934
|
+
color: #da291c !important;
|
|
1935
|
+
}
|
|
1936
|
+
.BusinessCustomerLinkOut-module__icon2___gPMoZ, .BusinessCustomerLinkOut-module__icon2-scroll___lSNWm {
|
|
1937
|
+
border-radius: 4px 4px 0 0;
|
|
1938
|
+
background-color: #ffffff;
|
|
1939
|
+
padding: 14px 8px 18px 8px;
|
|
2051
1940
|
}
|
|
2052
1941
|
|
|
2053
|
-
.
|
|
2054
|
-
|
|
2055
|
-
height: 48px;
|
|
2056
|
-
background: none;
|
|
2057
|
-
border: 2px solid #3d3935;
|
|
2058
|
-
border-radius: 28px;
|
|
2059
|
-
font-size: 16px;
|
|
2060
|
-
line-height: 24px;
|
|
2061
|
-
font-weight: 600;
|
|
2062
|
-
color: #3d3935;
|
|
2063
|
-
cursor: pointer;
|
|
2064
|
-
transition: background-color 0.15s ease;
|
|
1942
|
+
.BusinessCustomerLinkOut-module__dropdown-one-item___MVk1f a {
|
|
1943
|
+
color: unset !important;
|
|
2065
1944
|
}
|
|
2066
|
-
.
|
|
2067
|
-
background-color:
|
|
1945
|
+
.BusinessCustomerLinkOut-module__dropdown-one-item___MVk1f {
|
|
1946
|
+
background-color: unset;
|
|
2068
1947
|
}
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
1948
|
+
|
|
1949
|
+
.BusinessCustomerLinkOut-module__icon2-scroll___lSNWm {
|
|
1950
|
+
background-color: transparent;
|
|
2072
1951
|
}
|
|
2073
1952
|
|
|
2074
|
-
.
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
font-size:
|
|
1953
|
+
.BusinessCustomerLinkOut-module__login-flyover___9GsNf {
|
|
1954
|
+
margin-left: 0px !important;
|
|
1955
|
+
position: absolute;
|
|
1956
|
+
min-width: 214px;
|
|
1957
|
+
display: block;
|
|
1958
|
+
padding: 36px 32px 36px 32px;
|
|
1959
|
+
font-size: 18px;
|
|
2081
1960
|
line-height: 24px;
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
1961
|
+
border: 0;
|
|
1962
|
+
box-shadow: 0 2px 4px rgba(87, 84, 82, 0.2);
|
|
1963
|
+
background-color: #ffffff;
|
|
1964
|
+
border-radius: 0 0 8px 8px;
|
|
1965
|
+
z-index: 1;
|
|
2086
1966
|
}
|
|
2087
|
-
.
|
|
2088
|
-
|
|
2089
|
-
|
|
1967
|
+
.BusinessCustomerLinkOut-module__login-flyover___9GsNf :not(:first-child) {
|
|
1968
|
+
margin-left: 0 !important;
|
|
1969
|
+
padding-top: 18px;
|
|
2090
1970
|
}
|
|
2091
|
-
.
|
|
2092
|
-
|
|
2093
|
-
|
|
1971
|
+
.BusinessCustomerLinkOut-module__login-flyover___9GsNf :last-child {
|
|
1972
|
+
padding-top: 28px;
|
|
1973
|
+
}
|
|
1974
|
+
.BusinessCustomerLinkOut-module__login-flyover___9GsNf div:nth-child(1) {
|
|
1975
|
+
border-bottom: 1px solid #e6e3df;
|
|
1976
|
+
padding-bottom: 18px;
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
.BusinessCustomerLinkOut-module__black-friday___AwfEN .BusinessCustomerLinkOut-module__icon2___gPMoZ, .BusinessCustomerLinkOut-module__black-friday___AwfEN .BusinessCustomerLinkOut-module__icon2-scroll___lSNWm {
|
|
1980
|
+
background-color: #111111;
|
|
1981
|
+
}
|
|
1982
|
+
.BusinessCustomerLinkOut-module__black-friday___AwfEN .BusinessCustomerLinkOut-module__highlighted___Y5Afb {
|
|
1983
|
+
background-color: #1f1f1f;
|
|
2094
1984
|
}
|
|
2095
1985
|
|
|
2096
1986
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/MobileNavigation/MobileSubNavigation/MobileSubNavigation.module.scss */
|
|
@@ -2186,3 +2076,113 @@
|
|
|
2186
2076
|
.active-link .MobileSubNavigation-module__container___1tQpO .MobileSubNavigation-module__content___Cl7sf {
|
|
2187
2077
|
display: block;
|
|
2188
2078
|
}
|
|
2079
|
+
|
|
2080
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/SubNavigation/SubNavigation.module.scss */
|
|
2081
|
+
/* center a block element */
|
|
2082
|
+
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
2083
|
+
/* setting styles in separate formats for cross browser support */
|
|
2084
|
+
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
2085
|
+
/* vertically center alilgn any HTML element */
|
|
2086
|
+
/* add basePath to assets */
|
|
2087
|
+
.SubNavigation-module__container___Wb5XN {
|
|
2088
|
+
background-color: #ffffff;
|
|
2089
|
+
color: #575452;
|
|
2090
|
+
border-radius: 0px 0px 8px 8px;
|
|
2091
|
+
margin: 0 auto;
|
|
2092
|
+
max-width: 1308px;
|
|
2093
|
+
min-height: 47px;
|
|
2094
|
+
-webkit-align-items: center;
|
|
2095
|
+
-moz-align-items: center;
|
|
2096
|
+
-o-align-items: center;
|
|
2097
|
+
align-items: center;
|
|
2098
|
+
}
|
|
2099
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__item___c32EK {
|
|
2100
|
+
font-size: 14px;
|
|
2101
|
+
line-height: 20px;
|
|
2102
|
+
font-weight: 700;
|
|
2103
|
+
}
|
|
2104
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__item___c32EK a {
|
|
2105
|
+
margin-left: 0 !important;
|
|
2106
|
+
margin-top: 0 !important;
|
|
2107
|
+
font-size: 18px;
|
|
2108
|
+
line-height: 24px;
|
|
2109
|
+
font-weight: 400;
|
|
2110
|
+
display: block !important;
|
|
2111
|
+
}
|
|
2112
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__item___c32EK:not(:last-child) {
|
|
2113
|
+
padding-bottom: 28px;
|
|
2114
|
+
}
|
|
2115
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__title-item___Ly5e7 {
|
|
2116
|
+
font-size: 14px;
|
|
2117
|
+
line-height: 20px;
|
|
2118
|
+
color: #7A7A7B;
|
|
2119
|
+
font-weight: 700;
|
|
2120
|
+
padding-bottom: 28px;
|
|
2121
|
+
}
|
|
2122
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__columns___q7D8X {
|
|
2123
|
+
display: flex;
|
|
2124
|
+
grid-column: 2;
|
|
2125
|
+
grid-template-columns: repeat(auto-fit, 20%);
|
|
2126
|
+
padding: 24px 32px;
|
|
2127
|
+
}
|
|
2128
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__columns___q7D8X > div {
|
|
2129
|
+
border-left: 1px solid #e6e3df;
|
|
2130
|
+
padding-left: 24px;
|
|
2131
|
+
padding-right: 24px;
|
|
2132
|
+
max-width: 248px;
|
|
2133
|
+
}
|
|
2134
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__columns___q7D8X > div:first-child {
|
|
2135
|
+
padding-left: 0;
|
|
2136
|
+
border: none;
|
|
2137
|
+
}
|
|
2138
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__promo-icon___fW190 {
|
|
2139
|
+
margin-left: 4px;
|
|
2140
|
+
vertical-align: middle;
|
|
2141
|
+
height: 24px;
|
|
2142
|
+
width: 24px;
|
|
2143
|
+
}
|
|
2144
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__promo-icon-left___Pfn0P {
|
|
2145
|
+
margin-left: 0;
|
|
2146
|
+
margin-right: 4px;
|
|
2147
|
+
}
|
|
2148
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__promo-text-tail___L5-D5 {
|
|
2149
|
+
white-space: nowrap;
|
|
2150
|
+
display: inline-flex;
|
|
2151
|
+
align-items: center;
|
|
2152
|
+
}
|
|
2153
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__promo-text-left___pVaby {
|
|
2154
|
+
display: flex;
|
|
2155
|
+
align-items: flex-start;
|
|
2156
|
+
gap: 4px;
|
|
2157
|
+
white-space: normal;
|
|
2158
|
+
max-width: 100%;
|
|
2159
|
+
}
|
|
2160
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__promo-text___8C1qG {
|
|
2161
|
+
white-space: normal;
|
|
2162
|
+
min-width: 0;
|
|
2163
|
+
}
|
|
2164
|
+
.SubNavigation-module__container___Wb5XN .SubNavigation-module__promo-text-left___pVaby {
|
|
2165
|
+
white-space: normal;
|
|
2166
|
+
align-items: flex-start;
|
|
2167
|
+
gap: 4px;
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2170
|
+
.SubNavigation-module__container___Wb5XN.SubNavigation-module__inverted___3w-wB {
|
|
2171
|
+
background-color: #1f1f1f;
|
|
2172
|
+
color: #ffffff;
|
|
2173
|
+
}
|
|
2174
|
+
.SubNavigation-module__container___Wb5XN.SubNavigation-module__inverted___3w-wB .SubNavigation-module__item___c32EK {
|
|
2175
|
+
color: #ffffff;
|
|
2176
|
+
}
|
|
2177
|
+
.SubNavigation-module__container___Wb5XN.SubNavigation-module__inverted___3w-wB .SubNavigation-module__item___c32EK a {
|
|
2178
|
+
color: #ffffff;
|
|
2179
|
+
}
|
|
2180
|
+
.SubNavigation-module__container___Wb5XN.SubNavigation-module__inverted___3w-wB .SubNavigation-module__title-item___Ly5e7 {
|
|
2181
|
+
color: #ffffff;
|
|
2182
|
+
}
|
|
2183
|
+
.SubNavigation-module__container___Wb5XN.SubNavigation-module__inverted___3w-wB .SubNavigation-module__columns___q7D8X > div {
|
|
2184
|
+
border-left: 1px solid #86807c;
|
|
2185
|
+
}
|
|
2186
|
+
.SubNavigation-module__container___Wb5XN.SubNavigation-module__inverted___3w-wB .SubNavigation-module__columns___q7D8X > div:first-child {
|
|
2187
|
+
border: none;
|
|
2188
|
+
}
|