aboutsummaryrefslogtreecommitdiff
path: root/less/type.less
diff options
context:
space:
mode:
authorAndreas Cederstròˆm <[email protected]>2012-10-26 09:47:55 +0200
committerAndreas Cederstròˆm <[email protected]>2012-10-26 09:47:55 +0200
commit233e050adfc171685fd2c2f6ad760a8556aa0eb2 (patch)
tree2f1fba9a814dd8ad3f505e5fa8baf90e2e1585f5 /less/type.less
parentc33169a6bae8675bd65767690d9098a4f9c071a9 (diff)
downloadbootstrap-233e050adfc171685fd2c2f6ad760a8556aa0eb2.tar.xz
bootstrap-233e050adfc171685fd2c2f6ad760a8556aa0eb2.zip
Adding .inline for ul and ol
Diffstat (limited to 'less/type.less')
-rw-r--r--less/type.less15
1 files changed, 15 insertions, 0 deletions
diff --git a/less/type.less b/less/type.less
index 3b428e79d..883c476a8 100644
--- a/less/type.less
+++ b/less/type.less
@@ -117,6 +117,21 @@ ol.unstyled {
margin-left: 0;
list-style: none;
}
+ul.inline,
+ol.inline {
+ .clearfix();
+}
+ul.inline > li,
+ol.inline > li {
+ float: left;
+ margin-right: 14px;
+ margin-left: 12px;
+}
+// Reset left padding for unstyled
+ul.unstyled.inline > li,
+ol.unstyled.inline > li {
+ padding-left: 0;
+}
// Description Lists
dl {