@sunrise-upc/sales-static-components 3.8.1 → 3.8.2

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.
@@ -79,12 +79,62 @@
79
79
  }
80
80
  }
81
81
 
82
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ {
83
+ color: #ffffff;
84
+ }
85
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
86
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
87
+ filter: brightness(0) invert(0.9);
88
+ }
82
89
  @media (max-width: 1023px) {
83
90
  .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp {
84
91
  background-color: #1f1f1f !important;
85
92
  }
86
93
  }
87
94
 
95
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY {
96
+ background-color: transparent;
97
+ }
98
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-name___HZpSJ {
99
+ color: #ffffff;
100
+ }
101
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
102
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs,
103
+ .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
104
+ filter: brightness(0) invert(0.9);
105
+ }
106
+ @media (max-width: 1023px) {
107
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY {
108
+ background-color: #1f1f1f;
109
+ }
110
+ }
111
+
112
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__highlight___XDufd, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__highlight___XDufd.ProfileLinkOut-module__non-section___G1jJY {
113
+ background-color: #111111;
114
+ }
115
+
116
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp {
117
+ background-color: #1f1f1f;
118
+ box-shadow: 0px 20px 30px -8px rgba(0, 0, 0, 0.5);
119
+ }
120
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__salutation___u-T7S {
121
+ color: #ffffff;
122
+ border-bottom-color: #86807c;
123
+ }
124
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__mysunrise___F326W {
125
+ background-color: #1f1f1f;
126
+ }
127
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__mysunrise___F326W a {
128
+ color: #da291c;
129
+ }
130
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__logout___GfbcJ {
131
+ color: #ffffff;
132
+ background-color: #1f1f1f;
133
+ }
134
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__logout___GfbcJ img {
135
+ filter: brightness(0) invert(0.9);
136
+ }
137
+
88
138
  .ProfileLinkOut-module__arrow___Mc7yw {
89
139
  display: none;
90
140
  }
