booleans variables deleted

not needed actually : just @ import (or not) the file(s)
This commit is contained in:
raphaelgoettter 2014-10-20 17:42:52 +02:00
parent 903d4c260a
commit 43a2ddd2e3
13 changed files with 555 additions and 599 deletions

View file

@ -1,6 +1,6 @@
{
"name": "KNACSS",
"version": "3.0.9",
"version": "3.1.0",
"homepage": "http://www.knacss.com/",
"authors": [
"Raphaël GOETTER, Alsacreations"

View file

@ -48,15 +48,6 @@
// misc (choose unit you prefer)
@gutter : 20px; // gutter value for grid layouts. Unit can be: %, px, em, rem
// booleans
@enable-ie678 : true; // "true" to activate IE6/IE7/IE8 support
@enable-styling : true; // "true" to design basic elements like code, mark, blockquotes, etc.
@enable-gmaps : true; // if google maps is used
@enable-skip-links : true; // "true" to design skip links for accessibility concerns
@enable-hyphens : true; // activate automatic hyphens on small screens
@enable-helpers-width : true; // decide whether or not you need width helpers
@enable-helpers-spacing : true; // decide whether or not you need spacing helpers
// LESS mixins : don't touch or you'll be banned ;)
// px to em/rem
.rem(@size, @bf: @base-font-size){

View file

@ -1,5 +1,5 @@
/*!
* www.KNACSS.com V3.0.9 (2014-09-12) @author: Raphael Goetter, Alsacreations
* www.KNACSS.com V3.1.0 (2014-10-20) @author: Raphael Goetter, Alsacreations
* Licence WTFPL http://www.wtfpl.net/
*/

View file

@ -1,12 +1,11 @@
/* ----------------------------- */
/* ==booleans */
/* ==skip-hyphens */
/* ----------------------------- */
// skip-links boolean
& when (@enable-skip-links = true) {
/* styling skip links */
.skip-links {
position: absolute;
a {
position: absolute;
overflow: hidden;
@ -15,7 +14,6 @@
background: black;
color: white;
text-decoration: none;
&: focus {
position: static;
overflow: visible;
@ -23,10 +21,8 @@
}
}
}
}
// hyphens boolean
& when (@enable-hyphens = true) {
// hyphens
@media (max-width: @small-screen) {
/* you shall not pass */
div,
@ -41,4 +37,3 @@
hyphens: auto;
}
}
}

View file

@ -1,8 +1,7 @@
/* ----------------------------- */
/* ==gmaps support */
/* ----------------------------- */
// google maps boolean
& when (@enable-gmaps = true) {
/* Google Gmap3 bug fix on images */
.gm-style img {
height: 100%;
@ -17,4 +16,3 @@
.gmnoprint img {
max-width: none !important;
}
}

View file

@ -1,8 +1,6 @@
/* ----------------------------- */
/* ==IE6, IE7, IE8 support */
/* ----------------------------- */
// IE6, 7, 8 support boolean
& when (@enable-ie678 = true) {
/* Active box-sizing for IE6/IE7 */
/* @source https://github.com/Schepp/box-sizing-polyfill */
@ -11,7 +9,6 @@
behavior: url(/js/boxsizing.htc);
}
.ie678 h1, .ie678 .h1-like {
@em: @h1-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
@ -107,5 +104,4 @@
overflow: auto;
}
}

View file

@ -2,8 +2,6 @@
/* ==minor stylings */
/* ----------------------------- */
// Styling boolean
& when (@enable-styling = true) {
/* styling elements */
code,
kbd,
@ -136,4 +134,3 @@
background: #eee;
background: rgba(0, 0, 0, .05);
}
}

View file

@ -48,16 +48,6 @@ $ultra-large-screen : 1920px; // ultra large screens
// misc (choose unit you prefer)
$gutter : 20px; // gutter value for grid layouts. Unit can be: %, px, em, rem
// booleans
$enable-ie678 : true; // "true" to activate IE6/IE7/IE8 support
$enable-styling : true; // "true" to design basic elements like code, mark, blockquotes, etc.
$enable-gmaps : true; // if google maps is used
$enable-skip-links : true; // "true" to design skip links for accessibility concerns
$enable-hyphens : true; // activate automatic hyphens on small screens
$enable-helpers-width : true; // decide whether or not you need width helpers
$enable-helpers-spacing : true; // decide whether or not you need spacing helpers
// Sass mixins : don't touch or you'll be banned ;)
// px to em/rem

View file

@ -1,5 +1,5 @@
/*!
* www.KNACSS.com V3.0.9 (2014-09-12) @author: Raphael Goetter, Alsacreations (with help from Hugo Giraudel)
* www.KNACSS.com V3.1.0 (2014-10-20) @author: Raphael Goetter, Alsacreations (with help from Hugo Giraudel)
* Licence WTFPL http://www.wtfpl.net/
*/

View file

@ -1,8 +1,6 @@
/* ----------------------------- */
/* ==booleans */
/* ==skip-hyphens */
/* ----------------------------- */
// skip-links boolean
@if $enable-skip-links == true {
/* styling skip links */
.skip-links {
position: absolute;
@ -23,10 +21,8 @@
}
}
}
}
// hyphens boolean
@if $enable-hyphens == true {
@media (max-width: $small-screen) {
/* you shall not pass */
div,
@ -41,4 +37,4 @@
hyphens: auto;
}
}
}

View file

@ -1,8 +1,7 @@
/* ----------------------------- */
/* ==gmaps support */
/* ----------------------------- */
// google maps boolean
@if $enable-gmaps == true {
/* Google Gmap3 bug fix on images */
.gm-style img {
height: 100%;
@ -17,4 +16,3 @@
.gmnoprint img {
max-width: none !important;
}
}

View file

@ -2,7 +2,6 @@
/* ==IE6, IE7, IE8 support */
/* ----------------------------- */
// IE6, 7, 8 support boolean
@if $enable-ie678 == true {
$bf: $base-font-size / 1px;
/* IE678 support */
.ie678 h1, .ie678 .h1-like {
@ -110,4 +109,3 @@
behavior: url(/lib/box-sizing-polyfill/boxsizing.htc);
}
*/
}

View file

@ -2,8 +2,6 @@
/* ==minor stylings */
/* ----------------------------- */
// Styling boolean
@if $enable-styling == true {
/* styling elements */
code, kbd, mark {
border-radius: 2px;
@ -133,4 +131,3 @@
background: #eee;
background: rgba(0, 0, 0, .05);
}
}