]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
#3861: add span to pagination selectors for full support of non-link pagination items
authorMark Otto <markotto@twitter.com>
Wed, 20 Jun 2012 06:37:47 +0000 (23:37 -0700)
committerMark Otto <markotto@twitter.com>
Wed, 20 Jun 2012 06:37:47 +0000 (23:37 -0700)
docs/assets/css/bootstrap.css
less/pagination.less

index 56405b5ffa72de712b20e490752dcf27b99b2353..177fd693f4b8e393fa1f93ba15367aee0eeaf138 100644 (file)
@@ -4111,7 +4111,8 @@ input[type="submit"].btn.btn-mini {
   display: inline;
 }
 
-.pagination a {
+.pagination a,
+.pagination span {
   float: left;
   padding: 0 14px;
   line-height: 34px;
@@ -4121,11 +4122,13 @@ input[type="submit"].btn.btn-mini {
 }
 
 .pagination a:hover,
-.pagination .active a {
+.pagination .active a,
+.pagination .active span {
   background-color: #f5f5f5;
 }
 
-.pagination .active a {
+.pagination .active a,
+.pagination .active span {
   color: #999999;
   cursor: default;
 }
@@ -4138,14 +4141,16 @@ input[type="submit"].btn.btn-mini {
   background-color: transparent;
 }
 
-.pagination li:first-child a {
+.pagination li:first-child a,
+.pagination li:first-child span {
   border-left-width: 1px;
   -webkit-border-radius: 3px 0 0 3px;
      -moz-border-radius: 3px 0 0 3px;
           border-radius: 3px 0 0 3px;
 }
 
-.pagination li:last-child a {
+.pagination li:last-child a,
+.pagination li:last-child span {
   -webkit-border-radius: 0 3px 3px 0;
      -moz-border-radius: 0 3px 3px 0;
           border-radius: 0 3px 3px 0;
index 38cf65cc44e24ced1f3cbf9a65e8d08618f09d6c..d978a7b8c05593291afdd9f2b1465af83c5d6201 100644 (file)
@@ -16,7 +16,8 @@
 .pagination li {
     display: inline;
   }
-.pagination a {
+.pagination a,
+.pagination span {
   float: left;
   padding: 0 14px;
   line-height: (@baseLineHeight * 2) - 2;
   border-left-width: 0;
 }
 .pagination a:hover,
-.pagination .active a {
+.pagination .active a,
+.pagination .active span {
   background-color: #f5f5f5;
 }
-.pagination .active a {
+.pagination .active a,
+.pagination .active span {
   color: @grayLight;
   cursor: default;
 }
   background-color: transparent;
   cursor: default;
 }
-.pagination li:first-child a {
+.pagination li:first-child a,
+.pagination li:first-child span {
   border-left-width: 1px;
   .border-radius(3px 0 0 3px);
 }
-.pagination li:last-child a {
+.pagination li:last-child a,
+.pagination li:last-child span {
   .border-radius(0 3px 3px 0);
 }