@@ -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"),l=require("./ProfileLinkOut.module.scss.js"),t=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:o,logoutLabel:d,salutationLabel:u,userIcon:m,arrowRight:f,arrowDown:N,logoutIcon:h,isBlackFriday:v=!1,logoutUrl:g})=>{var x;const[k,j]=a.useState(()=>(()=>{if("undefined"==typeof document)return;const e=`${i.AUTHCOOKIE}=`,a=document.cookie.split(";");for(let l of a){for(;" "===l.charAt(0);)l=l.substring(1);if(0===l.indexOf(e))try{const a=JSON.parse(decodeURIComponent(l.substring(e.length,l.length)));return!a.personalisedName&&a.firstName&&a.lastName&&(a.personalisedName=`${a.firstName[0]}${a.lastName[0]}`),a}catch(e){return}}})()),[E,I]=a.useState(!1),[y,C]=a.useState(!1),w=n.default(I,!1,E),A=(null==m?void 0:m.filename)||r.getStaticAssetPath("/HeaderIcons/new_profile_icon.svg"),p=(null==f?void 0:f.filename)||r.getStaticAssetPath("/HeaderIcons/arrow-right.svg"),_=(null==N?void 0:N.filename)||r.getStaticAssetPath("/HeaderIcons/red_down_arrow.svg"),L=(null==h?void 0:h.filename)||r.getStaticAssetPath("/HeaderIcons/logout.svg"),O=(null==c?void 0:c.cached_url)||(null==c?void 0:c.url)||"/",$=()=>{try{window.sessionStorage.removeItem(i.AUTHSTAMP),localStorage.removeItem("userNameType")}catch(e){}j(void 0)},T=()=>{t.trackNewDatalayerEvent(s.GAEVENT,s.SUBNAVCLICK,{link_url:"#",click_text:d}),t.trackNewDatalayerEvent(s.GAEVENT,s.PROFILELOGOUT,{click_text:d});const e=()=>{"undefined"!=typeof window&&window.location.reload()};if(!g)return $(),void e();fetch(g,{method:"GET"}).then(e=>{e.ok&&$()}).catch(()=>{}).finally(()=>{e()})},S=()=>{k?t.trackNewDatalayerEvent(s.GAEVENT,s.PROFILECLICK,{click_text:k.personalisedName}):t.trackNewDatalayerEvent(s.GAEVENT,s.LOGINCLICK,{click_text:o})},b=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:l.default["profile-icon"],style:{backgroundImage:`url(${A})`}}),e.jsx("div",{className:l.default["profile-name"],children:k?k.personalisedName:o}),k?e.jsx("div",{className:l.default["profile-arrow-down-icon"],style:{backgroundImage:`url(${_})`}}):e.jsx("div",{className:l.default["profile-arrow-icon"],style:{backgroundImage:`url(${p})`}})]}),P=e.jsxs("div",{className:l.default["login-flyover"],children:[k&&e.jsxs("div",{className:l.default.salutation,children:[u||""," ",k.firstName?`${k.firstName} ${null!==(x=k.lastName)&&void 0!==x?x:""}`:""]}),e.jsxs("div",{className:"d-none d-md-block",children:[e.jsx("div",{className:l.default.mysunrise,onClick:()=>t.trackNewDatalayerEvent(s.GAEVENT,s.MYPROFILECLICK,{click_text:o}),children:e.jsx("a",{href:O,children:o})}),k&&d&&e.jsx("div",{className:l.default.logout,children:e.jsxs("a",{onClick:T,children:[d,e.jsx("img",{className:l.default.logout1,src:L,alt:"logout"})]})})]}),e.jsxs("div",{className:"d-md-none",children:[e.jsx("a",{href:O,onClick:()=>t.trackNewDatalayerEvent(s.GAEVENT,s.MYPROFILECLICK,{click_text:o}),children:e.jsx("div",{className:l.default.mysunrise,children:o})}),k&&d&&e.jsx("a",{onClick:T,children:e.jsxs("div",{className:l.default.logout,children:[d,e.jsx("img",{className:"d-md-none",src:L,alt:"logout"})]})})]})]});return k?e.jsxs(e.Fragment,{children:[e.jsxs("div",{ref:w,className:`d-none d-md-block ${l.default.personalized}`,children:[e.jsx("a",{onClick:()=>{I(e=>!e),S()},className:`d-flex align-items-center ${l.default.section} ${E?l.default.highlight:""}`,children:b}),E&&P]}),e.jsxs("div",{className:"d-md-none",children:[e.jsx("a",{onClick:()=>{C(e=>!e),S()},className:`d-flex align-items-center ${l.default.section} ${y?l.default["section-clicked"]:""}`,children:b}),y&&P]})]}):e.jsx("a",{href:O,className:`d-flex ${l.default["non-section"]} ${v?l.default["black-friday"]:""}`,onClick:()=>{t.trackNewDatalayerEvent(s.GAEVENT,s.MAINNAVCLICK,{link_url:null==c?void 0:c.cached_url,click_text:o}),S()},children:b})};
2
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=require("react"),l=require("./ProfileLinkOut.module.scss.js"),t=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:f,arrowRight:m,arrowDown:N,logoutIcon:h,isBlackFriday:v=!1,logoutUrl:g})=>{var k;const[x,j]=a.useState(()=>(()=>{if("undefined"==typeof document)return;const e=`${i.AUTHCOOKIE}=`,a=document.cookie.split(";");for(let l of a){for(;" "===l.charAt(0);)l=l.substring(1);if(0===l.indexOf(e))try{const a=JSON.parse(decodeURIComponent(l.substring(e.length,l.length)));return!a.personalisedName&&a.firstName&&a.lastName&&(a.personalisedName=`${a.firstName[0]}${a.lastName[0]}`),a}catch(e){return}}})()),[y,E]=a.useState(!1),[I,C]=a.useState(!1),w=n.default(E,!1,y),A=(null==f?void 0:f.filename)||r.getStaticAssetPath("/HeaderIcons/new_profile_icon.svg"),p=(null==m?void 0:m.filename)||r.getStaticAssetPath("/HeaderIcons/arrow-right.svg"),$=(null==N?void 0:N.filename)||r.getStaticAssetPath("/HeaderIcons/red_down_arrow.svg"),_=(null==h?void 0:h.filename)||r.getStaticAssetPath("/HeaderIcons/logout.svg"),L=(null==c?void 0:c.cached_url)||(null==c?void 0:c.url)||"/",O=()=>{try{window.sessionStorage.removeItem(i.AUTHSTAMP),localStorage.removeItem("userNameType")}catch(e){}j(void 0)},b=()=>{t.trackNewDatalayerEvent(s.GAEVENT,s.SUBNAVCLICK,{link_url:"#",click_text:o}),t.trackNewDatalayerEvent(s.GAEVENT,s.PROFILELOGOUT,{click_text:o});const e=()=>{"undefined"!=typeof window&&window.location.reload()};if(!g)return O(),void e();fetch(g,{method:"GET"}).then(e=>{e.ok&&O()}).catch(()=>{}).finally(()=>{e()})},T=()=>{x?t.trackNewDatalayerEvent(s.GAEVENT,s.PROFILECLICK,{click_text:x.personalisedName}):t.trackNewDatalayerEvent(s.GAEVENT,s.LOGINCLICK,{click_text:d})},S=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:l.default["profile-icon"],style:{backgroundImage:`url(${A})`}}),e.jsx("div",{className:l.default["profile-name"],children:x?x.personalisedName:d}),x?e.jsx("div",{className:l.default["profile-arrow-down-icon"],style:{backgroundImage:`url(${$})`}}):e.jsx("div",{className:l.default["profile-arrow-icon"],style:{backgroundImage:`url(${p})`}})]}),P=e.jsxs("div",{className:`${l.default["login-flyover"]} ${v?l.default["black-friday"]:""}`,children:[x&&e.jsxs("div",{className:l.default.salutation,children:[u||""," ",x.firstName?`${x.firstName} ${null!==(k=x.lastName)&&void 0!==k?k:""}`:""]}),e.jsxs("div",{className:"d-none d-md-block",children:[e.jsx("div",{className:l.default.mysunrise,onClick:()=>t.trackNewDatalayerEvent(s.GAEVENT,s.MYPROFILECLICK,{click_text:d}),children:e.jsx("a",{href:L,children:d})}),x&&o&&e.jsx("div",{className:l.default.logout,children:e.jsxs("a",{onClick:b,children:[o,e.jsx("img",{className:l.default.logout1,src:_,alt:"logout"})]})})]}),e.jsxs("div",{className:"d-md-none",children:[e.jsx("a",{href:L,onClick:()=>t.trackNewDatalayerEvent(s.GAEVENT,s.MYPROFILECLICK,{click_text:d}),children:e.jsx("div",{className:l.default.mysunrise,children:d})}),x&&o&&e.jsx("a",{onClick:b,children:e.jsxs("div",{className:l.default.logout,children:[o,e.jsx("img",{className:"d-md-none",src:_,alt:"logout"})]})})]})]});return x?e.jsxs(e.Fragment,{children:[e.jsxs("div",{ref:w,className:`d-none d-md-block ${l.default.personalized}`,children:[e.jsx("a",{onClick:()=>{E(e=>!e),T()},className:`d-flex align-items-center ${l.default.section} ${y?l.default.highlight:""} ${v?l.default["black-friday"]:""}`,children:S}),y&&P]}),e.jsxs("div",{className:"d-md-none",children:[e.jsx("a",{onClick:()=>{C(e=>!e),T()},className:`d-flex align-items-center ${l.default.section} ${I?l.default["section-clicked"]:""} ${v?l.default["black-friday"]:""}`,children:S}),I&&P]})]}):e.jsx("a",{href:L,className:`d-flex ${l.default["non-section"]} ${v?l.default["black-friday"]:""}`,onClick:()=>{t.trackNewDatalayerEvent(s.GAEVENT,s.MAINNAVCLICK,{link_url:null==c?void 0:c.cached_url,click_text:d}),T()},children:S})};
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","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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EAAAA,QAAgB,WACtD7C,EAAc6C,UAAO,mBAAqB,cAG3CN,IAEFvC,GAAegD,QAjDlBL,EAAAA,IAAA,IAAA,CACEQ,KAAMzC,EACNkC,UAAW,UAAUC,EAAAA,QAAO,kBAC1BvE,EAAgBuE,UAAO,gBAAkB,KAE3CI,QAAS,KACP5B,EAAAA,uBAAuBC,EAAAA,QAASkC,eAAc,CAC5ChC,SAAU1D,aAAI,EAAJA,EAAM6C,WAChBc,WAAY1D,IAEdqE,KACDM,SAEAH"}
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","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":"qXAoEuB,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,EAA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,KAAMzC,EACNkC,UAAW,UAAUC,EAAAA,QAAO,kBAC1BvE,EAAgBuE,UAAO,gBAAkB,KAE3CI,QAAS,KACP5B,EAAAA,uBAAuBC,EAAAA,QAASkC,eAAc,CAC5ChC,SAAU1D,aAAI,EAAJA,EAAM6C,WAChBc,WAAY1D,IAEdqE,KACDM,SAEAH"}
@@ -79,12 +79,62 @@
79
79
  }
