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", "name": "KNACSS",
"version": "3.0.9", "version": "3.1.0",
"homepage": "http://www.knacss.com/", "homepage": "http://www.knacss.com/",
"authors": [ "authors": [
"Raphaël GOETTER, Alsacreations" "Raphaël GOETTER, Alsacreations"

View file

@ -48,15 +48,6 @@
// misc (choose unit you prefer) // misc (choose unit you prefer)
@gutter : 20px; // gutter value for grid layouts. Unit can be: %, px, em, rem @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 ;) // LESS mixins : don't touch or you'll be banned ;)
// px to em/rem // px to em/rem
.rem(@size, @bf: @base-font-size){ .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/ * 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 */ /* styling skip links */
.skip-links { .skip-links {
position: absolute; position: absolute;
a { a {
position: absolute; position: absolute;
overflow: hidden; overflow: hidden;
@ -15,7 +14,6 @@
background: black; background: black;
color: white; color: white;
text-decoration: none; text-decoration: none;
&: focus { &: focus {
position: static; position: static;
overflow: visible; overflow: visible;
@ -23,10 +21,8 @@
} }
} }
} }
}
// hyphens boolean // hyphens
& when (@enable-hyphens = true) {
@media (max-width: @small-screen) { @media (max-width: @small-screen) {
/* you shall not pass */ /* you shall not pass */
div, div,
@ -41,4 +37,3 @@
hyphens: auto; hyphens: auto;
} }
} }
}

View file

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

View file

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

View file

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

View file

@ -48,16 +48,6 @@ $ultra-large-screen : 1920px; // ultra large screens
// misc (choose unit you prefer) // misc (choose unit you prefer)
$gutter : 20px; // gutter value for grid layouts. Unit can be: %, px, em, rem $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 ;) // Sass mixins : don't touch or you'll be banned ;)
// px to em/rem // 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/ * 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 */ /* styling skip links */
.skip-links { .skip-links {
position: absolute; position: absolute;
@ -23,10 +21,8 @@
} }
} }
} }
}
// hyphens boolean // hyphens boolean
@if $enable-hyphens == true {
@media (max-width: $small-screen) { @media (max-width: $small-screen) {
/* you shall not pass */ /* you shall not pass */
div, div,
@ -41,4 +37,4 @@
hyphens: auto; hyphens: auto;
} }
} }
}

View file

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

View file

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

View file

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