UNPKG

@heycar-uikit/core

Version:
165 lines (149 loc) 3.71 kB
:root { /* heycar mint color */ --color-heycar-mint-500: #00cea5; /* 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-300: #b5b5b5; --color-tarmac-grey-700: #303030; /* brand colors */ } /* Depricated. Do Not Use */ :root { --spacing-2: 8px; --spacing-4: 16px; --spacing-6: 24px; --spacing-10: 40px; } :root { /* Font families */ --font-family-system: Objektiv, sans-serif, 'Helvetica Neue', Helvetica, Arial; /* Font weights */ --font-weight-regular: 400; --font-weight-medium: 500; } /* 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-secondary-500: var(--color-heycar-mint-500); --color-neutral-300: var(--color-tarmac-grey-300); --color-neutral-700: var(--color-tarmac-grey-700); /* Sizes */ } body { color: var(--color-neutral-700); } .accordion__accordion_q0a52 { display: flex; flex-direction: column; align-items: start; justify-content: center; width: 100%; background-color: #fff; overflow: hidden; border-bottom: 1px solid var(--color-neutral-300); transition: padding 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; color: var(--color-neutral-700); } .accordion__accordion_q0a52.accordion__accordionOpen_q0a52 { padding-bottom: var(--spacing-10); } .accordion__header_q0a52 { font-size: 16px; line-height: 26px; font-weight: var(--font-weight-medium); font-family: var(--font-family-system); text-align: left; flex-grow: 1; width: 100%; cursor: pointer; transition: margin 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; padding: var(--spacing-4) 0; -webkit-box-align: center; -webkit-tap-highlight-color: transparent; -webkit-box-pack: center; align-items: start; justify-content: space-between; position: relative; box-sizing: border-box; background-color: transparent; outline-color: var(--color-secondary-500); appearance: auto; border: 0; margin: 0; border-radius: 0; cursor: pointer; -webkit-user-select: none; user-select: none; vertical-align: middle; text-decoration: none; color: inherit; display: flex; } .accordion__header_q0a52.accordion__headerOpen_q0a52 { margin-bottom: var(--spacing-2); } .accordion__header_q0a52.accordion__headerOpen_q0a52 .accordion__headerArrow_q0a52 { transform: rotate(180deg); } .accordion__header_q0a52.accordion__headerDisabled_q0a52 { cursor: default; background-color: transparent; outline: none; color: var(--color-neutral-300); } .accordion__header_q0a52.accordion__headerDisabled_q0a52:hover, .accordion__header_q0a52.accordion__headerDisabled_q0a52:focus, .accordion__header_q0a52.accordion__headerDisabled_q0a52:active { background-color: transparent; } .accordion__header_q0a52 .accordion__headerArrow_q0a52 { display: flex; align-items: center; justify-content: center; width: var(--spacing-6); height: var(--spacing-6); margin-left: var(--spacing-6); transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transform: rotate(0deg); } .accordion__body_q0a52 { font-size: 16px; line-height: 26px; font-weight: var(--font-weight-regular); font-family: var(--font-family-system); }