80
80
  }
81
81
 
82
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ {
83
+ color: #ffffff;
84
+ }
85
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
86
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
87
+ filter: brightness(0) invert(0.9);
88
+ }
82
89
  @media (max-width: 1023px) {
83
90
  .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp {
84
91
  background-color: #1f1f1f !important;
85
92
  }
86
93
  }
87
94
 
95
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY {
96
+ background-color: transparent;
97
+ }
98
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-name___HZpSJ {
99
+ color: #ffffff;
100
+ }
101
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
102
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs,
103
+ .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
104
+ filter: brightness(0) invert(0.9);
105
+ }
106
+ @media (max-width: 1023px) {
107
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY {
108
+ background-color: #1f1f1f;
109
+ }
110
+ }
111
+
112
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__highlight___XDufd, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__highlight___XDufd.ProfileLinkOut-module__non-section___G1jJY {
113
+ background-color: #111111;
114
+ }
115
+
116
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp {
117
+ background-color: #1f1f1f;
118
+ box-shadow: 0px 20px 30px -8px rgba(0, 0, 0, 0.5);
119
+ }
120
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__salutation___u-T7S {
121
+ color: #ffffff;
122
+ border-bottom-color: #86807c;
123
+ }
124
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__mysunrise___F326W {
125
+ background-color: #1f1f1f;
126
+ }
127
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__mysunrise___F326W a {
128
+ color: #da291c;
129
+ }
130
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__logout___GfbcJ {
131
+ color: #ffffff;
132
+ background-color: #1f1f1f;
133
+ }
134
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__logout___GfbcJ img {
135
+ filter: brightness(0) invert(0.9);
136
+ }
137
+
88
138
  .ProfileLinkOut-module__arrow___Mc7yw {
89
139
  display: none;
90
140
  }
@@ -79,12 +79,62 @@
79
79
  }
80
80
  }
81
81
 
82
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ {
83
+ color: #ffffff;
84
+ }
85
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
86
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
87
+ filter: brightness(0) invert(0.9);
88
+ }
82
89
  @media (max-width: 1023px) {
83
90
  .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp {
84
91
  background-color: #1f1f1f !important;
85
92
  }
86
93
  }
87
94
 
95
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY {
96
+ background-color: transparent;
97
+ }
98
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-name___HZpSJ {
99
+ color: #ffffff;
100
+ }
101
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
102
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs,
103
+ .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
104
+ filter: brightness(0) invert(0.9);
105
+ }
106
+ @media (max-width: 1023px) {
107
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY {
108
+ background-color: #1f1f1f;
109
+ }
110
+ }
111
+
112
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__highlight___XDufd, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__highlight___XDufd.ProfileLinkOut-module__non-section___G1jJY {
113
+ background-color: #111111;
114
+ }
115
+
116
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp {
117
+ background-color: #1f1f1f;
118
+ box-shadow: 0px 20px 30px -8px rgba(0, 0, 0, 0.5);
119
+ }
120
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__salutation___u-T7S {
121
+ color: #ffffff;
122
+ border-bottom-color: #86807c;
123
+ }
124
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__mysunrise___F326W {
125
+ background-color: #1f1f1f;
126
+ }
127
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__mysunrise___F326W a {
128
+ color: #da291c;
129
+ }
130
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__logout___GfbcJ {
131
+ color: #ffffff;
132
+ background-color: #1f1f1f;
133
+ }
134
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__logout___GfbcJ img {
135
+ filter: brightness(0) invert(0.9);
136
+ }
137
+
88
138
  .ProfileLinkOut-module__arrow___Mc7yw {
89
139
  display: none;
90
140
  }
