From e4ba54923de40d7e683d226e3bd3f0816e25a48d Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Tue, 1 Aug 2017 10:14:11 -0400 Subject: [PATCH] Grim local dev setup --- node_modules/.yarn-integrity | 13 + node_modules/normalize.css/CHANGELOG.md | 160 +++++++++ node_modules/normalize.css/LICENSE.md | 21 ++ node_modules/normalize.css/README.md | 133 +++++++ node_modules/normalize.css/normalize.css | 427 +++++++++++++++++++++++ node_modules/normalize.css/package.json | 37 ++ node_modules/suitcss-base/CHANGELOG.md | 71 ++++ node_modules/suitcss-base/LICENSE.md | 19 + node_modules/suitcss-base/README.md | 50 +++ node_modules/suitcss-base/index.css | 2 + node_modules/suitcss-base/index.js | 2 + node_modules/suitcss-base/lib/base.css | 118 +++++++ node_modules/suitcss-base/package.json | 44 +++ src/base/base.less | 9 +- yarn.lock | 13 + 15 files changed, 1117 insertions(+), 2 deletions(-) create mode 100644 node_modules/.yarn-integrity create mode 100644 node_modules/normalize.css/CHANGELOG.md create mode 100644 node_modules/normalize.css/LICENSE.md create mode 100644 node_modules/normalize.css/README.md create mode 100644 node_modules/normalize.css/normalize.css create mode 100644 node_modules/normalize.css/package.json create mode 100644 node_modules/suitcss-base/CHANGELOG.md create mode 100644 node_modules/suitcss-base/LICENSE.md create mode 100644 node_modules/suitcss-base/README.md create mode 100644 node_modules/suitcss-base/index.css create mode 100644 node_modules/suitcss-base/index.js create mode 100644 node_modules/suitcss-base/lib/base.css create mode 100644 node_modules/suitcss-base/package.json create mode 100644 yarn.lock diff --git a/node_modules/.yarn-integrity b/node_modules/.yarn-integrity new file mode 100644 index 000000000..847577183 --- /dev/null +++ b/node_modules/.yarn-integrity @@ -0,0 +1,13 @@ +{ + "flags": [], + "linkedModules": [], + "topLevelPatters": [ + "normalize.css@^6.0.0", + "suitcss-base@^3.0.0" + ], + "lockfileEntries": { + "normalize.css@^6.0.0": "https://registry.yarnpkg.com/normalize.css/-/normalize.css-6.0.0.tgz#22188c2707c911fb3ad3c1aac0677ff68661bea8", + "suitcss-base@^3.0.0": "https://registry.yarnpkg.com/suitcss-base/-/suitcss-base-3.0.0.tgz#83dd53629c37adbdeac11ef6439a7f2ed955f05e" + }, + "files": [] +} \ No newline at end of file diff --git a/node_modules/normalize.css/CHANGELOG.md b/node_modules/normalize.css/CHANGELOG.md new file mode 100644 index 000000000..d5a03f0bd --- /dev/null +++ b/node_modules/normalize.css/CHANGELOG.md @@ -0,0 +1,160 @@ +# Changes to normalize.css + +### 6.0.0 (March 26, 2017) + +* Remove all opinionated rules +* Correct document heading comment +* Update `abbr[title]` support + +### 5.0.0 (October 3, 2016) + +* Add normalized sections not already present from + https://html.spec.whatwg.org/multipage/. +* Move unsorted rules into their respective sections. +* Update the `summary` style in all browsers. +* Remove `::placeholder` styles due to a bug in Edge. +* More explicitly define font resets on form controls. +* Remove the `optgroup` normalization needed by the previous font reset. +* Update text-size-adjust documentation
 for IE on Windows Phone +* Update OS X reference to macOS +* Update the semver strategy. + +### 4.2.0 (June 30, 2016) + +* Correct the `line-height` in all browsers. +* Restore `optgroup` font inheritance. +* Update normalize.css heading. + +### 4.1.1 (April 12, 2016) + +* Update normalize.css heading. + +### 4.1.0 (April 11, 2016) + +* Normalize placeholders in Chrome, Edge, and Safari. +* Normalize `text-decoration-skip` property in Safari. +* Normalize file select buttons. +* Normalize search input outlines in Safari. +* Limit Firefox focus normalizations to buttons. +* Restore `main` to package.json. +* Restore proper overflow to certain `select` elements. +* Remove opinionated cursor styles on buttons. +* Update stylelint configuration. +* Update tests. + +### 4.0.0 (March 19, 2016) + +* Add the correct font weight for `b` and `strong` in Chrome, Edge, and Safari. +* Correct inconsistent `overflow` for `hr` in Edge and IE. +* Correct inconsistent `box-sizing` for `hr` in Firefox. +* Correct inconsistent `text-decoration` and `border-bottom` for `abbr[title]` + in Chrome, Edge, Firefox IE, Opera, and Safari. +* Correct inheritance and scaling of `font-size` for preformatted text. +* Correct `legend` text wrapping not present in Edge and IE. +* Remove unnecessary normalization of `line-height` for `input`. +* Remove unnecessary normalization of `color` for form controls. +* Remove unnecessary `box-sizing` for `input[type="search"]` in Chrome, Edge, + Firefox, IE, and Safari. +* Remove opinionated table resets. +* Remove opinionated `pre` overflow. +* Remove selector weight from some input selectors. +* Update normalization of `border-style` for `img`. +* Update normalization of `color` inheritance for `legend`. +* Update normalization of `background-color` for `mark`. +* Update normalization of `outline` for `:-moz-focusring` removed by a previous + normalization in Firefox. +* Update opinionated style of `outline-width` for `a:active` and `a:hover`. +* Update comments to identify opinionated styles. +* Update comments to specify browser/versions affected by all changes. +* Update comments to use one voice. + +--- + +### 3.0.3 (March 30, 2015) + +* Remove unnecessary vendor prefixes. +* Add `main` property. + +### 3.0.2 (October 4, 2014) + +* Only alter `background-color` of links in IE 10. +* Add `menu` element to HTML5 display definitions. + +### 3.0.1 (March 27, 2014) + +* Add package.json for npm support. + +### 3.0.0 (January 28, 2014) + +### 3.0.0-rc.1 (January 26, 2014) + +* Explicit tests for each normalization. +* Fix i18n for `q` element. +* Fix `pre` text formatting and overflow. +* Fix vertical alignment of `progress`. +* Address `button` overflow in IE 8/9/10. +* Revert `textarea` alignment modification. +* Fix number input button cursor in Chrome on OS X. +* Remove `a:focus` outline normalization. +* Fix `figure` margin normalization. +* Normalize `optgroup`. +* Remove default table cell padding. +* Set correct display for `progress` in IE 8/9. +* Fix `font` and `color` inheritance for forms. + +--- + +### 2.1.3 (August 26, 2013) + +* Fix component.json. +* Remove the gray background color from active links in IE 10. + +### 2.1.2 (May 11, 2013) + +* Revert root `color` and `background` normalizations. + +### 2.1.1 (April 8, 2013) + +* Normalize root `color` and `background` to counter the effects of system + color schemes. + +### 2.1.0 (January 21, 2013) + +* Normalize `text-transform` for `button` and `select`. +* Normalize `h1` margin when within HTML5 sectioning elements. +* Normalize `hr` element. +* Remove unnecessary `pre` styles. +* Add `main` element to HTML5 display definitions. +* Fix cursor style for disabled button `input`. + +### 2.0.1 (August 20, 2012) + +* Remove stray IE 6/7 `inline-block` hack from HTML5 display settings. + +### 2.0.0 (August 19, 2012) + +* Remove legacy browser form normalizations. +* Remove all list normalizations. +* Add `quotes` normalizations. +* Remove all heading normalizations except `h1` font size. +* Form elements automatically inherit `font-family` from ancestor. +* Drop support for IE 6/7, Firefox < 4, and Safari < 5. + +--- + +### 1.0.1 (August 19, 2012) + +* Adjust `small` font size normalization. + +### 1.0.0 (August 14, 2012) + +(Only the notable changes since public release) + +* Add MIT License. +* Hide `audio` elements without controls in iOS 5. +* Normalize heading margins and font size. +* Move font-family normalization from `body` to `html`. +* Remove scrollbar normalization. +* Remove excess padding from checkbox and radio inputs in IE 7. +* Add IE9 correction for SVG overflow. +* Add fix for legend not inheriting color in IE 6/7/8/9. diff --git a/node_modules/normalize.css/LICENSE.md b/node_modules/normalize.css/LICENSE.md new file mode 100644 index 000000000..43b5ddcc9 --- /dev/null +++ b/node_modules/normalize.css/LICENSE.md @@ -0,0 +1,21 @@ +# The MIT License (MIT) + +Copyright © Nicolas Gallagher and Jonathan Neal + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/normalize.css/README.md b/node_modules/normalize.css/README.md new file mode 100644 index 000000000..972f68c4a --- /dev/null +++ b/node_modules/normalize.css/README.md @@ -0,0 +1,133 @@ +# normalize.css + +Normalize Logo + +> A modern alternative to CSS resets + +[![npm][npm-image]][npm-url] [![license][license-image]][license-url] +[![changelog][changelog-image]][changelog-url] +[![gitter][gitter-image]][gitter-url] + + +**NPM** + +```sh +npm install --save normalize.css +``` + +**Bower** + +```sh +bower install --save normalize-css +``` + +**CDN** + +See https://cdnjs.com/libraries/normalize + +**Download** + +See https://necolas.github.io/normalize.css/latest/normalize.css + + +## What does it do? + +* Preserves useful defaults, unlike many CSS resets. +* Normalizes styles for a wide range of elements. +* Corrects bugs and common browser inconsistencies. +* Improves usability with subtle modifications. +* Explains what code does using detailed comments. + + +## Browser support + +* Chrome (last two) +* Edge (last two) +* Firefox (last two) +* Firefox ESR +* Internet Explorer 8+ +* iOS Safari (last two) +* Opera (last two) +* Safari 6+ + +*[Normalize.css v1 provides legacy browser support] +(https://github.com/necolas/normalize.css/tree/v1) (IE 6+, Safari 4+), +but is no longer actively developed.* + + +## Extended details and known issues + +Additional detail and explanation of the esoteric parts of normalize.css. + +#### `pre, code, kbd, samp` + +The `font-family: monospace, monospace` hack fixes the inheritance and scaling +of font-size for preformatted text. The duplication of `monospace` is +intentional. [Source](https://en.wikipedia.org/wiki/User:Davidgothberg/Test59). + +#### `sub, sup` + +Normally, using `sub` or `sup` affects the line-box height of text in all +browsers. [Source](https://gist.github.com/413930). + +#### `svg:not(:root)` + +Adding `overflow: hidden` fixes IE9's SVG rendering. Earlier versions of IE +don't support SVG, so we can safely use the `:not()` and `:root` selectors that +modern browsers use in the default UA stylesheets to apply this style. [Source] +(https://lists.w3.org/Archives/Public/public-svg-wg/2008JulSep/0339.html). + +#### `select` + +By default, Chrome on OS X and Safari on OS X allow very limited styling of +`select`, unless a border property is set. The default font weight on `optgroup` +elements cannot safely be changed in Chrome on OSX and Safari on OS X. + +#### `[type="checkbox"]` + +It is recommended that you do not style checkbox and radio inputs as Firefox's +implementation does not respect box-sizing, padding, or width. + +#### `[type="number"]` + +Certain font size values applied to number inputs cause the cursor style of the +decrement button to change from `default` to `text`. + +#### `[type="search"]` + +The search input is not fully stylable by default. In Chrome and Safari on +OSX/iOS you can't control `font`, `padding`, `border`, or `background`. In +Chrome and Safari on Windows you can't control `border` properly. It will apply +`border-width` but will only show a border color (which cannot be controlled) +for the outer 1px of that border. Applying `-webkit-appearance: textfield` +addresses these issues without removing the benefits of search inputs (e.g. +showing past searches). Safari (but not Chrome) will clip the cancel button on +when it has padding (and `textfield` appearance). + +#### `::placeholder` + +In Edge, placeholders will disappear on `relative` or `absolute` positioned +`` elements if you use `opacity` less than `1` due to a [bug](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3901363/). + +## Contributing + +Please read the [contribution guidelines](CONTRIBUTING.md) in order to make the +contribution process easy and effective for everyone involved. + + +## Acknowledgements + +Normalize.css is a project by [Nicolas Gallagher](https://github.com/necolas), +co-created with [Jonathan Neal](https://github.com/jonathantneal). + + +[changelog-image]: https://img.shields.io/badge/changelog-md-blue.svg?style=flat-square +[changelog-url]: CHANGELOG.md +[license-image]: https://img.shields.io/npm/l/normalize.css.svg?style=flat-square +[license-url]: LICENSE.md +[npm-image]: https://img.shields.io/npm/v/normalize.css.svg?style=flat-square +[npm-url]: https://www.npmjs.com/package/normalize.css +[gitter-image]: https://img.shields.io/badge/chat-gitter-blue.svg?style=flat-square +[gitter-url]: https://gitter.im/necolas/normalize.css diff --git a/node_modules/normalize.css/normalize.css b/node_modules/normalize.css/normalize.css new file mode 100644 index 000000000..b26c10095 --- /dev/null +++ b/node_modules/normalize.css/normalize.css @@ -0,0 +1,427 @@ +/*! normalize.css v6.0.0 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in + * IE on Windows Phone and in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + */ + +article, +aside, +footer, +header, +nav, +section { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + * 1. Add the correct display in IE. + */ + +figcaption, +figure, +main { /* 1 */ + display: block; +} + +/** + * Add the correct margin in IE 8. + */ + +figure { + margin: 1em 40px; +} + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * 1. Remove the gray background on active links in IE 10. + * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. + */ + +a { + background-color: transparent; /* 1 */ + -webkit-text-decoration-skip: objects; /* 2 */ +} + +/** + * 1. Remove the bottom border in Chrome 57- and Firefox 39-. + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Prevent the duplicate application of `bolder` by the next rule in Safari 6. + */ + +b, +strong { + font-weight: inherit; +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font style in Android 4.3-. + */ + +dfn { + font-style: italic; +} + +/** + * Add the correct background and color in IE 9-. + */ + +mark { + background-color: #ff0; + color: #000; +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + */ + +audio, +video { + display: inline-block; +} + +/** + * Add the correct display in iOS 4-7. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Remove the border on images inside links in IE 10-. + */ + +img { + border-style: none; +} + +/** + * Hide the overflow in IE. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Forms + ========================================================================== */ + +/** + * Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + margin: 0; +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` + * controls in Android 4. + * 2. Correct the inability to style clickable types in iOS and Safari. + */ + +button, +html [type="button"], /* 1 */ +[type="reset"], +[type="submit"] { + -webkit-appearance: button; /* 2 */ +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * 1. Add the correct display in IE 9-. + * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ +} + +/** + * Remove the default vertical scrollbar in IE. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10-. + * 2. Remove the padding in IE 10-. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding and cancel buttons in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in IE 9-. + * 1. Add the correct display in Edge, IE, and Firefox. + */ + +details, /* 1 */ +menu { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Scripting + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + */ + +canvas { + display: inline-block; +} + +/** + * Add the correct display in IE. + */ + +template { + display: none; +} + +/* Hidden + ========================================================================== */ + +/** + * Add the correct display in IE 10-. + */ + +[hidden] { + display: none; +} diff --git a/node_modules/normalize.css/package.json b/node_modules/normalize.css/package.json new file mode 100644 index 000000000..c55cebc4f --- /dev/null +++ b/node_modules/normalize.css/package.json @@ -0,0 +1,37 @@ +{ + "name": "normalize.css", + "version": "6.0.0", + "description": "A modern alternative to CSS resets", + "main": "normalize.css", + "style": "normalize.css", + "files": [ + "LICENSE.md", + "normalize.css" + ], + "devDependencies": { + "stylelint": "^7.9.0", + "stylelint-config-standard": "^16.0.0" + }, + "scripts": { + "test": "stylelint normalize.css" + }, + "repository": "necolas/normalize.css", + "contributors": [ + "Jonathan Neal (http://jonathantneal.com/)", + "Nicolas Gallagher (http://nicolasgallagher.com/)" + ], + "license": "MIT", + "bugs": "https://github.com/necolas/normalize.css/issues", + "homepage": "https://necolas.github.io/normalize.css", + "stylelint": { + "extends": "stylelint-config-standard", + "rules": { + "font-family-no-duplicate-names": [ + true, + { + "ignoreFontFamilyNames": ["monospace"] + } + ] + } + } +} diff --git a/node_modules/suitcss-base/CHANGELOG.md b/node_modules/suitcss-base/CHANGELOG.md new file mode 100644 index 000000000..139a11131 --- /dev/null +++ b/node_modules/suitcss-base/CHANGELOG.md @@ -0,0 +1,71 @@ +### HEAD + +### 3.0.0 (April 28th, 2017) + +* Update normalize to `^6.0.0` +* Add reset rules removed from normalize + +### 2.0.0 (April 11, 2016) + +* Update normalize to `^4.0.0` +* Update stylelint-config-suitcss to `^5.0.0` + +### 1.0.2 (February 28, 2016) + +* Update preprocessor to `^1.0.1` +* Fix `max-line-length` error with stylelint + +### 1.0.1 (October 31, 2015) + +* Revert removal of `component.json` + +### 1.0.0 (October 25, 2015) + +* Use `box-sizing: border-box;` as a default +* Remove `bower.json` and `component.json` + +### 0.8.0 (October 28, 2014) + +* Add support for JS bundling. +* Remove typography and link color configuration. + +### 0.7.0 (June 26, 2014) + +* Change variable names. +* Add `.css` extension to imports for interoperability. + +### 0.6.0 (June 21, 2014) + +* Support npm-based workflow. +* Add preprocessor build tools; +* Work around a Firefox/IE bug that removes `button` focus styles. + +### 0.5.0 (May 20, 2014) + +* Update to use latest variable syntax. +* Reset default 'button' styles. + +### 0.4.0 (March 27, 2014) + +* Add npm support. +* Add SUIT-style Component(1) build pipeline. +* Depend on 'normalize.css' 3.0.x. +* Introduce base theme variables for `html` and `a`. +* Remove default `figure` margin. + +### 0.3.0 (November 20, 2013) + +* Add `!important` to the `tabindex=-1` styles. +* Update Bower ignores. +* Add 'suit-test' as a development dependency. +* Use Component(1) for development. +* Add CSS linting and configuration. + +### 0.2.0 (August 25, 2013) + +* Remove focus outline from elements removed from the keyboard tab flow. +* Remove default border from iframes. + +### 0.1.0 (June 1, 2013) + +* Initial release. diff --git a/node_modules/suitcss-base/LICENSE.md b/node_modules/suitcss-base/LICENSE.md new file mode 100644 index 000000000..9339ff67b --- /dev/null +++ b/node_modules/suitcss-base/LICENSE.md @@ -0,0 +1,19 @@ +Copyright (c) Nicolas Gallagher + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/suitcss-base/README.md b/node_modules/suitcss-base/README.md new file mode 100644 index 000000000..41198286c --- /dev/null +++ b/node_modules/suitcss-base/README.md @@ -0,0 +1,50 @@ +# SUIT CSS base + +[![Build Status](https://travis-ci.org/suitcss/base.svg?branch=master)](https://travis-ci.org/suitcss/base) + +Base styles for web applications. Provides a thin layer on top of +[Normalize.css](https://github.com/necolas/normalize.css). + +Read more about how to use [SUIT CSS](https://github.com/suitcss/suit/). + +## Installation + +* [npm](http://npmjs.org/): `npm install suitcss-base` +* [Component(1)](http://github.com/component/component): `component install suitcss/base` +* [Download](https://github.com/suitcss/base/releases) + +## Testing + +Install [Node](http://nodejs.org) (comes with npm). + +``` +npm install +``` + +To generate a build: + +``` +npm run build +``` + +To lint code with [postcss-bem-linter](https://github.com/postcss/postcss-bem-linter) and [stylelint](http://stylelint.io/) + +``` +npm run lint +``` + +To generate the testing build. + +``` +npm run build-test +``` + +Basic visual tests are in `test/index.html`. + +## Browser support + +* Google Chrome +* Firefox +* Safari +* Opera +* Internet Explorer 9+ diff --git a/node_modules/suitcss-base/index.css b/node_modules/suitcss-base/index.css new file mode 100644 index 000000000..744269c15 --- /dev/null +++ b/node_modules/suitcss-base/index.css @@ -0,0 +1,2 @@ +@import "normalize.css"; +@import "./lib/base.css"; diff --git a/node_modules/suitcss-base/index.js b/node_modules/suitcss-base/index.js new file mode 100644 index 000000000..5a4359e7d --- /dev/null +++ b/node_modules/suitcss-base/index.js @@ -0,0 +1,2 @@ +require('normalize.css/normalize.css'); +require('./lib/base.css'); diff --git a/node_modules/suitcss-base/lib/base.css b/node_modules/suitcss-base/lib/base.css new file mode 100644 index 000000000..7d2bc851a --- /dev/null +++ b/node_modules/suitcss-base/lib/base.css @@ -0,0 +1,118 @@ +/** + * A thin layer on top of normalize.css that provides a starting point more + * suitable for web applications. + */ + +/** + * 1. Prevent padding and border from affecting element width + * https://goo.gl/pYtbK7 + * 2. Change the default font family in all browsers + */ + +html { + box-sizing: border-box; /* 1 */ + font-family: sans-serif; /* 2 */ +} + +*, +*::before, +*::after { + box-sizing: inherit; +} + +/** + * Removes the default spacing and border for appropriate elements. + */ + +body, +blockquote, +dl, +dd, +h1, +h2, +h3, +h4, +h5, +h6, +figure, +p, +pre { + margin: 0; +} + +button { + background: transparent; + border: 0; + padding: 0; +} + +/** + * Work around a Firefox/IE bug where the transparent `button` background + * results in a loss of the default `button` focus styles. + */ + +button:focus { + outline: 1px dotted; + outline: 5px auto -webkit-focus-ring-color; +} + +fieldset { + border: 0; + margin: 0; + padding: 0; +} + +iframe { + border: 0; +} + +ol, +ul { + list-style: none; + margin: 0; + padding: 0; +} + +/** + * Suppress the focus outline on elements that cannot be accessed via keyboard. + * This prevents an unwanted focus outline from appearing around elements that + * might still respond to pointer events. + */ + +[tabindex="-1"]:focus { + outline: none !important; +} + +/** + * Remove the outline on focused links when they are also active or hovered + * in all browsers. + */ + +a:active, +a:hover { + outline-width: 0; +} + +/** + * Change the font styles in all browsers. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: sans-serif; + font-size: 100%; + line-height: 1.15; +} + +/** + * Change the border, margin, and padding in all browsers. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} diff --git a/node_modules/suitcss-base/package.json b/node_modules/suitcss-base/package.json new file mode 100644 index 000000000..dbf8e9631 --- /dev/null +++ b/node_modules/suitcss-base/package.json @@ -0,0 +1,44 @@ +{ + "name": "suitcss-base", + "version": "3.0.0", + "description": "CSS base styles", + "keywords": [ + "base", + "browser", + "css", + "normalize-css", + "suitcss", + "style" + ], + "homepage": "https://github.com/suitcss/base#readme", + "bugs": "https://github.com/suitcss/base/labels/bug", + "license": "MIT", + "author": "Nicolas Gallagher", + "files": [ + "index.css", + "index.js", + "lib" + ], + "style": "index.css", + "repository": { + "type": "git", + "url": "git://github.com/suitcss/base.git" + }, + "scripts": { + "build": "npm run setup && npm run preprocess", + "build-test": "npm run setup && npm run preprocess-test", + "lint": "suitcss -e index.css build/lint.css && rm build/lint.css", + "preprocess": "suitcss index.css build/build.css", + "preprocess-test": "suitcss -i test test/test.css build/test.css", + "setup": "npm install", + "watch": "npm run preprocess-test -- -w -v", + "test": "npm run lint" + }, + "dependencies": { + "normalize.css": "^6.0.0" + }, + "devDependencies": { + "suitcss-components-test": "*", + "suitcss-preprocessor": "^4.0.0" + } +} diff --git a/src/base/base.less b/src/base/base.less index 53933a6ff..fbd145294 100644 --- a/src/base/base.less +++ b/src/base/base.less @@ -1,5 +1,10 @@ -@import (less) "../../../../node_modules/normalize.css/normalize.css"; -@import (less) "../../../../node_modules/suitcss-base/lib/base.css"; +// For local dev +@import (less, optional) "../../node_modules/normalize.css/normalize.css"; +@import (less, optional) "../../node_modules/suitcss-base/lib/base.css"; + +// For real projects +@import (less, optional) "../../../../node_modules/normalize.css/normalize.css"; +@import (less, optional) "../../../../node_modules/suitcss-base/lib/base.css"; @-moz-viewport { width: device-width; } @-ms-viewport { width: device-width; } diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 000000000..69b598e55 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,13 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +normalize.css@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/normalize.css/-/normalize.css-6.0.0.tgz#22188c2707c911fb3ad3c1aac0677ff68661bea8" + +suitcss-base@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/suitcss-base/-/suitcss-base-3.0.0.tgz#83dd53629c37adbdeac11ef6439a7f2ed955f05e" + dependencies: + normalize.css "^6.0.0"