aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-28 23:58:39 -0800
committerMark Otto <[email protected]>2012-01-28 23:58:39 -0800
commit15a1c0ce7988aaf715096760fa99eff7b23937f4 (patch)
tree9678b470e0a40572c5e84563a088f54dfcdaa3c6 /docs/assets/css
parentf9e01e2258d77593bb05efc572290662a9c37aa0 (diff)
downloadbootstrap-15a1c0ce7988aaf715096760fa99eff7b23937f4.tar.xz
bootstrap-15a1c0ce7988aaf715096760fa99eff7b23937f4.zip
add swatches to the color variables in less docs page
Diffstat (limited to 'docs/assets/css')
-rw-r--r--docs/assets/css/docs.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index 7876f300a..9b8244d49 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -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
-------------------------------------------------- */