2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-27 14:46:01 +03:00

add swatches to the color variables in less docs page

This commit is contained in:
Mark Otto
2012-01-28 23:58:39 -08:00
parent f9e01e2258
commit 15a1c0ce79
3 changed files with 244 additions and 264 deletions
+24
View File
@@ -470,6 +470,30 @@ hr.soften {
/* Color swatches on LESS docs page
-------------------------------------------------- */
/* Sets the width of the td */
.swatch-col {
width: 30px;
}
/* Le swatch */
.swatch {
display: inline-block;
width: 30px;
height: 20px;
margin: -6px 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
/* For white swatches, give a border */
.swatch-bordered {
width: 28px;
height: 18px;
border: 1px solid #eee;
}
/* Misc
-------------------------------------------------- */