@@ -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 n from"./ProfileLinkOut.module.scss.js";import{trackNewDatalayerEvent as r}from"../../../utils/AnalyticUtils.js";import{MYPROFILECLICK as a,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}from"../../Constants.js";import{getStaticAssetPath as g}from"../shared.js";import N from"../useOnClickOutside.js";const v=({link:v,title:k,logoutLabel:p,salutationLabel:w,userIcon:y,arrowRight:$,arrowDown:_,logoutIcon:x,isBlackFriday:I=!1,logoutUrl:C})=>{var b;const[j,O]=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}}})()),[H,A]=o(!1),[L,S]=o(!1),U=N(A,!1,H),R=(null==y?void 0:y.filename)||g("/HeaderIcons/new_profile_icon.svg"),T=(null==$?void 0:$.filename)||g("/HeaderIcons/arrow-right.svg"),z=(null==_?void 0:_.filename)||g("/HeaderIcons/red_down_arrow.svg"),B=(null==x?void 0:x.filename)||g("/HeaderIcons/logout.svg"),D=(null==v?void 0:v.cached_url)||(null==v?void 0:v.url)||"/",E=()=>{try{window.sessionStorage.removeItem(h),localStorage.removeItem("userNameType")}catch(e){}O(void 0)},F=()=>{r(s,t,{link_url:"#",click_text:p}),r(s,d,{click_text:p});const e=()=>{"undefined"!=typeof window&&window.location.reload()};if(!C)return E(),void e();fetch(C,{method:"GET"}).then(e=>{e.ok&&E()}).catch(()=>{}).finally(()=>{e()})},G=()=>{j?r(s,m,{click_text:j.personalisedName}):r(s,u,{click_text:k})},J=e(l,{children:[i("div",{className:n["profile-icon"],style:{backgroundImage:`url(${R})`}}),i("div",{className:n["profile-name"],children:j?j.personalisedName:k}),i("div",j?{className:n["profile-arrow-down-icon"],style:{backgroundImage:`url(${z})`}}:{className:n["profile-arrow-icon"],style:{backgroundImage:`url(${T})`}})]}),P=e("div",{className:n["login-flyover"],children:[j&&e("div",{className:n.salutation,children:[w||""," ",j.firstName?`${j.firstName} ${null!==(b=j.lastName)&&void 0!==b?b:""}`:""]}),e("div",{className:"d-none d-md-block",children:[i("div",{className:n.mysunrise,onClick:()=>r(s,a,{click_text:k}),children:i("a",{href:D,children:k})}),j&&p&&i("div",{className:n.logout,children:e("a",{onClick:F,children:[p,i("img",{className:n.logout1,src:B,alt:"logout"})]})})]}),e("div",{className:"d-md-none",children:[i("a",{href:D,onClick:()=>r(s,a,{click_text:k}),children:i("div",{className:n.mysunrise,children:k})}),j&&p&&i("a",{onClick:F,children:e("div",{className:n.logout,children:[p,i("img",{className:"d-md-none",src:B,alt:"logout"})]})})]})]});return j?e(l,{children:[e("div",{ref:U,className:`d-none d-md-block ${n.personalized}`,children:[i("a",{onClick:()=>{A(e=>!e),G()},className:`d-flex align-items-center ${n.section} ${H?n.highlight:""}`,children:J}),H&&P]}),e("div",{className:"d-md-none",children:[i("a",{onClick:()=>{S(e=>!e),G()},className:`d-flex align-items-center ${n.section} ${L?n["section-clicked"]:""}`,children:J}),L&&P]})]}):i("a",{href:D,className:`d-flex ${n["non-section"]} ${I?n["black-friday"]:""}`,onClick:()=>{r(s,c,{link_url:null==v?void 0:v.cached_url,click_text:k}),G()},children:J})};export{v as default};
2
+ import{jsxs as e,Fragment as l,jsx as i}from"react/jsx-runtime";import{useState as o}from"react";import a from"./ProfileLinkOut.module.scss.js";import{trackNewDatalayerEvent as n}from"../../../utils/AnalyticUtils.js";import{MYPROFILECLICK as r,GAEVENT as c,MAINNAVCLICK as s,SUBNAVCLICK as t,PROFILELOGOUT as d,PROFILECLICK as m,LOGINCLICK as u}from"../../../utils/AnalyticsConstants.js";import{AUTHCOOKIE as f,AUTHSTAMP as h}from"../../Constants.js";import{getStaticAssetPath as g}from"../shared.js";import k from"../useOnClickOutside.js";const N=({link:N,title:v,logoutLabel:p,salutationLabel:y,userIcon:$,arrowRight:w,arrowDown:_,logoutIcon:b,isBlackFriday:x=!1,logoutUrl:I})=>{var C;const[j,O]=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}}})()),[H,A]=o(!1),[L,S]=o(!1),U=k(A,!1,H),R=(null==$?void 0:$.filename)||g("/HeaderIcons/new_profile_icon.svg"),T=(null==w?void 0:w.filename)||g("/HeaderIcons/arrow-right.svg"),z=(null==_?void 0:_.filename)||g("/HeaderIcons/red_down_arrow.svg"),B=(null==b?void 0:b.filename)||g("/HeaderIcons/logout.svg"),D=(null==N?void 0:N.cached_url)||(null==N?void 0:N.url)||"/",E=()=>{try{window.sessionStorage.removeItem(h),localStorage.removeItem("userNameType")}catch(e){}O(void 0)},F=()=>{n(c,t,{link_url:"#",click_text:p}),n(c,d,{click_text:p});const e=()=>{"undefined"!=typeof window&&window.location.reload()};if(!I)return E(),void e();fetch(I,{method:"GET"}).then(e=>{e.ok&&E()}).catch(()=>{}).finally(()=>{e()})},G=()=>{j?n(c,m,{click_text:j.personalisedName}):n(c,u,{click_text:v})},J=e(l,{children:[i("div",{className:a["profile-icon"],style:{backgroundImage:`url(${R})`}}),i("div",{className:a["profile-name"],children:j?j.personalisedName:v}),i("div",j?{className:a["profile-arrow-down-icon"],style:{backgroundImage:`url(${z})`}}:{className:a["profile-arrow-icon"],style:{backgroundImage:`url(${T})`}})]}),P=e("div",{className:`${a["login-flyover"]} ${x?a["black-friday"]:""}`,children:[j&&e("div",{className:a.salutation,children:[y||""," ",j.firstName?`${j.firstName} ${null!==(C=j.lastName)&&void 0!==C?C:""}`:""]}),e("div",{className:"d-none d-md-block",children:[i("div",{className:a.mysunrise,onClick:()=>n(c,r,{click_text:v}),children:i("a",{href:D,children:v})}),j&&p&&i("div",{className:a.logout,children:e("a",{onClick:F,children:[p,i("img",{className:a.logout1,src:B,alt:"logout"})]})})]}),e("div",{className:"d-md-none",children:[i("a",{href:D,onClick:()=>n(c,r,{click_text:v}),children:i("div",{className:a.mysunrise,children:v})}),j&&p&&i("a",{onClick:F,children:e("div",{className:a.logout,children:[p,i("img",{className:"d-md-none",src:B,alt:"logout"})]})})]})]});return j?e(l,{children:[e("div",{ref:U,className:`d-none d-md-block ${a.personalized}`,children:[i("a",{onClick:()=>{A(e=>!e),G()},className:`d-flex align-items-center ${a.section} ${H?a.highlight:""} ${x?a["black-friday"]:""}`,children:J}),H&&P]}),e("div",{className:"d-md-none",children:[i("a",{onClick:()=>{S(e=>!e),G()},className:`d-flex align-items-center ${a.section} ${L?a["section-clicked"]:""} ${x?a["black-friday"]:""}`,children:J}),L&&P]})]}):i("a",{href:D,className:`d-flex ${a["non-section"]} ${x?a["black-friday"]:""}`,onClick:()=>{n(c,s,{link_url:null==N?void 0:N.cached_url,click_text:v}),G()},children:J})};export{N 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","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":"4hBAqCA,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,KA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IAEFzC,GAAgBkD,KAEnBR,EAAA,MAAA,CAAKI,UAAU,YAAWF,SAAA,CACxBC,OACEM,QAAS,KAtLehD,EAAgBsD,IAAUA,GAwLhDnB,KAEFQ,UAAW,6BAA6BC,EAAgB,WACtD7C,EAAc6C,EAAO,mBAAqB,cAG3CN,IAEFvC,GAAegD,QAjDlBL,EAAA,IAAA,CACEQ,KAAMzC,EACNkC,UAAW,UAAUC,EAAO,kBAC1BvE,EAAgBuE,EAAO,gBAAkB,KAE3CI,QAAS,KACP5B,EAAuBC,EAASkC,EAAc,CAC5ChC,SAAU1D,aAAI,EAAJA,EAAM6C,WAChBc,WAAY1D,IAEdqE,KACDM,SAEAH"}
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","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":"4hBAqCA,MA+BMA,EAAiB,EACrBC,OACAC,QACAC,cACAC,kBACAC,WACAC,aACAC,YACAC,aACAC,iB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,SAAA,CACxBC,EAAA,IAAA,CACEQ,KAAMzC,EACNuC,QAAS,IACP5B,EAAuBC,EAAS4B,EAAgB,CAC9CzB,WAAY1D,IACZ2E,SAGJC,EAAA,MAAA,CAAKC,UAAWC,EAAkB,UAACH,SAAG3E,MAEvCS,GAAYR,GACX2E,EAAA,IAAA,CAAGM,QAAS7B,EAAYsB,SACtBF,EAAA,MAAA,CAAKI,UAAWC,EAAe,OAACH,SAAA,CAC7B1E,EACD2E,SAAKC,UAAU,YAAYQ,IAAK3C,EAAe4C,IAAI,sBAQ/D,OAAK7E,EAqBHgE,eACEA,EAAA,MAAA,CACEc,IAAKpD,EACL0C,UAAW,qBAAqBC,EAAqB,eAAGH,SAAA,CAExDC,OACEM,QAAS,KA7KgBlD,EAAiBwD,IAAUA,GA+KlDnB,KAEFQ,UAAW,6BAA6BC,EAAgB,WACtD/C,EAAe+C,EAAkB,UAAI,MAErCvE,EAAgBuE,EAAO,gBAAkB,KACzCH,SAEDH,IAEFzC,GAAgBkD,KAEnBR,EAAA,MAAA,CAAKI,UAAU,YAAWF,SAAA,CACxBC,EAAA,IAAA,CACEM,QAAS,KA5LehD,EAAgBsD,IAAUA,GA8LhDnB,KAEFQ,UAAW,6BAA6BC,EAAgB,WACtD7C,EAAc6C,EAAO,mBAAqB,MAE1CvE,EAAgBuE,EAAO,gBAAkB,KACzCH,SAEDH,IAEFvC,GAAegD,QArDlBL,EAAA,IAAA,CACEQ,KAAMzC,EACNkC,UAAW,UAAUC,EAAO,kBAC1BvE,EAAgBuE,EAAO,gBAAkB,KAE3CI,QAAS,KACP5B,EAAuBC,EAASkC,EAAc,CAC5ChC,SAAU1D,aAAI,EAAJA,EAAM6C,WAChBc,WAAY1D,IAEdqE,KACDM,SAEAH"}
@@ -79,12 +79,62 @@
79
79
  }
