diff --git a/packages/starterkit-handlebars-demo/dist/css/style.css b/packages/starterkit-handlebars-demo/dist/css/style.css new file mode 100644 index 000000000..25687f425 --- /dev/null +++ b/packages/starterkit-handlebars-demo/dist/css/style.css @@ -0,0 +1,1824 @@ +/*------------------------------------*\ + #TABLE OF CONTENTS +\*------------------------------------*/ +/** + * ABSTRACTS..............................Declarations of Sass variables & mixins + * BASE...................................Default element styles + * LAYOUT.................................Layout-specific styles + * COMPONENTS.............................Component styles + * UTILITIES..............................Utility classes + */ +/*------------------------------------*\ + #ABSTRACTS +\*------------------------------------*/ +/*------------------------------------*\ + #VARIABLES +\*------------------------------------*/ +/** + * CONTENTS + * + * COLORS + * Brand Colors...............Globally-available variables and config + * Neutral Colors.............Grayscale colors, including white and black + * Utility Colors.............Info, Warning, Error, Success + * + * TYPOGRAPHY + * Font Families..............The fonts used in the design system + * Sizing.....................Font sizing + * + * LAYOUT + * Max-widths.................Maximum layout container width + * + + * SPACING + * Spacing defaults...........Spacing between elements + * + * BORDERS + * Border Width...............Border thicknesses + * Border Radius..............Border radius definitions + * + * ANIMATION + * Animation Speed............Transition/animation speed variables + * Animation easing...........Easing variables + * + * BREAKPOINTS + * Breakpoints................Global breakpoint definitions + */ +/*------------------------------------*\ + #COLORS + \*------------------------------------*/ +/** + * Brand Colors + * 1) Brand=specific colors + */ +/** + * Neutral Colors + * 1) Neutral colors are grayscale values used throughout the UI + */ +/** + * Utility Colors + * 1) Utility colors are colors used to provide feedback, such as alert messages, + * form validation, etc. + */ +/*------------------------------------*\ + #TYPOGRAPHY +\*------------------------------------*/ +/** + * Font Family + */ +/** + * Font Sizing + */ +/** + * Line Height + */ +/*------------------------------------*\ + #LAYOUT +\*------------------------------------*/ +/** + * Max Width + */ +/*------------------------------------*\ + #SPACING +\*------------------------------------*/ +/** + * Spacing and offsets + * 1) Used to space grids and body padding + */ +/*------------------------------------*\ + #BORDERS +\*------------------------------------*/ +/** + * Border + */ +/** + * Border radius + */ +/*------------------------------------*\ + #ANIMATION +\*------------------------------------*/ +/** + * Transition Speed + */ +/** + * Transition Ease + */ +/*------------------------------------*\ + #BREAKPOINTS +\*------------------------------------*/ +/** + * Breakpoints used in media queries + * 1) These are not the only breakpoints used, but they provide a few defaults + */ +/*------------------------------------*\ + #MIXINS +\*------------------------------------*/ +/** + * Body Styles + * 1) Prevent Mobile Safari from scaling up text: https://blog.55minutes.com/2012/04/iphone-text-resizing/ + */ +/** + * XL Type Styles + */ +/** + * XL Heading Styles + */ +/** + * XL Heading Styles + */ +/** + * Large Heading Styles + */ +/** + * Medium 2 Heading Styles + */ +/** + * Medium Heading Styles + */ +/*------------------------------------*\ + #COLORS +\*------------------------------------*/ +/** + * In this file, we take the literal colors from our palette (defined in variables.scss) + * and define them against variables that we can utilise anywhere throughout the project. + */ +/*------------------------------------*\ + #GLOBAL TEXT COLOR +\*------------------------------------*/ +/** + * Body text and background colors + */ +/** + * Highlight colors + */ +/*------------------------------------*\ + #LINKS +\*------------------------------------*/ +/*------------------------------------*\ + #BUTTONS +\*------------------------------------*/ +/*------------------------------------*\ + #FORMS +\*------------------------------------*/ +/*------------------------------------*\ + #BREAKPOINTS +\*------------------------------------*/ +/** + * In this file, we take the literal colors from our palette and define them + * against variables that we can utilise anywhere throughout the project. + */ +/*------------------------------------*\ + #BASE +\*------------------------------------*/ +/*------------------------------------*\ + #RESET +\*------------------------------------*/ +/** + * Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/ + */ +* { + box-sizing: border-box; } + +/** + * 1) Zero out margins and padding for elements + */ +html, body, div, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, ol, ul, li, form, legend, label, table, header, footer, nav, section, figure { + margin: 0; + padding: 0; } + +/** + * 1) Set HTML5 elements to display: block + */ +header, footer, nav, section, article, figure { + display: block; } + +/*------------------------------------*\ + #BODY +\*------------------------------------*/ +/** + * HTML base styles + * 1) Set the html element's height to at least 100% of the viewport. + * This is used to achieve a sticky footer + */ +html { + min-height: 100vh; + /* 1 */ } + +/** + * Body base styles + * 1) Set the body element's height to at least 100% of the viewport. + * This is used to achieve a sticky footer + */ +body { + min-height: 100vh; + /* 1 */ + font-family: "Raleway", "HelveticaNeue", "Helvetica", "Arial", sans-serif; + font-size: 1rem; + line-height: 1.6; + -webkit-text-size-adjust: 100%; + /* 1 */ + background-color: #fff; + color: #131313; } + +/*------------------------------------*\ + #LINKS +\*------------------------------------*/ +/** + * Link base styles + */ +a { + color: #444; + text-decoration: none; + outline: 0; + transition: color 0.15s ease-out; } + a:hover, a:focus { + color: #ba6333; } + a:active { + color: #131313; } + +/*------------------------------------*\ + #LISTS +\*------------------------------------*/ +/** + * 1) List base styles + */ +/** + * Remove list styles from unordered and ordered lists + */ +ol, ul { + list-style: none; } + +/*------------------------------------*\ + #HEADINGS +\*------------------------------------*/ +h1, h2, h3, h4 { + font-family: "Abel", serif; + text-transform: uppercase; } + +/** + * Heading 1 base styles + */ +h1 { + font-size: 3rem; + font-weight: normal; + line-height: 1.2; } + @media all and (min-width: 47em) { + h1 { + font-size: 4rem; } } + +/** + * Heading 2 base styles + */ +h2 { + font-size: 1.2rem; + font-weight: normal; + line-height: 1.2; } + +/** + * Heading 3 base styles + */ +h3 { + font-size: 1.2rem; + font-weight: normal; + line-height: 1.2; } + +/** + * Heading 4 base styles + */ +h4 { + font-size: 1rem; + font-weight: normal; + line-height: 1.2; } + +/*------------------------------------*\ + #FORMS +\*------------------------------------*/ +/** + * 1) Form element base styles + */ +/** + * Input placeholder text base styles + */ +::-webkit-input-placeholder { + color: #808080; } + +::-moz-placeholder { + color: #808080; } + +:-ms-input-placeholder { + color: #808080; } + +/** + * Fieldset base styles + */ +fieldset { + border: 0; + padding: 0; + margin: 0; } + +/** + * Legend base styles + */ +legend { + margin-bottom: 0.25rem; } + +/** + * Label base styles + */ +label { + display: block; + padding-bottom: 0.25rem; + color: #131313; } + +/** + * Add font size 100% of form element and margin 0 to these elements + */ +button, input, select, textarea { + font-family: inherit; + font-size: 1rem; + margin: 0; } + +/** + * Text area base styles + */ +textarea { + resize: none; } + +/** + * Input and text area base styles + */ +input, textarea { + width: 100%; + padding: 0.5rem; + border: 1px solid #444; + background: #fff; } + input:focus, textarea:focus { + border-color: #131313; } + input:disabled, textarea:disabled { + border-color: #eee; + background: #eee; + color: #808080; } + +/** + * Remove webkit appearance styles from these elements + */ +input[type=text], input[type=search], input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration, input[type=url], input[type=number], textarea { + -webkit-appearance: none; } + +/** + * Checkbox and radio button base styles + */ +input[type="checkbox"], +input[type="radio"] { + width: auto; + margin-right: 0.3rem; + border-color: #444; } + +/** + * Search input base styles + */ +input[type="search"] { + -webkit-appearance: none; + border-radius: 0; } + +/** + * Select + * 1) Remove default styling + */ +select { + display: block; + font-size: 1rem; + width: 100%; + border: 1px solid #444; + border-radius: 0; + padding: 0.5rem; + height: 2rem; + background: #fff; + color: #131313; } + select:focus { + border-color: #131313; } + +/*------------------------------------*\ + #BUTTONS +\*------------------------------------*/ +/** + * Button and submit inputs reset + * 1) These should be styled using c-btn + */ +button { + cursor: pointer; } + +/*------------------------------------*\ + #MAIN ELEMENT +\*------------------------------------*/ +/** + * Main element + */ +[role=main] { + display: block; + flex: 1 0 auto; } + +/*------------------------------------*\ + #MEDIA +\*------------------------------------*/ +/** + * Responsive image styling + * 1) Allows for images to flex with varying screen size + */ +img { + max-width: 100%; + height: auto; } + +/*------------------------------------*\ + #TEXT +\*------------------------------------*/ +/** + * Paragraph base styles + */ +p { + margin-bottom: 1rem; } + +/** + * Blockquote base styles + */ +blockquote { + font-style: italic; + border-left: 1px solid #808080; + color: #808080; + padding-left: 1rem; + margin-bottom: 1rem; } + +/** + * Horizontal rule base styles + */ +hr { + border: 0; + height: 1px; + background: #ddd; + margin: 1rem 0; } + +/** + * Selection styles + */ +::-moz-selection { + color: #131313; + background: #ddd; + /* Gecko Browsers */ } + +::selection { + color: #131313; + background: #ddd; + /* WebKit/Blink Browsers */ } + +/** + * Code base styles + */ +code { + display: inline-block; + background: #f9f9f9; + border: 1px solid #ddd; + padding: .2rem .5rem; + line-height: 1.2; + font-size: .85rem; } + +/** + * Preformatted text base styles + */ +pre { + background: #f9f9f9; + border: 1px solid #ddd; + font-size: 1rem; + padding: 1rem; + overflow-x: auto; + /** + * Remove border from code within preformatted text block + */ } + pre code { + border: 0; } + +/** + * Code with languages associated with them + * 1) Override Prism sysles for code blocks with language + */ +code[class*="language-"], +pre[class*="language-"] { + font-family: monospace !important; } + +/*------------------------------------*\ + #TABLES +\*------------------------------------*/ +/** + * Table + */ +table { + border-collapse: collapse; + border-spacing: 0; + width: 100%; } + +/** + * Table header cell + */ +th { + text-align: left; } + +/** + * Table row + */ +tr { + vertical-align: top; } + +/*------------------------------------*\ + #LAYOUT +\*------------------------------------*/ +/*------------------------------------*\ + #LAYOUT +\*------------------------------------*/ +/** + * Layout Container + * 1) Caps the width of the content to the maximum width + * and centers the container + */ +.l-container { + max-width: 80rem; + padding: 0 1rem; + margin: 0 auto; } + @media all and (min-width: 60em) { + .l-container { + padding: 0 2rem; } } + +.l-container--narrow { + max-width: 45rem; } + +/** + * + * 1) This caps the width of text passages + * to achieve a comfortable line length + */ +.l-linelength-container { + max-width: 36rem; } + +.l-band { + background: #f9f9f9; + padding: 2rem 1rem; } + +/** + * 2 column layout + */ +.l-page-layout--two-column { + display: flex; + flex-direction: column; } + @media all and (min-width: 60em) { + .l-page-layout--two-column { + flex-direction: row; } } + +@media all and (min-width: 60em) { + .l-page-layout--two-column .l-page-layout__main { + width: 70%; + padding-right: 1rem; } } + +/** + * Sidebar + */ +@media all and (min-width: 60em) { + .l-page-layout--two-column .l-page-layout__secondary { + width: 30%; + margin-left: 2rem; } } + +.l-page-layout--reversed .l-page-layout__secondary { + margin-bottom: 2rem; } + @media all and (min-width: 60em) { + .l-page-layout--reversed .l-page-layout__secondary { + order: 1; + margin-bottom: 0; } } + +/*------------------------------------*\ + #GRID +\*------------------------------------*/ +/** + * Grid Container + */ +.l-grid { + display: flex; + flex-wrap: wrap; } + @supports (display: grid) { + .l-grid { + display: grid; + grid-gap: 2rem; + grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); + margin: 0; } } + +/** + * Grid Item + */ +.l-grid__item { + display: flex; } + +/*------------------------------------*\ + #COMPONENTS +\*------------------------------------*/ +/*------------------------------------*\ + #BUTTONS +\*------------------------------------*/ +/** + * + * 1) Button or link that has functionality to it + */ +.c-btn { + display: inline-block; + border: 1px solid #131313; + background: #114689; + color: #fff; + line-height: 1; + padding: 1rem 2rem; + border: 0; + text-transform: uppercase; + text-align: center; + transition: all 0.15s ease-out; } + .c-btn:hover, .c-btn:focus { + color: #fff; + background: #041544; } + +.c-btn--bare { + background: none; + color: #114689; + border: 1px solid transparent; } + .c-btn--bare:hover, .c-btn--bare:focus { + background: none; + color: #114689; + border-color: #114689; } + +/* + * Inner container wrapper + * 1) Container is direct decendant of