UNPKG

modern-spa-boilerplate

Version:
541 lines (539 loc) 12.2 kB
html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body { margin: 0; } article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; } audio:not([controls]) { display: none; height: 0; } progress { vertical-align: baseline; } template, [hidden] { display: none; } a { background-color: transparent; -webkit-text-decoration-skip: objects; } a:active, a:hover { outline-width: 0; } abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; } b, strong { font-weight: inherit; } b, strong { font-weight: bolder; } dfn { font-style: italic; } h1 { font-size: 2em; margin: 0.67em 0; } mark { background-color: #ff0; color: #000; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } img { border-style: none; } svg:not(:root) { overflow: hidden; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } figure { margin: 1em 40px; } hr { box-sizing: content-box; height: 0; overflow: visible; } button, input, select, textarea { font: inherit; margin: 0; } optgroup { font-weight: bold; } button, input { overflow: visible; } button, select { text-transform: none; } button, html [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; } textarea { overflow: auto; } [type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; } [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } [type="search"] { -webkit-appearance: textfield; outline-offset: -2px; } [type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-input-placeholder { color: inherit; opacity: 0.54; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } @font-face { font-family: "SourceSansPro"; font-weight: 700; src: resolve("fonts/sourcesans/SourceSansPro-Black.otf") format("opentype"); } @font-face { font-family: "SourceSansPro"; font-weight: 600; src: resolve("fonts/sourcesans/SourceSansPro-Bold.otf") format("opentype"); } @font-face { font-family: "SourceSansPro"; font-weight: 500; src: resolve("fonts/sourcesans/SourceSansPro-Semibold.otf") format("opentype"); } @font-face { font-family: "SourceSansPro"; font-weight: 400; src: resolve("fonts/sourcesans/SourceSansPro-Regular.otf") format("opentype"); } @font-face { font-family: "SourceSansPro"; font-weight: 300; src: resolve("fonts/sourcesans/SourceSansPro-Light.otf") format("opentype"); } @font-face { font-family: "SourceSansPro"; font-weight: 200; src: resolve("fonts/sourcesans/SourceSansPro-ExtraLight.otf") format("opentype"); } *, *:before, *:after { box-sizing: border-box; } html { font-size: 16px; background: #eee; } @media screen and (orientation: landscape) { html { font-size: calc(1em + 0.25 * ((100vw - 60em) / 30)); } @media screen and (min-width: 90em) { html { font-size: 1.25em; } } @media screen and (max-width: 60em) { html { font-size: 1em; } } } @media screen and (orientation: portrait) { html { font-size: calc(1em + 0.25 * ((100vw - 20em) / 10)); } @media screen and (min-width: 30em) { html { font-size: 1.25em; } } @media screen and (max-width: 20em) { html { font-size: 1em; } } } #vue-root > h1:after { content: " [Layout::Landscape]"; } body { font-family: "SourceSansPro", sans-serif; margin-left: auto; margin-right: auto; background: white; } @media screen and (orientation: landscape) { body { padding: 1rem 2rem; } } @media screen and (orientation: portrait) { body { padding: 0.5rem 1rem; } } .some-grid { *zoom: 1; } .some-grid:before { content: ''; display: table; } .some-grid:after { content: ''; display: table; clear: both; } .some-grid .inner { width: 10rem; padding-top: 6.18047rem; background: #ccc; text-align: center; } .some-grid .cell { margin-bottom: 1rem; } @media screen and (max-width: 39.999em) { .some-grid .cell { border: 2px solid yellow; width: calc(99.9% * 1/2 - (1rem - 1rem * 1/2)); } .some-grid .cell:nth-child(1n) { float: left; margin-right: 1rem; clear: none; } .some-grid .cell:last-child { margin-right: 0; } .some-grid .cell:nth-child(2n) { margin-right: 0; float: right; } .some-grid .cell:nth-child(2n + 1) { clear: both; } } @media screen and (min-width: 40em) and (max-width: 49.999em) { .some-grid .cell { border: 2px solid orange; width: calc(99.9% * 1/3 - (1rem - 1rem * 1/3)); } .some-grid .cell:nth-child(1n) { float: left; margin-right: 1rem; clear: none; } .some-grid .cell:last-child { margin-right: 0; } .some-grid .cell:nth-child(3n) { margin-right: 0; float: right; } .some-grid .cell:nth-child(3n + 1) { clear: both; } } @media screen and (min-width: 50em) and (max-width: 64.999em) { .some-grid .cell { border: 2px solid red; width: calc(99.9% * 1/4 - (1rem - 1rem * 1/4)); } .some-grid .cell:nth-child(1n) { float: left; margin-right: 1rem; clear: none; } .some-grid .cell:last-child { margin-right: 0; } .some-grid .cell:nth-child(4n) { margin-right: 0; float: right; } .some-grid .cell:nth-child(4n + 1) { clear: both; } } @media screen and (min-width: 65em) and (max-width: 89.999em) { .some-grid .cell { border: 2px solid purple; width: calc(99.9% * 1/5 - (1rem - 1rem * 1/5)); } .some-grid .cell:nth-child(1n) { float: left; margin-right: 1rem; clear: none; } .some-grid .cell:last-child { margin-right: 0; } .some-grid .cell:nth-child(5n) { margin-right: 0; float: right; } .some-grid .cell:nth-child(5n + 1) { clear: both; } } @media screen and (min-width: 90em) and (max-width: 109.999em) { .some-grid .cell { border: 2px solid darkblue; width: calc(99.9% * 1/6 - (1rem - 1rem * 1/6)); } .some-grid .cell:nth-child(1n) { float: left; margin-right: 1rem; clear: none; } .some-grid .cell:last-child { margin-right: 0; } .some-grid .cell:nth-child(6n) { margin-right: 0; float: right; } .some-grid .cell:nth-child(6n + 1) { clear: both; } } @media screen and (min-width: 110em) and (max-width: 129.999em) { .some-grid .cell { border: 2px solid darkgreen; width: calc(99.9% * 1/7 - (1rem - 1rem * 1/7)); } .some-grid .cell:nth-child(1n) { float: left; margin-right: 1rem; clear: none; } .some-grid .cell:last-child { margin-right: 0; } .some-grid .cell:nth-child(7n) { margin-right: 0; float: right; } .some-grid .cell:nth-child(7n + 1) { clear: both; } } .title-b3192856, .cancel-b3192856, .okay-b3192856, .cancel-c79212bb, .okay-c79212bb, .table-67bdbdcc th, .clear-89830769, .okay-89830769 { -webkit-font-smoothing: antialiased; } .cancel-b3192856, .okay-b3192856, .cancel-c79212bb, .okay-c79212bb, .clear-89830769, .okay-89830769 { border: 1px solid #000; padding: 0.5rem 1rem; border-radius: 3px; border: none; outline: none; font-size: inherit; color: white; } .cancel-b3192856:disabled, .okay-b3192856:disabled, .cancel-c79212bb:disabled, .okay-c79212bb:disabled, .clear-89830769:disabled, .okay-89830769:disabled { -webkit-filter: grayscale(85%); filter: grayscale(85%); } .message-b3192856 { border: 2px solid #333; background: #eee; max-width: 25rem; margin-top: 2rem; margin-bottom: 2rem; } .message-b3192856 p { padding: 0 1rem; } .title-b3192856 { margin-top: 0; padding: 0.5rem 1rem; background: #335; color: white; } .buttonbar-b3192856 { width: auto; background: white; padding: 0.5rem; text-align: right; border-top: 1px solid #333; } .buttonbar-b3192856 > *:not(:first-child) { margin-left: 0.5rem; } .cancel-b3192856 { background: #F44336; } .okay-b3192856 { background: #4CAF50; } .title-b3192856, .cancel-b3192856, .okay-b3192856, .cancel-c79212bb, .okay-c79212bb, .table-67bdbdcc th, .clear-89830769, .okay-89830769 { -webkit-font-smoothing: antialiased; } .cancel-b3192856, .okay-b3192856, .cancel-c79212bb, .okay-c79212bb, .clear-89830769, .okay-89830769 { border: 1px solid #000; padding: 0.5rem 1rem; border-radius: 3px; border: none; outline: none; font-size: inherit; color: white; } .cancel-b3192856:disabled, .okay-b3192856:disabled, .cancel-c79212bb:disabled, .okay-c79212bb:disabled, .clear-89830769:disabled, .okay-89830769:disabled { -webkit-filter: grayscale(85%); filter: grayscale(85%); } .cancel-c79212bb { background: #F44336; } .okay-c79212bb { background: #4CAF50; } .wrapper-67bdbdcc { border: 2px solid #333; max-width: 100%; max-height: 20rem; overflow: scroll; margin-top: 2rem; margin-bottom: 2rem; } .table-67bdbdcc { table-layout: fixed; white-space: nowrap; border-spacing: 0; border-collapse: collapse; } .table-67bdbdcc tr:nth-child(odd) { background: #eee; } .table-67bdbdcc th { text-align: left; background: #333; color: #fff; font-weight: 400; padding: 0.5rem 0.25rem; } .table-67bdbdcc td { padding: 0.5rem 0.25rem; font-size: 0.8rem; } .title-b3192856, .cancel-b3192856, .okay-b3192856, .cancel-c79212bb, .okay-c79212bb, .table-67bdbdcc th, .clear-89830769, .okay-89830769 { -webkit-font-smoothing: antialiased; } .cancel-b3192856, .okay-b3192856, .cancel-c79212bb, .okay-c79212bb, .clear-89830769, .okay-89830769 { border: 1px solid #000; padding: 0.5rem 1rem; border-radius: 3px; border: none; outline: none; font-size: inherit; color: white; } .cancel-b3192856:disabled, .okay-b3192856:disabled, .cancel-c79212bb:disabled, .okay-c79212bb:disabled, .clear-89830769:disabled, .okay-89830769:disabled { -webkit-filter: grayscale(85%); filter: grayscale(85%); } .user-input-89830769 { margin-top: 2rem; margin-bottom: 2rem; margin-left: 1rem; } .user-input-89830769 input { margin-left: 0.5rem; } .invalid-89830769 { border-color: #F44336; } .clear-89830769 { background: #F44336; } .okay-89830769 { background: #4CAF50; } .error-89830769 { background: #F44336; } h1, h2, h3, h4 { font-weight: 300; } h1 { color: #3F51B5; font-size: 2rem; } h2 { color: #009688; font-size: 1.6rem; } h3 { color: #607D8B; font-size: 1.2rem; } h4 { color: #607D8B; font-size: 1rem; } p, ul, ol { line-height: 1.5; margin-top: 1rem; margin-bottom: 1rem; } /*# sourceMappingURL=main.bundle.css.map */