diff --git a/scripts/minify.rb b/scripts/minify.rb index 9bc9e0e..6d852ae 100644 --- a/scripts/minify.rb +++ b/scripts/minify.rb @@ -27,6 +27,7 @@ def strip_css(css) .gsub(/#{select_none}\n\n/, "") .gsub(nav_broken, nav_fixed) .gsub(header_broken, "") + .gsub(/\r\n?/, "\n") end def update_css(name, url) diff --git a/src/bullframe.css b/src/bullframe.css index 0006168..5467a4d 100644 --- a/src/bullframe.css +++ b/src/bullframe.css @@ -1072,15 +1072,15 @@ table th[class^="bf-col"] { margin: 0; padding: 0; } -/* -// taken from https://github.com/h5bp/html5-boilerplate/blob/v7.3.0/dist/css/main.css -// -* Hide only visually, but have it available for screen readers: -* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility -* -* 1. For long content, line feeds are not interpreted as spaces and small width -* causes content to wrap 1 word per line: -* https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe +/* +// taken from https://github.com/h5bp/html5-boilerplate/blob/v7.3.0/dist/css/main.css +// +* Hide only visually, but have it available for screen readers: +* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility +* +* 1. For long content, line feeds are not interpreted as spaces and small width +* causes content to wrap 1 word per line: +* https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe */ .bf-sr-only { border: 0; @@ -1093,12 +1093,12 @@ table th[class^="bf-col"] { white-space: nowrap; width: 1px; } -/* -// taken from https://github.com/h5bp/html5-boilerplate/blob/v7.3.0/dist/css/main.css -// -* Extends the .sr-only class to allow the element -* to be focusable when navigated to via the keyboard: -* https://www.drupal.org/node/897638 +/* +// taken from https://github.com/h5bp/html5-boilerplate/blob/v7.3.0/dist/css/main.css +// +* Extends the .sr-only class to allow the element +* to be focusable when navigated to via the keyboard: +* https://www.drupal.org/node/897638 */ .bf-sr-only.focusable:active, .bf-sr-only.focusable:focus { @@ -1288,13 +1288,17 @@ table th[class^="bf-col"] { -webkit-touch-callout: none; } .bf-font-sans-serif { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, + sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", + "Noto Color Emoji"; } .bf-font-serif { font-family: Georgia, Times, "Times New Roman", serif; } .bf-font-monospace { - font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; } + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", + "Courier New", monospace; } .bf-h1, .bf-h2, @@ -1475,10 +1479,10 @@ dd.bf-list-unstyled { .bf-table-responsive.scrollbar { -webkit-overflow-scrolling: auto; } -/* ========================================================================== - Print styles. - Inlined to avoid the additional HTTP request: - https://www.phpied.com/delay-loading-your-print-css/ +/* ========================================================================== + Print styles. + Inlined to avoid the additional HTTP request: + https://www.phpied.com/delay-loading-your-print-css/ ========================================================================== */ @media print { *, @@ -1496,9 +1500,9 @@ dd.bf-list-unstyled { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } - /* - * Don't show links that are fragment identifiers, - * or use the `javascript:` pseudo protocol + /* + * Don't show links that are fragment identifiers, + * or use the `javascript:` pseudo protocol */ a[href^="#"]:after, a[href^="javascript:"]:after { @@ -1509,9 +1513,9 @@ dd.bf-list-unstyled { blockquote { border: 1px solid #999; page-break-inside: avoid; } - /* - * Printing Tables: - * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables + /* + * Printing Tables: + * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables */ thead { display: table-header-group; } diff --git a/src/materialize.css b/src/materialize.css index 3075b0d..ea0e0b2 100644 --- a/src/materialize.css +++ b/src/materialize.css @@ -1,8 +1,8 @@ -/*! - * Materialize v1.0.0 (http://materializecss.com) - * Copyright 2014-2017 Materialize - * MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE) - */ +/*! + * Materialize v1.0.0 (http://materializecss.com) + * Copyright 2014-2017 Materialize + * MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE) + */ .materialize-red { background-color: #e51c23 !important; } @@ -5622,13 +5622,13 @@ body.keyboard-focused .dropdown-content li:focus { cursor: pointer; } -/*! - * Waves v0.6.0 - * http://fian.my.id/Waves - * - * Copyright 2014 Alfiana E. Sibuea and other contributors - * Released under the MIT license - * https://github.com/fians/Waves/blob/master/LICENSE +/*! + * Waves v0.6.0 + * http://fian.my.id/Waves + * + * Copyright 2014 Alfiana E. Sibuea and other contributors + * Released under the MIT license + * https://github.com/fians/Waves/blob/master/LICENSE */ .waves-effect { position: relative; @@ -7038,7 +7038,7 @@ textarea.materialize-textarea { border-color: #949494; } -/* Switch +/* Switch ========================================================================== */ .switch, .switch * { @@ -7282,7 +7282,7 @@ body.keyboard-focused .select-dropdown.dropdown-content li:focus { padding-left: 1rem; } -/* File Input +/* File Input ========================================================================== */ .file-field { position: relative; @@ -7748,30 +7748,30 @@ input[type=range]::-ms-thumb { display: none; } -/* - @license - Copyright (c) 2014 The Polymer Project Authors. All rights reserved. - This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt - The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt - The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt - Code distributed by Google as part of the polymer project is also - subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt +/* + @license + Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + Code distributed by Google as part of the polymer project is also + subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ /**************************/ /* STYLES FOR THE SPINNER */ /**************************/ -/* - * Constants: - * STROKEWIDTH = 3px - * ARCSIZE = 270 degrees (amount of circle the arc takes up) - * ARCTIME = 1333ms (time it takes to expand and contract arc) - * ARCSTARTROT = 216 degrees (how much the start location of the arc - * should rotate each time, 216 gives us a - * 5 pointed star shape (it's 360/5 * 3). - * For a 7 pointed star, we might do - * 360/7 * 3 = 154.286) - * CONTAINERWIDTH = 28px - * SHRINK_TIME = 400ms +/* + * Constants: + * STROKEWIDTH = 3px + * ARCSIZE = 270 degrees (amount of circle the arc takes up) + * ARCTIME = 1333ms (time it takes to expand and contract arc) + * ARCSTARTROT = 216 degrees (how much the start location of the arc + * should rotate each time, 216 gives us a + * 5 pointed star shape (it's 360/5 * 3). + * For a 7 pointed star, we might do + * 360/7 * 3 = 154.286) + * CONTAINERWIDTH = 28px + * SHRINK_TIME = 400ms */ .preloader-wrapper { display: inline-block; @@ -7837,18 +7837,18 @@ input[type=range]::-ms-thumb { border-color: #0f9d58; } -/** - * IMPORTANT NOTE ABOUT CSS ANIMATION PROPERTIES (keanulee): - * - * iOS Safari (tested on iOS 8.1) does not handle animation-delay very well - it doesn't - * guarantee that the animation will start _exactly_ after that value. So we avoid using - * animation-delay and instead set custom keyframes for each color (as redundant as it - * seems). - * - * We write out each animation in full (instead of separating animation-name, - * animation-duration, etc.) because under the polyfill, Safari does not recognize those - * specific properties properly, treats them as -webkit-animation, and overrides the - * other animation rules. See https://github.com/Polymer/platform/issues/53. +/** + * IMPORTANT NOTE ABOUT CSS ANIMATION PROPERTIES (keanulee): + * + * iOS Safari (tested on iOS 8.1) does not handle animation-delay very well - it doesn't + * guarantee that the animation will start _exactly_ after that value. So we avoid using + * animation-delay and instead set custom keyframes for each color (as redundant as it + * seems). + * + * We write out each animation in full (instead of separating animation-name, + * animation-duration, etc.) because under the polyfill, Safari does not recognize those + * specific properties properly, treats them as -webkit-animation, and overrides the + * other animation rules. See https://github.com/Polymer/platform/issues/53. */ .active .spinner-layer.spinner-blue { /* durations: 4 * ARCTIME */ @@ -8113,9 +8113,9 @@ input[type=range]::-ms-thumb { } } -/** - * Patch the gap that appear between the two adjacent div.circle-clipper while the - * spinner is rotating (appears on Chrome 38, Safari 7.1, and IE 11). +/** + * Patch the gap that appear between the two adjacent div.circle-clipper while the + * spinner is rotating (appears on Chrome 38, Safari 7.1, and IE 11). */ .gap-patch { position: absolute; @@ -8482,10 +8482,19 @@ input[type=range]::-ms-thumb { visibility: visible; -webkit-animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite; animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite; - -webkit-transition: opacity .3s, visibility 0s 1s, -webkit-transform .3s; - transition: opacity .3s, visibility 0s 1s, -webkit-transform .3s; - transition: opacity .3s, transform .3s, visibility 0s 1s; - transition: opacity .3s, transform .3s, visibility 0s 1s, -webkit-transform .3s; + -webkit-transition: opacity .3s, + visibility 0s 1s, + -webkit-transform .3s; + transition: opacity .3s, + visibility 0s 1s, + -webkit-transform .3s; + transition: opacity .3s, + transform .3s, + visibility 0s 1s; + transition: opacity .3s, + transform .3s, + visibility 0s 1s, + -webkit-transform .3s; } .tap-target { @@ -8538,10 +8547,19 @@ input[type=range]::-ms-thumb { .tap-target-wave::after { visibility: hidden; - -webkit-transition: opacity .3s, visibility 0s, -webkit-transform .3s; - transition: opacity .3s, visibility 0s, -webkit-transform .3s; - transition: opacity .3s, transform .3s, visibility 0s; - transition: opacity .3s, transform .3s, visibility 0s, -webkit-transform .3s; + -webkit-transition: opacity .3s, + visibility 0s, + -webkit-transform .3s; + transition: opacity .3s, + visibility 0s, + -webkit-transform .3s; + transition: opacity .3s, + transform .3s, + visibility 0s; + transition: opacity .3s, + transform .3s, + visibility 0s, + -webkit-transform .3s; z-index: -1; }