UNPKG

solid-ui

Version:

UI library for writing Solid read-write-web applications

123 lines (121 loc) 3.26 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.styleMap = void 0; var styleMap = { 'header-user-menu': {}, 'header-user-menu__link': { background: 'none', border: '0', color: 'black', cursor: 'pointer', display: 'block', fontFamily: 'Arial', fontSize: '1em', textAlign: 'left', padding: '1em', width: '100%', '&:focus, &:hover': { backgroundColor: 'linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)' } }, 'header-user-menu__trigger': { background: 'none', border: '0', cursor: 'pointer', width: '60px', // defined in mashlib as a SASS variable $icon_size height: '60px', // defined in mashlib as a SASS variable $icon_size img: { borderRadius: '50%', height: '56px', // defined in mashlib as a SASS variable $icon_size - 4px width: '56px' } }, 'header-user-menu__button': { background: 'none', border: '0', color: 'black', cursor: 'pointer', display: 'block', fontFamily: 'Arial', fontSize: '1em', textAlign: 'left', padding: '1em', width: '100%', '&:focus, &:hover': { backgroundColor: 'linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)' } }, 'header-user-menu__list': { listStyle: 'none', margin: '0', padding: '0' }, 'header-user-menu__navigation-menu': { background: 'white', border: 'solid 1px #000000', // the color was defined in mashlib as a SASS variable $divider_color borderRight: '0', position: 'absolute', right: '0', top: '60px', // defined in mashlib as a SASS variable $icon_size width: '200px', 'z-index': '1', '&[aria-hidden = true]': { display: 'none' } }, 'header-user-menu__list-item': { borderBottom: 'solid 1px #000000', // the color was defined in mashlib as a SASS variable $divider_color '&:last-child': { border: '0' } }, 'header-user-menu__photo': { borderRadius: '50%', backgroundPosition: 'center', backgroundRepeat: 'no-repeat', backgroundSize: 'cover', margin: '5px', height: '50px', // $icon-size - $image-margin * 2 image-margin was 5px in mashlib and icon size 60px width: '50px' }, 'header-banner': { boxShadow: '0px 1px 4px #000000', // the color was defined in mashlib as a SASS variable $divider_color display: 'flex', padding: '0 1.5em', marginBottom: '4px' }, 'header-banner__link': { display: 'block' }, 'header-banner__login': { marginLeft: 'auto', input: { // hacks to override the default style of login and signup button from solid-ui margin: '0.75em 0 0.75em 0.5em !important', padding: '0.5em !important' } }, 'header-banner__user-menu': { borderLeft: 'solid 1px #000000', // the color was defined in mashlib as a SASS variable $divider_color marginLeft: 'auto' }, 'header-banner__icon': { backgroundSize: '65px 60px', height: '60px !important', // this is the icon size width: '65px !important' // may just be 65px round($icon-size * 352 / 322); } }; exports.styleMap = styleMap; //# sourceMappingURL=styleMap.js.map