postcss-input-style
Advanced tools
Comparing version 0.2.4 to 0.3.0
@@ -125,3 +125,3 @@ 'use strict'; | ||
if (rule.selectors.every(containsPseudo)) { | ||
rule.removeSelf(); | ||
rule.remove(); | ||
} else { | ||
@@ -138,3 +138,3 @@ rule.selector = rule.selectors.filter(doesntContainPseudo).join(',\n'); | ||
css.eachRule(function(rule) { | ||
css.walkRules(function(rule) { | ||
@@ -141,0 +141,0 @@ if (!containsPseudo(rule.selector)) { |
{ | ||
"name": "postcss-input-style", | ||
"version": "0.2.4", | ||
"version": "0.3.0", | ||
"description": "Adds new pseudo-elements to inputs for easy cross-browser styling of their inner elements", | ||
@@ -31,3 +31,3 @@ "keywords": [ | ||
"dependencies": { | ||
"postcss": "^4.1.9" | ||
"postcss": "^5.0.0" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
@@ -1,8 +0,10 @@ | ||
# postcss-input-style | ||
# PostCSS Input Style | ||
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] | ||
[PostCSS] plugin that adds new pseudo-elements to inputs for easy cross-browser styling of their inner elements. Currently the only input supported is Range, more will be added as more vendor-specific pseudo selectors are made available. | ||
[PostCSS][PostCSS] plugin that adds new pseudo-elements to inputs for easy cross-browser styling of their inner elements. Currently the only input supported is Range, more will be added as more vendor-specific pseudo selectors are made available. | ||
Note that the output selectors generated (below) are not grouped because if a browser finds a single selector it doesn't understand in a group, the whole group is ignored (see [Selectors Level 3][selectors]) | ||
Note that the output selectors generated (below) are not grouped because if a browser finds a single selector it doesn't understand in a group, the whole group is ignored (see [Selectors Level 3][selectors]). | ||
Part of [Rucksack - CSS Superpowers](http://simplaio.github.io/rucksack). | ||
#### Range elements | ||
@@ -79,3 +81,3 @@ Input | ||
See [PostCSS] docs for examples for your environment. | ||
See [PostCSS][PostCSS] docs for examples for your environment. | ||
@@ -82,0 +84,0 @@ -- |
8029
97
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhas-flag@1.0.0(transitive)
+ Addedjs-base64@2.6.4(transitive)
+ Addedpostcss@5.2.18(transitive)
+ Addedsource-map@0.5.7(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.03.2.3(transitive)
- Removedamdefine@1.0.1(transitive)
- Removedes6-promise@2.3.0(transitive)
- Removedjs-base64@2.1.9(transitive)
- Removedpostcss@4.1.16(transitive)
- Removedsource-map@0.4.4(transitive)
Updatedpostcss@^5.0.0