80
80
  }
81
81
 
82
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ {
83
+ color: #ffffff;
84
+ }
85
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
86
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
87
+ filter: brightness(0) invert(0.9);
88
+ }
82
89
  @media (max-width: 1023px) {
83
90
  .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp {
84
91
  background-color: #1f1f1f !important;
85
92
  }
86
93
  }
87
94
 
95
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY {
96
+ background-color: transparent;
97
+ }
98
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-name___HZpSJ {
99
+ color: #ffffff;
100
+ }
101
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
102
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs,
103
+ .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
104
+ filter: brightness(0) invert(0.9);
105
+ }
106
+ @media (max-width: 1023px) {
107
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY {
108
+ background-color: #1f1f1f;
109
+ }
110
+ }
111
+
112
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__highlight___XDufd, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__highlight___XDufd.ProfileLinkOut-module__non-section___G1jJY {
113
+ background-color: #111111;
114
+ }
115
+
116
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp {
117
+ background-color: #1f1f1f;
118
+ box-shadow: 0px 20px 30px -8px rgba(0, 0, 0, 0.5);
119
+ }
120
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__salutation___u-T7S {
121
+ color: #ffffff;
122
+ border-bottom-color: #86807c;
123
+ }
124
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__mysunrise___F326W {
125
+ background-color: #1f1f1f;
126
+ }
127
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__mysunrise___F326W a {
128
+ color: #da291c;
129
+ }
130
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__logout___GfbcJ {
131
+ color: #ffffff;
132
+ background-color: #1f1f1f;
133
+ }
134
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__logout___GfbcJ img {
135
+ filter: brightness(0) invert(0.9);
136
+ }
137
+
88
138
  .ProfileLinkOut-module__arrow___Mc7yw {
89
139
  display: none;
90
140
  }
