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,44 +1,39 @@
/* ----------------------------- */ /* ----------------------------- */
/* ==booleans */ /* ==skip-hyphens */
/* ----------------------------- */ /* ----------------------------- */
// skip-links boolean
& when (@enable-skip-links = true) { /* styling skip links */
/* styling skip links */
.skip-links { .skip-links {
position: absolute;
a {
position: absolute; position: absolute;
overflow: hidden;
a { clip: rect(1px, 1px, 1px, 1px);
position: absolute; padding: 0.5em;
overflow: hidden; background: black;
clip: rect(1px, 1px, 1px, 1px); color: white;
padding: 0.5em; text-decoration: none;
background: black; &: focus {
color: white; position: static;
text-decoration: none; overflow: visible;
clip: auto;
&:focus {
position: static;
overflow: visible;
clip: auto;
}
} }
} }
} }
// 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, textarea,
textarea, table,
table, td,
td, th,
th, code,
code, pre,
pre, samp {
samp { word-wrap: break-word;
word-wrap: break-word; hyphens: auto;
hyphens: auto;
}
} }
} }

View file

@ -1,20 +1,18 @@
/* ----------------------------- */ /* ----------------------------- */
/* ==gmaps support */ /* ==gmaps support */
/* ----------------------------- */ /* ----------------------------- */
// google maps boolean
& when (@enable-gmaps = true) {
/* Google Gmap3 bug fix on images */
.gm-style img {
height: 100%;
}
:not(.gm-style) img { /* Google Gmap3 bug fix on images */
height: auto; .gm-style img {
} height: 100%;
}
.gm-style img,
.gmnoscreen img, :not(.gm-style) img {
.gmnoprint img { height: auto;
max-width: none !important; }
}
.gm-style img,
.gmnoscreen img,
.gmnoprint img {
max-width: none !important;
} }

View file

@ -1,111 +1,107 @@
/* ----------------------------- */ /* ----------------------------- */
/* ==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 */
.ie67 * {
behavior: url(/js/boxsizing.htc);
}
.ie678 h1, .ie678 .h1-like {
@em: @h1-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
}
.ie678 h2, .ie678 .h2-like {
@em: @h2-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
}
.ie678 h3, .ie678 .h3-like {
@em: @h3-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
}
.ie678 h4, .ie678 .h4-like {
@em: @h4-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
}
.ie678 h5, .ie678 .h5-like {
@em: @h5-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
}
.ie678 h6, .ie678 .h6-like {
@em: @h6-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
}
/* @bugfix for IE8 */
.ie678 img {
width: auto;
}
.ie678 .gm-style img {
height: 100%;
}
/* hasLayout for IE6/IE7 */
.clearfix,
.line,
.mod,
.row,
.col {
*zoom: 1;
}
/*! inline-block and table-cell for IE6/IE7 */
/*! warning: .col needs width on IE6/IE7 */
.btn,
.col,
.inbl {
*display: inline;
*zoom: 1;
}
/* old syntax of clip for IE6/IE7 */
.visually-hidden {
*clip: rect(1px 1px 1px 1px);
}
/* IE8 grid hack */
.ie8 .grid > *,
.ie8 [class*="autogrid"] > * {
letter-spacing: -0.31em;
text-rendering: optimizespeed;
}
.ie8 .grid > * > *,
.ie8 [class*="autogrid"] > * > *{
letter-spacing: normal;
word-spacing: normal;
text-rendering: auto;
}
/* IE7 grid hack */
.grid > * > *,
[class*="autogrid"] > * > *{
*display: inline;
*zoom: 1;
}
/* forms */
/* Corrects excess space around these inputs in IE8/9 */
.ie678 input[type="checkbox"],
.ie678 input[type="radio"] {
padding: 0;
}
/* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */
.ie678 textarea {
overflow: auto;
}
.ie67 * {
behavior: url(/js/boxsizing.htc);
} }
.ie678 h1, .ie678 .h1-like {
@em: @h1-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
}
.ie678 h2, .ie678 .h2-like {
@em: @h2-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
}
.ie678 h3, .ie678 .h3-like {
@em: @h3-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
}
.ie678 h4, .ie678 .h4-like {
@em: @h4-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
}
.ie678 h5, .ie678 .h5-like {
@em: @h5-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
}
.ie678 h6, .ie678 .h6-like {
@em: @h6-size * 10 / @base-font-size;
font-size: unit(round(@em,2), em);
}
/* @bugfix for IE8 */
.ie678 img {
width: auto;
}
.ie678 .gm-style img {
height: 100%;
}
/* hasLayout for IE6/IE7 */
.clearfix,
.line,
.mod,
.row,
.col {
*zoom: 1;
}
/*! inline-block and table-cell for IE6/IE7 */
/*! warning: .col needs width on IE6/IE7 */
.btn,
.col,
.inbl {
*display: inline;
*zoom: 1;
}
/* old syntax of clip for IE6/IE7 */
.visually-hidden {
*clip: rect(1px 1px 1px 1px);
}
/* IE8 grid hack */
.ie8 .grid > *,
.ie8 [class*="autogrid"] > * {
letter-spacing: -0.31em;
text-rendering: optimizespeed;
}
.ie8 .grid > * > *,
.ie8 [class*="autogrid"] > * > *{
letter-spacing: normal;
word-spacing: normal;
text-rendering: auto;
}
/* IE7 grid hack */
.grid > * > *,
[class*="autogrid"] > * > *{
*display: inline;
*zoom: 1;
}
/* forms */
/* Corrects excess space around these inputs in IE8/9 */
.ie678 input[type="checkbox"],
.ie678 input[type="radio"] {
padding: 0;
}
/* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */
.ie678 textarea {
overflow: auto;
}

