]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
more nested pager.less
authorArtur Kwiatkowski <artur@ciecieprojektow.pl>
Wed, 17 Apr 2013 15:32:48 +0000 (17:32 +0200)
committerArtur Kwiatkowski <artur@ciecieprojektow.pl>
Wed, 17 Apr 2013 15:32:48 +0000 (17:32 +0200)
less/pager.less

index e00a31bd00291cc2356ca7cbbe2ed880fcaba536..0fb694668557f382fafabe2fcbb7536a5e2e7708 100644 (file)
@@ -8,36 +8,47 @@
   list-style: none;
   text-align: center;
   .clearfix();
+  li {
+    display: inline;
+    > a,
+    > span {
+      display: inline-block;
+      padding: 5px 14px;
+      background-color: @pagination-bg;
+      border: 1px solid @pagination-border;
+      border-radius: 15px;
+    }
+
+    > a:hover,
+    > a:focus {
+      text-decoration: none;
+      background-color: @pagination-active-bg;
+    }
+  }
+
+  .next {
+    > a,
+    > span {
+      float: right;
+    }
+  }
+  
+  .previous {
+    > a,
+    > span {
+      float: left;
+    }
+  }
+
+  .disabled {
+    > a,
+    > a:hover,
+    > a:focus,
+    > span {
+      color: @grayLight;
+      background-color: #fff;
+      cursor: default;
+    }
+  }
+
 }
-.pager li {
-  display: inline;
-}
-.pager li > a,
-.pager li > span {
-  display: inline-block;
-  padding: 5px 14px;
-  background-color: @pagination-bg;
-  border: 1px solid @pagination-border;
-  border-radius: 15px;
-}
-.pager li > a:hover,
-.pager li > a:focus {
-  text-decoration: none;
-  background-color: @pagination-active-bg;
-}
-.pager .next > a,
-.pager .next > span {
-  float: right;
-}
-.pager .previous > a,
-.pager .previous > span {
-  float: left;
-}
-.pager .disabled > a,
-.pager .disabled > a:hover,
-.pager .disabled > a:focus,
-.pager .disabled > span {
-  color: @grayLight;
-  background-color: #fff;
-  cursor: default;
-}
\ No newline at end of file