@@ -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 */
@@ -601,137 +735,148 @@
601
735
  visibility: visible;
602
736
  }
603
737
 
604
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/MinimizedHeader/MinimizedHeader.module.scss */
738
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/LocaleSelector/LocaleSelector.module.scss */
605
739
  /* center a block element */
606
740
  /* use this to any of the pseudo elements as these are the mandatory properties */
607
741
  /* setting styles in separate formats for cross browser support */
608
742
  /* specify the max width for an element and apply ellipses and truncate the overflow */
609
743
  /* vertically center alilgn any HTML element */
610
744
  /* add basePath to assets */
611
- @media (min-width: 768px) {
612
- .MinimizedHeader-module__outer___JOzJC {
613
- background-color: #ffffff;
614
- border-top: 4px solid #da291c;
615
- box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
616
- height: 72px;
617
- }
618
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__s20-header__version-number___vI9Rr {
619
- position: fixed;
620
- top: 0;
621
- left: 0;
622
- padding: 4px 8px;
623
- font-size: 14px;
624
- z-index: 10000;
625
- color: #5f5955;
626
- background: #ffffff;
627
- }
745
+ .LocaleSelector-module__button___0LEXR {
746
+ position: relative;
628
747
  }
629
- @media (min-width: 768px) and (max-width: 850px) {
630
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__s20-header__version-number___vI9Rr {
631
- padding: 0 4px;
632
- font-size: 8px;
633
- }
748
+ .LocaleSelector-module__button___0LEXR button {
749
+ background-color: transparent;
750
+ color: #3d3935;
751
+ border: 0;
752
+ border-radius: 4px;
753
+ padding-bottom: 5px;
754
+ cursor: pointer;
755
+ height: 42px;
756
+ font-size: 14px;
757
+ line-height: 20px;
758
+ width: 100%;
634
759
  }
635
- @media (min-width: 768px) {
636
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X {
637
- width: 100%;
638
- display: inline-block;
639
- }
640
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO {
641
- display: flex;
642
- float: left;
643
- align-items: center;
644
- margin: 10px 0;
645
- }
646
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
647
- padding-left: 10px;
648
- }
649
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
650
- float: right;
651
- display: flex;
652
- margin: 24px 0 24px 0;
653
- }
654
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
655
- background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
656
- background-repeat: no-repeat;
657
- background-size: contain;
658
- display: block;
659
- height: 24px;
660
- margin-right: 6px;
661
- width: 24px;
662
- }
663
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
664
- color: #da291c;
665
- font-weight: 700;
666
- font-size: 18px;
667
- line-height: 24px;
668
- }
760
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R {
761
+ background-position: center center;
762
+ background-repeat: no-repeat;
763
+ height: 8px;
764
+ margin-left: 10px;
765
+ margin-top: 2px;
766
+ transition: transform 0.2s ease, -webkit-transform 0.2s ease;
767
+ width: 14px;
669
768
  }
670
- @media (max-width: 767px) {
671
- .MinimizedHeader-module__outer___JOzJC {
672
- background-color: #ffffff;
673
- border-top: 4px solid #da291c;
674
- box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
675
- height: 48px;
676
- }
677
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X {
678
- width: 100%;
679
- display: inline-block;
680
- }
681
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO {
682
- display: flex;
683
- float: left;
684
- }
685
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J {
686
- margin-top: 12px;
687
- }
688
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J > img {
689
- height: 24px;
690
- width: 24px;
691
- float: left;
692
- }
693
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
694
- margin-top: 8px;
695
- padding-left: 6px;
696
- }
697
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 > img {
698
- height: 20px;
769
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R.active {
770
+ -webkit-transform: rotate(-180deg);
771
+ -moz-transform: rotate(-180deg);
772
+ -o-transform: rotate(-180deg);
773
+ transform: rotate(-180deg);
774
+ }
775
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
776
+ padding: 24px 32px;
777
+ background-color: #ffffff;
778
+ transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(-57px) !important;
779
+ }
780
+ @media (max-width: 1023px) {
781
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
782
+ transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(7px) !important;
699
783
  }
