@sprinklrjs/spaceweb-themes 12.33.2 → 14.11.3
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/_hds_internal_cheatsheetConfig.js +6908 -0
- package/common-theme/theme.d.ts +26 -4
- package/common-theme/theme.js +53 -33
- package/common-theme/utilities.d.ts +1260 -1206
- package/common-theme/utilities.js +657 -639
- package/hyperspace/dark/index.d.ts +1879 -1535
- package/hyperspace/dark/index.js +4 -4
- package/hyperspace/dark/theme.d.ts +370 -270
- package/hyperspace/dark/theme.js +270 -191
- package/hyperspace/dark/utilities.d.ts +1509 -1265
- package/hyperspace/dark/utilities.js +130 -57
- package/hyperspace/light/index.d.ts +1944 -1600
- package/hyperspace/light/index.js +4 -4
- package/hyperspace/light/theme.d.ts +383 -283
- package/hyperspace/light/theme.js +273 -194
- package/hyperspace/light/utilities.d.ts +1522 -1278
- package/hyperspace/light/utilities.js +133 -62
- package/hyperspace/themeVars.css +228 -101
- package/hyperspace/themeVars.min.css +1 -1
- package/hyperspace-15/common-theme/theme.d.ts +369 -0
- package/hyperspace-15/common-theme/theme.js +333 -0
- package/hyperspace-15/common-theme/utilities.d.ts +5352 -0
- package/hyperspace-15/common-theme/utilities.js +1641 -0
- package/{space → hyperspace-15/hyperspace}/dark/index.d.ts +1935 -1537
- package/hyperspace-15/hyperspace/dark/index.js +8 -0
- package/{space/light → hyperspace-15/hyperspace/dark}/theme.d.ts +383 -232
- package/hyperspace-15/hyperspace/dark/theme.js +403 -0
- package/{space → hyperspace-15/hyperspace}/dark/utilities.d.ts +1522 -1275
- package/hyperspace-15/hyperspace/dark/utilities.js +225 -0
- package/{space → hyperspace-15/hyperspace}/light/index.d.ts +1903 -1505
- package/hyperspace-15/hyperspace/light/index.js +8 -0
- package/{space/dark → hyperspace-15/hyperspace/light}/theme.d.ts +386 -235
- package/hyperspace-15/hyperspace/light/theme.js +403 -0
- package/{space → hyperspace-15/hyperspace}/light/utilities.d.ts +1519 -1272
- package/hyperspace-15/hyperspace/light/utilities.js +225 -0
- package/hyperspace-15/hyperspace/themeVars.css +403 -0
- package/hyperspace-15/hyperspace/themeVars.min.css +1 -0
- package/hyperspace-15/styles/tailwind-media.css +2472 -0
- package/hyperspace-15/styles/tailwind-media.min.css +1 -0
- package/hyperspace-15/styles/tailwind.css +11504 -0
- package/hyperspace-15/styles/tailwind.min.css +1 -0
- package/hyperspace-16/common-theme/theme.d.ts +369 -0
- package/hyperspace-16/common-theme/theme.js +333 -0
- package/hyperspace-16/common-theme/utilities.d.ts +5352 -0
- package/hyperspace-16/common-theme/utilities.js +1641 -0
- package/hyperspace-16/hyperspace/dark/index.d.ts +6896 -0
- package/hyperspace-16/hyperspace/dark/index.js +8 -0
- package/hyperspace-16/hyperspace/dark/theme.d.ts +961 -0
- package/hyperspace-16/hyperspace/dark/theme.js +403 -0
- package/hyperspace-16/hyperspace/dark/utilities.d.ts +5934 -0
- package/hyperspace-16/hyperspace/dark/utilities.js +225 -0
- package/hyperspace-16/hyperspace/light/index.d.ts +6896 -0
- package/hyperspace-16/hyperspace/light/index.js +8 -0
- package/hyperspace-16/hyperspace/light/theme.d.ts +961 -0
- package/hyperspace-16/hyperspace/light/theme.js +403 -0
- package/hyperspace-16/hyperspace/light/utilities.d.ts +5934 -0
- package/hyperspace-16/hyperspace/light/utilities.js +225 -0
- package/hyperspace-16/hyperspace/themeVars.css +403 -0
- package/hyperspace-16/hyperspace/themeVars.min.css +1 -0
- package/hyperspace-16/styles/tailwind-media.css +2472 -0
- package/hyperspace-16/styles/tailwind-media.min.css +1 -0
- package/hyperspace-16/styles/tailwind.css +11504 -0
- package/hyperspace-16/styles/tailwind.min.css +1 -0
- package/package.json +12 -12
- package/polyfill/countryflagEmoji.ts +12 -0
- package/styles/additionals.css +1042 -0
- package/styles/additionals.min.css +1 -0
- package/styles/breakpoints.scss +34 -0
- package/styles/normalize.css +350 -69
- package/styles/normalize.min.css +1 -1
- package/styles/spaceweb.css +6 -0
- package/styles/tailwind-media.css +2472 -0
- package/styles/tailwind-media.min.css +1 -0
- package/styles/tailwind-rtl.css +79 -0
- package/styles/tailwind-rtl.min.css +1 -0
- package/styles/tailwind-test-classes.css +7789 -0
- package/styles/tailwind.css +8544 -6217
- package/styles/tailwind.min.css +1 -1
- package/styles/tokens.scss +6 -6
- package/types.d.ts +133 -83
- package/utilities.css +135 -54
- package/utilities.min.css +1 -1
- package/space/dark/index.js +0 -8
- package/space/dark/theme.js +0 -301
- package/space/dark/utilities.js +0 -149
- package/space/light/index.js +0 -8
- package/space/light/theme.js +0 -301
- package/space/light/utilities.js +0 -149
- package/space/themeVars.css +0 -274
- package/space/themeVars.min.css +0 -1
- package/styles/globals.css +0 -80
- package/styles/globals.min.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.hyperspace-light{--sw-btn-tertiary-text:#1250DE;--sw-btn-tertiary-hover:#e6f3ff;--sw-btn-tertiary-active:#d3e8ff;--sw-ai-border-01-gradient:linear-gradient(#FFFFFF, #FFFFFF) padding-box,linear-gradient(to right, #FFF4DF 0%, #E9FDE6 49%, #E2FBFF 100%) border-box;--sw-ai-border-gradient:linear-gradient(#FFFFFF, #FFFFFF) padding-box,linear-gradient(to right, #FFC005 2%, #FFE94F 12%, #8DE76E 21%, #3BE5FF 50%, #44BFFF 85%) border-box}.hyperspace-dark{--sw-btn-tertiary-text:#3188FF;--sw-btn-tertiary-hover:#061f56;--sw-btn-tertiary-active:#0E3386;--sw-ai-border-01-gradient:linear-gradient(#1C1C1F, #1C1C1F) padding-box,linear-gradient(to right, #493B21 0%, #2C462B 49%, #22444C 100%) border-box;--sw-ai-border-gradient:linear-gradient(#121214, #121214) padding-box,linear-gradient(to right, #FFC005 2%, #FFE94F 12%, #8DE76E 21%, #3BE5FF 50%, #44BFFF 85%) border-box}.grid-cols-\[--sw-grid-cols\]{grid-template-columns:repeat(var(--sw-grid-cols),minmax(0,1fr))}.grid-rows-\[--sw-grid-rows\]{grid-template-rows:repeat(var(--sw-grid-rows),minmax(0,1fr))}.gap-x-\[--sw-gap-x\]{grid-column-gap:var(--sw-gap-x);column-gap:var(--sw-gap-x)}.gap-y-\[--sw-gap-y\]{grid-row-gap:var(--sw-gap-y);row-gap:var(--sw-gap-y)}.col-start-\[--sw-col-start\]{grid-column-start:var(--sw-col-start)}.col-end-\[--sw-col-end\]{grid-column-end:var(--sw-col-end)}.row-start-\[--sw-row-start\]{grid-row-start:var(--sw-row-start)}.row-end-\[--sw-row-end\]{grid-row-end:var(--sw-row-end)}.translate-\[--sw-translate\]{transform:translateX(var(--sw-translate-x)) translateY(var(--sw-translate-y))}.st-trans-\[--sw-transform\]{transform:var(--sw-transform)}.w-\[--sw-width\]{width:var(--sw-width)}.max-w-4\.75{max-width:1.9rem}.max-w-\[50vw\]{max-width:50vw}.max-w-\[--sw-max-width\]{max-width:var(--sw-max-width)}.min-h-6\.5{min-height:2.6rem}.min-h-16{min-height:6.4rem}.max-h-62\.5{max-height:25rem}.max-h-\[--sw-max-height\]{max-height:var(--sw-max-height)}.h-\[--sw-height\]{height:var(--sw-height)}.z-\[--sw-z-index\]{z-index:var(--sw-z-index)}.isolation-\[--sw-isolate\]{isolation:var(--sw-isolate)}.resize-\[--sw-resize\]{resize:var(--sw-resize)}.pt-\[--sw-padding-block-start\]{padding-block-start:var(--sw-padding-block-start)}.pb-\[--sw-padding-block-end\]{padding-block-end:var(--sw-padding-block-end)}.pl-\[--sw-padding-inline-start\]{padding-inline-start:var(--sw-padding-inline-start)}.pr-\[--sw-padding-inline-end\]{padding-inline-end:var(--sw-padding-inline-end)}.rounded-\[--sw-rounded\]{border-radius:var(--sw-rounded)}.rounded-t-\[--sw-rounded-t\]{border-start-end-radius:var(--sw-rounded-t);border-start-start-radius:var(--sw-rounded-t)}.bg-\[--sw-bg-color\]{--tw-bg-opacity:1;background-color:var(--sw-bg-color)}.bg-image-\[--sw-bg-image\]{--tw-bg-opacity:1;background-image:var(--sw-bg-image)}.hover\:bg-\[--sw-bg-color-hover\]:hover{--tw-bg-opacity:1;background-color:var(--sw-bg-color-hover)}.active\:bg-\[--sw-bg-color-active\]:active{--tw-bg-opacity:1;background-color:var(--sw-bg-color-active)}.focus\:bg-\[--sw-bg-color-focus\]:focus{--tw-bg-opacity:1;background-color:var(--sw-bg-color-focus)}.focus-within\:bg-\[--sw-bg-color-focus-within\]:focus-within{--tw-bg-opacity:1;background-color:var(--sw-bg-color-focus-within)}.bg-\[--sw-bg\]{--tw-bg-opacity:1;background:var(--sw-bg)}.bg-\[--sw-bg-size\]{background-size:var(--sw-bg-size)}.bg-full{background-size:100%}.bg-clip-text{background-clip:text;-webkit-background-clip:text}.box-shadow-none{box-shadow:none}.font-size-inherit{font-size:inherit}.webkit-line-clamp-\[--sw-webkit-line-clamp\]{-webkit-line-clamp:var(--sw-webkit-line-clamp)}.webkit-text-\[--spr-text-02\]{-webkit-text-fill-color:var(--spr-text-02,#434350)}.webkit-text-transparent{-webkit-text-fill-color:transparent}.webkit-tap-highlight-transparent{-webkit-tap-highlight-color:transparent}.mx-\[--sw-margin-inline\]{-webkit-margin-start:var(--sw-margin-inline);margin-inline-start:var(--sw-margin-inline);-webkit-margin-end:var(--sw-margin-inline);margin-inline-end:var(--sw-margin-inline)}.my-\[--sw-margin-block\]{-webkit-margin-before:var(--sw-margin-block);margin-block-start:var(--sw-margin-block);-webkit-margin-after:var(--sw-margin-block);margin-block-end:var(--sw-margin-block)}.ml-\[--sw-margin-inline-start\]{margin-inline-start:var(--sw-margin-inline-start)}.mr-\[--sw-margin-inline-end\]{margin-inline-end:var(--sw-margin-inline-end)}.mt-\[--sw-margin-block-start\]{margin-block-start:var(--sw-margin-block-start)}.mb-\[--sw-margin-block-end\]{margin-block-end:var(--sw-margin-block-end)}.ml-\[--sw-margin-left\]{margin-left:var(--sw-margin-left)}.mr-\[--sw-margin-right\]{margin-right:var(--sw-margin-right)}.background-none{background:0 0}.caret-transparent{caret-color:transparent}.spr-ui-focus-disabled{background-color:rgba(var(--spr-ui-focus),.5)}.spr-support-error-disabled{background-color:rgba(var(--spr-support-error),.5)}.spr-support-success-disabled{background-color:rgba(var(--spr-support-success),.5)}.spr-support-warning-disabled{background-color:rgba(var(--spr-support-warning),.5)}.disabled\:spr-clr-blue-highlight:disabled{background-color:var(--spr-clr-blue-highlight,#e8f0fe)}.active\:spr-clr-blue-highlight:active{background-color:var(--spr-clr-blue-highlight,#e8f0fe)}.border-spr-field{border-color:var(--spr-field,#dbdbdb)}.border-b-\[--borderWidth-default\]{border-block-end-width:var(--borderWidth-default,1px)}.border-b-\[--sw-border-bottom-color\]{border-bottom-color:var(--sw-border-bottom-color)}.border-t-\[--sw-border-top-color\]{border-top-color:var(--sw-border-top-color)}.border-l-\[--sw-border-left-color\]{border-left-color:var(--sw-border-left-color)}.border-r-\[--sw-border-right-color\]{border-right-color:var(--sw-border-right-color)}.delay-\[--sw-delay\]{animation-delay:var(--sw-delay)}.stroke-width-\[--sw-stroke-width\]{stroke-width:var(--sw-stroke-width)}.stroke-\[--sw-stroke\]{stroke:var(--sw-stroke)}.color-\[--sw-color\]{color:var(--sw-color)}.hover\:color-\[--sw-color-hover\]:hover{color:var(--sw-color-hover)}.focus\:color-\[--sw-color-focus\]:focus{color:var(--sw-color-focus)}.focus-within\:color-\[--sw-color-focus-within\]:focus-within{color:var(--sw-color-focus-within)}.active\:color-\[--sw-color-active\]:active{color:var(--sw-color-active)}.text-inherit{color:inherit}.background-inherit{background:inherit}.clip-0{clip:rect(0,0,0,0)}.word-spacing-normal{word-spacing:normal}.ml-\[--sw-stack-margin-left\]{margin-inline-start:var(--sw-stack-margin-left)}.mt-\[--sw-stack-margin-top\]{margin-block-start:var(--sw-stack-margin-top)}.ml-\[--sw-stack-item-margin-left\]{margin-inline-start:var(--sw-stack-item-margin-left)}.mt-\[--sw-stack-item-margin-top\]{margin-block-start:var(--sw-stack-item-margin-top)}.sw-transparent-scrollbar::-webkit-scrollbar{background-color:transparent}.left-\[--sw-left-directional\]{left:var(--sw-left-directional)}.duration-\[--sw-duration\]{transition-duration:var(--sw-duration)}.border-\[--sw-border-color\]{border-color:var(--sw-border-color)}.border-t-\[--sw-border-t-color\]{border-block-start-color:var(--sw-border-t-color)}.border-b-\[--sw-border-b-color\]{border-block-end-color:var(--sw-border-b-color)}.border-l-\[--sw-border-l-color\]{border-inline-start-color:var(--sw-border-l-color)}.border-r-\[--sw-border-r-color\]{border-inline-end-color:var(--sw-border-r-color)}.hover\:border-\[--sw-border-color-hover\]:hover{border-color:var(--sw-border-color-hover)}.focus\:border-\[--sw-border-color-focus\]:focus{border-color:var(--sw-border-color-focus)}.active\:border-transparent:active{border-color:transparent}.timing-function-\[--sw-timing-function\]{transition-timing-function:var(--sw-timing-function)}.duration-\[--sw-duration\]{transition-duration:var(--sw-duration)}.sw-transparent-scrollbar-thumb::-webkit-scrollbar-thumb{background-color:var(--spr-ui-03);border-radius:8px;border-width:4px;border-style:solid;border-color:transparent;background-clip:padding-box}.sw-ai-textarea-scrollbar::-webkit-scrollbar{width:20px;background-color:transparent}.sw-ai-textarea-scrollbar-thumb::-webkit-scrollbar-thumb{background-color:var(--spr-ui-03);border-radius:50rem;border-width:8px;border-style:solid;border-color:transparent;background-clip:padding-box}.translate-y-\[--sw-translate-y\]{transform:translateY(var(--sw-translate-y))}.min-w-\[--sw-min-width\]{min-width:var(--sw-min-width)}.sw-input-number{-moz-appearance:textfield}.sw-input-number::-webkit-inner-spin-button{-webkit-appearance:none}.sw-input-number::-webkit-outer-spin-button{-webkit-appearance:none}.before\:content-none::before{content:none}.hover\:before\:content-empty:hover::before{--tw-content:'';content:var(--tw-content)}.hover\:after\:content-empty:hover::after{--tw-content:'';content:var(--tw-content)}.active\:before\:content-empty:active::before{--tw-content:'';content:var(--tw-content)}.active\:before\:content-none:active::before{--tw-content:none;content:var(--tw-content)}.active\:after\:content-empty:active::after{--tw-content:'';content:var(--tw-content)}.active\:after\:content-none:active::after{--tw-content:none;content:var(--tw-content)}.before\:top-\[--sw-before-top\]::before{inset-block-start:var(--sw-before-top)}.before\:bottom-\[--sw-before-bottom\]::before{inset-block-end:var(--sw-before-bottom)}.before\:left-\[--sw-before-left\]::before{inset-inline-start:var(--sw-before-left)}.before\:right-\[--sw-before-right\]::before{inset-inline-end:var(--sw-before-right)}.before\:h-\[--sw-before-height\]::before{height:var(--sw-before-height)}.before\:w-\[--sw-before-width\]::before{width:var(--sw-before-width)}.active\:shadow-none:active{box-shadow:none}.shadow-\[--sw-shadow\]{box-shadow:var(--sw-shadow)}.hover\:shadow-\[--sw-shadow-hover\]:hover{box-shadow:var(--sw-shadow-hover)}.focus\:shadow-\[--sw-shadow-focus\]:focus{box-shadow:var(--sw-shadow-focus)}.text-\[--sw-font-size\]{font-size:var(--sw-font-size)}@keyframes popover-hover{0%{pointer-events:none}99%{pointer-events:none}100%{pointer-events:auto}}.sw-popover-hover-animation{animation-name:popover-hover;animation-duration:.1s}.transform-none{transform:none}.transition-\[transform-opacity\]{transition-property:transform,opacity}.transition-\[opacity\]{transition-property:opacity}.text-\[85\%\]{font-size:85%}.top-\[--sw-top\]{top:var(--sw-top)}.right-\[--sw-right\]{inset-inline-end:var(--sw-right)}.ai-border-01{background:var(--sw-ai-border-01-gradient);border-color:transparent}.hover\:sw-btn-tertiary-hover:hover,.sw-btn-tertiary-hover{background-color:var(--sw-btn-tertiary-hover)}.disabled\:sw-btn-tertiary-text:disabled,.sw-btn-tertiary-text{color:var(--sw-btn-tertiary-text)}.active\:sw-btn-tertiary-active:active,.sw-btn-tertiary-active{background-color:var(--sw-btn-tertiary-active)}.disabled\:sw-btn-bg-error:disabled,.sw-btn-bg-error{background-color:#dc2625}.disabled\:sw-btn-border-error:disabled,.sw-btn-border-error{border-color:#dc2625}.hover\:sw-btn-bg-error-hover:hover,.sw-btn-bg-error-hover{background-color:#b91c1b}.hover\:sw-btn-border-error-hover:hover,.sw-btn-border-error-hover{border-color:#b91c1b}.active\:sw-btn-bg-error-active:active,.sw-btn-bg-error-active{background-color:#991b1b}.active\:sw-btn-border-error-active:active,.sw-btn-border-error-active{border-color:#991b1b}.ai-border-gradient{background:var(--sw-ai-border-gradient);border-color:transparent}.outline-hidden{outline-style:hidden}.after\:outline-color-\[--sw-outline-color\]::after{outline-color:var(--sw-outline-color)}.after\:outline-2::after{outline-width:2px}.after\:-outline-offset-2::after{outline-offset:-2px}.after\:outline::after{outline-style:solid}@keyframes spinner-loader-animation{10%{opacity:.125}100%{opacity:1}}@keyframes clip-loader-animation{0%{transform:rotate(0) scale(1)}50%{transform:rotate(180deg) scale(.8)}100%{transform:rotate(360deg) scale(1)}}@keyframes beat-loader-animation{50%{transform:scale(.75);opacity:.2}100%{transform:scale(1);opacity:1}}@keyframes button-loader-animation{0%{transform:rotate(0) scale(1)}50%{transform:rotate(180deg) scale(1)}100%{transform:rotate(360deg) scale(1)}}@keyframes select-value-tombstone-animation{0%{opacity:1}50%{opacity:.4}100%{opacity:1}}.sw-select-value-tombstone-animation{animation-name:select-value-tombstone-animation;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:ease-in-out}.sw-button-loader-animation{animation-name:button-loader-animation}.sw-spinner-loader-animation{animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:step-start;animation-name:spinner-loader-animation}.sw-clip-loader-animation{animation-duration:.75s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:clip-loader-animation}.sw-beat-loader-animation{animation-duration:.7s;animation-iteration-count:infinite;animation-timing-function:linear;animation-fill-mode:both;animation-name:beat-loader-animation}.pointer-events-all{pointer-events:all}@keyframes ai-animated-gradient-border-animation{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}.sw-ai-deprecated-animated-gradient-border:hover{position:relative;z-index:0}.sw-ai-deprecated-animated-gradient-border:hover::before{background:var(--ai-ui-01);position:absolute;background-size:var(--sw-ai-animated-background-size,auto);z-index:-1;width:calc(100% + 2px);height:calc(100% + 2px);filter:blur(3px);animation-duration:1s;animation-iteration-count:infinite;animation-name:ai-animated-gradient-border-animation;animation-play-state:var(--sw-animation-play-state);border-radius:var(--sw-before-border-radius);inset-inline-start:var(--sw-before-left)}.sw-ai-deprecated-animated-gradient-border:hover::after{z-index:-1;top:0;inset-inline-start:0;position:absolute;background:var(--spr-ui-01);width:100%;height:100%;border-radius:var(--sw-after-border-radius)}.sw-ai-active-background:active{background:var(--ai-ui-02) padding-box,var(--ai-ui-01) border-box}.sw-ai-active-background:hover:active{background:var(--ai-ui-02) padding-box,var(--ai-ui-01) border-box}.focus-within\:spr-clr-magenta-border:focus-within{border-color:var(--spr-clr-magenta-border,#cb1cce)}.sw-ai-button-background{background:var(--sw-ai-button-background)}.hover\:sw-ai-button-background:hover{background:var(--sw-ai-button-hover-background)}.sw-ai-button-background:disabled{background:var(--sw-ai-button-background)}.sw-ai-button-selected-background{background:var(--ai-ui-02) padding-box,var(--ai-ui-01) border-box}.touch-none{touch-action:none}.overscroll-contain{overscroll-behavior:contain}@media (min-width:640px){.sm\:grid-cols-\[--sw-grid-cols\]{grid-template-columns:repeat(var(--sw-sm-grid-cols),minmax(0,1fr))}.sm\:grid-rows-\[--sw-grid-rows\]{grid-template-rows:repeat(var(--sw-sm-grid-rows),minmax(0,1fr))}.sm\:gap-x-\[--sw-gap-x\]{grid-column-gap:var(--sw-sm-gap-x);column-gap:var(--sw-sm-gap-x)}.sm\:gap-y-\[--sw-gap-y\]{grid-row-gap:var(--sw-sm-gap-y);row-gap:var(--sw-sm-gap-y)}.sm\:col-start-\[--sw-col-start\]{grid-column-start:var(--sw-sm-col-start)}.sm\:col-end-\[--sw-col-end\]{grid-column-end:var(--sw-sm-col-end)}.sm\:row-start-\[--sw-row-start\]{grid-row-start:var(--sw-sm-row-start)}.sm\:row-end-\[--sw-row-end\]{grid-row-end:var(--sw-sm-row-end)}.sm\:ml-\[--sw-stack-margin-left\]{margin-inline-start:var(--sw-sm-stack-margin-left)}.sm\:mt-\[--sw-stack-margin-top\]{margin-block-start:var(--sw-sm-stack-margin-top)}.sm\:ml-\[--sw-stack-item-margin-left\]{margin-inline-start:var(--sw-sm-stack-item-margin-left)}.sm\:mt-\[--sw-stack-item-margin-top\]{margin-block-start:var(--sw-sm-stack-item-margin-top)}}@media (min-width:768px){.md\:grid-cols-\[--sw-grid-cols\]{grid-template-columns:repeat(var(--sw-md-grid-cols),minmax(0,1fr))}.md\:grid-rows-\[--sw-grid-rows\]{grid-template-rows:repeat(var(--sw-md-grid-rows),minmax(0,1fr))}.md\:gap-x-\[--sw-gap-x\]{grid-column-gap:var(--sw-md-gap-x);column-gap:var(--sw-md-gap-x)}.md\:gap-y-\[--sw-gap-y\]{grid-row-gap:var(--sw-md-gap-y);row-gap:var(--sw-md-gap-y)}.md\:col-start-\[--sw-col-start\]{grid-column-start:var(--sw-md-col-start)}.md\:col-end-\[--sw-col-end\]{grid-column-end:var(--sw-md-col-end)}.md\:row-start-\[--sw-row-start\]{grid-row-start:var(--sw-md-row-start)}.md\:row-end-\[--sw-row-end\]{grid-row-end:var(--sw-md-row-end)}.md\:ml-\[--sw-stack-margin-left\]{margin-inline-start:var(--sw-md-stack-margin-left)}.md\:mt-\[--sw-stack-margin-top\]{margin-block-start:var(--sw-md-stack-margin-top)}.md\:ml-\[--sw-stack-item-margin-left\]{margin-inline-start:var(--sw-md-stack-item-margin-left)}.md\:mt-\[--sw-stack-item-margin-top\]{margin-block-start:var(--sw-md-stack-item-margin-top)}}@media (min-width:1024px){.lg\:grid-cols-\[--sw-grid-cols\]{grid-template-columns:repeat(var(--sw-lg-grid-cols),minmax(0,1fr))}.lg\:grid-rows-\[--sw-grid-rows\]{grid-template-rows:repeat(var(--sw-lg-grid-rows),minmax(0,1fr))}.lg\:gap-x-\[--sw-gap-x\]{grid-column-gap:var(--sw-lg-gap-x);column-gap:var(--sw-lg-gap-x)}.lg\:gap-y-\[--sw-gap-y\]{grid-row-gap:var(--sw-lg-gap-y);row-gap:var(--sw-lg-gap-y)}.lg\:col-start-\[--sw-col-start\]{grid-column-start:var(--sw-lg-col-start)}.lg\:col-end-\[--sw-col-end\]{grid-column-end:var(--sw-lg-col-end)}.lg\:row-start-\[--sw-row-start\]{grid-row-start:var(--sw-lg-row-start)}.lg\:row-end-\[--sw-row-end\]{grid-row-end:var(--sw-lg-row-end)}.lg\:ml-\[--sw-stack-margin-left\]{margin-inline-start:var(--sw-lg-stack-margin-left)}.lg\:mt-\[--sw-stack-margin-top\]{margin-block-start:var(--sw-lg-stack-margin-top)}.lg\:ml-\[--sw-stack-item-margin-left\]{margin-inline-start:var(--sw-lg-stack-item-margin-left)}.lg\:mt-\[--sw-stack-item-margin-top\]{margin-block-start:var(--sw-lg-stack-item-margin-top)}}@media (min-width:1280px){.xl\:grid-cols-\[--sw-grid-cols\]{grid-template-columns:repeat(var(--sw-xl-grid-cols),minmax(0,1fr))}.xl\:grid-rows-\[--sw-grid-rows\]{grid-template-rows:repeat(var(--sw-xl-grid-rows),minmax(0,1fr))}.xl\:gap-x-\[--sw-gap-x\]{grid-column-gap:var(--sw-xl-gap-x);column-gap:var(--sw-xl-gap-x)}.xl\:gap-y-\[--sw-gap-y\]{grid-row-gap:var(--sw-xl-gap-y);row-gap:var(--sw-xl-gap-y)}.xl\:col-start-\[--sw-col-start\]{grid-column-start:var(--sw-xl-col-start)}.xl\:col-end-\[--sw-col-end\]{grid-column-end:var(--sw-xl-col-end)}.xl\:row-start-\[--sw-row-start\]{grid-row-start:var(--sw-xl-row-start)}.xl\:row-end-\[--sw-row-end\]{grid-row-end:var(--sw-xl-row-end)}.x\:ml-\[--sw-stack-margin-left\]{margin-inline-start:var(--sw-xl-stack-margin-left)}.xl\:mt-\[--sw-stack-margin-top\]{margin-block-start:var(--sw-xl-stack-margin-top)}.xl\:ml-\[--sw-stack-item-margin-left\]{margin-inline-start:var(--sw-xl-stack-item-margin-left)}.xl\:mt-\[--sw-stack-item-margin-top\]{margin-block-start:var(--sw-xl-stack-item-margin-top)}}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
$breakpoint-sm: 640px;
|
|
2
|
+
$breakpoint-md: 768px;
|
|
3
|
+
$breakpoint-lg: 1024px;
|
|
4
|
+
$breakpoint-xl: 1280px;
|
|
5
|
+
|
|
6
|
+
@mixin respond($breakpoint) {
|
|
7
|
+
@media (min-width: $breakpoint) {
|
|
8
|
+
@content;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin respond-sm {
|
|
13
|
+
@include respond($breakpoint-sm) {
|
|
14
|
+
@content;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin respond-md {
|
|
19
|
+
@include respond($breakpoint-md) {
|
|
20
|
+
@content;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin respond-lg {
|
|
25
|
+
@include respond($breakpoint-lg) {
|
|
26
|
+
@content;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin respond-xl {
|
|
31
|
+
@include respond($breakpoint-xl) {
|
|
32
|
+
@content;
|
|
33
|
+
}
|
|
34
|
+
}
|
package/styles/normalize.css
CHANGED
|
@@ -9,36 +9,56 @@
|
|
|
9
9
|
box-sizing: border-box; /* 1 */
|
|
10
10
|
border-width: 0; /* 2 */
|
|
11
11
|
border-style: solid; /* 2 */
|
|
12
|
-
border-color: theme('borderColor.DEFAULT', currentColor); /* 2 */
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
/*
|
|
16
15
|
1. Use a consistent sensible line-height in all browsers.
|
|
17
|
-
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
16
|
+
2. Prevent adjustments of font size after orientation changes in iOS and IE.
|
|
18
17
|
3. Use a more readable tab size.
|
|
19
18
|
4. Use the user's configured `sans` font-family by default.
|
|
19
|
+
5. Remove the grey highlight on links in iOS
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
|
+
/*
|
|
23
|
+
1. Remove the margin and padding in all browsers.
|
|
24
|
+
*/
|
|
25
|
+
html,
|
|
26
|
+
body {
|
|
27
|
+
padding: 0px;
|
|
28
|
+
margin: 0px;
|
|
29
|
+
/*
|
|
30
|
+
* If we don't provide an empty string as the default value, the browser will ignore the font-family rule
|
|
31
|
+
* when the CSS variable (--sw-font-family) is not defined.
|
|
32
|
+
*
|
|
33
|
+
* We are not using $base-font-family as the default value of the CSS variable (--sw-font-family) because:
|
|
34
|
+
* - If --sw-font-family contains an invalid value or the browser fails to load the font,
|
|
35
|
+
* we want to fall back to the standard fonts.
|
|
36
|
+
*/
|
|
37
|
+
font-family: var(--sw-font-family, ''), Twemoji Country Flags, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
|
|
38
|
+
Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
|
39
|
+
height: 100%;
|
|
40
|
+
}
|
|
41
|
+
|
|
22
42
|
html {
|
|
23
43
|
line-height: 1.5; /* 1 */
|
|
44
|
+
text-size-adjust: 100%; /* 2 */
|
|
24
45
|
-webkit-text-size-adjust: 100%; /* 2 */
|
|
25
46
|
-moz-tab-size: 4; /* 3 */
|
|
26
47
|
tab-size: 4; /* 3 */
|
|
27
|
-
|
|
48
|
+
-webkit-tap-highlight-color: transparent; /* 5 */
|
|
49
|
+
font-size: 62.5%;
|
|
28
50
|
}
|
|
29
51
|
|
|
30
|
-
/*
|
|
31
|
-
1. Remove the margin in all browsers.
|
|
32
|
-
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
|
|
33
|
-
*/
|
|
34
|
-
|
|
35
52
|
body {
|
|
36
|
-
|
|
37
|
-
|
|
53
|
+
text-rendering: optimizeLegibility;
|
|
54
|
+
-webkit-font-smoothing: antialiased;
|
|
55
|
+
-moz-osx-font-smoothing: grayscale;
|
|
56
|
+
color: var(--spr-text-01);
|
|
57
|
+
font-size: 1rem;
|
|
38
58
|
}
|
|
39
59
|
|
|
40
60
|
/*
|
|
41
|
-
1. Add the correct height in Firefox.
|
|
61
|
+
1. Add the correct height in Firefox and address the box-sizing issue.
|
|
42
62
|
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
43
63
|
3. Ensure horizontal rules are visible by default.
|
|
44
64
|
*/
|
|
@@ -46,7 +66,7 @@ body {
|
|
|
46
66
|
hr {
|
|
47
67
|
height: 0; /* 1 */
|
|
48
68
|
color: inherit; /* 2 */
|
|
49
|
-
border-
|
|
69
|
+
border-block-start-width: 1px; /* 3 */
|
|
50
70
|
}
|
|
51
71
|
|
|
52
72
|
/*
|
|
@@ -58,21 +78,8 @@ abbr:where([title]) {
|
|
|
58
78
|
}
|
|
59
79
|
|
|
60
80
|
/*
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
h1,
|
|
65
|
-
h2,
|
|
66
|
-
h3,
|
|
67
|
-
h4,
|
|
68
|
-
h5,
|
|
69
|
-
h6 {
|
|
70
|
-
font-size: inherit;
|
|
71
|
-
font-weight: inherit;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/*
|
|
75
|
-
Reset links to optimize for opt-in styling instead of opt-out.
|
|
81
|
+
1. Reset links to optimize for opt-in styling instead of opt-out.
|
|
82
|
+
2. Improve readability of focused elements when they are also in an active/hover state.
|
|
76
83
|
*/
|
|
77
84
|
|
|
78
85
|
a {
|
|
@@ -80,6 +87,11 @@ a {
|
|
|
80
87
|
text-decoration: inherit;
|
|
81
88
|
}
|
|
82
89
|
|
|
90
|
+
a:active,
|
|
91
|
+
a:hover {
|
|
92
|
+
outline: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
83
95
|
/*
|
|
84
96
|
Add the correct font weight in Edge and Safari.
|
|
85
97
|
*/
|
|
@@ -98,10 +110,18 @@ code,
|
|
|
98
110
|
kbd,
|
|
99
111
|
samp,
|
|
100
112
|
pre {
|
|
101
|
-
font-family:
|
|
113
|
+
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; /* 1 */
|
|
102
114
|
font-size: 1em; /* 2 */
|
|
103
115
|
}
|
|
104
116
|
|
|
117
|
+
/*
|
|
118
|
+
Contain overflow in all browsers.
|
|
119
|
+
*/
|
|
120
|
+
|
|
121
|
+
pre {
|
|
122
|
+
overflow: auto;
|
|
123
|
+
}
|
|
124
|
+
|
|
105
125
|
/*
|
|
106
126
|
Add the correct font size in all browsers.
|
|
107
127
|
*/
|
|
@@ -131,21 +151,26 @@ sup {
|
|
|
131
151
|
}
|
|
132
152
|
|
|
133
153
|
/*
|
|
134
|
-
1.
|
|
135
|
-
2.
|
|
136
|
-
3. Remove gaps between table borders by default.
|
|
154
|
+
1. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
155
|
+
2. Remove gaps between table borders by default.
|
|
137
156
|
*/
|
|
138
157
|
|
|
139
158
|
table {
|
|
140
|
-
|
|
141
|
-
border-
|
|
142
|
-
border-collapse: collapse; /*
|
|
159
|
+
border-color: inherit; /* 1 */
|
|
160
|
+
border-spacing: 0; /* 2 */
|
|
161
|
+
border-collapse: collapse; /* 2 */
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
td,
|
|
165
|
+
th {
|
|
166
|
+
padding: 0;
|
|
143
167
|
}
|
|
144
168
|
|
|
145
169
|
/*
|
|
146
170
|
1. Change the font styles in all browsers.
|
|
147
171
|
2. Remove the margin in Firefox and Safari.
|
|
148
172
|
3. Remove default padding in all browsers.
|
|
173
|
+
4. iOS adds rounded borders by default
|
|
149
174
|
*/
|
|
150
175
|
|
|
151
176
|
button,
|
|
@@ -160,6 +185,16 @@ textarea {
|
|
|
160
185
|
color: inherit; /* 1 */
|
|
161
186
|
margin: 0; /* 2 */
|
|
162
187
|
padding: 0; /* 3 */
|
|
188
|
+
border-radius: 0; /* 4 */
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/*
|
|
192
|
+
Don't inherit the `font-weight` (applied by a rule above).
|
|
193
|
+
NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
|
194
|
+
*/
|
|
195
|
+
|
|
196
|
+
optgroup {
|
|
197
|
+
font-weight: bold;
|
|
163
198
|
}
|
|
164
199
|
|
|
165
200
|
/*
|
|
@@ -171,22 +206,57 @@ select {
|
|
|
171
206
|
text-transform: none;
|
|
172
207
|
}
|
|
173
208
|
|
|
209
|
+
/*
|
|
210
|
+
1. Undo Normalize's default here to match our global overrides.
|
|
211
|
+
2. This overrides the extra rounded corners on search inputs in iOS so that our
|
|
212
|
+
`.form-control` class can properly style them. Note that this cannot simply
|
|
213
|
+
be added to `.form-control` as it's not specific enough. For details, see
|
|
214
|
+
https://github.com/twbs/bootstrap/issues/11586.
|
|
215
|
+
*/
|
|
216
|
+
|
|
217
|
+
input[type='search'] {
|
|
218
|
+
box-sizing: inherit; /* 1 */
|
|
219
|
+
-webkit-appearance: none; /* 2 */
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/*
|
|
223
|
+
Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
|
224
|
+
Safari (but not Chrome) clips the cancel button when the search input has
|
|
225
|
+
padding (and `textfield` appearance).
|
|
226
|
+
|
|
227
|
+
@see https://www.codestudy.net/blog/how-do-i-remove-all-default-webkit-search-field-styling/#step-5-hide-the-cancel-button
|
|
228
|
+
*/
|
|
229
|
+
|
|
230
|
+
input[type='search']::-webkit-search-cancel-button,
|
|
231
|
+
input[type='search']::-webkit-search-decoration {
|
|
232
|
+
-webkit-appearance: none;
|
|
233
|
+
display: none;
|
|
234
|
+
}
|
|
235
|
+
|
|
174
236
|
/*
|
|
175
237
|
1. Correct the inability to style clickable types in iOS and Safari.
|
|
176
238
|
2. Remove default button styles.
|
|
177
239
|
*/
|
|
178
240
|
|
|
179
|
-
button,
|
|
180
|
-
[type='button'],
|
|
181
|
-
[type='reset'],
|
|
182
|
-
[type='submit'] {
|
|
241
|
+
:where(button, [type='button'], [type='reset'], [type='submit']) {
|
|
183
242
|
-webkit-appearance: button; /* 1 */
|
|
184
243
|
background-color: transparent; /* 2 */
|
|
185
244
|
background-image: none; /* 2 */
|
|
186
245
|
}
|
|
187
246
|
|
|
247
|
+
/*
|
|
248
|
+
Remove inner padding and border in Firefox 4+.
|
|
249
|
+
*/
|
|
250
|
+
|
|
251
|
+
button::-moz-focus-inner,
|
|
252
|
+
input::-moz-focus-inner {
|
|
253
|
+
border: 0;
|
|
254
|
+
padding: 0;
|
|
255
|
+
}
|
|
256
|
+
|
|
188
257
|
/*
|
|
189
258
|
Use the modern Firefox focus style for all focusable elements.
|
|
259
|
+
Restore the focus styles unset by the previous rule.
|
|
190
260
|
*/
|
|
191
261
|
|
|
192
262
|
:-moz-focusring {
|
|
@@ -201,13 +271,6 @@ Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/
|
|
|
201
271
|
box-shadow: none;
|
|
202
272
|
}
|
|
203
273
|
|
|
204
|
-
/*
|
|
205
|
-
Add the correct vertical alignment in Chrome and Firefox.
|
|
206
|
-
*/
|
|
207
|
-
progress {
|
|
208
|
-
vertical-align: baseline;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
274
|
/*
|
|
212
275
|
Correct the cursor style of increment and decrement buttons in Safari.
|
|
213
276
|
*/
|
|
@@ -222,7 +285,7 @@ Correct the cursor style of increment and decrement buttons in Safari.
|
|
|
222
285
|
2. Correct the outline style in Safari.
|
|
223
286
|
*/
|
|
224
287
|
|
|
225
|
-
[type='search'] {
|
|
288
|
+
:where([type='search']) {
|
|
226
289
|
-webkit-appearance: textfield; /* 1 */
|
|
227
290
|
outline-offset: -2px; /* 2 */
|
|
228
291
|
}
|
|
@@ -235,6 +298,16 @@ Remove the inner padding in Chrome and Safari on macOS.
|
|
|
235
298
|
-webkit-appearance: none;
|
|
236
299
|
}
|
|
237
300
|
|
|
301
|
+
/**
|
|
302
|
+
* 1. Correct the inability to style upload buttons in iOS and Safari.
|
|
303
|
+
* 2. Change font properties to `inherit` in Safari.
|
|
304
|
+
*/
|
|
305
|
+
|
|
306
|
+
::-webkit-file-upload-button {
|
|
307
|
+
-webkit-appearance: button; /* 1 */
|
|
308
|
+
font: inherit; /* 2 */
|
|
309
|
+
}
|
|
310
|
+
|
|
238
311
|
/*
|
|
239
312
|
1. Correct the inability to style clickable types in iOS and Safari.
|
|
240
313
|
2. Change font properties to `inherit` in Safari.
|
|
@@ -273,29 +346,43 @@ pre {
|
|
|
273
346
|
margin: 0;
|
|
274
347
|
}
|
|
275
348
|
|
|
349
|
+
/*
|
|
350
|
+
Define consistent border, margin, and padding.
|
|
351
|
+
Chrome and Firefox set a `min-width: min-content;` on fieldset,
|
|
352
|
+
*/
|
|
353
|
+
|
|
276
354
|
fieldset {
|
|
355
|
+
min-width: 0;
|
|
277
356
|
margin: 0;
|
|
278
357
|
padding: 0;
|
|
358
|
+
border: 0;
|
|
279
359
|
}
|
|
280
360
|
|
|
361
|
+
/**
|
|
362
|
+
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
|
|
363
|
+
*/
|
|
364
|
+
|
|
281
365
|
legend {
|
|
282
|
-
|
|
366
|
+
border: 0; /* 1 */
|
|
367
|
+
padding: 0; /* 2 */
|
|
283
368
|
}
|
|
284
369
|
|
|
285
370
|
ol,
|
|
286
371
|
ul,
|
|
372
|
+
dl,
|
|
287
373
|
menu {
|
|
288
|
-
list-style: none;
|
|
289
374
|
margin: 0;
|
|
290
|
-
padding: 0;
|
|
291
375
|
}
|
|
292
376
|
|
|
293
377
|
/*
|
|
294
|
-
Prevent resizing textareas horizontally by default.
|
|
378
|
+
1. Prevent resizing textareas horizontally by default.
|
|
379
|
+
2 .Remove default vertical scrollbar in IE 8/9/10/11.
|
|
380
|
+
3. user should not be able to resize the text-area
|
|
295
381
|
*/
|
|
296
382
|
|
|
297
383
|
textarea {
|
|
298
|
-
|
|
384
|
+
overflow: auto; /* 2 */
|
|
385
|
+
resize: none; /* 3 */
|
|
299
386
|
}
|
|
300
387
|
|
|
301
388
|
/*
|
|
@@ -306,7 +393,7 @@ textarea {
|
|
|
306
393
|
input::placeholder,
|
|
307
394
|
textarea::placeholder {
|
|
308
395
|
opacity: 1; /* 1 */
|
|
309
|
-
color:
|
|
396
|
+
color: var(--spr-text-placeholder); /* 2 */
|
|
310
397
|
}
|
|
311
398
|
|
|
312
399
|
/*
|
|
@@ -314,20 +401,20 @@ Set the default cursor for buttons.
|
|
|
314
401
|
*/
|
|
315
402
|
|
|
316
403
|
button,
|
|
317
|
-
[role=
|
|
404
|
+
[role='button'] {
|
|
318
405
|
cursor: pointer;
|
|
319
406
|
}
|
|
320
407
|
|
|
321
408
|
/*
|
|
322
409
|
Make sure disabled buttons don't get the pointer cursor.
|
|
323
410
|
*/
|
|
324
|
-
|
|
411
|
+
|
|
412
|
+
:where(:disabled) {
|
|
325
413
|
cursor: default;
|
|
326
414
|
}
|
|
327
415
|
|
|
328
416
|
/*
|
|
329
|
-
1.
|
|
330
|
-
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
417
|
+
1. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
331
418
|
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
332
419
|
*/
|
|
333
420
|
|
|
@@ -336,27 +423,221 @@ video,
|
|
|
336
423
|
canvas,
|
|
337
424
|
audio,
|
|
338
425
|
iframe,
|
|
339
|
-
embed
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
426
|
+
embed {
|
|
427
|
+
vertical-align: middle; /* 1 */
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
progress {
|
|
431
|
+
display: inline-block;
|
|
432
|
+
vertical-align: baseline;
|
|
343
433
|
}
|
|
344
434
|
|
|
345
435
|
/*
|
|
346
|
-
|
|
436
|
+
Prevent modern browsers from displaying `audio` without controls.
|
|
437
|
+
Remove excess height in iOS 5 devices.
|
|
347
438
|
*/
|
|
348
439
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
440
|
+
audio:not([controls]) {
|
|
441
|
+
display: none;
|
|
442
|
+
height: 0;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/*
|
|
446
|
+
Address `[hidden]` styling not present in IE 8/9/10.
|
|
447
|
+
Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
|
|
448
|
+
*/
|
|
449
|
+
|
|
450
|
+
[hidden],
|
|
451
|
+
template {
|
|
452
|
+
display: none;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Remove the border on iframes in all browsers.
|
|
457
|
+
*/
|
|
458
|
+
|
|
459
|
+
iframe {
|
|
460
|
+
border-style: none;
|
|
353
461
|
}
|
|
354
462
|
|
|
355
|
-
/* by default, `-webkit-user-select: none` gets added in input[draggable="true"] for Safari.
|
|
356
|
-
Need to give it specifically webkit-user-select: text; for Safari
|
|
357
|
-
Ref: https://stackoverflow.com/questions/32192686/cannot-type-in-password-field-with-draggable-true-in-safari
|
|
463
|
+
/* by default, `-webkit-user-select: none` gets added in input[draggable="true"] for Safari.
|
|
464
|
+
Need to give it specifically webkit-user-select: text; for Safari
|
|
465
|
+
Ref: https://stackoverflow.com/questions/32192686/cannot-type-in-password-field-with-draggable-true-in-safari
|
|
358
466
|
*/
|
|
467
|
+
|
|
359
468
|
input[draggable='true'] {
|
|
360
469
|
-webkit-user-select: text;
|
|
361
470
|
user-select: text;
|
|
362
|
-
}
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/* globals.css */
|
|
474
|
+
|
|
475
|
+
*:focus {
|
|
476
|
+
outline: none;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
*:focus-visible {
|
|
480
|
+
outline-style: solid;
|
|
481
|
+
outline-color: var(--spr-focus-01);
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
a {
|
|
485
|
+
color: var(--spr-link);
|
|
486
|
+
text-decoration: none;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
a:active,
|
|
490
|
+
a:hover {
|
|
491
|
+
text-decoration: underline;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
a:not([data-spaceweb="button"]):focus {
|
|
495
|
+
outline: -webkit-focus-ring-color 2px solid;
|
|
496
|
+
outline-offset: 1px;
|
|
497
|
+
border-radius: 2px;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/* color values can be replace with var(--spr-ui-06) */
|
|
501
|
+
|
|
502
|
+
blockquote {
|
|
503
|
+
margin: 0 0 1rem;
|
|
504
|
+
padding-inline: 1rem 0;
|
|
505
|
+
border-inline-start: 0.25rem solid #eceeef;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/* Hyperspace h1-h6 */
|
|
509
|
+
|
|
510
|
+
h1 {
|
|
511
|
+
font-size: 4.2rem;
|
|
512
|
+
line-height: 4.8rem;
|
|
513
|
+
font-weight: 600;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
h2 {
|
|
517
|
+
font-size: 2.4rem;
|
|
518
|
+
line-height: 2.9rem;
|
|
519
|
+
font-weight: 600;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
h3 {
|
|
523
|
+
font-size: 2rem;
|
|
524
|
+
line-height: 2.6rem;
|
|
525
|
+
font-weight: 600;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
h4 {
|
|
529
|
+
font-size: 1.6rem;
|
|
530
|
+
line-height: 2.4rem;
|
|
531
|
+
font-weight: 600;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
h5 {
|
|
535
|
+
font-size: 1.6rem;
|
|
536
|
+
line-height: 2.2rem;
|
|
537
|
+
font-weight: 600;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
h6 {
|
|
541
|
+
font-size: 1.4rem;
|
|
542
|
+
line-height: 2rem;
|
|
543
|
+
font-weight: 600;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
/*
|
|
547
|
+
1. Remove browser default top margin
|
|
548
|
+
2. Reset browser default of `1em` to use `rem`s
|
|
549
|
+
*/
|
|
550
|
+
|
|
551
|
+
pre {
|
|
552
|
+
margin-block-start: 0; /* 1 */
|
|
553
|
+
margin-block-end: 1rem; /* 2 */
|
|
554
|
+
color: var(--spr-text-02);
|
|
555
|
+
line-height: 1.5;
|
|
556
|
+
padding: 1.2rem;
|
|
557
|
+
white-space: pre-wrap;
|
|
558
|
+
border-radius: 0.4rem;
|
|
559
|
+
font-size: 90%;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
pre code {
|
|
563
|
+
background-color: transparent;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/* Figures */
|
|
567
|
+
|
|
568
|
+
/*
|
|
569
|
+
Normalize adds `margin` to `figure`s as browsers apply it inconsistently.
|
|
570
|
+
We reset that to create a better flow in-page.
|
|
571
|
+
*/
|
|
572
|
+
|
|
573
|
+
figure {
|
|
574
|
+
margin: 0 0 1rem;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/*
|
|
578
|
+
Tables
|
|
579
|
+
Reset for nesting within parents with `background-color`.
|
|
580
|
+
*/
|
|
581
|
+
|
|
582
|
+
table {
|
|
583
|
+
background-color: transparent;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/* Centered by default, but left-align-ed to match the `td`s below. */
|
|
587
|
+
|
|
588
|
+
th {
|
|
589
|
+
text-align: start;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
caption {
|
|
593
|
+
padding-block: 0.75rem;
|
|
594
|
+
color: var(--spr-border-04);
|
|
595
|
+
text-align: start;
|
|
596
|
+
caption-side: bottom;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
/*
|
|
600
|
+
inline-block is kept to not break any thing from app-client
|
|
601
|
+
*/
|
|
602
|
+
|
|
603
|
+
label {
|
|
604
|
+
display: inline-block;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/* Reset the entire legend element to match the `fieldset` */
|
|
608
|
+
|
|
609
|
+
legend {
|
|
610
|
+
display: block;
|
|
611
|
+
width: 100%;
|
|
612
|
+
margin-block-end: 0.5rem;
|
|
613
|
+
font-size: 1.5rem;
|
|
614
|
+
line-height: inherit;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
/*
|
|
618
|
+
* 1. Remove animations when motion is reduced (opinionated).
|
|
619
|
+
* 2. Remove fixed background attachments when motion is reduced (opinionated).
|
|
620
|
+
* 3. Remove timed scrolling behaviors when motion is reduced (opinionated).
|
|
621
|
+
* 4. Remove transitions when motion is reduced (opinionated).
|
|
622
|
+
*/
|
|
623
|
+
|
|
624
|
+
@media (prefers-reduced-motion: reduce) {
|
|
625
|
+
*,
|
|
626
|
+
::before,
|
|
627
|
+
::after {
|
|
628
|
+
animation-delay: -1ms !important; /* 1 */
|
|
629
|
+
animation-duration: 1ms !important; /* 1 */
|
|
630
|
+
animation-iteration-count: 1 !important; /* 1 */
|
|
631
|
+
background-attachment: initial !important; /* 2 */
|
|
632
|
+
scroll-behavior: auto !important; /* 3 */
|
|
633
|
+
transition-delay: 0s !important; /* 4 */
|
|
634
|
+
transition-duration: 0s !important; /* 4 */
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
@media (forced-colors: active) {
|
|
639
|
+
svg {
|
|
640
|
+
fill: currentColor !important;
|
|
641
|
+
color: inherit !important;
|
|
642
|
+
}
|
|
643
|
+
}
|
package/styles/normalize.min.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,::after,::before{box-sizing:border-box;border-width:0;border-style:solid;
|
|
1
|
+
*,::after,::before{box-sizing:border-box;border-width:0;border-style:solid}body,html{padding:0;margin:0;font-family:var(--sw-font-family, ''),Twemoji Country Flags,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;height:100%}html{line-height:1.5;text-size-adjust:100%;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;font-size:62.5%}body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--spr-text-01);font-size:1rem}hr{height:0;color:inherit;border-block-start-width:1px}abbr:where([title]){text-decoration:underline dotted}a{color:inherit;text-decoration:inherit}a:active,a:hover{outline:0}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,'Courier New',monospace;font-size:1em}pre{overflow:auto}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:inherit;border-spacing:0;border-collapse:collapse}td,th{padding:0}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-radius:0}optgroup{font-weight:700}button,select{text-transform:none}input[type=search]{box-sizing:inherit;-webkit-appearance:none}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none;display:none}:where(button,[type=button],[type=reset],[type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}:where([type=search]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{min-width:0;margin:0;padding:0;border:0}legend{border:0;padding:0}dl,menu,ol,ul{margin:0}textarea{overflow:auto;resize:none}input::placeholder,textarea::placeholder{opacity:1;color:var(--spr-text-placeholder)}[role=button],button{cursor:pointer}:where(:disabled){cursor:default}audio,canvas,embed,iframe,img,video{vertical-align:middle}progress{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}iframe{border-style:none}input[draggable=true]{-webkit-user-select:text;user-select:text}:focus{outline:0}:focus-visible{outline-style:solid;outline-color:var(--spr-focus-01)}a{color:var(--spr-link);text-decoration:none}a:active,a:hover{text-decoration:underline}a:not([data-spaceweb=button]):focus{outline:-webkit-focus-ring-color 2px solid;outline-offset:1px;border-radius:2px}blockquote{margin:0 0 1rem;padding-inline:1rem 0;border-inline-start:.25rem solid #eceeef}h1{font-size:4.2rem;line-height:4.8rem;font-weight:600}h2{font-size:2.4rem;line-height:2.9rem;font-weight:600}h3{font-size:2rem;line-height:2.6rem;font-weight:600}h4{font-size:1.6rem;line-height:2.4rem;font-weight:600}h5{font-size:1.6rem;line-height:2.2rem;font-weight:600}h6{font-size:1.4rem;line-height:2rem;font-weight:600}pre{margin-block-start:0;margin-block-end:1rem;color:var(--spr-text-02);line-height:1.5;padding:1.2rem;white-space:pre-wrap;border-radius:.4rem;font-size:90%}pre code{background-color:transparent}figure{margin:0 0 1rem}table{background-color:transparent}th{text-align:start}caption{padding-block:.75rem;color:var(--spr-border-04);text-align:start;caption-side:bottom}label{display:inline-block}legend{display:block;width:100%;margin-block-end:.5rem;font-size:1.5rem;line-height:inherit}@media (prefers-reduced-motion:reduce){*,::after,::before{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-delay:0s!important;transition-duration:0s!important}}@media (forced-colors:active){svg{fill:currentColor!important;color:inherit!important}}
|