UNPKG

@massds/mayflower-assets

Version:

Mayflower Assets

405 lines (397 loc) 11.6 kB
:root { --mf-c-bay-blue-90-tint: #E8EEF4; --mf-c-bay-blue-80-tint: #D0DDE9; --mf-c-bay-blue-70-tint: #B9CCDD; --mf-c-bay-blue-60-tint: #A1BBD2; --mf-c-bay-blue-50-tint: #8AAAC7; --mf-c-bay-blue-40-tint: #7299BC; --mf-c-bay-blue-30-tint: #5B88B1; --mf-c-bay-blue-20-tint: #4377A5; --mf-c-bay-blue-10-tint: #2C669A; --mf-c-bay-blue: #14558f; --mf-c-bay-blue-10-shade: #124D81; --mf-c-bay-blue-20-shade: #104472; --mf-c-bay-blue-30-shade: #0E3C64; --mf-c-bay-blue-40-shade: #0C3356; --mf-c-bay-blue-50-shade: #0A2B48; --mf-c-bay-blue-light: #4377A5; --mf-c-bay-blue-lighter: #8AAAC7; --mf-c-bay-blue-lightest: #E8EEF4; --mf-c-bay-blue-darker: #0E3C64; --mf-c-bay-blue-darkest: #0A2B48; --mf-c-berkshires-green-90-tint: #EBF3EE; --mf-c-berkshires-green-80-tint: #D7E7DD; --mf-c-berkshires-green-70-tint: #C3DACD; --mf-c-berkshires-green-60-tint: #AFCEBC; --mf-c-berkshires-green-50-tint: #9CC2AB; --mf-c-berkshires-green-40-tint: #88B69A; --mf-c-berkshires-green-30-tint: #74AA89; --mf-c-berkshires-green-20-tint: #609D79; --mf-c-berkshires-green-10-tint: #4C9168; --mf-c-berkshires-green: #388557; --mf-c-berkshires-green-10-shade: #32784E; --mf-c-berkshires-green-20-shade: #2D6A46; --mf-c-berkshires-green-30-shade: #275D3D; --mf-c-berkshires-green-40-shade: #225034; --mf-c-berkshires-green-50-shade: #1C432C; --mf-c-berkshires-green-lighter: #9CC2AB; --mf-c-berkshires-green-lightest: #D7E7DD; --mf-c-berkshires-green-dark: #214F34; --mf-c-berkshires-green-darker: #275D3D; --mf-c-berkshires-green-darkest: #1C432C; --mf-c-duckling-yellow-90-tint: #FEF9E8; --mf-c-duckling-yellow-80-tint: #FDF3D1; --mf-c-duckling-yellow-70-tint: #FCEEBB; --mf-c-duckling-yellow-60-tint: #FBE8A4; --mf-c-duckling-yellow-50-tint: #FBE28D; --mf-c-duckling-yellow-40-tint: #FADC76; --mf-c-duckling-yellow-30-tint: #F9D65F; --mf-c-duckling-yellow-20-tint: #F8D149; --mf-c-duckling-yellow-10-tint: #F7CB32; --mf-c-duckling-yellow: #f6c51b; --mf-c-duckling-yellow-10-shade: #DDB118; --mf-c-duckling-yellow-20-shade: #C59E16; --mf-c-duckling-yellow-30-shade: #AC8A13; --mf-c-duckling-yellow-40-shade: #947610; --mf-c-duckling-yellow-50-shade: #7B630E; --mf-c-duckling-yellow-lighter: #FBE28D; --mf-c-duckling-yellow-lightest: #FEF9E8; --mf-c-duckling-yellow-darker: #AC8A13; --mf-c-duckling-yellow-darkest: #7B630E; --mf-c-independence-cranberry-90-tint: #F0E7E8; --mf-c-independence-cranberry-80-tint: #E1CED2; --mf-c-independence-cranberry-70-tint: #D2B6BB; --mf-c-independence-cranberry-60-tint: #C39DA5; --mf-c-independence-cranberry-50-tint: #B4858E; --mf-c-independence-cranberry-40-tint: #A46C77; --mf-c-independence-cranberry-30-tint: #955461; --mf-c-independence-cranberry-20-tint: #863B4A; --mf-c-independence-cranberry-10-tint: #772334; --mf-c-independence-cranberry: #680A1D; --mf-c-independence-cranberry-10-shade: #5E091A; --mf-c-independence-cranberry-20-shade: #530817; --mf-c-independence-cranberry-30-shade: #490714; --mf-c-independence-cranberry-40-shade: #3E0611; --mf-c-independence-cranberry-50-shade: #34050F; --mf-c-independence-cranberry-lighter: #B4858E; --mf-c-independence-cranberry-lightest: #F0E7E8; --mf-c-independence-cranberry-darker: #490714; --mf-c-independence-cranberry-darkest: #34050F; --mf-c-revolution-gray: #141414; --mf-c-granite-gray: #535353; --mf-c-atlantic-gray: #707070; --mf-c-overcast-gray: #DCDCDC; --mf-c-platinum-gray: #F2F2F2; --mf-c-black: #000000; --mf-c-gray-darkest: #141414; --mf-c-gray-dark: #535353; --mf-c-gray: #707070; --mf-c-gray-light: #DCDCDC; --mf-c-gray-lighter: #CCCCCC; --mf-c-gray-lightest: #F2F2F2; --mf-c-white: white; --mf-c-error-red: #CD0D0D; --mf-c-error-red-lighter: #EEACAC; --mf-c-error-red-lightest: #FCF3F3; --mf-c-focus-hightlight: #3e94cf; } :root { --mf-c-primary: #14558f; --mf-c-primary-light: #4377A5; --mf-c-primary-lighter: #8AAAC7; --mf-c-primary-lightest: #E8EEF4; --mf-c-primary-alt: #388557; --mf-c-primary-alt-lighter: #9CC2AB; --mf-c-primary-alt-lightest: #D7E7DD; --mf-c-primary-alt-dark: #214F34; --mf-c-highlight: #f6c51b; --mf-c-highlight-lighter: #FBE28D; --mf-c-highlight-lightest: #FEF9E8; --mf-c-error: #CD0D0D; --mf-c-error-lighter: #EEACAC; --mf-c-error-lightest: #FCF3F3; --mf-c-warning: #f6c51b; --mf-c-success: #388557; --mf-c-focus: #3e94cf; --mf-c-link: #7299BC; --mf-c-visited: #772334; --mf-c-font-base: #141414; --mf-c-font-detail: #535353; --mf-c-font-dark: #141414; --mf-c-font-medium: #707070; --mf-c-font-heading: #141414; --mf-c-font-inverse: white; --mf-c-font-link: #14558f; --mf-c-font-error: #CD0D0D; --mf-c-bg: white; --mf-c-bg-comp-title: #535353; --mf-c-bg-subtle: #F2F2F2; --mf-c-bg-section: #F2F2F2; --mf-c-bd: #DCDCDC; --mf-c-bd-divider: #DCDCDC; --mf-c-bd-divider-dark: #535353; --mf-c-bd-error: #CD0D0D; --mf-c-bd-input: #707070; --mf-c-box-shadow-black: rgba(0, 0, 0, 0.25); } .ma__input { background-color: var(--mf-c-bg); border: 2px solid var(--mf-c-bd-input); color: var(--mf-c-font-base); font-size: 1.125rem; font-weight: 400; max-width: 100%; padding: 0 18px; } .ma__input:not([type=checkbox]):not([type=radio]) { min-height: 40px; } .ma__input:focus { outline: 2px solid var(--mf-c-focus); outline-offset: 2px; border-color: var(--mf-c-bd-input); } .ma__input.has-error { border-color: var(--mf-c-bd-error); } @media (forced-colors: active) { .ma__input.has-error { border-color: Mark; } } button { cursor: pointer; font-family: "Noto Sans VF", "Noto Sans", "Helvetica", "Arial", sans-serif; font-weight: 400; } .ma__button { border: 3px solid; box-shadow: 0 0.25rem 0.5rem var(--mf-c-box-shadow-black); display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0.1em; padding: 0.4em 1em; text-decoration: none; text-transform: uppercase; transition: all 0.4s ease; text-transform: none; letter-spacing: 0.02em; font-size: 1rem; line-height: 1.4; font-weight: 600; background-color: #14558f; border-color: transparent; color: var(--mf-c-font-inverse); } .ma__button:hover:not(:disabled) { text-decoration: none; } .ma__button--uppercase { text-transform: uppercase; letter-spacing: 0.1em; } .ma__button svg { margin-left: 0.5rem; flex-shrink: 0; } .ma__button svg { width: 1rem; height: 1rem; } .ma__button--small { font-size: calc(14.75rem / 16); line-height: 1.2; padding: 0.2em 0.6em; } .ma__button--small svg { width: calc(14.75rem / 16); height: calc(14.75rem / 16); } .ma__button--large { font-size: 1.125rem; line-height: 1.61; } .ma__button--large svg { width: 1.125rem; height: 1.125rem; } .ma__button:hover:not(:disabled) { background-color: rgba(20, 85, 143, 0.75); } .ma__button svg { fill: var(--mf-c-font-inverse); } .ma__button--c-primary-alt { font-weight: 600; background-color: #388557; border-color: transparent; color: var(--mf-c-font-inverse); } .ma__button--c-primary-alt:hover:not(:disabled) { background-color: rgba(56, 133, 87, 0.75); } .ma__button--c-primary-alt svg { fill: var(--mf-c-font-inverse); } .ma__button--c-highlight { font-weight: 600; background-color: #f6c51b; border-color: transparent; color: var(--mf-c-gray-darkest); } .ma__button--c-highlight:hover:not(:disabled) { background-color: rgba(246, 197, 27, 0.75); } .ma__button--c-highlight svg { fill: var(--mf-c-gray-darkest); } .ma__button--c-black { font-weight: 600; background-color: #141414; border-color: transparent; color: var(--mf-c-font-inverse); } .ma__button--c-black:hover:not(:disabled) { background-color: rgba(20, 20, 20, 0.75); } .ma__button--c-black svg { fill: var(--mf-c-font-inverse); } .ma__button--c-gray-dark { font-weight: 600; background-color: #535353; border-color: transparent; color: var(--mf-c-font-inverse); } .ma__button--c-gray-dark:hover:not(:disabled) { background-color: rgba(83, 83, 83, 0.75); } .ma__button--c-gray-dark svg { fill: var(--mf-c-font-inverse); } .ma__button--c-white { font-weight: 600; background-color: white; border-color: transparent; color: var(--mf-c-primary); } .ma__button--c-white:hover:not(:disabled) { background-color: rgba(255, 255, 255, 0.75); } .ma__button--c-white svg { fill: var(--mf-c-primary); } .ma__button--c-white:hover:not(:disabled) { background-color: var(--mf-c-gray-light); } .ma__button--secondary { font-weight: 600; background-color: var(--mf-c-font-inverse); border-color: rgba(20, 85, 143, 0.5); color: #14558f; } .ma__button--secondary:hover:not(:disabled) { background-color: #14558f; } .ma__button--secondary svg { fill: #14558f; } .ma__button--secondary:hover:not(:disabled) { color: var(--mf-c-font-inverse); } .ma__button--secondary:hover:not(:disabled) svg { fill: var(--mf-c-font-inverse); } .ma__button--secondary.ma__button--c-primary-alt { font-weight: 600; background-color: var(--mf-c-font-inverse); border-color: rgba(56, 133, 87, 0.5); color: #388557; } .ma__button--secondary.ma__button--c-primary-alt:hover:not(:disabled) { background-color: #388557; } .ma__button--secondary.ma__button--c-primary-alt svg { fill: #388557; } .ma__button--secondary.ma__button--c-primary-alt:hover:not(:disabled) { color: var(--mf-c-font-inverse); } .ma__button--secondary.ma__button--c-primary-alt:hover:not(:disabled) svg { fill: var(--mf-c-font-inverse); } .ma__button--secondary.ma__button--c-highlight { font-weight: 600; background-color: var(--mf-c-font-inverse); border-color: rgba(246, 197, 27, 0.5); color: var(--mf-c-gray-darkest); border-color: rgba(246, 197, 27, 0.5); } .ma__button--secondary.ma__button--c-highlight:hover:not(:disabled) { background-color: #f6c51b; } .ma__button--secondary.ma__button--c-highlight svg { fill: var(--mf-c-gray-darkest); } .ma__button--secondary.ma__button--c-highlight:hover:not(:disabled) { color: var(--mf-c-gray-darkest); } .ma__button--secondary.ma__button--c-highlight:hover:not(:disabled) svg { fill: var(--mf-c-gray-darkest); } .ma__button--secondary.ma__button--c-gray-dark { font-weight: 600; background-color: var(--mf-c-font-inverse); border-color: rgba(83, 83, 83, 0.5); color: #535353; } .ma__button--secondary.ma__button--c-gray-dark:hover:not(:disabled) { background-color: #535353; } .ma__button--secondary.ma__button--c-gray-dark svg { fill: #535353; } .ma__button--secondary.ma__button--c-gray-dark:hover:not(:disabled) { color: var(--mf-c-font-inverse); } .ma__button--secondary.ma__button--c-gray-dark:hover:not(:disabled) svg { fill: var(--mf-c-font-inverse); } .ma__button--tertiary { font-weight: 600; background-color: #DCDCDC; border-color: transparent; color: var(--mf-c-font-inverse); color: var(--mf-c-font-base); } .ma__button--tertiary:hover:not(:disabled) { background-color: rgba(220, 220, 220, 0.75); } .ma__button--tertiary svg { fill: var(--mf-c-font-inverse); } .ma__button--tertiary svg { fill: var(--mf-c-gray-darkest); } .ma__button--quaternary { background-color: transparent; box-shadow: none; border: none; border-bottom: 2px solid var(--mf-c-link); color: var(--mf-c-primary); padding: 0; text-transform: none; letter-spacing: 0; } .ma__button--quaternary svg { fill: var(--mf-c-primary); } .ma__button--quaternary:hover:not(:disabled) { border-bottom: 3px solid var(--mf-c-primary); background-color: transparent; } .ma__button--disabled { opacity: 0.5; cursor: not-allowed; }