pax_global_header00006660000000000000000000000064131070156050014510gustar00rootroot0000000000000052 comment=967536f3c9c4d82304767e2b6d4a17abc94f2b89 normalize-scss-7.0.0/000077500000000000000000000000001310701560500144655ustar00rootroot00000000000000normalize-scss-7.0.0/.gitignore000066400000000000000000000004021310701560500164510ustar00rootroot00000000000000# Exclude stuff specific to this project. node_modules /v[1-9] # Exclude IDE management files. # Eclipse .project .settings .buildpath # Netbeans netbeans nbproject # Komodo *.kpf # WebStorm .idea # Exclude hidden OS files. .DS_Store ._* Thumbs.db normalize-scss-7.0.0/.travis.yml000066400000000000000000000004371310701560500166020ustar00rootroot00000000000000# Configuration options are documented at: # http://docs.travis-ci.com/user/languages/javascript-with-nodejs/ sudo: false language: node_js node_js: - '0.12' - '4' - '5' - '6' # Skip npm posttest script on Node 0.12. script: ./bin/is-modern-node && npm test || npm run test-only normalize-scss-7.0.0/CODE_OF_CONDUCT.md000066400000000000000000000065041310701560500172710ustar00rootroot00000000000000# Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. ## Our Standards Examples of behavior that contributes to creating a positive environment include: * Using welcoming and inclusive language * Being respectful of differing viewpoints and experiences * Gracefully accepting constructive criticism * Focusing on what is best for the community * Showing empathy towards other community members Examples of unacceptable behavior by participants include: * The use of sexualized language or imagery and unwelcome sexual attention or advances * Trolling, insulting/derogatory comments, and personal or political attacks * Public or private harassment * Publishing others' private information, such as a physical or electronic address, without explicit permission * Other conduct which could reasonably be considered inappropriate in a professional setting ## Our Responsibilities Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. ## Scope This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include, but are not limited to: * using an official project e-mail address * posting via an official social media account, * acting as an appointed representative at an online or offline event, * or declaring your involvement in the project at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at virtually.johnalbin@gmail.com; please include "conduct" in the title of the email. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] [homepage]: http://contributor-covenant.org [version]: http://contributor-covenant.org/version/1/4/ normalize-scss-7.0.0/CONTRIBUTING.md000066400000000000000000000004361310701560500167210ustar00rootroot00000000000000# Contributing to normalize-scss Updates to most CSS rules should be reported to Necolas' upstream [Normalize.css project](http://necolas.github.com/normalize.css/). Updates to the Sass should be reported in the [Normalize-scss project](https://github.com/JohnAlbin/normalize-scss/). normalize-scss-7.0.0/LICENSE.md000066400000000000000000000021101310701560500160630ustar00rootroot00000000000000Copyright © Nicolas Gallagher and Jonathan Neal and John Albin Wilkins 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. normalize-scss-7.0.0/README.md000066400000000000000000000213171310701560500157500ustar00rootroot00000000000000# normalize-scss ## Latest versions For use with… | normalize-scss version -----------------------------|----------------------- Sass 3.4 or libSass | [7.0.0](https://github.com/JohnAlbin/normalize-scss/releases/tag/7.0.0)
combining normalize.css v7.0.0 with v1.1.3 Ruby Sass 3.3 | [3.0.3](https://github.com/JohnAlbin/normalize-scss/releases/tag/3.0.3)
combining normalize.css v3.0.3 with v1.1.3 Ruby Sass 3.2 | [2.2.0+normalize.2.1.3](https://github.com/JohnAlbin/normalize-scss/releases/tag/2.2.0%2Bnormalize.2.1.3)
combining normalize.css v2.1.3 with v1.1.3 ## The Sass port of normalize.css __This project is the Sass version of Normalize.css__, a collection of HTML element and attribute rulesets to normalize styles across all browsers. This port aims to use a light dusting of Sass to make Normalize even easier to integrate with your website. To learn about why Normalize.css is so amazing, skip to the "normalize.css" section below. This Sass port currently adds: * Vertical rhythm mixins: Allowing you to alter the font-size, line-height and margins in Normalize’s output without hacking the library. * Optional Eyeglass support. * Several ready-to-fork versions that integrate typography Sass modules like Typey, style guides built with KSS, or the legacy Compass module. # normalize.css v5 > A modern alternative to CSS resets Normalize.css is a customisable CSS file that makes browsers render all elements more consistently and in line with modern standards. The project relies on researching the differences between default browser styles in order to precisely target only the styles that need or benefit from normalizing. [View the test file](http://necolas.github.io/normalize.css/latest/test.html) ## 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. ## Install Install using one of the following methods: * Download directly from the [project page](https://github.com/JohnAlbin/normalize-scss/releases). * Install with [npm](http://npmjs.org/): `npm install --save normalize-scss` * Install with [Bower](http://bower.io/): `bower install --save normalize.scss` * Install with [Ruby Gem](https://rubygems.org/gems/normalize-scss): `gem install normalize-scss`
and, if using Compass, add `require "normalize-scss"` to your config.rb file. Note: if you want to alter the _normalize.scss file after installation (see "how to use it" below), you can use the `gem list --details normalize-scss` command to show you where the normalize-scss files were installed. ## How to use it There is a fantastic introduction to the project and brief instructions how to use it in the [About normalize.css article](http://nicolasgallagher.com/about-normalize-css/). You can use the Sass port of Normalize in one of several methods, following the "About normalize.css" article's suggestions: __Approach 1:__ Download and use normalize-scss as a starting point for your own project's base Sass, customising the values to match the design's requirements. (The best approach, _IMO_.) 1. Copy the normalize-scss files to your sass directory so that you can alter it as you include it in your project. To aid with this method, normalize-scss includes several ready-made "fork" versions: * [fork-versions/default](fork-versions/default) - Fork for libSass or Ruby Sass * [fork-versions/deprecated-compass](fork-versions/deprecated-compass) - Fork with Compass ([deprecated](https://github.com/Compass/compass/issues/1999)) * [fork-versions/typey](fork-versions/typey) - Fork with Typey * [fork-versions/typey-chroma-kss](fork-versions/typey-chroma-kss) - Fork with Typey, Chroma and KSS __Approach 2:__ Install and include normalize-scss untouched and then build upon it, overriding the defaults later in your Sass when necessary. Just import normalize-scss like any normal Sass module by: 1. Set variables to override the default normalize-scss variables. 2. (Optionally) add an additional `[path to]/normalize-scss/sass` import path for your Sass compiler, e.g. [node-sass' `includePaths`](https://github.com/sass/node-sass#includepaths) option or [Ruby Sass' `--load-path`](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#import) option. 3. Import with `@import "normalize";` or with `@import "[path to]/normalize-scss/sass/normalize";` (if you skipped step 2.) 4. Output the CSS rules with `@include normalize();` Alternatively, you can import normalize-scss immediately into your main Sass file without needing to use the `normalize()` mixin by: 1. (Optionally) set variables to override the default normalize-scss variables. 2. (Optionally) add an additional `[path to]/normalize-scss/sass` import path for your Sass compiler, e.g. [node-sass' `includePaths`](https://github.com/sass/node-sass#includepaths) option or [Ruby Sass' `--load-path`](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#import) option. 3. Import with `@import "normalize/import-now";` or with `@import "[path to]/normalize-scss/sass/normalize/import-now";` (if you skipped step 2.) Note: if you use [wiredep](https://github.com/taptapship/wiredep), normalize-scss's bower.json points at the normalize/import-now Sass partial. If you don't wish to immediately output the CSS, you will need to override the Sass partial that wiredep grabs from normalize-scss. ## Browser support * Chrome (last four) * Edge (version 25 and later) * Firefox (last four) * Firefox ESR * Internet Explorer 9+ * Opera (last four) * Safari (last four) ## 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). ## Contributing Please read Normalize.css' [contributing guidelines](https://github.com/necolas/normalize.css/blob/master/CONTRIBUTING.md). Updates to most CSS rules should be reported to the upstream [Normalize.css project](http://necolas.github.com/normalize.css/). Updates to the Sass should be reported in the [Normalize-scss project](https://github.com/JohnAlbin/normalize-scss/). ## Acknowledgements Normalize.css is a project by [Nicolas Gallagher](https://github.com/necolas), co-created with [Jonathan Neal](https://github.com/jonathantneal). This Sass port is a project by [John Albin Wilkins](http://john.albin.net). ## Other ports of Normalize.css For the record, there are several other Sass ports as well. Including: * https://github.com/waynegraham/compass-normalize-plugin * https://github.com/ksmandersen/compass-normalize * https://github.com/hail2u/normalize.scss * https://github.com/kristerkari/normalize.scss * https://github.com/krisbulman/normalize-libsass [![Build Status](https://travis-ci.org/JohnAlbin/normalize-scss.png?branch=master)](https://travis-ci.org/JohnAlbin/normalize-scss) normalize-scss-7.0.0/bin/000077500000000000000000000000001310701560500152355ustar00rootroot00000000000000normalize-scss-7.0.0/bin/is-modern-node000077500000000000000000000005721310701560500200070ustar00rootroot00000000000000#!/usr/bin/env node /* eslint-disable no-process-exit */ 'use strict'; // Checks for "v4." or greater. function isModernNode() { return /^v([4-9]|\d{2,})\.\S+$/.test(process.version); } if (!isModernNode()) { console.error('Node.js ' + process.version + 'detected; alternate script will be run.'); // Return a non-zero (false) value to the shell. process.exit(1); } normalize-scss-7.0.0/bower.json000066400000000000000000000014651310701560500165040ustar00rootroot00000000000000{ "name": "normalize-scss", "description": "This is the Sass version of Normalize.css, a collection of HTML element and attribute rulesets to normalize styles across all browsers. This port aims to use a light dusting of Sass to make Normalize even easier to integrate with your website.", "main": [ "sass/_normalize.scss" ], "authors": [ "John Albin Wilkins (http://john.albin.net/)" ], "license": "(MIT OR GPL-2.0)", "keywords": [ "sass", "normalize", "reset", "typography", "design", "ui" ], "homepage": "https://github.com/JohnAlbin/normalize-scss", "ignore": [ "**/.*", "CHANGELOG.md", "CONTRIBUTING.md", "lib", "node_modules", "normalize-scss.gemspec", "sache.json", "test.html", "test" ] } normalize-scss-7.0.0/fork-versions/000077500000000000000000000000001310701560500172745ustar00rootroot00000000000000normalize-scss-7.0.0/fork-versions/default/000077500000000000000000000000001310701560500207205ustar00rootroot00000000000000normalize-scss-7.0.0/fork-versions/default/README.md000066400000000000000000000004551310701560500222030ustar00rootroot00000000000000# Fork-able normalize-scss
for libSass or Ruby Sass ## Using with node-sass or libSass or Ruby Sass 1. Copy these files to your Sass project. 2. Start forking by altering/moving Sass variables found in `_variables.scss`. 3. Edit any CSS ruleset directly rather than overriding it in later Sass. normalize-scss-7.0.0/fork-versions/default/_normalize.scss000066400000000000000000000305251310701560500237610ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ @import 'variables'; @import 'vertical-rhythm'; // If we've customized any font variables, we'll need extra properties. @if $base-line-height != 24px or $base-unit != 'em' or $h2-font-size != 1.5 * $base-font-size or $h3-font-size != 1.17 * $base-font-size or $h4-font-size != 1 * $base-font-size or $h5-font-size != 0.83 * $base-font-size or $h6-font-size != 0.67 * $base-font-size or $indent-amount != 40px { $normalize-vertical-rhythm: true !global; } /* 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 { @if $base-font-family { /* Change the default font family in all browsers (opinionated). */ font-family: $base-font-family; } @if $base-font-size != 16px or $normalize-vertical-rhythm { // Correct old browser bug that prevented accessible resizing of text // when root font-size is set with px or em. font-size: ($base-font-size / 16px) * 100%; } @if $normalize-vertical-rhythm { // Establish a vertical rhythm unit using $base-font-size and // $base-line-height variables. line-height: ($base-line-height / $base-font-size) * 1em; /* 1 */ } @else { line-height: 1.15; /* 1 */ } -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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 { @include normalize-font-size($h1-font-size); @if $normalize-vertical-rhythm { @include normalize-line-height($h1-font-size); } @if $normalize-vertical-rhythm { /* Set 1 unit of vertical rhythm on the top and bottom margins. */ @include normalize-margin(1 0, $h1-font-size); } @else { margin: 0.67em 0; } } @if $normalize-vertical-rhythm { h2 { @include normalize-font-size($h2-font-size); @include normalize-line-height($h2-font-size); @include normalize-margin(1 0, $h2-font-size); } h3 { @include normalize-font-size($h3-font-size); @include normalize-line-height($h3-font-size); @include normalize-margin(1 0, $h3-font-size); } h4 { @include normalize-font-size($h4-font-size); @include normalize-line-height($h4-font-size); @include normalize-margin(1 0, $h4-font-size); } h5 { @include normalize-font-size($h5-font-size); @include normalize-line-height($h5-font-size); @include normalize-margin(1 0, $h5-font-size); } h6 { @include normalize-font-size($h6-font-size); @include normalize-line-height($h6-font-size); @include normalize-margin(1 0, $h6-font-size); } } /* Grouping content ========================================================================== */ @if $normalize-vertical-rhythm { /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ blockquote { @include normalize-margin(1 $indent-amount); } dl, ol, ul { @include normalize-margin(1 0); } /** * Turn off margins on nested lists. */ ol, ul { ol, ul { margin: 0; } } dd { margin: 0 0 0 $indent-amount; } ol, ul { padding: 0 0 0 $indent-amount; } } /** * Add the correct display in IE 9-. */ figcaption, figure { display: block; } /** * Add the correct margin in IE 8. */ figure { @if $normalize-vertical-rhythm { @include normalize-margin(1 $indent-amount); } @else { margin: 1em $indent-amount; } } /** * 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 */ } /** * Add the correct display in IE. */ main { display: block; } @if $normalize-vertical-rhythm { /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ p, pre { @include normalize-margin(1 0); } } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ %monospace { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } pre { @extend %monospace; } /* Links ========================================================================== */ /** * 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 */ } /* Text-level semantics ========================================================================== */ /** * 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; } code, kbd, samp { @extend %monospace; } /** * 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 ========================================================================== */ /** * Known issues: * - `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/). */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { @if $normalize-vertical-rhythm { @include normalize-line-height($base-font-size); /* 1 */ } @else { line-height: 1.15; /* 1 */ } font-family: if($base-font-family, $base-font-family, sans-serif); /* 1 */ font-size: 100%; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ &::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ &:-moz-focusring { outline: 1px dotted ButtonText; } } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 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. */ &::-webkit-search-cancel-button, &::-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 */ } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; @if $normalize-vertical-rhythm { /* * 1. Set 1 unit of vertical rhythm on the top and bottom margin. * 2. Set consistent space for the list style image. */ @include normalize-margin(1 0); /* 1 */ padding: 0 0 0 $indent-amount; /* 2 */ /** * Turn off margins on nested lists. */ menu &, ol &, ul & { margin: 0; } } } /* 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; } normalize-scss-7.0.0/fork-versions/default/_variables.scss000066400000000000000000000024661310701560500237340ustar00rootroot00000000000000// // Variables // // If you have an initialization partial (or equivalent), you should move these // lines to that file. NOTE: Edit the lines to remove "!default". // The font size set on the root html element. $base-font-size: 16px !default; // The base line height determines the basic unit of vertical rhythm. $base-line-height: 24px !default; // The length unit in which to output vertical rhythm values. // Supported values: px, em, rem. $base-unit: 'em' !default; // The default font family. $base-font-family: null !default; // The font sizes for h1-h6. $h1-font-size: 2 * $base-font-size !default; $h2-font-size: 1.5 * $base-font-size !default; $h3-font-size: 1.17 * $base-font-size !default; $h4-font-size: 1 * $base-font-size !default; $h5-font-size: 0.83 * $base-font-size !default; $h6-font-size: 0.67 * $base-font-size !default; // The amount lists and blockquotes are indented. $indent-amount: 40px !default; // The following variable controls whether normalize-scss will output // font-sizes, line-heights and block-level top/bottom margins that form a basic // vertical rhythm on the page, which differs from the original Normalize.css. // However, changing any of the variables above will cause // $normalize-vertical-rhythm to be automatically set to true. $normalize-vertical-rhythm: false !default; normalize-scss-7.0.0/fork-versions/default/_vertical-rhythm.scss000066400000000000000000000035531310701560500251040ustar00rootroot00000000000000// // Vertical Rhythm // // This is the minimal amount of code needed to create vertical rhythm in our // CSS. If you are looking for a robust solution, look at the excellent Typey // library. @see https://github.com/jptaranto/typey @function normalize-rhythm($value, $relative-to: $base-font-size, $unit: $base-unit) { @if unit($value) != px { @error "The normalize vertical-rhythm module only supports px inputs. The typey library is better."; } @if $unit == rem { @return ($value / $base-font-size) * 1rem; } @else if $unit == em { @return ($value / $relative-to) * 1em; } @else { // $unit == px @return $value; } } @mixin normalize-font-size($value, $relative-to: $base-font-size) { @if unit($value) != 'px' { @error "normalize-font-size() only supports px inputs. The typey library is better."; } font-size: normalize-rhythm($value, $relative-to); } @mixin normalize-rhythm($property, $values, $relative-to: $base-font-size) { $value-list: $values; $sep: space; @if type-of($values) == 'list' { $sep: list-separator($values); } @else { $value-list: append((), $values); } $normalized-values: (); @each $value in $value-list { @if unitless($value) and $value != 0 { $value: $value * normalize-rhythm($base-line-height, $relative-to); } $normalized-values: append($normalized-values, $value, $sep); } #{$property}: $normalized-values; } @mixin normalize-margin($values, $relative-to: $base-font-size) { @include normalize-rhythm(margin, $values, $relative-to); } @mixin normalize-line-height($font-size, $min-line-padding: 2px) { $lines: ceil($font-size / $base-line-height); // If lines are cramped include some extra leading. @if ($lines * $base-line-height - $font-size) < ($min-line-padding * 2) { $lines: $lines + 1; } @include normalize-rhythm(line-height, $lines, $font-size); } normalize-scss-7.0.0/fork-versions/deprecated-compass/000077500000000000000000000000001310701560500230375ustar00rootroot00000000000000normalize-scss-7.0.0/fork-versions/deprecated-compass/README.md000066400000000000000000000004011310701560500243110ustar00rootroot00000000000000# Fork-able normalize-scss
for Ruby Sass and Compass 1.0 1. Copy these files to your Sass project. 2. Start forking by altering/moving Sass variables found in `_variables.scss`. 3. Edit any CSS ruleset directly rather than overriding it in later Sass. normalize-scss-7.0.0/fork-versions/deprecated-compass/_normalize.scss000066400000000000000000000317351310701560500261040ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ @import "variables"; // After the default variables are set, import the required Compass partials. // Feel free to move these lines to your own initialization partial. @import "compass/css3/box-sizing"; @import "compass/typography/vertical_rhythm"; // If we've customized any font variables, we'll need extra properties. @if $base-font-size != 16px or $base-line-height != 24px or $rhythm-unit != 'em' or $h1-font-size != 2 * $base-font-size or $h2-font-size != 1.5 * $base-font-size or $h3-font-size != 1.17 * $base-font-size or $h4-font-size != 1 * $base-font-size or $h5-font-size != 0.83 * $base-font-size or $h6-font-size != 0.67 * $base-font-size or $indent-amount != 40px { $normalize-vertical-rhythm: true !global; } /* Document ========================================================================== */ /** * 1. Establish a vertical rhythm unit using $base-font-size, $base-line-height, * and $rhythm-unit variables. * 2. Correct old browser bug that prevented accessible resizing of text when * root font-size is set with px or em. * 3. Correct the line height in all browsers. */ @include establish-baseline(); /** * 1. Change the default font family in all browsers (opinionated). * 2. Prevent adjustments of font size after orientation changes in * IE on Windows Phone and in iOS. */ html { // Show a background image that can be used to debug your alignments. // @include debug-vertical-alignment(); font-family: $base-font-family; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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 { /* Set the font-size and line-height while keeping a proper vertical rhythm. */ @if $normalize-vertical-rhythm { @include adjust-font-size-to( $h1-font-size ); } @else { font-size: if($rhythm-unit == "px", $h1-font-size, unquote("#{$h1-font-size / $base-font-size}#{$rhythm-unit}")); } /* Set 1 unit of vertical rhythm on the top and bottom margins. */ @include leader(1, $h1-font-size); @include trailer(1, $h1-font-size); } @if $normalize-vertical-rhythm { h2 { @include adjust-font-size-to( $h2-font-size ); @include leader(1, $h2-font-size); @include trailer(1, $h2-font-size); } h3 { @include adjust-font-size-to( $h3-font-size ); @include leader(1, $h3-font-size); @include trailer(1, $h3-font-size); } h4 { @include adjust-font-size-to( $h4-font-size ); @include leader(1, $h4-font-size); @include trailer(1, $h4-font-size); } h5 { @include adjust-font-size-to( $h5-font-size ); @include leader(1, $h5-font-size); @include trailer(1, $h5-font-size); } h6 { @include adjust-font-size-to( $h6-font-size ); @include leader(1, $h6-font-size); @include trailer(1, $h6-font-size); } } /* Grouping content ========================================================================== */ @if $normalize-vertical-rhythm { /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ blockquote { @include output-rhythm(margin, rhythm(1) $indent-amount); } dl, ol, ul { @include output-rhythm(margin, rhythm(1) 0); } /** * Turn off margins on nested lists. */ ol, ul { ol, ul { margin: 0; } } dd { margin: 0 0 0 $indent-amount; } ol, ul { padding: 0 0 0 $indent-amount; } } /** * Add the correct display in IE 9-. */ figcaption, figure { display: block; } /** * Add the correct margin in IE 8. */ figure { @include output-rhythm(margin, rhythm(1) $indent-amount); } /** * 1. Add the correct box sizing in Firefox. * 2. Show the overflow in Edge and IE. */ hr { @include box-sizing(content-box); /* 1 */ height: 0; /* 1 */ overflow: visible; /* 2 */ } /** * Add the correct display in IE. */ main { display: block; } @if $normalize-vertical-rhythm { /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ p, pre { @include output-rhythm(margin, rhythm(1) 0); } } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ %monospace { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } pre { @extend %monospace; } /* Links ========================================================================== */ /** * 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 */ } /** * Remove the outline on focused links when they are also active or hovered * in all browsers (opinionated). */ a:active, a:hover { outline-width: 0; } /* Text-level semantics ========================================================================== */ /** * 1. Remove the bottom border in 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; } code, kbd, samp { @extend %monospace; } /** * 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 ========================================================================== */ /** * Known issues: * - `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/). */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { @if $normalize-vertical-rhythm { @include adjust-leading-to(1); /* 1 */ } @else { line-height: 1.15; /* 1 */ } font-family: $base-font-family; /* 1 */ font-size: 100%; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ &::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ &:-moz-focusring { outline: 1px dotted ButtonText; } } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 1. Add the correct box sizing in IE 10-. * 2. Remove the padding in IE 10-. */ [type="checkbox"], [type="radio"] { @include 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. */ &::-webkit-search-cancel-button, &::-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 */ } /** * Change the border, margin, and padding in all browsers (opinionated). */ fieldset { margin: 0 2px; /* Apply borders and padding that keep the vertical rhythm. */ border-color: #c0c0c0; @include apply-side-rhythm-border(top, $width: 1px, $lines: 0.35 ); @include apply-side-rhythm-border(bottom, $width: 1px, $lines: 0.65 ); @include apply-side-rhythm-border(left, $width: 1px, $lines: 0.625); @include apply-side-rhythm-border(right, $width: 1px, $lines: 0.625); } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; @if $normalize-vertical-rhythm { /* * 1. Set 1 unit of vertical rhythm on the top and bottom margin. * 2. Set consistent space for the list style image. */ @include output-rhythm(margin, rhythm(1) 0); /* 1 */ padding: 0 0 0 $indent-amount; /* 2 */ /** * Turn off margins on nested lists. */ menu &, ol &, ul & { margin: 0; } } } /* 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; } normalize-scss-7.0.0/fork-versions/deprecated-compass/_variables.scss000066400000000000000000000030421310701560500260420ustar00rootroot00000000000000// Variables // // If you have a base partial (or equivalent), you should move these lines to // that file. NOTE: Edit the lines to remove "!default". // @see http://compass-style.org/help/tutorials/best_practices/ // ============================================================================= // These 3 variables are copies of ones used in Compass' Vertical Rhythm module. // The font size set on the root html element. $base-font-size: 16px !default; // The base line height determines the basic unit of vertical rhythm. $base-line-height: 24px !default; // The length unit in which to output vertical rhythm values. // Supported values: px, em, rem. $rhythm-unit: 'em' !default; // The default font family. $base-font-family: sans-serif !default; // The font sizes for h1-h6. $h1-font-size: 2 * $base-font-size !default; $h2-font-size: 1.5 * $base-font-size !default; $h3-font-size: 1.17 * $base-font-size !default; $h4-font-size: 1 * $base-font-size !default; $h5-font-size: 0.83 * $base-font-size !default; $h6-font-size: 0.67 * $base-font-size !default; // The amount lists and blockquotes are indented. $indent-amount: 40px !default; // The following variable controls whether normalize-scss will output // font-sizes, line-heights and block-level top/bottom margins that form a basic // vertical rhythm on the page, which differs from the original Normalize.css. // However, changing any of the variables above will cause // $normalize-vertical-rhythm to be automatically set to true. $normalize-vertical-rhythm: false !default; normalize-scss-7.0.0/fork-versions/typey-chroma-kss/000077500000000000000000000000001310701560500225135ustar00rootroot00000000000000normalize-scss-7.0.0/fork-versions/typey-chroma-kss/README.md000066400000000000000000000030751310701560500237770ustar00rootroot00000000000000# Fork-able normalize-scss
for Typey, Chroma and KSS ## Using with node-sass 1. Copy these files to your Sass project. 2. This fork-able version requires: * [chroma](https://github.com/JohnAlbin/chroma) * [typey](https://github.com/jptaranto/typey) Add them to your package.json with: ```bash npm install --save-dev typey chroma-sass ``` 3. Add the dependencies' directories to your nodeSass' [`includePaths` option](https://github.com/sass/node-sass#includepaths). ```js var sass = require('node-sass'), path = require('path'); sass.render({ file: scss_filename, includePaths: [ path.dirname(require.resolve('chroma-sass')), path.dirname(require.resolve('typey')) ] }, function(err, result) { /*...*/ }); ``` ## Using with libSass If you are not using node-sass with libSass, you probably already know how to include 3rd party libraries into your Sass project. 1. Copy these files to your Sass project. 2. This fork-able version requires the [chroma](https://github.com/JohnAlbin/chroma) Sass module and the [typey](https://github.com/jptaranto/typey) Sass module. Add chroma's `sass` directory and typey's `stylesheets` directory to your libSass include paths in the "usual way". ## Using with Ruby Sass In addition to copying these files to your Sass project, you'll also need to: 1. Edit your `Gemfile` file to add: ```ruby gem 'chroma-sass', '~> 1.0' gem 'typey', '~> 1.0.0' ``` 2. If you use Compass, edit your `config.rb` file to add: ```ruby require 'chroma-sass' require 'typey' ``` 3. Update your local Gems with: ``` bundle install ``` normalize-scss-7.0.0/fork-versions/typey-chroma-kss/_init.scss000066400000000000000000000025551310701560500245210ustar00rootroot00000000000000// Initialization partial // // To make it easier to use all variables and mixins in any Sass file in this // project, each .scss file has a `@import 'init';` declaration. The _init.scss // file is in charge of importing all the other partials needed for the // project. // // The initialization partial is organized in this way: // - First we set any shared Sass variables. // - Next we import Sass modules. // - Last we define our custom mixins for this project. // // Weight: -1 // // Style guide: sass.init // The following Sass functions/mixins are required to generate some variables' // values, so we load them first. @import 'chroma/functions'; @import 'init/colors'; @import 'init/variables'; // 3rd party libraries // // The following sass modules are shared with all .scss files: // - [Chroma](https://github.com/JohnAlbin/chroma) // - [Typey](https://github.com/jptaranto/typey) // // Additional pre-built libraries can be found on the [Sache website](http://www.sache.in/). // // Style guide: sass.modules // Add Chroma to manage colors. @import 'chroma'; @import 'chroma/kss'; // Add typey to manage font sizes and margins. @import 'typey'; // Mixins // // Custom mixins used on this site. // // Weight: 1 // // Style guide: sass.mixins @import 'init/rtl/rtl'; // Functions // // Custom functions used on this site. // // Weight: 1 // // Style guide: sass.functions normalize-scss-7.0.0/fork-versions/typey-chroma-kss/base/000077500000000000000000000000001310701560500234255ustar00rootroot00000000000000normalize-scss-7.0.0/fork-versions/typey-chroma-kss/base/_fonts.scss000066400000000000000000000026541310701560500256210ustar00rootroot00000000000000// Font faces // // Instead of relying on the fonts that are available on a user's computer, you // can use web fonts which, like images, are resources downloaded to the user's // browser. Because of the bandwidth and rendering resources required, web fonts // should be used with care. // // Numerous resources for web fonts can be found on Google. Here are a few // websites where you can find Open Source fonts to download: // - http://www.fontsquirrel.com/fontface // - http://www.theleagueofmoveabletype.com // - https://fonts.google.com // // In order to use these fonts, you will need to convert them into formats // suitable for web fonts. We recommend the free-to-use Font Squirrel's // Font-Face Generator: // http://www.fontsquirrel.com/fontface/generator // // The following is an example @font-face declaration. This font can then be // used in any ruleset using a property like this: font-family: Example, serif; // // Since we're using Sass, you'll need to declare your font faces here, then you // can add them to the font variables in the _init.scss partial. // @font-face { // font-family: 'Example'; // src: url('../fonts/example.eot'); // src: url('../fonts/example.eot?iefix') format('eot'), // url('../fonts/example.woff') format('woff'), // url('../fonts/example.ttf') format('truetype'), // url('../fonts/example.svg#webfontOkOndcij') format('svg'); // font-weight: normal; // font-style: normal; // } normalize-scss-7.0.0/fork-versions/typey-chroma-kss/base/_normalize.scss000066400000000000000000000013231310701560500264600ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ // Universal // ========================================================================== // Use the saner border-box model for all elements. * { box-sizing: border-box; } // Normalize-scss is broken into modular pieces to make it easier to edit. @import 'document/document'; @import 'sections/sections'; @import 'grouping/grouping'; @import 'links/links'; @import 'text/text'; @import 'embedded/embedded'; @import 'forms/forms'; @import 'tables/tables'; @import 'interactive/interactive'; @import 'scripting/scripting'; @import 'hidden/hidden'; // Note: we allow the .button component (loaded by forms) to override :link, by // loading links first. normalize-scss-7.0.0/fork-versions/typey-chroma-kss/base/document/000077500000000000000000000000001310701560500252435ustar00rootroot00000000000000normalize-scss-7.0.0/fork-versions/typey-chroma-kss/base/document/_document.scss000066400000000000000000000011651310701560500301200ustar00rootroot00000000000000// sass-lint:disable no-vendor-prefixes // Document // // The default font styles are inherited from the `` element. // // Style guide: base.document html { // Change the default font family in all browsers (opinionated). @include typeface(body); // Correct the line height in all browsers. @include define-type-sizing(); // Prevent adjustments of font size after orientation changes in IE on Windows // Phone and in iOS. -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; // On short pages, we want any background gradients to fill the entire height // of the browser. min-height: 100%; } normalize-scss-7.0.0/fork-versions/typey-chroma-kss/base/embedded/000077500000000000000000000000001310701560500251565ustar00rootroot00000000000000normalize-scss-7.0.0/fork-versions/typey-chroma-kss/base/embedded/_embedded.scss000066400000000000000000000017661310701560500277550ustar00rootroot00000000000000// Embedded content // // Weight: 2 // // Style guide: base.embedded // Audio // // Style guide: base.embedded.audio audio { // Add the correct display in IE 9-. display: inline-block; } // Add the correct display in iOS 4-7. audio:not([controls]) { display: none; height: 0; } // Image // // An `` element represents an image. // // Markup: embedded-img.twig // // Style guide: base.embedded.img img { // Remove the border on images inside links in IE 10-. border-style: none; } img, svg { // Suppress the space beneath the baseline // vertical-align: bottom; // Responsive images max-width: 100%; height: auto; } // Scalable vector // // A `` element represents an image encoded as a Scalable Vector Graphic. // // Markup: embedded-svg.twig // // Style guide: base.embedded.svg svg:not(:root) { // Hide the overflow in IE. overflow: hidden; } // Video // // Style guide: base.embedded.video video { // Add the correct display in IE 9-. display: inline-block; } ����������normalize-scss-7.0.0/fork-versions/typey-chroma-kss/base/embedded/embedded-img.twig�����������������0000664�0000000�0000000�00000000442�13107015605�0030355�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������

An image that is inline with other text.

An image inside a figure.
normalize-scss-7.0.0/fork-versions/typey-chroma-kss/base/embedded/embedded-svg.twig000066400000000000000000000024231310701560500304010ustar00rootroot00000000000000

A svg image that is inline with other text.

A svg inside a figure.
normalize-scss-7.0.0/fork-versions/typey-chroma-kss/base/forms/000077500000000000000000000000001310701560500245535ustar00rootroot00000000000000normalize-scss-7.0.0/fork-versions/typey-chroma-kss/base/forms/_forms.scss000066400000000000000000000155531310701560500267460ustar00rootroot00000000000000// sass-lint:disable no-vendor-prefixes, no-css-comments // Form defaults // // These are the default base styles applied to HTML form elements. // // Component classes can override these styles, but if no class applies a style // to an HTML form element, these styles will be the ones displayed. // // Weight: -1 // // Style guide: forms.base // // The following rules are from normalize.css and help to fix inconsistencies // across various browsers. You should probably leave these rules as is and jump // to the "Buttons" rule on line 92 before you start editing this file. // button, input, optgroup, select, textarea { // Change the font styles in all browsers (opinionated). @include typeface(body); @include line-height(1); font-size: 100%; // Keep form elements constrained in their containers. box-sizing: border-box; max-width: 100%; // Remove the margin in Firefox and Safari. margin: 0; } // Show the overflow in IE. button { overflow: visible; } // Remove the inheritance of text transform in Edge, Firefox, and IE. button, select { text-transform: none; } // Show the overflow in Edge. input { overflow: visible; } // 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; } [type='search'] { // Correct the odd appearance in Chrome and Safari. -webkit-appearance: textfield; // Correct the outline style in Safari. outline-offset: -2px; // Remove the inner padding and cancel buttons in Chrome and Safari on macOS. &::-webkit-search-cancel-button, &::-webkit-search-decoration { -webkit-appearance: none; } } ::-webkit-file-upload-button { // Correct the inability to style clickable types in iOS and Safari. -webkit-appearance: button; // Change font properties to `inherit` in Safari. font: inherit; } // Buttons // // Buttons built with the `

Link button Disabled link button

normalize-scss-7.0.0/fork-versions/typey-chroma-kss/init/000077500000000000000000000000001310701560500234565ustar00rootroot00000000000000normalize-scss-7.0.0/fork-versions/typey-chroma-kss/init/_colors.scss000066400000000000000000000026701310701560500260200ustar00rootroot00000000000000// sass-lint:disable indentation, no-color-keywords, no-color-hex // Colors // // Use the `color()` function to add colors to CSS properties. To learn more, // [read the Chroma documentation](http://johnalbin.github.io/chroma/). // // Markup: chroma.twig // // Weight: -1 // // Style guide: sass.colors // Define the default color scheme's color names. $chroma: define-default-color-scheme('branding', 'The site\'s main colors. Can be used to define colors in other color schemes.'); $chroma: add-colors(( black: #000, grey-dark: ('black' lighten 40%), // #666 'grey': ('black' lighten 60%), // #999 grey-light: ('black' lighten 80%), // #ccc grey-extra-light: ('black' lighten 93.33%), // #eee white: #fff, blue: #0072b9, red: #c00, yellow: #fd0, )); // Define color names for functional uses. $chroma: define-color-scheme('functional', 'Colors used by functional parts of the design.'); $chroma: add-colors('functional', ( // Colors used in the main content area. text: 'black', link: 'blue', link-visited: ('blue' darken 20%), link-active: 'red', border: 'grey-light', button: 'text', button-disabled: 'grey', mark-bg: 'yellow', )); $chroma-active-scheme: 'functional'; normalize-scss-7.0.0/fork-versions/typey-chroma-kss/init/_variables.scss000066400000000000000000000052621310701560500264670ustar00rootroot00000000000000// Variables // // Set variables for this site before a library sets its !default value. // // Style guide: sass.variables // Font faces, stacks and sizes. // // Font styling and line heights are controlled by the several variables that // used by mixins like `type-layout()`, `margin-top()`, and `margin-bottom()`. // These variable and mixins are documented on the [Typey // homepage](https://github.com/jptaranto/typey). // // Style guide: sass.variables.typey // The font size set on the root html element. $base-font-size: 16px; // The base line height determines the basic unit of vertical rhythm. $base-line-height: 24px; // The font sizes in our type hierarchy as tee shirt sizes. $font-size: ( xxl: 32px, xl: 24px, l: 20px, m: $base-font-size, s: 14px, xs: 10px ); // Typey allows you to alter font weights site-wide with this map. $font-weight: ( bold: bold, medium: 500, normal: normal, light: 300, lighter: lighter, ); // The following font family declarations use widely available fonts. // A user's web browser will look at the comma-separated list and will // attempt to use each font in turn until it finds one that is available // on the user's computer. The final "generic" font (sans-serif, serif or // monospace) hints at what type of font to use if the web browser doesn't // find any of the fonts in the list. // Sans-serif font stacks. $verdana: Verdana, Tahoma, 'DejaVu Sans', sans-serif; // Monospace font stacks. // For an explanation of why "sans-serif" is at the end of this list, see // http://meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/ $menlo: Menlo, 'DejaVu Sans Mono', 'Ubuntu Mono', Courier, 'Courier New', monospace, sans-serif; // The font faces you specify in the $typefaces map can be used in the // typeface() mixin. $typefaces: ( body: ( font-family: $verdana, ), monospace: ( font-family: $menlo, ), ); // Output a horizontal grid to help with debugging typography. $typey-debug: false; // The length unit in which to output font size and margin values. // Supported values: px, em, rem. $base-unit: 'rem'; // px fallbacks for rem units are needed for IE 8 and earlier. $rem-fallback: false; // Miscellaneous variables // // `$indent-amount` controls the amount lists, blockquotes and comments are indented. // // `$include-rtl` controls whether RTL styles are output. If set to `true, a `[dir="rtl"]` ruleset adds RTL language support. // // weight: 10 // // Style guide: sass.variables.misc $indent-amount: 2 * $base-font-size; $include-rtl: false; normalize-scss-7.0.0/fork-versions/typey-chroma-kss/init/rtl/000077500000000000000000000000001310701560500242575ustar00rootroot00000000000000normalize-scss-7.0.0/fork-versions/typey-chroma-kss/init/rtl/_rtl.scss000066400000000000000000000012061310701560500261130ustar00rootroot00000000000000$include-rtl: true !default; // rtl() // // Includes Right-To-Left language support by adding a parent selector of // `[dir="rtl"]`. Since the dir attribute is usually defined on the html element // of a page, using this mixin on a ruleset that matches the html element won't // work. // // Can be turned off globally by setting `$include-rtl: false;`. // // $selector = '[dir="rtl"]' - The RTL parent selector. // // Style guide: sass.mixins.rtl @mixin rtl($selector: '[dir="rtl"]') { @if $include-rtl { @if & { #{$selector} & { @content; } } @else { #{$selector} { @content; } } } } normalize-scss-7.0.0/fork-versions/typey-chroma-kss/styles.scss000066400000000000000000000031641310701560500247370ustar00rootroot00000000000000// // The major stylesheet for this project. // // We categorize our components by creating headings in this file. See the // description on the style guide home page for more information. // Colors and Sass // // Documentation for colors and Sass mixins and variables. // // Weight: -1 // // Style guide: sass @import 'init'; // Defaults // // These are the default base styles applied to HTML elements. // // Component classes can override these styles, but if no class applies a style // to an HTML element, these styles will be the ones displayed. // // Style guide: base // Ensure fonts get loaded first to minimize front-end performance impact. @import 'base/fonts'; @import 'base/normalize'; // Layouts // // The layout styling for major parts of the page that are included with the // theme. Note: some Panels layouts are included in other parts of the system // and are not documented. // // Style guide: layouts // Components // // Design components are reusable designs that can be applied using just the CSS // class names specified in the component. // // Weight: 1 // // Style guide: components // This file is @import'ed by base/grouping, so we don't import it again. // @import 'components/divider/divider'; // Navigation // // Navigation components are specialized design components that are used for // page navigation. // // Weight: 2 // // Style guide: navigation // Forms // // Form components are specialized design components that are applied to forms // or form elements. // // Weight: 3 // // Style guide: forms // This file is @import'ed by base/forms, so we don't import it again. // @import 'forms/button/button'; normalize-scss-7.0.0/fork-versions/typey/000077500000000000000000000000001310701560500204465ustar00rootroot00000000000000normalize-scss-7.0.0/fork-versions/typey/README.md000066400000000000000000000024571310701560500217350ustar00rootroot00000000000000# Fork-able normalize-scss
for Typey ## Using with node-sass 1. Copy these files to your Sass project. 2. This fork-able version requires the [typey](https://github.com/jptaranto/typey) Sass module. Add it to your package.json with: ```bash npm install --save-dev typey ``` 3. Add Typey's Sass directory to your nodeSass' [`includePaths` option](https://github.com/sass/node-sass#includepaths). ```js var sass = require('node-sass'), path = require('path'); sass.render({ file: scss_filename, includePaths: [ path.dirname(require.resolve('typey')) ] }, function(err, result) { /*...*/ }); ``` ## Using with libSass If you are using libSass but not using node-sass, you probably already know how to include 3rd party libraries into your Sass project. 1. Copy these files to your Sass project. 2. This fork-able version requires the [typey](https://github.com/jptaranto/typey) Sass module. Add typey's `stylesheets` directory to your libSass include paths in the "usual way". ## Using with Ruby Sass In addition to copying these files to your Sass project, you'll also need to: 1. Edit your `Gemfile` file to add: ```ruby gem 'typey', '~> 1.0.0' ``` 2. If you use Compass, edit your `config.rb` file to add: ```ruby require 'typey' ``` 3. Update your local Gems with: ``` bundle install ``` normalize-scss-7.0.0/fork-versions/typey/_normalize.scss000066400000000000000000000247361310701560500235160ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ @import 'variables'; @import 'typey'; /* Document ========================================================================== */ /** * 1. Change the default font family in all browsers (opinionated). * 2. Correct the line height in all browsers. * 3. Prevent adjustments of font size after orientation changes in * IE on Windows Phone and in iOS. */ html { @include typeface(body); /* 1 */ @include define-type-sizing(); /* 2 */ // Output a horizontal grid to help with debugging typography. The // $typey-debug variable will toggle its output. @include typey-debug-grid(); -ms-text-size-adjust: 100%; /* 3 */ -webkit-text-size-adjust: 100%; /* 3 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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 { @include type-layout(xxl, 2); /* Set 1 unit of vertical rhythm on the top and bottom margins. */ @include margin(1 0, xxl); } h2 { @include type-layout(xl, 1.5); @include margin(1 0, xl); } h3 { @include type-layout(l, 1); @include margin(1 0, l); } h4 { @include type-layout(m, 1); @include margin(1 0, m); } h5 { @include type-layout(s, 1); @include margin(1 0, s); } h6 { @include type-layout(xs, 1); @include margin(1 0, xs); } /* Grouping content ========================================================================== */ /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ blockquote { @include margin(1 $indent-amount); } dl, ol, ul { @include margin(1 0); } /** * Turn off margins on nested lists. */ ol, ul { ol, ul { margin: 0; } } dd { margin: 0 0 0 $indent-amount; } ol, ul { padding: 0 0 0 $indent-amount; } /** * Add the correct display in IE 9-. */ figcaption, figure { display: block; } /** * Add the correct margin in IE 8. */ figure { @include margin(1 $indent-amount); } /** * 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 */ } /** * Add the correct display in IE. */ main { display: block; } /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ p, pre { @include margin(1 0); } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ %monospace { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } pre { @extend %monospace; } /* Links ========================================================================== */ /** * 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 */ } /* Text-level semantics ========================================================================== */ /** * 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; } code, kbd, samp { @extend %monospace; } /** * 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 ========================================================================== */ /** * Known issues: * - `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/). */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { @include typeface(body); /* 1 */ @include line-height(1); /* 1 */ font-size: 100%; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ &::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ &:-moz-focusring { outline: 1px dotted ButtonText; } } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 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. */ &::-webkit-search-cancel-button, &::-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 */ } /** * Correct the padding in Firefox. */ fieldset { // Apply borders and padding that keep the vertical rhythm. @include padding(.35 .5 .65); border: 1px solid #c0c0c0; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * 1. Set 1 unit of vertical rhythm on the top and bottom margin. * 2. Add the correct display in IE 9-. * 3. Set consistent space for the list style image. */ menu { @include margin(1 0); /* 1 */ display: block; /* 2 */ padding: 0 0 0 $indent-amount; /* 3 */ /** * Turn off margins on nested lists. */ menu &, ol &, ul & { margin: 0; } } /* 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; } normalize-scss-7.0.0/fork-versions/typey/_variables.scss000066400000000000000000000024111310701560500234500ustar00rootroot00000000000000// // Variables // // If you have an initialization partial (or equivalent), you should move these // lines to that file. // The font size set on the root html element. $base-font-size: 16px !default; // The base line height determines the basic unit of vertical rhythm. $base-line-height: 24px !default; // The length unit in which to output font size and margin values. // Supported values: px, em, rem. $base-unit: 'rem' !default; // px fallbacks for rem units are needed for IE 8 and earlier. $rem-fallback: false !default; // The font faces you specify in the $typefaces map can be used in the // typeface() mixin. $typefaces: ( body: ( font-family: (sans-serif), ), monospace: ( font-family: (monospace, monospace), ), ) !default; // The font sizes for h1-h6 expressed as tee shirt sizes. $font-size: ( xxl: 32px, xl: 24px, l: 20px, m: $base-font-size, s: 14px, xs: 10px, ) !default; // The amount lists and blockquotes are indented. $indent-amount: 40px !default; // The following variable controls whether normalize-scss will output // font-sizes, line-heights and block-level top/bottom margins that form a basic // vertical rhythm on the page, which differs from the original Normalize.css. $normalize-vertical-rhythm: false !default; normalize-scss-7.0.0/lib/000077500000000000000000000000001310701560500152335ustar00rootroot00000000000000normalize-scss-7.0.0/lib/normalize-scss.rb000066400000000000000000000010051310701560500205250ustar00rootroot00000000000000project_path = File.join(File.dirname(__FILE__), '..') stylesheets_path = File.join(project_path, 'sass') if (defined? Compass) Compass::Frameworks.register( 'normalize-scss', :path => project_path, :stylesheets_directory => stylesheets_path ) else # Compass not defined, register the Sass path via an environment variable. if ENV.has_key?('SASS_PATH') ENV['SASS_PATH'] = ENV['SASS_PATH'] + File::PATH_SEPARATOR + stylesheets_path else ENV['SASS_PATH'] = stylesheets_path end end normalize-scss-7.0.0/normalize-scss.gemspec000066400000000000000000000020111310701560500207750ustar00rootroot00000000000000# -*- encoding: utf-8 -*- Gem::Specification.new do |spec| spec.name = 'normalize-scss' spec.summary = %q{The Sass version of Normalize.css} spec.description = %q{This is the Sass version of Normalize.css, a collection of HTML element and attribute rulesets to normalize styles across all browsers. This port aims to use a light dusting of Sass to make Normalize even easier to integrate with your website.} spec.homepage = 'https://github.com/JohnAlbin/normalize-scss' spec.rubyforge_project = spec.version = '7.0.0' spec.date = '2017-05-17' spec.licenses = ['MIT', 'GPL-2.0'] spec.authors = ['John Albin Wilkins'] spec.email = 'virtually.johnalbin@gmail.com' spec.add_runtime_dependency('sass', '~> 3.3') spec.files = `git ls-files`.split($/).select {|f| File.exist?(f) && f =~ %r{^(lib|sass)/} } spec.files += %w( bower.json CHANGELOG.md CONTRIBUTING.md LICENSE.md normalize-scss.gemspec package.json README.md ) end normalize-scss-7.0.0/package.json000066400000000000000000000024161310701560500167560ustar00rootroot00000000000000{ "name": "normalize-scss", "version": "7.0.0", "description": "This is the Sass version of Normalize.css, a collection of HTML element and attribute rulesets to normalize styles across all browsers. This port aims to use a light dusting of Sass to make Normalize even easier to integrate with your website.", "homepage": "https://github.com/JohnAlbin/normalize-scss", "bugs": { "url": "https://github.com/JohnAlbin/normalize-scss/issues" }, "repository": { "type": "git", "url": "git://github.com/JohnAlbin/normalize-scss.git" }, "author": "John Albin Wilkins (http://john.albin.net/)", "keywords": [ "eyeglass-module", "sass", "normalize" ], "main": "sass/_normalize.scss", "style": "sass/_normalize.scss", "eyeglass": { "sassDir": "sass", "exports": false, "name": "normalize", "needs": "*" }, "directories": { "lib": "sass", "test": "test" }, "scripts": { "test": "mocha", "posttest": "eslint test", "test-only": "mocha" }, "license": "(MIT OR GPL-2.0)", "devDependencies": { "chai": "^3.5.0", "chroma-sass": "^1.2.3", "eslint": "^3.8.0", "eyeglass": "^1.1.2", "mocha": "^3.1.2", "sassy-test": "^3.0.0", "typey": "^1.0.0" } } normalize-scss-7.0.0/sache.json000066400000000000000000000005471310701560500164510ustar00rootroot00000000000000{ "name": "Normalize-scss", "description": "This is the Sass version of Normalize.css, a collection of HTML element and attribute rulesets to normalize styles across all browsers. This port aims to use a light dusting of Sass to make Normalize even easier to integrate with your website.", "tags": ["normalize", "reset", "typography", "design", "ui"] } normalize-scss-7.0.0/sass/000077500000000000000000000000001310701560500154365ustar00rootroot00000000000000normalize-scss-7.0.0/sass/_normalize.scss000066400000000000000000000001511310701560500204670ustar00rootroot00000000000000@import 'normalize/variables'; @import 'normalize/vertical-rhythm'; @import 'normalize/normalize-mixin'; normalize-scss-7.0.0/sass/normalize/000077500000000000000000000000001310701560500174365ustar00rootroot00000000000000normalize-scss-7.0.0/sass/normalize/_import-now.scss000066400000000000000000000004041310701560500226030ustar00rootroot00000000000000// Import Now // // If you import this module directly, it will immediately output all the CSS // needed to normalize default HTML elements across all browsers. // // ``` // @import "normalize/import-now"; // ``` @import '../normalize'; @include normalize(); normalize-scss-7.0.0/sass/normalize/_normalize-mixin.scss000066400000000000000000000345131310701560500236220ustar00rootroot00000000000000// Helper function for the normalize() mixin. @function _normalize-include($section, $exclude: null) { // Initialize the global variables needed by this function. @if not global_variable_exists(_normalize-include) { $_normalize-include: () !global; $_normalize-exclude: () !global; } // Since we are given 2 parameters, set the global variables. @if $exclude != null { $include: $section; // Sass doesn't have static variables, so the work-around is to stuff these // values into global variables so we can access them in future calls. $_normalize-include: if(type-of($include) == 'list', $include, ($include)) !global; $_normalize-exclude: if(type-of($exclude) == 'list', $exclude, ($exclude)) !global; @return true; } // Check if $section is in the $include list. @if index($_normalize-include, $section) { @return true; } // If $include is set to (all), make sure $section is not in $exclude. @else if not index($_normalize-exclude, $section) and index($_normalize-include, all) { @return true; } @return false; } @mixin normalize($include: (all), $exclude: ()) { // Initialize the helper function by passing it this mixin's parameters. $init: _normalize-include($include, $exclude); // If we've customized any font variables, we'll need extra properties. @if $base-line-height != 24px or $base-unit != 'em' or $h2-font-size != 1.5 * $base-font-size or $h3-font-size != 1.17 * $base-font-size or $h4-font-size != 1 * $base-font-size or $h5-font-size != 0.83 * $base-font-size or $h6-font-size != 0.67 * $base-font-size { $normalize-vertical-rhythm: true !global; } /*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ @if _normalize-include(document) { /* 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 { @if $base-font-family { /* Change the default font family in all browsers (opinionated). */ font-family: $base-font-family; } @if $base-font-size != 16px or $normalize-vertical-rhythm { // Correct old browser bug that prevented accessible resizing of text // when root font-size is set with px or em. font-size: ($base-font-size / 16px) * 100%; } @if $normalize-vertical-rhythm { line-height: ($base-line-height / $base-font-size) * 1em; /* 1 */ } @else { line-height: 1.15; /* 1 */ } -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } } @if _normalize-include(sections) { /* Sections ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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 { @include normalize-font-size($h1-font-size); @if $normalize-vertical-rhythm { @include normalize-line-height($h1-font-size); } @if $normalize-vertical-rhythm { /* Set 1 unit of vertical rhythm on the top and bottom margins. */ @include normalize-margin(1 0, $h1-font-size); } @else { margin: 0.67em 0; } } @if $normalize-vertical-rhythm { h2 { @include normalize-font-size($h2-font-size); @include normalize-line-height($h2-font-size); @include normalize-margin(1 0, $h2-font-size); } h3 { @include normalize-font-size($h3-font-size); @include normalize-line-height($h3-font-size); @include normalize-margin(1 0, $h3-font-size); } h4 { @include normalize-font-size($h4-font-size); @include normalize-line-height($h4-font-size); @include normalize-margin(1 0, $h4-font-size); } h5 { @include normalize-font-size($h5-font-size); @include normalize-line-height($h5-font-size); @include normalize-margin(1 0, $h5-font-size); } h6 { @include normalize-font-size($h6-font-size); @include normalize-line-height($h6-font-size); @include normalize-margin(1 0, $h6-font-size); } } } @if _normalize-include(grouping) { /* Grouping content ========================================================================== */ @if $normalize-vertical-rhythm { /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ blockquote { @include normalize-margin(1 $indent-amount); } dl, ol, ul { @include normalize-margin(1 0); } /** * Turn off margins on nested lists. */ ol, ul { ol, ul { margin: 0; } } dd { margin: 0 0 0 $indent-amount; } ol, ul { padding: 0 0 0 $indent-amount; } } /** * Add the correct display in IE 9-. */ figcaption, figure { display: block; } /** * Add the correct margin in IE 8. */ figure { @if $normalize-vertical-rhythm { @include normalize-margin(1 $indent-amount); } @else { margin: 1em $indent-amount; } } /** * 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 */ } /** * Add the correct display in IE. */ main { display: block; } @if $normalize-vertical-rhythm { /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ p, pre { @include normalize-margin(1 0); } } /** * 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 */ } } @if _normalize-include(links) { /* Links ========================================================================== */ /** * 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 */ } } @if _normalize-include(text) { /* Text-level semantics ========================================================================== */ /** * 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; } } @if _normalize-include(embedded) { /* 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; } } @if _normalize-include(forms) { /* Forms ========================================================================== */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: if($base-font-family, $base-font-family, sans-serif); /* 1 */ font-size: 100%; /* 1 */ @if $normalize-vertical-rhythm { line-height: ($base-line-height / $base-font-size) * 1em; /* 1 */ } @else { line-height: 1.15; /* 1 */ } margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ &::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ &:-moz-focusring { outline: 1px dotted ButtonText; } } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 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. */ &::-webkit-search-cancel-button, &::-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 */ } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } } @if _normalize-include(interactive) { /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; @if $normalize-vertical-rhythm { /* * 1. Set 1 unit of vertical rhythm on the top and bottom margin. * 2. Set consistent space for the list style image. */ @include normalize-margin(1 0); /* 1 */ padding: 0 0 0 $indent-amount; /* 2 */ /** * Turn off margins on nested lists. */ menu &, ol &, ul & { margin: 0; } } } } @if _normalize-include(scripting) { /* Scripting ========================================================================== */ /** * Add the correct display in IE 9-. */ canvas { display: inline-block; } /** * Add the correct display in IE. */ template { display: none; } } @if _normalize-include(hidden) { /* Hidden ========================================================================== */ /** * Add the correct display in IE 10-. */ [hidden] { display: none; } } } normalize-scss-7.0.0/sass/normalize/_variables.scss000066400000000000000000000024411310701560500224430ustar00rootroot00000000000000// // Variables // // You can override the default values by setting the variables in your Sass // before importing the normalize-scss library. // The font size set on the root html element. $base-font-size: 16px !default; // The base line height determines the basic unit of vertical rhythm. $base-line-height: 24px !default; // The length unit in which to output vertical rhythm values. // Supported values: px, em, rem. $base-unit: 'em' !default; // The default font family. $base-font-family: null !default; // The font sizes for h1-h6. $h1-font-size: 2 * $base-font-size !default; $h2-font-size: 1.5 * $base-font-size !default; $h3-font-size: 1.17 * $base-font-size !default; $h4-font-size: 1 * $base-font-size !default; $h5-font-size: 0.83 * $base-font-size !default; $h6-font-size: 0.67 * $base-font-size !default; // The amount lists and blockquotes are indented. $indent-amount: 40px !default; // The following variable controls whether normalize-scss will output // font-sizes, line-heights and block-level top/bottom margins that form a basic // vertical rhythm on the page, which differs from the original Normalize.css. // However, changing any of the variables above will cause // $normalize-vertical-rhythm to be automatically set to true. $normalize-vertical-rhythm: false !default; normalize-scss-7.0.0/sass/normalize/_vertical-rhythm.scss000066400000000000000000000035531310701560500236220ustar00rootroot00000000000000// // Vertical Rhythm // // This is the minimal amount of code needed to create vertical rhythm in our // CSS. If you are looking for a robust solution, look at the excellent Typey // library. @see https://github.com/jptaranto/typey @function normalize-rhythm($value, $relative-to: $base-font-size, $unit: $base-unit) { @if unit($value) != px { @error "The normalize vertical-rhythm module only supports px inputs. The typey library is better."; } @if $unit == rem { @return ($value / $base-font-size) * 1rem; } @else if $unit == em { @return ($value / $relative-to) * 1em; } @else { // $unit == px @return $value; } } @mixin normalize-font-size($value, $relative-to: $base-font-size) { @if unit($value) != 'px' { @error "normalize-font-size() only supports px inputs. The typey library is better."; } font-size: normalize-rhythm($value, $relative-to); } @mixin normalize-rhythm($property, $values, $relative-to: $base-font-size) { $value-list: $values; $sep: space; @if type-of($values) == 'list' { $sep: list-separator($values); } @else { $value-list: append((), $values); } $normalized-values: (); @each $value in $value-list { @if unitless($value) and $value != 0 { $value: $value * normalize-rhythm($base-line-height, $relative-to); } $normalized-values: append($normalized-values, $value, $sep); } #{$property}: $normalized-values; } @mixin normalize-margin($values, $relative-to: $base-font-size) { @include normalize-rhythm(margin, $values, $relative-to); } @mixin normalize-line-height($font-size, $min-line-padding: 2px) { $lines: ceil($font-size / $base-line-height); // If lines are cramped include some extra leading. @if ($lines * $base-line-height - $font-size) < ($min-line-padding * 2) { $lines: $lines + 1; } @include normalize-rhythm(line-height, $lines, $font-size); } normalize-scss-7.0.0/test/000077500000000000000000000000001310701560500154445ustar00rootroot00000000000000normalize-scss-7.0.0/test/.eslintrc000066400000000000000000000047561310701560500173040ustar00rootroot00000000000000{ // http://eslint.org/docs/user-guide/configuring.html "root": true, "extends": "eslint:recommended", "env": { "mocha": true, "node": true }, "globals": { "expect": true, "path": true, "SassyTest": true }, "rules": { // Errors. "array-bracket-spacing": [2, "never"], "block-scoped-var": 2, "brace-style": [2, "1tbs", {"allowSingleLine": true}], "camelcase": 2, "comma-dangle": [2, "never"], "comma-spacing": 2, "comma-style": [2, "last"], "computed-property-spacing": [2, "never"], "consistent-this": [2, "self"], "curly": [2, "all"], "eol-last": 2, "eqeqeq": [2, "smart"], "guard-for-in": 2, "indent": [2, 2, {"SwitchCase": 1}], "key-spacing": [2, {"beforeColon": false, "afterColon": true}], "keyword-spacing": 2, "linebreak-style": [2, "unix"], "max-nested-callbacks": [2, 4], "new-parens": 2, "no-array-constructor": 2, "no-caller": 2, "no-catch-shadow": 2, "no-eval": 2, "no-extend-native": 2, "no-extra-bind": 2, "no-implied-eval": 2, "no-iterator": 2, "no-label-var": 2, "no-labels": [2, {"allowLoop": true, "allowSwitch": true}], "no-lone-blocks": 2, "no-loop-func": 2, "no-mixed-requires": [2, false], "no-multi-spaces": 2, "no-multi-str": 2, "no-native-reassign": 2, "no-nested-ternary": 2, "no-new-func": 2, "no-new-object": 2, "no-new-wrappers": 2, "no-octal-escape": 2, "no-process-exit": 2, "no-proto": 2, "no-return-assign": 2, "no-script-url": 2, "no-sequences": 2, "no-shadow-restricted-names": 2, "no-spaced-func": 2, "no-throw-literal": 2, "no-trailing-spaces": 2, "no-undef-init": 2, "no-undefined": 2, "no-unused-vars": 2, "no-with": 2, "object-curly-spacing": [2, "never"], "quote-props": [2, "consistent-as-needed"], "quotes": [2, "single", "avoid-escape"], "semi": [2, "always"], "semi-spacing": [2, {"before": false, "after": true}], "space-before-function-paren": [2, "never"], "space-in-parens": [2, "never"], "space-infix-ops": 2, "space-unary-ops": [2, { "words": true, "nonwords": false }], "spaced-comment": [2, "always"], "strict": [2, "global"], "valid-jsdoc": [2, { "prefer": { "return": "returns" }, "requireReturn": false }], "wrap-iife": 2, "yoda": [2, "never"], // Disabled. // Chai assertions are "unused" expressions. "no-unused-expressions": 0 } } normalize-scss-7.0.0/test/fixtures/000077500000000000000000000000001310701560500173155ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/eyeglass/000077500000000000000000000000001310701560500211315ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/eyeglass/import-normalize/000077500000000000000000000000001310701560500244415ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/eyeglass/import-normalize/input.scss000066400000000000000000000001101310701560500264650ustar00rootroot00000000000000@import 'normalize'; .test { @include normalize-rhythm(margin, 2); } normalize-scss-7.0.0/test/fixtures/eyeglass/import-normalize/output.css000066400000000000000000000000311310701560500265050ustar00rootroot00000000000000.test { margin: 3em; } normalize-scss-7.0.0/test/fixtures/eyeglass/node_modules/000077500000000000000000000000001310701560500236065ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/eyeglass/node_modules/normalize-scss000077700000000000000000000000001310701560500275532../../../../ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/eyeglass/package.json000066400000000000000000000005621310701560500234220ustar00rootroot00000000000000{ "name": "eyeglass-test", "version": "1.0.0", "description": "A test of Eyeglass integration.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "John Albin Wilkins (http://john.albin.net/)", "license": "GPL-2.0", "dependencies": { "normalize-scss": "*" } } normalize-scss-7.0.0/test/fixtures/fork-versions/000077500000000000000000000000001310701560500221245ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/fork-versions/default/000077500000000000000000000000001310701560500235505ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/fork-versions/default/input.scss000066400000000000000000000000251310701560500256010ustar00rootroot00000000000000@import "normalize"; normalize-scss-7.0.0/test/fixtures/fork-versions/default/output.css000066400000000000000000000221301310701560500256200ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* 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 ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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-. */ figcaption, figure { 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 */ } /** * Add the correct display in IE. */ main { display: block; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre, code, kbd, samp { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /* Links ========================================================================== */ /** * 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 */ } /* Text-level semantics ========================================================================== */ /** * 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; } /** * 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 ========================================================================== */ /** * Known issues: * - `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/). */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { line-height: 1.15; /* 1 */ font-family: sans-serif; /* 1 */ font-size: 100%; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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"], [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ /** * Restore the focus styles unset by the previous rule. */ } 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; } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 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 */ } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; } /* 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; } normalize-scss-7.0.0/test/fixtures/fork-versions/deprecated-compass/000077500000000000000000000000001310701560500256675ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/fork-versions/deprecated-compass/compass/000077500000000000000000000000001310701560500273345ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/fork-versions/deprecated-compass/compass/css3/000077500000000000000000000000001310701560500302075ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/fork-versions/deprecated-compass/compass/css3/_box-sizing.scss000066400000000000000000000003721310701560500333360ustar00rootroot00000000000000@mixin box-sizing($value) { @if support-legacy-browser(firefox, "28") { -moz-box-sizing: $value; } @if support-legacy-browser(safari, "5") or support-legacy-browser(chrome, "9") { -webkit-box-sizing: $value; } box-sizing: $value; } normalize-scss-7.0.0/test/fixtures/fork-versions/deprecated-compass/compass/typography/000077500000000000000000000000001310701560500315425ustar00rootroot00000000000000_vertical_rhythm.scss000066400000000000000000000021641310701560500357260ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/fork-versions/deprecated-compass/compass/typography@function rhythm($multiplier, $relative-to: $base-font-size) { @if $rhythm-unit == "px" { @return $multiplier * $base-line-height; } @else if $rhythm-unit == "em" { @return $multiplier * ($base-line-height / $relative-to) * 1em; } @return $multiplier * ($base-line-height / $base-font-size) * 1rem; } @function em($font-size) { @return ($font-size/$base-font-size) * 1em; } @mixin establish-baseline() { html { font-size: ($base-font-size/16px)*100%; line-height: rhythm(1); } } @mixin adjust-font-size-to($font-size) { font-size: em($font-size); line-height: rhythm(ceil(($font-size/$base-line-height) + .1), $font-size); } @mixin leader($multiplier, $relative-to) { margin-top: rhythm($multiplier, $relative-to); } @mixin trailer($multiplier, $relative-to) { margin-bottom: rhythm($multiplier, $relative-to); } @mixin output-rhythm($property, $value) { #{$property}: $value; } @mixin apply-side-rhythm-border($side, $width: 1px, $lines: 1) { #{'border-' + $side + '-width'}: em($width); #{'border-' + $side + '-style'}: solid; #{'padding-' + $side}: (rhythm($lines) - em($width)); } normalize-scss-7.0.0/test/fixtures/fork-versions/deprecated-compass/input.scss000066400000000000000000000000251310701560500277200ustar00rootroot00000000000000@import "normalize"; normalize-scss-7.0.0/test/fixtures/fork-versions/deprecated-compass/output.css000066400000000000000000000245321310701560500277470ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* Document ========================================================================== */ /** * 1. Establish a vertical rhythm unit using $base-font-size, $base-line-height, * and $rhythm-unit variables. * 2. Correct old browser bug that prevented accessible resizing of text when * root font-size is set with px or em. * 3. Correct the line height in all browsers. */ html { font-size: 100%; line-height: 1.5em; } /** * 1. Change the default font family in all browsers (opinionated). * 2. Prevent adjustments of font size after orientation changes in * IE on Windows Phone and in iOS. */ html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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 { /* Set the font-size and line-height while keeping a proper vertical rhythm. */ font-size: 2em; /* Set 1 unit of vertical rhythm on the top and bottom margins. */ margin-top: 0.75em; margin-bottom: 0.75em; } /* Grouping content ========================================================================== */ /** * Add the correct display in IE 9-. */ figcaption, figure { display: block; } /** * Add the correct margin in IE 8. */ figure { margin: 1.5em 40px; } /** * 1. Add the correct box sizing in Firefox. * 2. Show the overflow in Edge and IE. */ hr { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; /* 1 */ height: 0; /* 1 */ overflow: visible; /* 2 */ } /** * Add the correct display in IE. */ main { display: block; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre, code, kbd, samp { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /* Links ========================================================================== */ /** * 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 */ } /** * Remove the outline on focused links when they are also active or hovered * in all browsers (opinionated). */ a:active, a:hover { outline-width: 0; } /* Text-level semantics ========================================================================== */ /** * 1. Remove the bottom border in 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; } /** * 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 ========================================================================== */ /** * Known issues: * - `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/). */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { line-height: 1.15; /* 1 */ font-family: sans-serif; /* 1 */ font-size: 100%; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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"], [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ /** * Restore the focus styles unset by the previous rule. */ } 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; } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 1. Add the correct box sizing in IE 10-. * 2. Remove the padding in IE 10-. */ [type="checkbox"], [type="radio"] { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; 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 */ } /** * Change the border, margin, and padding in all browsers (opinionated). */ fieldset { margin: 0 2px; /* Apply borders and padding that keep the vertical rhythm. */ border-color: #c0c0c0; border-top-width: 0.0625em; border-top-style: solid; padding-top: 0.4625em; border-bottom-width: 0.0625em; border-bottom-style: solid; padding-bottom: 0.9125em; border-left-width: 0.0625em; border-left-style: solid; padding-left: 0.875em; border-right-width: 0.0625em; border-right-style: solid; padding-right: 0.875em; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; } /* 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; } normalize-scss-7.0.0/test/fixtures/fork-versions/typey-chroma-kss/000077500000000000000000000000001310701560500253435ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/fork-versions/typey-chroma-kss/input.scss000066400000000000000000000000221310701560500273710ustar00rootroot00000000000000@import 'styles'; normalize-scss-7.0.0/test/fixtures/fork-versions/typey-chroma-kss/output.css000066400000000000000000000143341310701560500274220ustar00rootroot00000000000000/*! typey | GPLv2 License | https://github.com/jptaranto/typey */ /*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ * { box-sizing: border-box; } html { font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif; font-size: 100%; line-height: 1.5em; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; min-height: 100%; } @media print { html { font-size: 12pt; } } body { margin: 0; padding: 0; } article, aside, footer, header, nav, section { display: block; } h1 { font-size: 2rem; line-height: 3rem; margin-top: 1.5rem; margin-bottom: 1.5rem; } h2 { font-size: 1.5rem; line-height: 2.25rem; margin-top: 1.5rem; margin-bottom: 1.5rem; } h3 { font-size: 1.25rem; line-height: 2.25rem; margin-top: 1.5rem; margin-bottom: 1.5rem; } h4 { font-size: 1rem; line-height: 1.5rem; margin-top: 1.5rem; margin-bottom: 1.5rem; } h5 { font-size: 0.875rem; line-height: 1.5rem; margin-top: 1.5rem; margin-bottom: 1.5rem; } h6 { font-size: 0.625rem; line-height: 1.5rem; margin-top: 1.5rem; margin-bottom: 1.5rem; } .divider, hr { margin: 1.5rem 0; border: 0; border-top: 1px solid #cccccc; } .divider > :first-child, hr > :first-child { margin-top: 1.5rem; } blockquote { margin: 1.5rem 2rem; } dl, ol, ul { margin: 1.5rem 0; } dd { margin: 0 0 0 32px; } ol, ul { padding: 0 0 0 32px; } ol ol, ol ul, ul ol, ul ul { margin: 0; } figure { margin: 1.5rem 2rem; display: block; } figcaption { display: block; } hr { box-sizing: content-box; height: 0; overflow: visible; } main { display: block; } p, pre { margin: 1.5rem 0; } pre, code, kbd, samp { font-family: Menlo, "DejaVu Sans Mono", "Ubuntu Mono", Courier, "Courier New", monospace, sans-serif; font-size: 1em; } a { color: #0072b9; -webkit-text-decoration-skip: objects; } :visited { color: #003353; } a:active { color: #c00; } a:active:not(.button) { background-color: transparent; } @media print { :link, :visited { text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; font-weight: normal; font-size: 16px; text-decoration: none; } a[href^='javascript:']:after, a[href^='#']:after { content: ''; } } abbr[title] { border-bottom: 0; text-decoration: underline; text-decoration: underline dotted; } @media print { abbr[title]:after { content: " (" attr(title) ")"; } } b, strong { font-weight: inherit; } b, strong { font-weight: bolder; } dfn { font-style: italic; } mark { background-color: #fd0; color: #000; } small { font-size: 0.875rem; } sub, sup { font-size: 0.625rem; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -.25em; } sup { top: -.5em; } audio { display: inline-block; } audio:not([controls]) { display: none; height: 0; } img { border-style: none; } img, svg { max-width: 100%; height: auto; } svg:not(:root) { overflow: hidden; } video { display: inline-block; } button, input, optgroup, select, textarea { font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif; line-height: 1.5rem; font-size: 100%; box-sizing: border-box; max-width: 100%; margin: 0; } button { overflow: visible; } button, select { text-transform: none; } input { overflow: visible; } [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-file-upload-button { -webkit-appearance: button; font: inherit; } .button, button, html [type='button'], [type='reset'], [type='submit'] { -moz-appearance: button; -webkit-appearance: button; } .button, button, [type='button'], [type='reset'], [type='submit'] { display: inline-block; padding: 2px 6px; line-height: inherit; text-decoration: none; cursor: pointer; color: #000; } .button::-moz-focus-inner, 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, button:-moz-focusring, [type='button']:-moz-focusring, [type='reset']:-moz-focusring, [type='submit']:-moz-focusring { outline: 1px dotted ButtonText; } .button:hover, .button:focus, .button:active, button:hover, button:focus, button:active, [type='button']:hover, [type='button']:focus, [type='button']:active, [type='reset']:hover, [type='reset']:focus, [type='reset']:active, [type='submit']:hover, [type='submit']:focus, [type='submit']:active { text-decoration: none; color: #000; } [disabled].button, button[disabled], [disabled][type='button'], [disabled][type='reset'], [disabled][type='submit'] { cursor: default; color: #999999; } [disabled].button:hover, button[disabled]:hover, [disabled][type='button']:hover, [disabled][type='reset']:hover, [disabled][type='submit']:hover, [disabled].button:focus, button[disabled]:focus, [disabled][type='button']:focus, [disabled][type='reset']:focus, [disabled][type='submit']:focus, [disabled].button:active, button[disabled]:active, [disabled][type='button']:active, [disabled][type='reset']:active, [disabled][type='submit']:active { color: #999999; } [type='checkbox'], [type='radio'] { box-sizing: border-box; padding: 0; } fieldset { padding: 0.525rem 0.75rem 0.975rem; border: 1px solid #cccccc; } legend { box-sizing: border-box; display: table; max-width: 100%; margin-left: -5px; padding: 0 5px; color: inherit; white-space: normal; } progress { display: inline-block; vertical-align: baseline; } textarea { overflow: auto; } table { margin: 1.5rem 0; border-collapse: collapse; border-spacing: 0; width: 100%; } td, th { padding: 0; } details { display: block; } summary { display: list-item; } menu { margin: 1.5rem 0; display: block; padding: 0 0 0 32px; } menu menu, ol menu, ul menu { margin: 0; } canvas { display: inline-block; } template { display: none; } [hidden] { display: none; } normalize-scss-7.0.0/test/fixtures/fork-versions/typey/000077500000000000000000000000001310701560500232765ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/fork-versions/typey/input.scss000066400000000000000000000000251310701560500253270ustar00rootroot00000000000000@import "normalize"; normalize-scss-7.0.0/test/fixtures/fork-versions/typey/output.css000066400000000000000000000247761310701560500253700ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /*! typey | GPLv2 License | https://github.com/jptaranto/typey */ /* Document ========================================================================== */ /** * 1. Change the default font family in all browsers (opinionated). * 2. Correct the line height in all browsers. * 3. Prevent adjustments of font size after orientation changes in * IE on Windows Phone and in iOS. */ html { font-family: sans-serif; /* 1 */ font-size: 100%; line-height: 1.5em; /* 2 */ -ms-text-size-adjust: 100%; /* 3 */ -webkit-text-size-adjust: 100%; /* 3 */ } @media print { html { font-size: 12pt; } } /* Sections ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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: 2rem; line-height: 3rem; /* Set 1 unit of vertical rhythm on the top and bottom margins. */ margin: 1.5rem 0; } h2 { font-size: 1.5rem; line-height: 2.25rem; margin: 1.5rem 0; } h3 { font-size: 1.25rem; line-height: 1.5rem; margin: 1.5rem 0; } h4 { font-size: 1rem; line-height: 1.5rem; margin: 1.5rem 0; } h5 { font-size: 0.875rem; line-height: 1.5rem; margin: 1.5rem 0; } h6 { font-size: 0.625rem; line-height: 1.5rem; margin: 1.5rem 0; } /* Grouping content ========================================================================== */ /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ blockquote { margin: 1.5rem 2.5rem; } dl, ol, ul { margin: 1.5rem 0; } /** * Turn off margins on nested lists. */ ol ol, ol ul, ul ol, ul ul { margin: 0; } dd { margin: 0 0 0 40px; } ol, ul { padding: 0 0 0 40px; } /** * Add the correct display in IE 9-. */ figcaption, figure { display: block; } /** * Add the correct margin in IE 8. */ figure { margin: 1.5rem 2.5rem; } /** * 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 */ } /** * Add the correct display in IE. */ main { display: block; } /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ p, pre { margin: 1.5rem 0; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre, code, kbd, samp { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /* Links ========================================================================== */ /** * 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 */ } /* Text-level semantics ========================================================================== */ /** * 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; } /** * 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 ========================================================================== */ /** * Known issues: * - `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/). */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: sans-serif; /* 1 */ line-height: 1.5rem; /* 1 */ font-size: 100%; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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"], [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ /** * Restore the focus styles unset by the previous rule. */ } 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; } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 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 */ } /** * Correct the padding in Firefox. */ fieldset { padding: 0.525rem 0.75rem 0.975rem; border: 1px solid #c0c0c0; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * 1. Set 1 unit of vertical rhythm on the top and bottom margin. * 2. Add the correct display in IE 9-. * 3. Set consistent space for the list style image. */ menu { margin: 1.5rem 0; /* 1 */ display: block; /* 2 */ padding: 0 0 0 40px; /* 3 */ /** * Turn off margins on nested lists. */ } menu menu, ol menu, ul menu { margin: 0; } /* 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; } normalize-scss-7.0.0/test/fixtures/import-now/000077500000000000000000000000001310701560500214305ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/import-now/input.scss000066400000000000000000000000401310701560500234560ustar00rootroot00000000000000@import 'normalize/import-now'; normalize-scss-7.0.0/test/fixtures/import-now/output.css000066400000000000000000000203731310701560500235070ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* 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 ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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-. */ figcaption, figure { 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 */ } /** * Add the correct display in IE. */ main { display: block; } /** * 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 */ } /* Links ========================================================================== */ /** * 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 */ } /* Text-level semantics ========================================================================== */ /** * 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 ========================================================================== */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: sans-serif; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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"], [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ /** * Restore the focus styles unset by the previous rule. */ } 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; } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 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 */ } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; } /* 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; } normalize-scss-7.0.0/test/fixtures/normalize/000077500000000000000000000000001310701560500213155ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/normalize/exclude-multiple/000077500000000000000000000000001310701560500245775ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/normalize/exclude-multiple/input.scss000066400000000000000000000001101310701560500266230ustar00rootroot00000000000000@import 'normalize'; @include normalize($exclude: (embedded grouping)); normalize-scss-7.0.0/test/fixtures/normalize/exclude-multiple/output.css000066400000000000000000000157531310701560500266640ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* 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 ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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; } /* Links ========================================================================== */ /** * 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 */ } /* Text-level semantics ========================================================================== */ /** * 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; } /* Forms ========================================================================== */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: sans-serif; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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"], [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ /** * Restore the focus styles unset by the previous rule. */ } 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; } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 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 */ } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; } /* 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; } normalize-scss-7.0.0/test/fixtures/normalize/exclude-single/000077500000000000000000000000001310701560500242255ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/normalize/exclude-single/input.scss000066400000000000000000000000741310701560500262620ustar00rootroot00000000000000@import 'normalize'; @include normalize($exclude: (forms)); normalize-scss-7.0.0/test/fixtures/normalize/exclude-single/output.css000066400000000000000000000114201310701560500262750ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* 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 ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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-. */ figcaption, figure { 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 */ } /** * Add the correct display in IE. */ main { display: block; } /** * 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 */ } /* Links ========================================================================== */ /** * 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 */ } /* Text-level semantics ========================================================================== */ /** * 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; } /* 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; } normalize-scss-7.0.0/test/fixtures/normalize/exclude-string/000077500000000000000000000000001310701560500242525ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/normalize/exclude-string/input.scss000066400000000000000000000000761310701560500263110ustar00rootroot00000000000000@import 'normalize'; @include normalize($exclude: scripting); normalize-scss-7.0.0/test/fixtures/normalize/exclude-string/output.css000066400000000000000000000177561310701560500263440ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* 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 ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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-. */ figcaption, figure { 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 */ } /** * Add the correct display in IE. */ main { display: block; } /** * 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 */ } /* Links ========================================================================== */ /** * 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 */ } /* Text-level semantics ========================================================================== */ /** * 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 ========================================================================== */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: sans-serif; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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"], [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ /** * Restore the focus styles unset by the previous rule. */ } 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; } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 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 */ } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; } /* Hidden ========================================================================== */ /** * Add the correct display in IE 10-. */ [hidden] { display: none; } normalize-scss-7.0.0/test/fixtures/normalize/include-multiple/000077500000000000000000000000001310701560500245715ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/normalize/include-multiple/input.scss000066400000000000000000000000761310701560500266300ustar00rootroot00000000000000@import 'normalize'; @include normalize((document sections)); normalize-scss-7.0.0/test/fixtures/normalize/include-multiple/output.css000066400000000000000000000017071310701560500266500ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* 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 ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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; } normalize-scss-7.0.0/test/fixtures/normalize/include-single/000077500000000000000000000000001310701560500242175ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/normalize/include-single/input.scss000066400000000000000000000000621310701560500262510ustar00rootroot00000000000000@import 'normalize'; @include normalize((links)); normalize-scss-7.0.0/test/fixtures/normalize/include-single/output.css000066400000000000000000000006211310701560500262700ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* Links ========================================================================== */ /** * 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 */ } normalize-scss-7.0.0/test/fixtures/normalize/include-string/000077500000000000000000000000001310701560500242445ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/normalize/include-string/input.scss000066400000000000000000000000571310701560500263020ustar00rootroot00000000000000@import 'normalize'; @include normalize(text); normalize-scss-7.0.0/test/fixtures/normalize/include-string/output.css000066400000000000000000000027641310701560500263270ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* Text-level semantics ========================================================================== */ /** * 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; } normalize-scss-7.0.0/test/fixtures/variables/000077500000000000000000000000001310701560500212655ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/variables/default/000077500000000000000000000000001310701560500227115ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/variables/default/input.scss000066400000000000000000000000531310701560500247430ustar00rootroot00000000000000@import 'normalize'; @include normalize(); normalize-scss-7.0.0/test/fixtures/variables/default/output.css000066400000000000000000000203731310701560500247700ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* 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 ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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-. */ figcaption, figure { 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 */ } /** * Add the correct display in IE. */ main { display: block; } /** * 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 */ } /* Links ========================================================================== */ /** * 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 */ } /* Text-level semantics ========================================================================== */ /** * 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 ========================================================================== */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: sans-serif; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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"], [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ /** * Restore the focus styles unset by the previous rule. */ } 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; } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 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 */ } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; } /* 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; } normalize-scss-7.0.0/test/fixtures/variables/font/000077500000000000000000000000001310701560500222335ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/variables/font/input.scss000066400000000000000000000006011310701560500242640ustar00rootroot00000000000000$base-font-family: Arial, sans-serif; $base-font-size: 24px; $base-line-height: 36px; $base-unit: rem; $h1-font-size: 3 * $base-font-size; $h2-font-size: 2 * $base-font-size; $h3-font-size: 1.5 * $base-font-size; $h4-font-size: 0.9 * $base-font-size; $h5-font-size: 0.75 * $base-font-size; $h6-font-size: 0.5 * $base-font-size; @import 'normalize'; @include normalize(); normalize-scss-7.0.0/test/fixtures/variables/font/output.css000066400000000000000000000231051310701560500243060ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* 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 { /* Change the default font family in all browsers (opinionated). */ font-family: Arial, sans-serif; font-size: 150%; line-height: 1.5em; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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: 3rem; line-height: 4.5rem; /* Set 1 unit of vertical rhythm on the top and bottom margins. */ margin: 1.5rem 0; } h2 { font-size: 2rem; line-height: 3rem; margin: 1.5rem 0; } h3 { font-size: 1.5rem; line-height: 3rem; margin: 1.5rem 0; } h4 { font-size: 0.9rem; line-height: 1.5rem; margin: 1.5rem 0; } h5 { font-size: 0.75rem; line-height: 1.5rem; margin: 1.5rem 0; } h6 { font-size: 0.5rem; line-height: 1.5rem; margin: 1.5rem 0; } /* Grouping content ========================================================================== */ /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ blockquote { margin: 1.5rem 40px; } dl, ol, ul { margin: 1.5rem 0; } /** * Turn off margins on nested lists. */ ol ol, ol ul, ul ol, ul ul { margin: 0; } dd { margin: 0 0 0 40px; } ol, ul { padding: 0 0 0 40px; } /** * Add the correct display in IE 9-. */ figcaption, figure { display: block; } /** * Add the correct margin in IE 8. */ figure { margin: 1.5rem 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 */ } /** * Add the correct display in IE. */ main { display: block; } /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ p, pre { margin: 1.5rem 0; } /** * 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 */ } /* Links ========================================================================== */ /** * 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 */ } /* Text-level semantics ========================================================================== */ /** * 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 ========================================================================== */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: Arial, sans-serif; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.5em; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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"], [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ /** * Restore the focus styles unset by the previous rule. */ } 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; } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 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 */ } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; /* * 1. Set 1 unit of vertical rhythm on the top and bottom margin. * 2. Set consistent space for the list style image. */ margin: 1.5rem 0; /* 1 */ padding: 0 0 0 40px; /* 2 */ /** * Turn off margins on nested lists. */ } menu menu, ol menu, ul menu { margin: 0; } /* 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; } normalize-scss-7.0.0/test/fixtures/variables/indent-amount-and-vertical-rhythm/000077500000000000000000000000001310701560500277275ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/variables/indent-amount-and-vertical-rhythm/input.scss000066400000000000000000000001431310701560500317610ustar00rootroot00000000000000$normalize-vertical-rhythm: true; $indent-amount: 3em; @import 'normalize'; @include normalize(); normalize-scss-7.0.0/test/fixtures/variables/indent-amount-and-vertical-rhythm/output.css000066400000000000000000000227251310701560500320110ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* 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 { font-size: 100%; line-height: 1.5em; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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; line-height: 1.5em; /* Set 1 unit of vertical rhythm on the top and bottom margins. */ margin: 0.75em 0; } h2 { font-size: 1.5em; line-height: 2em; margin: 1em 0; } h3 { font-size: 1.17em; line-height: 1.28205em; margin: 1.28205em 0; } h4 { font-size: 1em; line-height: 1.5em; margin: 1.5em 0; } h5 { font-size: 0.83em; line-height: 1.80723em; margin: 1.80723em 0; } h6 { font-size: 0.67em; line-height: 2.23881em; margin: 2.23881em 0; } /* Grouping content ========================================================================== */ /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ blockquote { margin: 1.5em 3em; } dl, ol, ul { margin: 1.5em 0; } /** * Turn off margins on nested lists. */ ol ol, ol ul, ul ol, ul ul { margin: 0; } dd { margin: 0 0 0 3em; } ol, ul { padding: 0 0 0 3em; } /** * Add the correct display in IE 9-. */ figcaption, figure { display: block; } /** * Add the correct margin in IE 8. */ figure { margin: 1.5em 3em; } /** * 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 */ } /** * Add the correct display in IE. */ main { display: block; } /** * Set 1 unit of vertical rhythm on the top and bottom margin. */ p, pre { margin: 1.5em 0; } /** * 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 */ } /* Links ========================================================================== */ /** * 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 */ } /* Text-level semantics ========================================================================== */ /** * 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 ========================================================================== */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: sans-serif; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.5em; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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"], [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ /** * Restore the focus styles unset by the previous rule. */ } 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; } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 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 */ } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; /* * 1. Set 1 unit of vertical rhythm on the top and bottom margin. * 2. Set consistent space for the list style image. */ margin: 1.5em 0; /* 1 */ padding: 0 0 0 3em; /* 2 */ /** * Turn off margins on nested lists. */ } menu menu, ol menu, ul menu { margin: 0; } /* 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; } normalize-scss-7.0.0/test/fixtures/variables/indent-amount/000077500000000000000000000000001310701560500240475ustar00rootroot00000000000000normalize-scss-7.0.0/test/fixtures/variables/indent-amount/input.scss000066400000000000000000000001011310701560500260730ustar00rootroot00000000000000$indent-amount: 3em; @import 'normalize'; @include normalize(); normalize-scss-7.0.0/test/fixtures/variables/indent-amount/output.css000066400000000000000000000203721310701560500261250ustar00rootroot00000000000000/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ /* 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 ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * 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-. */ figcaption, figure { display: block; } /** * Add the correct margin in IE 8. */ figure { margin: 1em 3em; } /** * 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 */ } /** * Add the correct display in IE. */ main { display: block; } /** * 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 */ } /* Links ========================================================================== */ /** * 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 */ } /* Text-level semantics ========================================================================== */ /** * 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 ========================================================================== */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: sans-serif; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. */ button { 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"], [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ } button, [type="button"], [type="reset"], [type="submit"] { /** * Remove the inner border and padding in Firefox. */ /** * Restore the focus styles unset by the previous rule. */ } 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; } /** * Show the overflow in Edge. */ input { overflow: visible; } /** * 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 */ } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 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 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* * Add the correct display in IE 9-. */ menu { display: block; } /* 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; } normalize-scss-7.0.0/test/helper.js000066400000000000000000000002441310701560500172610ustar00rootroot00000000000000'use strict'; // Globals for all test_*.js files. global.expect = require('chai').expect; global.path = require('path'); global.SassyTest = require('sassy-test'); normalize-scss-7.0.0/test/test_eyeglass.js000066400000000000000000000014771310701560500206660ustar00rootroot00000000000000'use strict'; var eyeglass = require('eyeglass'); var sassyTest = new SassyTest({ fixtures: path.join(__dirname, 'fixtures/eyeglass') }); var options = { eyeglass: { // Eyeglass will look in the root for a package.json. root: sassyTest.fixture() } }; describe('Eyeglass integration tests', function() { it('should fail to import Normalize without Eyeglass', function() { return sassyTest.renderFixture('import-normalize').then(function() { throw new Error('An error should have occurred'); }).catch(function(error) { expect(error).to.exist; expect(error.message).to.include('File to import not found or unreadable: normalize'); }); }); it('should import Normalize with Eyeglass', function() { return sassyTest.renderFixture('import-normalize', eyeglass(options)); }); }); normalize-scss-7.0.0/test/test_fork-versions.js000066400000000000000000000036041310701560500216530ustar00rootroot00000000000000'use strict'; describe('Fork versions', function() { describe('Default fork', function() { it('should render properly', function() { var sassyTest = new SassyTest({ fixtures: path.join(__dirname, 'fixtures/fork-versions'), includePaths: [ // Path to fork version. path.join(__dirname, '../fork-versions/default') ] }); return sassyTest.renderFixture('default'); }); }); describe('Compass fork', function() { it('should render properly', function() { var sassyTest = new SassyTest({ fixtures: path.join(__dirname, 'fixtures/fork-versions/deprecated-compass'), includePaths: [ // Path to fork version. path.join(__dirname, '../fork-versions/deprecated-compass') ] }); return sassyTest.renderFixture('./'); }); }); describe('Typey fork', function() { it('should render properly', function() { var sassyTest = new SassyTest({ fixtures: path.join(__dirname, 'fixtures/fork-versions'), includePaths: [ // Path to fork version. path.join(__dirname, '../fork-versions/typey'), // Path to the fork's dependencies. path.dirname(require.resolve('typey')) ] }); return sassyTest.renderFixture('typey'); }); }); describe('Typey, Chroma and KSS fork', function() { it('should render properly', function() { var sassyTest = new SassyTest({ fixtures: path.join(__dirname, 'fixtures/fork-versions'), includePaths: [ // Path to fork version. path.join(__dirname, '../fork-versions/typey-chroma-kss'), // Path to the fork's dependencies. path.dirname(require.resolve('chroma-sass')), path.dirname(require.resolve('typey')) ] }); return sassyTest.renderFixture('typey-chroma-kss'); }); }); }); normalize-scss-7.0.0/test/test_import-now.js000066400000000000000000000005321310701560500211540ustar00rootroot00000000000000'use strict'; describe('@import "normalize/import-now";', function() { it('should import the CSS immediately on @import', function() { var sassyTest = new SassyTest({ fixtures: path.join(__dirname, 'fixtures'), includePaths: [path.join(__dirname, '../sass')] }); return sassyTest.renderFixture('import-now'); }); }); normalize-scss-7.0.0/test/test_normalize.js000066400000000000000000000021701310701560500210410ustar00rootroot00000000000000'use strict'; var sassyTest = new SassyTest(); describe('@include normalize()', function() { before(function(done) { sassyTest.configurePaths({ fixtures: path.join(__dirname, 'fixtures/normalize'), includePaths: [path.join(__dirname, '../sass')] }); done(); }); describe('$include parameter', function() { it('should accept a list with multiple values', function() { return sassyTest.renderFixture('include-multiple'); }); it('should accept a list with a single value', function() { return sassyTest.renderFixture('include-single'); }); it('should accept a string', function() { return sassyTest.renderFixture('include-string'); }); }); describe('$exclude parameter', function() { it('should accept a list with multiple values', function() { return sassyTest.renderFixture('exclude-multiple'); }); it('should accept a list with a single value', function() { return sassyTest.renderFixture('exclude-single'); }); it('should accept a string', function() { return sassyTest.renderFixture('exclude-string'); }); }); }); normalize-scss-7.0.0/test/test_variables.js000066400000000000000000000021241310701560500210100ustar00rootroot00000000000000'use strict'; var sassyTest = new SassyTest(); describe('Configuration variables', function() { before(function(done) { sassyTest.configurePaths({ fixtures: path.join(__dirname, 'fixtures'), includePaths: [path.join(__dirname, '../sass')] }); done(); }); describe('default values', function() { it('should limit output to the same output as normalize.css', function() { return sassyTest.renderFixture('variables/default'); }); }); describe('$base-* and $h*-font-size', function() { it('should alter the font, font size, and line-height', function() { return sassyTest.renderFixture('variables/font'); }); }); describe('$indent-amount', function() { it('should alter the indent amount of elements', function() { return sassyTest.renderFixture('variables/indent-amount'); }); }); describe('$indent-amount and $normalize-vertical-rhythm', function() { it('should alter the indent amount of elements', function() { return sassyTest.renderFixture('variables/indent-amount-and-vertical-rhythm'); }); }); });