View file

@ -2,138 +2,135 @@
/* ==minor stylings */ /* ==minor stylings */
/* ----------------------------- */ /* ----------------------------- */
// Styling boolean /* styling elements */
& when (@enable-styling = true) { code,
/* styling elements */ kbd,
code, mark {
kbd, border-radius: 2px;
mark { }
border-radius: 2px;
} kbd {
padding: 0 2px;
kbd { border: 1px solid #999;
padding: 0 2px; }
border: 1px solid #999;
} code {
padding: 2px 4px;
code { background: rgba(0,0,0,0.04);
padding: 2px 4px; color: #b11;
background: rgba(0,0,0,0.04); }
color: #b11;
} pre code {
padding: none;
pre code { background: none;
padding: none; color: inherit;
background: none; border-radius: 0;
color: inherit; }
border-radius: 0;
} mark {
padding:2px 4px;
mark { background: #ff0;
padding:2px 4px; }
background: #ff0;
} sup,
sub {
sup, vertical-align: 0;
sub { position: relative;
vertical-align: 0; }
position: relative;
} sup {
bottom: 1ex;
sup { }
bottom: 1ex;
} sub {
top: 0.5ex;
sub { }
top: 0.5ex;
} blockquote {
position: relative;
blockquote { padding-left: 3em;
position: relative; }
padding-left: 3em; blockquote:before {
} content: "\201C";
blockquote:before { position: absolute;
content: "\201C"; left: 0;
position: absolute; top: 0;
left: 0; font-family: georgia, serif;
top: 0; font-size: 5em;
font-family: georgia, serif; line-height: 0.9;
font-size: 5em; color: rgba(0, 0, 0, .3);
line-height: 0.9; }
color: rgba(0, 0, 0, .3); blockquote > footer {
} margin-top: .75em;
blockquote > footer { font-size: 0.9em;
margin-top: .75em; color: rgba(0, 0, 0, .7);
font-size: 0.9em; }
color: rgba(0, 0, 0, .7); blockquote > footer:before {
} content: "\2014 \0020";
blockquote > footer:before { }
content: "\2014 \0020";
}
q {
font-style: normal;
q { }
font-style: normal;
} q,
.q {
q, quotes: "“\00a0" "\00a0”";
.q { }
quotes: "“\00a0" "\00a0”";
} q:lang(fr),
.q:lang(fr) {
q:lang(fr), quotes: "«\00a0" "\00a0»";
.q:lang(fr) { }
quotes: "«\00a0" "\00a0»";
} hr {
display: block;
hr { clear: both;
display: block; height: 1px;
clear: both; margin: 1em 0 2em;
height: 1px; padding: 0;
margin: 1em 0 2em; border: 0;
padding: 0; color: #ccc;
border: 0; background-color: #ccc;
color: #ccc; }
background-color: #ccc;
} /* alternate tables */
.alternate { border: 0; }
/* alternate tables */ .alternate tbody {
.alternate { border: 0; } border: 1px solid #ccc;
.alternate tbody { }
border: 1px solid #ccc;
} .alternate thead tr > * + * {
border-left: 0;
.alternate thead tr > * + * { }
border-left: 0;
} .alternate tbody tr > * + * {
border-left: 1px solid #ccc;
.alternate tbody tr > * + * { }
border-left: 1px solid #ccc;
} /* alternate-vert tables */
.alternate-vert {
/* alternate-vert tables */ border: 0;
.alternate-vert { border-right: 1px solid #ccc;
border: 0; }
border-right: 1px solid #ccc;
} .alternate-vert tr > :first-child {
border-bottom: 0;
.alternate-vert tr > :first-child { }
border-bottom: 0;
} .alternate-vert tr > * + * {
border-top: 1px solid #ccc;
.alternate-vert tr > * + * { }
border-top: 1px solid #ccc;
} /* striped tables */
.striped tbody tr:nth-child(odd) {
/* striped tables */ background: #eee;
.striped tbody tr:nth-child(odd) { background: rgba(0, 0, 0, .05);
background: #eee; }
background: rgba(0, 0, 0, .05);
} /* striped-vert tables */
.striped-vert tr > :first-child {
/* striped-vert tables */ background: #eee;
.striped-vert tr > :first-child { background: rgba(0, 0, 0, .05);
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) // 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,44 +1,40 @@
/* ----------------------------- */ /* ----------------------------- */
/* ==booleans */ /* ==skip-hyphens */
/* ----------------------------- */ /* ----------------------------- */
// skip-links boolean /* styling skip links */
@if $enable-skip-links == true { .skip-links {
/* styling skip links */ position: absolute;
.skip-links {
a {
position: absolute; position: absolute;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
padding: 0.5em;
background: black;
color: white;
text-decoration: none;
a { &:focus {
position: absolute; position: static;
overflow: hidden; overflow: visible;
clip: rect(1px, 1px, 1px, 1px); clip: auto;
padding: 0.5em;
background: black;
color: white;
text-decoration: none;
&:focus {
position: static;
overflow: visible;
clip: auto;
}
} }
} }
} }
// 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, textarea,
textarea, table,
table, td,
td, th,
th, code,
code, pre,
pre, samp {
samp { word-wrap: break-word;
word-wrap: break-word; hyphens: auto;
hyphens: auto;
}
} }
} }

View file

@ -1,20 +1,18 @@
/* ----------------------------- */ /* ----------------------------- */
/* ==gmaps support */ /* ==gmaps support */
/* ----------------------------- */ /* ----------------------------- */
// google maps boolean
@if $enable-gmaps == true {
/* Google Gmap3 bug fix on images */
.gm-style img {
height: 100%;
}
:not(.gm-style) img { /* Google Gmap3 bug fix on images */
height: auto; .gm-style img {
} height: 100%;
}
.gm-style img,
.gmnoscreen img, :not(.gm-style) img {
.gmnoprint img { height: auto;
max-width: none !important; }
}
.gm-style img,
.gmnoscreen img,
.gmnoprint img {
max-width: none !important;
} }

View file

@ -2,112 +2,110 @@
/* ==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 { $val: $h1-size / 1rem;
$val: $h1-size / 1rem; $em : $val * 10 / $bf;
$em : $val * 10 / $bf; font-size: $em +0em;
font-size: $em +0em;
}
.ie678 h2, .ie678 .h2-like {
$val: $h2-size / 1rem;
$em : $val * 10 / $bf;
font-size: $em +0em;
}
.ie678 h3, .ie678 .h3-like {
$val: $h3-size / 1rem;
$em : $val * 10 / $bf;
font-size: $em +0em;
}
.ie678 h4, .ie678 .h4-like {
$val: $h4-size / 1rem;
$em : $val * 10 / $bf;
font-size: $em +0em;
}
.ie678 h5, .ie678 .h5-like {
$val: $h5-size / 1rem;
$em : $val * 10 / $bf;
font-size: $em +0em;
}
.ie678 h6, .ie678 .h6-like {
$val: $h6-size / 1rem;
$em : $val * 10 / $bf;
font-size: $em +0em;
}
.ie678 img {
width: auto; /* @bugfix for IE8 */
}
.ie678 .gm-style img {
height: 100%;
}
/* hasLayout for IE6/IE7 */
.clearfix,
.line,
.mod,
.row,
.col {
*zoom: 1;
}
/* inline-block and table-cell for IE6/IE7 */
/* warning: .col needs width on IE6/IE7 */
.btn,
.col,
.inbl {
*display: inline;
*zoom: 1;
}
.visually-hidden {
*clip: rect(1px 1px 1px 1px);
}
/* IE8 grid hack */
.ie8 .grid > *,
.ie8 [class*="autogrid"] > * {
letter-spacing: -0.31em;
text-rendering: optimizespeed;
}
.ie8 .grid > * > *,
.ie8 [class*="autogrid"] > * > *{
letter-spacing: normal;
word-spacing: normal;
text-rendering: auto;
}
/* IE7 grid hack */
.grid > * > *,
[class*="autogrid"] > * > *{
*display: inline;
*zoom: 1;
}
/* forms */
/* Corrects excess space around these inputs in IE8/9 */
.ie678 input[type="checkbox"],
.ie678 input[type="radio"] {
padding: 0;
}
/* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */
.ie678 textarea {
overflow: auto;
}
/* Active box-sizing for IE6/IE7 */
/* @source https://github.com/Schepp/box-sizing-polyfill */
/*
.ie67 * {
behavior: url(/lib/box-sizing-polyfill/boxsizing.htc);
}
*/
} }
.ie678 h2, .ie678 .h2-like {
$val: $h2-size / 1rem;
$em : $val * 10 / $bf;
font-size: $em +0em;
}
.ie678 h3, .ie678 .h3-like {
$val: $h3-size / 1rem;
$em : $val * 10 / $bf;
font-size: $em +0em;
}
.ie678 h4, .ie678 .h4-like {
$val: $h4-size / 1rem;
$em : $val * 10 / $bf;
font-size: $em +0em;
}
.ie678 h5, .ie678 .h5-like {
$val: $h5-size / 1rem;
$em : $val * 10 / $bf;
font-size: $em +0em;
}
.ie678 h6, .ie678 .h6-like {
$val: $h6-size / 1rem;
$em : $val * 10 / $bf;
font-size: $em +0em;
}
.ie678 img {
width: auto; /* @bugfix for IE8 */
}
.ie678 .gm-style img {
height: 100%;
}
/* hasLayout for IE6/IE7 */
.clearfix,
.line,
.mod,
.row,
.col {
*zoom: 1;
}
/* inline-block and table-cell for IE6/IE7 */
/* warning: .col needs width on IE6/IE7 */
.btn,
.col,
.inbl {
*display: inline;
*zoom: 1;
}
.visually-hidden {
*clip: rect(1px 1px 1px 1px);
}
/* IE8 grid hack */
.ie8 .grid > *,
.ie8 [class*="autogrid"] > * {
letter-spacing: -0.31em;
text-rendering: optimizespeed;
}
.ie8 .grid > * > *,
.ie8 [class*="autogrid"] > * > *{
letter-spacing: normal;
word-spacing: normal;
text-rendering: auto;
}
/* IE7 grid hack */
.grid > * > *,
[class*="autogrid"] > * > *{
*display: inline;
*zoom: 1;
}
/* forms */
/* Corrects excess space around these inputs in IE8/9 */
.ie678 input[type="checkbox"],
.ie678 input[type="radio"] {
padding: 0;
}
/* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */
.ie678 textarea {
overflow: auto;
}
/* Active box-sizing for IE6/IE7 */
/* @source https://github.com/Schepp/box-sizing-polyfill */
/*
.ie67 * {
behavior: url(/lib/box-sizing-polyfill/boxsizing.htc);
}
*/

