diff --git a/bower.json b/bower.json index a1e97b1..665f4e7 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "KNACSS", - "version": "4.1.4", + "version": "4.1.6", "homepage": "http://www.knacss.com/", "authors": [ "Raphaƫl GOETTER, Alsacreations" diff --git a/changelog.md b/changelog.md index 934187f..ee0ae57 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,9 @@ +# changelog v4.1.6 (17 avril 2015) + +- mise en commentaire des sauts de page print avant un h1 +- correction d'anomalie sur les input (user-select: none) +- correction d'erreur de compilation Sass + # changelog v4.1.4 (14 avril 2015) - ajout de node_modules dans le .gitignore diff --git a/less/_00-config.less b/less/_00-config.less index 2ef2c51..9509a59 100644 --- a/less/_00-config.less +++ b/less/_00-config.less @@ -1,5 +1,5 @@ /*! -* www.KNACSS.com V4.1.5 (2015-04-14) @author: Raphael Goetter, Alsacreations +* www.KNACSS.com V4.1.6 (2015-04-17) @author: Raphael Goetter, Alsacreations * Licence WTFPL http://www.wtfpl.net/ */ diff --git a/less/_05-forms.less b/less/_05-forms.less index 4cc45d6..d222b19 100644 --- a/less/_05-forms.less +++ b/less/_05-forms.less @@ -75,7 +75,7 @@ textarea:-moz-placeholder { } .btn:focus, -input:focus, +input[type="button"]:focus, button:focus { outline: 0; -webkit-tap-highlight-color: transparent; @@ -99,8 +99,8 @@ button:focus { border-radius: 0; box-shadow: none; -webkit-appearance: none; - -moz-appearance: none; - appearance: none; + -moz-appearance: none; + appearance: none; &:focus { box-shadow: none; diff --git a/less/_08-print.less b/less/_08-print.less index 3ef76f5..180aba4 100644 --- a/less/_08-print.less +++ b/less/_08-print.less @@ -60,11 +60,12 @@ page-break-inside: avoid; } - /* page break before main headers */ + /* page break before main headers h1, .h1-like { page-break-before: always; } + */ /* no breaks after these elements */ h1, diff --git a/package.json b/package.json index c1dc6ca..ecd0e07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "knacss", - "version": "4.1.4", + "version": "4.1.6", "homepage": "http://www.knacss.com/", "bugs": "https://github.com/raphaelgoetter/KNACSS/issues", "author": [ diff --git a/sass/_00-config.scss b/sass/_00-config.scss index 66d6455..c718e51 100644 --- a/sass/_00-config.scss +++ b/sass/_00-config.scss @@ -1,5 +1,5 @@ /*! -* www.KNACSS.com V4.1.5 (2015-04-14) @author: Raphael Goetter, Alsacreations +* www.KNACSS.com V4.1.6 (2015-04-17) @author: Raphael Goetter, Alsacreations * Licence WTFPL http://www.wtfpl.net/ */ diff --git a/sass/_05-forms.scss b/sass/_05-forms.scss index cf2e5b9..1b7e061 100644 --- a/sass/_05-forms.scss +++ b/sass/_05-forms.scss @@ -75,7 +75,7 @@ textarea:-moz-placeholder { } .btn:focus, -input:focus, +input[type="button"]:focus, button:focus { outline: 0; -webkit-tap-highlight-color: transparent; @@ -86,25 +86,24 @@ button:focus { } /* unstyled forms */ -.unstyled { - button&, - input[type="button"]&, - input[type="submit"]&, - input[type="reset"]& { - padding: 0; - border: none; - line-height: 1; - text-align: left; - background: none; - border-radius: 0; - box-shadow: none; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - &:focus { - box-shadow: none; - outline: none; - } +button.unstyled, +input[type="button"].unstyled, +input[type="submit"].unstyled, +input[type="reset"].unstyled { + padding: 0; + border: none; + line-height: 1; + text-align: left; + background: none; + border-radius: 0; + box-shadow: none; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + + &:focus { + box-shadow: none; + outline: none; } } diff --git a/sass/_08-print.scss b/sass/_08-print.scss index 3f7edf1..ec910ef 100644 --- a/sass/_08-print.scss +++ b/sass/_08-print.scss @@ -59,11 +59,12 @@ page-break-inside: avoid; } - /* page break before main headers */ + /* page break before main headers h1, .h1-like { page-break-before: always; } + */ /* no breaks after these elements */ h1,