700
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
701
- float: right;
702
- display: flex;
703
- margin: 12px 0 12px 0;
784
+ }
785
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
786
+ box-shadow: 0px 20px 30px -8px rgba(87, 84, 82, 0.4);
787
+ border-radius: 0px 0px 8px 8px;
788
+ margin-bottom: 4px;
789
+ white-space: nowrap;
790
+ position: absolute;
791
+ z-index: 100;
792
+ -webkit-transform: translateX(-50%);
793
+ -moz-transform: translateX(-50%);
794
+ -o-transform: translateX(-50%);
795
+ transform: translateX(-50%);
796
+ }
797
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE:not(:first-child) {
798
+ margin-left: 0 !important;
799
+ }
800
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active {
801
+ font-weight: bold;
802
+ }
803
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a {
804
+ color: #da291c;
805
+ }
806
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a::before {
807
+ content: none !important;
808
+ display: none !important;
809
+ }
810
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a:before {
811
+ display: none !important;
812
+ }
813
+
814
+ .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 button {
815
+ color: #ffffff;
816
+ }
817
+ @media (max-width: 1023px) {
818
+ .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 button {
819
+ background-color: #1f1f1f;
704
820
  }
705
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
706
- background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
707
- background-repeat: no-repeat;
708
- background-size: contain;
709
- display: block;
710
- height: 20px;
711
- margin-right: 6px;
712
- width: 20px;
821
+ }
822
+ .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__chevron___o3l3R {
823
+ filter: brightness(0) invert(0.9);
824
+ }
825
+ .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__pop-up___HV8Ta {
826
+ background-color: #1f1f1f;
827
+ box-shadow: 0px 20px 30px -8px rgba(0, 0, 0, 0.5);
828
+ }
829
+ .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE a {
830
+ color: #ffffff;
831
+ }
832
+ .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a {
833
+ color: #da291c;
834
+ }
835
+
836
+ .LocaleSelector-module__list-item___JVlRE a {
837
+ font-size: 16px !important;
838
+ line-height: 24px !important;
839
+ display: flex;
840
+ padding: 0 !important;
841
+ }
842
+ .LocaleSelector-module__list-item___JVlRE a span {
843
+ margin: 10px 0 !important;
844
+ }
845
+ .LocaleSelector-module__list-item___JVlRE a::before {
846
+ content: none;
847
+ display: none !important;
848
+ }
849
+
850
+ @media (max-width: 1023px) {
851
+ .LocaleSelector-module__button___0LEXR {
852
+ color: #575452;
853
+ position: relative;
713
854
  }
714
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
715
- color: #da291c;
716
- font-weight: 700;
717
- font-size: 18px;
855
+ .LocaleSelector-module__button___0LEXR button {
856
+ background-color: #ffffff;
857
+ border: 0;
858
+ border-radius: 4px;
859
+ cursor: pointer;
860
+ font-size: 14px;
861
+ line-height: 20px;
862
+ width: 100%;
863
+ }
864
+ .LocaleSelector-module__pop-up___HV8Ta {
865
+ padding: 0px 12px !important;
866
+ }
867
+ .LocaleSelector-module__pop-up___HV8Ta img {
868
+ padding-left: 12px;
869
+ }
870
+ .LocaleSelector-module__list-item___JVlRE a {
871
+ font-size: 16px;
718
872
  line-height: 24px;
873
+ font-weight: 400;
874
+ display: flex;
875
+ padding: 10px 12px;
719
876
  }
720
- }
721
- .MinimizedHeader-module__s20-header__version-number___vI9Rr {
722
- position: fixed;
723
- top: 0;
724
- left: 0;
725
- padding: 4px 8px;
726
- font-size: 14px;
727
- z-index: 10000;
728
- color: #5f5955;
729
- background: #ffffff;
730
- }
731
- @media (max-width: 850px) {
732
- .MinimizedHeader-module__s20-header__version-number___vI9Rr {
733
- padding: 0 4px;
734
- font-size: 8px;
877
+ .LocaleSelector-module__list-item___JVlRE a::before {
878
+ content: none;
879
+ display: none !important;
735
880
  }
736
881
  }
737
882
 
@@ -817,12 +962,62 @@
817
962
  }
818
963
  }
819
964
 
965
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ {
966
+ color: #ffffff;
967
+ }
968
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
969
+ .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
970
+ filter: brightness(0) invert(0.9);
971
+ }
820
972
  @media (max-width: 1023px) {
821
973
  .ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp {
822
974
  background-color: #1f1f1f !important;
823
975
  }
824
976
  }
825
977
 
978
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY {
979
+ background-color: transparent;
980
+ }
981
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-name___HZpSJ {
982
+ color: #ffffff;
983
+ }
984
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
985
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs,
986
+ .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
987
+ filter: brightness(0) invert(0.9);
988
+ }
989
+ @media (max-width: 1023px) {
990
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY {
991
+ background-color: #1f1f1f;
992
+ }
993
+ }
994
+
995
+ .ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__highlight___XDufd, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__highlight___XDufd.ProfileLinkOut-module__non-section___G1jJY {
996
+ background-color: #111111;
997
+ }
998
+
999
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp {
1000
+ background-color: #1f1f1f;
1001
+ box-shadow: 0px 20px 30px -8px rgba(0, 0, 0, 0.5);
1002
+ }
1003
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__salutation___u-T7S {
1004
+ color: #ffffff;
1005
+ border-bottom-color: #86807c;
1006
+ }
1007
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__mysunrise___F326W {
1008
+ background-color: #1f1f1f;
1009
+ }
1010
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__mysunrise___F326W a {
1011
+ color: #da291c;
1012
+ }
1013
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__logout___GfbcJ {
1014
+ color: #ffffff;
1015
+ background-color: #1f1f1f;
1016
+ }
1017
+ .ProfileLinkOut-module__login-flyover___YDIVp.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__logout___GfbcJ img {
1018
+ filter: brightness(0) invert(0.9);
1019
+ }
1020
+
826
1021
  .ProfileLinkOut-module__arrow___Mc7yw {
827
1022
  display: none;
828
1023
  }
