line endings - CRLF => LF

pull/16/head
dohliam 4 years ago
parent 865f16e3bb
commit 9b94120e4d

@ -27,6 +27,7 @@ def strip_css(css)
.gsub(/#{select_none}\n\n/, "") .gsub(/#{select_none}\n\n/, "")
.gsub(nav_broken, nav_fixed) .gsub(nav_broken, nav_fixed)
.gsub(header_broken, "") .gsub(header_broken, "")
.gsub(/\r\n?/, "\n")
end end
def update_css(name, url) def update_css(name, url)

@ -1072,15 +1072,15 @@ table th[class^="bf-col"] {
margin: 0; margin: 0;
padding: 0; } padding: 0; }
/* /*
// taken from https://github.com/h5bp/html5-boilerplate/blob/v7.3.0/dist/css/main.css // 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: * Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility * 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 * 1. For long content, line feeds are not interpreted as spaces and small width
* causes content to wrap 1 word per line: * causes content to wrap 1 word per line:
* https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe * https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/ */
.bf-sr-only { .bf-sr-only {
border: 0; border: 0;
@ -1093,12 +1093,12 @@ table th[class^="bf-col"] {
white-space: nowrap; white-space: nowrap;
width: 1px; } width: 1px; }
/* /*
// taken from https://github.com/h5bp/html5-boilerplate/blob/v7.3.0/dist/css/main.css // 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 * Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard: * to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638 * https://www.drupal.org/node/897638
*/ */
.bf-sr-only.focusable:active, .bf-sr-only.focusable:active,
.bf-sr-only.focusable:focus { .bf-sr-only.focusable:focus {
@ -1288,13 +1288,17 @@ table th[class^="bf-col"] {
-webkit-touch-callout: none; } -webkit-touch-callout: none; }
.bf-font-sans-serif { .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 { .bf-font-serif {
font-family: Georgia, Times, "Times New Roman", serif; } font-family: Georgia, Times, "Times New Roman", serif; }
.bf-font-monospace { .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-h1,
.bf-h2, .bf-h2,
@ -1475,10 +1479,10 @@ dd.bf-list-unstyled {
.bf-table-responsive.scrollbar { .bf-table-responsive.scrollbar {
-webkit-overflow-scrolling: auto; } -webkit-overflow-scrolling: auto; }
/* ========================================================================== /* ==========================================================================
Print styles. Print styles.
Inlined to avoid the additional HTTP request: Inlined to avoid the additional HTTP request:
https://www.phpied.com/delay-loading-your-print-css/ https://www.phpied.com/delay-loading-your-print-css/
========================================================================== */ ========================================================================== */
@media print { @media print {
*, *,
@ -1496,9 +1500,9 @@ dd.bf-list-unstyled {
content: " (" attr(href) ")"; } content: " (" attr(href) ")"; }
abbr[title]:after { abbr[title]:after {
content: " (" attr(title) ")"; } content: " (" attr(title) ")"; }
/* /*
* Don't show links that are fragment identifiers, * Don't show links that are fragment identifiers,
* or use the `javascript:` pseudo protocol * or use the `javascript:` pseudo protocol
*/ */
a[href^="#"]:after, a[href^="#"]:after,
a[href^="javascript:"]:after { a[href^="javascript:"]:after {
@ -1509,9 +1513,9 @@ dd.bf-list-unstyled {
blockquote { blockquote {
border: 1px solid #999; border: 1px solid #999;
page-break-inside: avoid; } page-break-inside: avoid; }
/* /*
* Printing Tables: * Printing Tables:
* https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
*/ */
thead { thead {
display: table-header-group; } display: table-header-group; }

132
src/materialize.css vendored

@ -1,8 +1,8 @@
/*! /*!
* Materialize v1.0.0 (http://materializecss.com) * Materialize v1.0.0 (http://materializecss.com)
* Copyright 2014-2017 Materialize * Copyright 2014-2017 Materialize
* MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE) * MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)
*/ */
.materialize-red { .materialize-red {
background-color: #e51c23 !important; background-color: #e51c23 !important;
} }
@ -5622,13 +5622,13 @@ body.keyboard-focused .dropdown-content li:focus {
cursor: pointer; cursor: pointer;
} }
/*! /*!
* Waves v0.6.0 * Waves v0.6.0
* http://fian.my.id/Waves * http://fian.my.id/Waves
* *
* Copyright 2014 Alfiana E. Sibuea and other contributors * Copyright 2014 Alfiana E. Sibuea and other contributors
* Released under the MIT license * Released under the MIT license
* https://github.com/fians/Waves/blob/master/LICENSE * https://github.com/fians/Waves/blob/master/LICENSE
*/ */
.waves-effect { .waves-effect {
position: relative; position: relative;
@ -7038,7 +7038,7 @@ textarea.materialize-textarea {
border-color: #949494; border-color: #949494;
} }
/* Switch /* Switch
========================================================================== */ ========================================================================== */
.switch, .switch,
.switch * { .switch * {
@ -7282,7 +7282,7 @@ body.keyboard-focused .select-dropdown.dropdown-content li:focus {
padding-left: 1rem; padding-left: 1rem;
} }
/* File Input /* File Input
========================================================================== */ ========================================================================== */
.file-field { .file-field {
position: relative; position: relative;
@ -7748,30 +7748,30 @@ input[type=range]::-ms-thumb {
display: none; display: none;
} }
/* /*
@license @license
Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 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 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 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 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 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 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/ */
/**************************/ /**************************/
/* STYLES FOR THE SPINNER */ /* STYLES FOR THE SPINNER */
/**************************/ /**************************/
/* /*
* Constants: * Constants:
* STROKEWIDTH = 3px * STROKEWIDTH = 3px
* ARCSIZE = 270 degrees (amount of circle the arc takes up) * ARCSIZE = 270 degrees (amount of circle the arc takes up)
* ARCTIME = 1333ms (time it takes to expand and contract arc) * ARCTIME = 1333ms (time it takes to expand and contract arc)
* ARCSTARTROT = 216 degrees (how much the start location of the arc * ARCSTARTROT = 216 degrees (how much the start location of the arc
* should rotate each time, 216 gives us a * should rotate each time, 216 gives us a
* 5 pointed star shape (it's 360/5 * 3). * 5 pointed star shape (it's 360/5 * 3).
* For a 7 pointed star, we might do * For a 7 pointed star, we might do
* 360/7 * 3 = 154.286) * 360/7 * 3 = 154.286)
* CONTAINERWIDTH = 28px * CONTAINERWIDTH = 28px
* SHRINK_TIME = 400ms * SHRINK_TIME = 400ms
*/ */
.preloader-wrapper { .preloader-wrapper {
display: inline-block; display: inline-block;
@ -7837,18 +7837,18 @@ input[type=range]::-ms-thumb {
border-color: #0f9d58; border-color: #0f9d58;
} }
/** /**
* IMPORTANT NOTE ABOUT CSS ANIMATION PROPERTIES (keanulee): * IMPORTANT NOTE ABOUT CSS ANIMATION PROPERTIES (keanulee):
* *
* iOS Safari (tested on iOS 8.1) does not handle animation-delay very well - it doesn't * 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 * 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 * animation-delay and instead set custom keyframes for each color (as redundant as it
* seems). * seems).
* *
* We write out each animation in full (instead of separating animation-name, * We write out each animation in full (instead of separating animation-name,
* animation-duration, etc.) because under the polyfill, Safari does not recognize those * animation-duration, etc.) because under the polyfill, Safari does not recognize those
* specific properties properly, treats them as -webkit-animation, and overrides the * specific properties properly, treats them as -webkit-animation, and overrides the
* other animation rules. See https://github.com/Polymer/platform/issues/53. * other animation rules. See https://github.com/Polymer/platform/issues/53.
*/ */
.active .spinner-layer.spinner-blue { .active .spinner-layer.spinner-blue {
/* durations: 4 * ARCTIME */ /* 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 * 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). * spinner is rotating (appears on Chrome 38, Safari 7.1, and IE 11).
*/ */
.gap-patch { .gap-patch {
position: absolute; position: absolute;
@ -8482,10 +8482,19 @@ input[type=range]::-ms-thumb {
visibility: visible; visibility: visible;
-webkit-animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite; -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; animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
-webkit-transition: opacity .3s, visibility 0s 1s, -webkit-transform .3s; -webkit-transition: opacity .3s,
transition: opacity .3s, visibility 0s 1s, -webkit-transform .3s; visibility 0s 1s,
transition: opacity .3s, transform .3s, visibility 0s 1s; -webkit-transform .3s;
transition: opacity .3s, transform .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 { .tap-target {
@ -8538,10 +8547,19 @@ input[type=range]::-ms-thumb {
.tap-target-wave::after { .tap-target-wave::after {
visibility: hidden; visibility: hidden;
-webkit-transition: opacity .3s, visibility 0s, -webkit-transform .3s; -webkit-transition: opacity .3s,
transition: opacity .3s, visibility 0s, -webkit-transform .3s; visibility 0s,
transition: opacity .3s, transform .3s, visibility 0s; -webkit-transform .3s;
transition: opacity .3s, transform .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; z-index: -1;
} }

Loading…
Cancel
Save