adding comms

This commit is contained in:
Raphael Goetter 2014-05-03 14:03:41 +02:00
parent a54c4a7642
commit df5315b05e
8 changed files with 58 additions and 50 deletions

View file

@ -1,4 +1,7 @@
@import "00-config";
/* ----------------------------- */
/* ==minor stylings */
/* ----------------------------- */
// Styling boolean
& when (@styling = true) {
@ -63,4 +66,39 @@
color: #ccc;
background-color: #ccc;
}
/* alternate tables */
.alternate { border: 0; }
.alternate tbody {
border: 1px solid #ccc;
}
.alternate thead tr > * + * {
border-left: 0;
}
.alternate tbody tr > * + * {
border-left: 1px solid #ccc;
}
/* alternate-vert tables */
.alternate-vert {
border: 0;
border-right: 1px solid #ccc;
}
.alternate-vert tr > :first-child {
border-bottom: 0;
}
.alternate-vert tr > * + * {
border-top: 1px solid #ccc;
}
/* striped tables */
.striped tbody tr:nth-child(odd) {
background: #eee;
background: rgba(0, 0, 0, .05);
}
/* striped-vert tables */
.striped-vert tr > :first-child {
background: #eee;
background: rgba(0, 0, 0, .05);
}
}