@@ -1066,151 +1261,6 @@
1066
1261
  border: none;
1067
1262
  }
1068
1263
 
1069
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/LocaleSelector/LocaleSelector.module.scss */
1070
- /* center a block element */
1071
- /* use this to any of the pseudo elements as these are the mandatory properties */
1072
- /* setting styles in separate formats for cross browser support */
1073
- /* specify the max width for an element and apply ellipses and truncate the overflow */
1074
- /* vertically center alilgn any HTML element */
1075
- /* add basePath to assets */
1076
- .LocaleSelector-module__button___0LEXR {
1077
- position: relative;
1078
- }
1079
- .LocaleSelector-module__button___0LEXR button {
1080
- background-color: transparent;
1081
- color: #3d3935;
1082
- border: 0;
1083
- border-radius: 4px;
1084
- padding-bottom: 5px;
1085
- cursor: pointer;
1086
- height: 42px;
1087
- font-size: 14px;
1088
- line-height: 20px;
1089
- width: 100%;
1090
- }
1091
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R {
1092
- background-position: center center;
1093
- background-repeat: no-repeat;
1094
- height: 8px;
1095
- margin-left: 10px;
1096
- margin-top: 2px;
1097
- transition: transform 0.2s ease, -webkit-transform 0.2s ease;
1098
- width: 14px;
1099
- }
1100
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R.active {
1101
- -webkit-transform: rotate(-180deg);
1102
- -moz-transform: rotate(-180deg);
1103
- -o-transform: rotate(-180deg);
1104
- transform: rotate(-180deg);
1105
- }
1106
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
1107
- padding: 24px 32px;
1108
- background-color: #ffffff;
1109
- transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(-57px) !important;
1110
- }
1111
- @media (max-width: 1023px) {
1112
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
1113
- transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(7px) !important;
1114
- }
1115
- }
1116
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
1117
- box-shadow: 0px 20px 30px -8px rgba(87, 84, 82, 0.4);
1118
- border-radius: 0px 0px 8px 8px;
1119
- margin-bottom: 4px;
1120
- white-space: nowrap;
1121
- position: absolute;
1122
- z-index: 100;
1123
- -webkit-transform: translateX(-50%);
1124
- -moz-transform: translateX(-50%);
1125
- -o-transform: translateX(-50%);
1126
- transform: translateX(-50%);
1127
- }
1128
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE:not(:first-child) {
1129
- margin-left: 0 !important;
1130
- }
1131
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active {
1132
- font-weight: bold;
1133
- }
1134
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a {
1135
- color: #da291c;
1136
- }
1137
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a::before {
1138
- content: none !important;
1139
- display: none !important;
1140
- }
1141
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a:before {
1142
- display: none !important;
1143
- }
1144
-
1145
- .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 button {
1146
- color: #ffffff;
1147
- }
1148
- @media (max-width: 1023px) {
1149
- .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 button {
1150
- background-color: #1f1f1f;
1151
- }
1152
- }
1153
- .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__chevron___o3l3R {
1154
- filter: brightness(0) invert(0.9);
1155
- }
1156
- .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__pop-up___HV8Ta {
1157
- background-color: #1f1f1f;
1158
- box-shadow: 0px 20px 30px -8px rgba(0, 0, 0, 0.5);
1159
- }
1160
- .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE a {
1161
- color: #ffffff;
1162
- }
1163
- .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a {
1164
- color: #da291c;
1165
- }
1166
-
1167
- .LocaleSelector-module__list-item___JVlRE a {
1168
- font-size: 16px !important;
1169
- line-height: 24px !important;
1170
- display: flex;
1171
- padding: 0 !important;
1172
- }
1173
- .LocaleSelector-module__list-item___JVlRE a span {
1174
- margin: 10px 0 !important;
1175
- }
1176
- .LocaleSelector-module__list-item___JVlRE a::before {
1177
- content: none;
1178
- display: none !important;
1179
- }
1180
-
1181
- @media (max-width: 1023px) {
1182
- .LocaleSelector-module__button___0LEXR {
1183
- color: #575452;
1184
- position: relative;
1185
- }
1186
- .LocaleSelector-module__button___0LEXR button {
1187
- background-color: #ffffff;
1188
- border: 0;
1189
- border-radius: 4px;
1190
- cursor: pointer;
1191
- font-size: 14px;
1192
- line-height: 20px;
1193
- width: 100%;
1194
- }
1195
- .LocaleSelector-module__pop-up___HV8Ta {
1196
- padding: 0px 12px !important;
1197
- }
1198
- .LocaleSelector-module__pop-up___HV8Ta img {
1199
- padding-left: 12px;
1200
- }
1201
- .LocaleSelector-module__list-item___JVlRE a {
1202
- font-size: 16px;
1203
- line-height: 24px;
1204
- font-weight: 400;
1205
- display: flex;
1206
- padding: 10px 12px;
1207
- }
1208
- .LocaleSelector-module__list-item___JVlRE a::before {
1209
- content: none;
1210
- display: none !important;
1211
- }
1212
- }
1213
-
1214
1264
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/BusinessCustomerLinkOut/BusinessCustomerLinkOut.module.scss */
1215
1265
  /* center a block element */
1216
1266
  /* use this to any of the pseudo elements as these are the mandatory properties */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunrise-upc/sales-static-components",
3
- "version": "3.8.1",
3
+ "version": "3.8.2",
4
4
  "description": "Static Reusable Components Library",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",