UNPKG

@heycar-uikit/core

Version:
181 lines (169 loc) 3.33 kB
:root { /* heycar mint color */ /* mica blue color */ /* sunbeam blue color */ /* mustang yellow color */ /* old ferrari red color */ /* -- fantasy name of "green" color to be defined -- */ /* -- fantasy name of "whatsapp" color to be defined -- */ /* -- fantasy name of "red" color to be defined -- */ /* tarmac grey color */ --color-tarmac-grey-100: #e6e6e6; --color-tarmac-grey-700: #303030; /* brand colors */ } /* Depricated. Do Not Use */ :root { --spacing-1: 4px; --spacing-2: 8px; --spacing-3: 12px; --spacing-4: 16px; --spacing-5: 20px; --spacing-6: 24px; } :root { /* Font families */ --font-family-system: Objektiv, sans-serif, 'Helvetica Neue', Helvetica, Arial; /* Font weights */ --font-weight-bold: 600; } /* Heading */ /* Sub-Heading */ /* Body */ /* Caption */ /* Overline */ /* Button */ /* Button Old - DO NOT USE */ /* If this is ever changed please update breakpoints.json as well */ /* Mobile */ /* Tablet */ /* Desktop */ /* Default theme (light) */ :root { /* Colors */ --color-neutral-100: var(--color-tarmac-grey-100); --color-neutral-700: var(--color-tarmac-grey-700); /* Sizes */ } body { color: var(--color-neutral-700); } /* * Base */ .navItem { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--spacing-2); padding: 0; width: 100%; height: 40px; border: 0; background: #fff; text-decoration: none; color: var(--color-neutral-700); transition: color 0.3s ease, background 0.3s ease; } .navItem > span { text-align: left; overflow: hidden; text-overflow: ellipsis; width: 100%; white-space: nowrap; line-height: normal; } .navItem.isActive > svg { transform: rotate(180deg); } .nav { overflow-y: scroll; width: 100%; height: calc(100vh - 64px); background: #fff; } .nav ul { margin: 0 auto; padding: var(--spacing-3) 0; list-style: none; } .nav > ul { padding: var(--spacing-3) var(--spacing-5) var(--spacing-2); } .nav li.headerItems { padding-top: var(--spacing-3); border-top: solid 1px var(--color-neutral-100); } .nav li.headerItems:last-of-type { padding-top: 0; border-top: none; } .nav :global(.lastNavItem) { padding-bottom: var(--spacing-3); } /* Dropdown nav starts here */ @media (min-width: 1024px) { .nav { display: none; } } .auxDetails { margin: 0 var(--spacing-5); } .auxContact { line-height: 18px; margin: 0; padding: var(--spacing-2) 0; } .auxContact > span { display: inline; margin-right: var(--spacing-1); } .auxContact > a { font-size: 14px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); color: var(--color-neutral-700); text-decoration: none; } .auxContact:first-of-type { padding-top: var(--spacing-6); border-top: solid 1px var(--color-neutral-100); } .auxContact:last-of-type { padding-bottom: var(--spacing-6); } .appDetails { display: flex; flex-wrap: wrap; padding-top: var(--spacing-4); border-top: solid 1px var(--color-neutral-100); } .appDetails > span { display: block; width: 100%; margin-bottom: var(--spacing-4); } .appDetails > a { width: auto; height: 38px; }