]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
cleanup breadcrumbs less code (nesting)
authorMark Otto <markotto@twitter.com>
Wed, 26 Sep 2012 05:57:49 +0000 (22:57 -0700)
committerMark Otto <markotto@twitter.com>
Wed, 26 Sep 2012 05:57:49 +0000 (22:57 -0700)
less/breadcrumbs.less

index 2819704d30c90e3f7ca36cf45ffab5420fad1c48..78eb054be007117a69ed208e1ec02508b4cb8501 100644 (file)
   li {
     display: inline-block;
     text-shadow: 0 1px 0 @white;
-  }
-  li:after {
-    display: inline-block;
-    content: "\00a0 /"; // Unicode space added since inline-block means non-collapsing white-space
-    padding: 0 5px;
-    color: #ccc;
+    &:after {
+      display: inline-block;
+      content: "\00a0 /"; // Unicode space added since inline-block means non-collapsing white-space
+      padding: 0 5px;
+      color: #ccc;
+    }
   }
   .active {
     color: @grayLight;