added "enable-" to booleans

This commit is contained in:
Raphael Goetter 2014-05-04 14:54:52 +02:00
parent 0bc6e58e2e
commit d283e11395
7 changed files with 14 additions and 14 deletions

View file

@ -2,13 +2,13 @@
// booleans // booleans
@ie678 : true; // "true" to activate IE6/IE7/IE8 support @enable-ie678 : true; // "true" to activate IE6/IE7/IE8 support
@styling : true; // "true" to design basic elements like code, mark, blockquotes, etc. @enable-styling : true; // "true" to design basic elements like code, mark, blockquotes, etc.
@gmaps : true; // if google maps is used @enable-gmaps : true; // if google maps is used
@skip-links : true; // "true" to design skip links for accessibility concerns @enable-skip-links : true; // "true" to design skip links for accessibility concerns
@hyphens : true; // activate automatic hyphens on small screens @enable-hyphens : true; // activate automatic hyphens on small screens
@helpers-width : true; // decide whether or not you need width helpers @enable-helpers-width : true; // decide whether or not you need width helpers
@helpers-spacing : true; // decide whether or not you need spacing helpers @enable-helpers-spacing : true; // decide whether or not you need spacing helpers
// font sizes // font sizes
@basefont : 14px; // if "14px" then 1em = 14px @basefont : 14px; // if "14px" then 1em = 14px

View file

@ -286,7 +286,7 @@ img.start, img.end {
// width helpers boolean // width helpers boolean
& when (@helpers-width = true) { & when (@enable-helpers-width = true) {
/* blocks widths (percentage and pixels) */ /* blocks widths (percentage and pixels) */
.w10 { width: 10%; } .w10 { width: 10%; }
.w20 { width: 20%; } .w20 { width: 20%; }
@ -322,7 +322,7 @@ img.start, img.end {
// spacing helpers boolean // spacing helpers boolean
& when (@helpers-spacing = true) { & when (@enable-helpers-spacing = true) {
/* spacing helpers /* spacing helpers
p,m = padding,margin p,m = padding,margin
a,t,r,b,l = all,top,right,bottom,left a,t,r,b,l = all,top,right,bottom,left

View file

@ -3,7 +3,7 @@
/* ==booleans */ /* ==booleans */
/* ----------------------------- */ /* ----------------------------- */
// skip-links boolean // skip-links boolean
& when (@skip-links = true) { & when (@enable-skip-links = true) {
/* styling skip links */ /* styling skip links */
.skip-links { .skip-links {
position: absolute; position: absolute;
@ -24,7 +24,7 @@
} }
// hyphens boolean // hyphens boolean
& when (@hyphens = true) { & when (@enable-hyphens = true) {
@media (max-width: @small-screen) { @media (max-width: @small-screen) {
/* you shall not pass */ /* you shall not pass */
div, textarea, table, td, th, code, pre, samp { div, textarea, table, td, th, code, pre, samp {

View file

@ -3,7 +3,7 @@
/* ==gmaps support */ /* ==gmaps support */
/* ----------------------------- */ /* ----------------------------- */
// google maps boolean // google maps boolean
& when (@gmaps = true) { & 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%;

View file

@ -3,7 +3,7 @@
/* ==IE6, IE7, IE8 support */ /* ==IE6, IE7, IE8 support */
/* ----------------------------- */ /* ----------------------------- */
// IE6, 7, 8 support boolean // IE6, 7, 8 support boolean
& when (@ie678 = true) { & when (@enable-ie678 = true) {
/* IE678 support */ /* IE678 support */
.ie678 h1, .ie678 .h1-like { .ie678 h1, .ie678 .h1-like {
@em: @h1-size * 10 / @basefont; @em: @h1-size * 10 / @basefont;

View file

@ -4,7 +4,7 @@
/* ----------------------------- */ /* ----------------------------- */
// Styling boolean // Styling boolean
& when (@styling = true) { & when (@enable-styling = true) {
/* styling elements */ /* styling elements */
code, kbd, mark { code, kbd, mark {
border-radius: 2px; border-radius: 2px;

Binary file not shown.