View file

@ -2,135 +2,132 @@
/* ==minor stylings */ /* ==minor stylings */
/* ----------------------------- */ /* ----------------------------- */
// Styling boolean /* styling elements */
@if $enable-styling == true { code, kbd, mark {
/* styling elements */ border-radius: 2px;
code, kbd, mark { }
border-radius: 2px;
} kbd {
padding: 0 2px;
kbd { border: 1px solid #999;
padding: 0 2px; }
border: 1px solid #999;
} code {
padding: 2px 4px;
code { background: rgba(0,0,0,0.04);
padding: 2px 4px; color: #b11;
background: rgba(0,0,0,0.04); }
color: #b11;
} pre code {
padding: none;
pre code { background: none;
padding: none; color: inherit;
background: none; border-radius: 0;
color: inherit; }
border-radius: 0;
} mark {
padding:2px 4px;
mark { background: #ff0;
padding:2px 4px; }
background: #ff0;
} sup,
sub {
sup, vertical-align: 0;
sub { position: relative;
vertical-align: 0; }
position: relative;
} sup {
bottom: 1ex;
sup { }
bottom: 1ex;
} sub {
top: 0.5ex;
sub { }
top: 0.5ex;
} blockquote {
position: relative;
blockquote { padding-left: 3em;
position: relative; }
padding-left: 3em; blockquote:before {
} content: "\201C";
blockquote:before { position: absolute;
content: "\201C"; left: 0;
position: absolute; top: 0;
left: 0; font-family: georgia, serif;
top: 0; font-size: 5em;
font-family: georgia, serif; line-height: 0.9;
font-size: 5em; color: rgba(0, 0, 0, .3);
line-height: 0.9; }
color: rgba(0, 0, 0, .3); blockquote > footer {
} margin-top: .75em;
blockquote > footer { font-size: 0.9em;
margin-top: .75em; color: rgba(0, 0, 0, .7);
font-size: 0.9em; }
color: rgba(0, 0, 0, .7); blockquote > footer:before {
} content: "\2014 \0020";
blockquote > footer:before { }
content: "\2014 \0020";
} q {
font-style: normal;
q { }
font-style: normal;
} q,
.q {
q, quotes: "“\00a0" "\00a0”";
.q { }
quotes: "“\00a0" "\00a0”";
} q:lang(fr),
.q:lang(fr) {
q:lang(fr), quotes: "«\00a0" "\00a0»";
.q:lang(fr) { }
quotes: "«\00a0" "\00a0»";
} hr {
display: block;
hr { clear: both;
display: block; height: 1px;
clear: both; margin: 1em 0 2em;
height: 1px; padding: 0;
margin: 1em 0 2em; border: 0;
padding: 0; color: #ccc;
border: 0; background-color: #ccc;
color: #ccc; }
background-color: #ccc;
} /* alternate tables */
.alternate { border: 0; }
/* alternate tables */ .alternate tbody {
.alternate { border: 0; } border: 1px solid #ccc;
.alternate tbody { }
border: 1px solid #ccc;
} .alternate thead tr > * + * {
border-left: 0;
.alternate thead tr > * + * { }
border-left: 0;
} .alternate tbody tr > * + * {
border-left: 1px solid #ccc;
.alternate tbody tr > * + * { }
border-left: 1px solid #ccc;
} /* alternate-vert tables */
.alternate-vert {
/* alternate-vert tables */ border: 0;
.alternate-vert { border-right: 1px solid #ccc;
border: 0; }
border-right: 1px solid #ccc;
} .alternate-vert tr > :first-child {
border-bottom: 0;
.alternate-vert tr > :first-child { }
border-bottom: 0;
} .alternate-vert tr > * + * {
border-top: 1px solid #ccc;
.alternate-vert tr > * + * { }
border-top: 1px solid #ccc;
} /* striped tables */
.striped tbody tr:nth-child(odd) {
/* striped tables */ background: #eee;
.striped tbody tr:nth-child(odd) { background: rgba(0, 0, 0, .05);
background: #eee; }
background: rgba(0, 0, 0, .05);
} /* striped-vert tables */
.striped-vert tr > :first-child {
/* striped-vert tables */ background: #eee;
.striped-vert tr > :first-child { background: rgba(0, 0, 0, .05);
background: #eee;
background: rgba(0, 0, 0, .05);
}
} }