-
Notifications
You must be signed in to change notification settings - Fork 0
/
47ad6cec-a522fba7736c78dd4385.js.map
1 lines (1 loc) · 5.22 KB
/
47ad6cec-a522fba7736c78dd4385.js.map
1
{"version":3,"file":"47ad6cec-a522fba7736c78dd4385.js","mappings":"+TAAoC,IAAAA,EAAA,CAAAC,KAAA,SAAAC,OAAA,+CAG7B,MAAMC,GAAUC,EAAAA,EAAAA,GAAA,UAAAC,OAAA,aAAAD,CAAA,4KAYnBE,IAAA,IAAC,MAAEC,EAAK,KAAEC,GAAMF,EAAA,OAAKG,EAAAA,EAAAA,IAAG,WACbF,EAAMG,OAAOC,eAAc,qBAClBJ,EAAMK,OAAOC,QAAQC,SAAQ,4CAG/CN,GAAIR,EAIL,UACF,uEAQUe,GAAcX,EAAAA,EAAAA,GAAA,UAAAC,OAAA,aAAAD,CAAA,qJAUvBY,IAAA,IAAC,MAAET,EAAK,KAAEC,GAAMQ,EAAA,OAAKP,EAAAA,EAAAA,IACnBD,GACEC,EAAAA,EAAAA,IAAG,SACQF,EAAMK,OAAOK,KAAKC,QAAO,SAEpCT,EAAAA,EAAAA,IAAG,iBAEUF,EAAMK,OAAOC,QAAQM,WAAU,WAEjCZ,EAAMK,OAAOC,QAAQO,SAAQ,QACvC,UACN,6EAWUC,GAAcjB,EAAAA,EAAAA,GAAA,UAAAC,OAAA,aAAAD,CAAA,qJAUvBkB,IAAA,IAAC,MAAEf,EAAK,MAAEgB,GAAOD,EAAA,OAAKb,EAAAA,EAAAA,IACpBc,GACEd,EAAAA,EAAAA,IAAG,SACQF,EAAMK,OAAOK,KAAKC,QAAO,SAEpCT,EAAAA,EAAAA,IAAG,iBAEUF,EAAMK,OAAOC,QAAQM,WAAU,WAEjCZ,EAAMK,OAAOC,QAAQO,SAAQ,QACvC,UACN,KAGUI,GAAqBpB,EAAAA,EAAAA,GAAA,OAAAC,OAAA,aAAAD,CAAA,2DAK9BqB,IAAA,IAAC,MAAElB,GAAOkB,EAAA,OAAKhB,EAAAA,EAAAA,IAAG,SACTF,EAAMK,OAAOC,QAAQM,WAAU,UACzC,4BAOUO,GAAqBtB,EAAAA,EAAAA,GAAA,OAAAC,OAAA,aAAAD,CAAA,CAAAH,KAAA,SAAAC,OAAA,8DAMrByB,GAAmBvB,EAAAA,EAAAA,GAAA,OAAAC,OAAA,aAAAD,CAAA,+EAM5BwB,IAAA,IAAC,MAAErB,GAAOqB,EAAA,OAAKnB,EAAAA,EAAAA,IAAG,oBACEF,EAAMK,OAAOC,QAAQgB,SAAQ,UAClD,KAGUC,GAAY1B,EAAAA,EAAAA,GAAA,OAAAC,OAAA,aAAAD,CAAA,+GAQrB2B,IAAA,IAAC,MAAExB,EAAK,IAAEyB,EAAG,IAAEC,EAAG,MAAEC,EAAK,SAAEC,GAAUJ,EAAA,OAAKtB,EAAAA,EAAAA,IAAG,QACpCuB,GAAOC,EAAM,GAAM,IAAG,8BAEXE,IAAaD,EAAQ3B,EAAMK,OAAOK,KAAKC,QAAUX,EAAMK,OAAOC,QAAQuB,SAAQ,2EAWpFF,EAAK,gFAMpB,I","sources":["webpack://@portfolio/blog/./src/components/Header/Header.style.tsx"],"sourcesContent":["import { css } from '@emotion/react'\nimport styled from '@emotion/styled'\n\nexport const _Container = styled.header<{ fold: boolean }>`\n display: flex;\n justify-content: space-between;\n align-items: center;\n position: fixed;\n left: 400px;\n top: 0;\n width: calc(100% - 400px);\n height: 43px;\n padding: 0 1rem;\n box-sizing: border-box;\n\n ${({ theme, fold }) => css`\n z-index: ${theme.layers.AFTER_STANDARD};\n background-color: ${theme.colors.PRIMARY.ACCENT_1};\n box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);\n\n ${fold &&\n css`\n width: calc(100% - 80px) !important;\n left: 80px;\n `}\n `}\n\n @media screen and (max-width: 1024px) {\n left: 0;\n width: 100% !important;\n }\n`\n\nexport const _FoldingButton = styled.button<{ fold: boolean }>`\n cursor: pointer;\n border: none;\n background: none;\n outline: none;\n padding: 0;\n margin: 0;\n height: 18px;\n transition: color 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);\n\n ${({ theme, fold }) => css`\n ${fold\n ? css`\n color: ${theme.colors.CYAN.DEFAULT};\n `\n : css`\n &:hover {\n color: ${theme.colors.PRIMARY.FOREGROUND};\n }\n color: ${theme.colors.PRIMARY.ACCENT_4};\n `}\n `}\n\n @media screen and (max-width: 1024px) {\n display: none;\n\n & + span {\n display: none;\n }\n }\n`\n\nexport const _SettingButton = styled.button<{ popup: boolean }>`\n cursor: pointer;\n border: none;\n background: none;\n outline: none;\n padding: 0;\n margin: 0;\n height: 18px;\n transition: color 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);\n\n ${({ theme, popup }) => css`\n ${popup\n ? css`\n color: ${theme.colors.CYAN.DEFAULT};\n `\n : css`\n &:hover {\n color: ${theme.colors.PRIMARY.FOREGROUND};\n }\n color: ${theme.colors.PRIMARY.ACCENT_4};\n `}\n `}\n`\n\nexport const _ThemeToggleContainer = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n\n ${({ theme }) => css`\n color: ${theme.colors.PRIMARY.FOREGROUND};\n `}\n\n & > label {\n margin: 0 12px;\n }\n`\n\nexport const _EnvironmentContainer = styled.div`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n`\n\nexport const _SelectGaugeWrapper = styled.div`\n position: relative;\n width: 100%;\n height: 10px;\n border-radius: 5px;\n margin: 0.5rem 0;\n ${({ theme }) => css`\n background-color: ${theme.colors.PRIMARY.ACCENT_2};\n `}\n`\n\nexport const _SelectGauge = styled.div<{ idx: number; max: number; value: number; selected: number }>`\n position: absolute;\n width: 12px;\n height: 12px;\n border-radius: 10px;\n transform: translate(-50%, -50%);\n cursor: pointer;\n\n ${({ theme, idx, max, value, selected }) => css`\n left: ${(idx / (max - 1)) * 100}%;\n top: 50%;\n background-color: ${selected === value ? theme.colors.CYAN.DEFAULT : theme.colors.PRIMARY.ACCENT_8};\n\n &:first-of-type {\n left: 1.5%;\n }\n\n &:last-of-type {\n right: 95%;\n }\n\n &::after {\n content: '${value}';\n position: absolute;\n left: 50%;\n transform: translate(-50%, -50%);\n top: 30px;\n }\n `}\n`\n"],"names":["_ref","name","styles","_Container","_styled","target","_ref2","theme","fold","css","layers","AFTER_STANDARD","colors","PRIMARY","ACCENT_1","_FoldingButton","_ref3","CYAN","DEFAULT","FOREGROUND","ACCENT_4","_SettingButton","_ref4","popup","_ThemeToggleContainer","_ref5","_EnvironmentContainer","_SelectGaugeWrapper","_ref6","ACCENT_2","_SelectGauge","_ref7","idx","max","value","selected","ACCENT_8"],"sourceRoot":""}