vendor/frameworks/twitter/bootstrap/pager.scss in anjlab-bootstrap-rails-2.1.1.1 vs vendor/frameworks/twitter/bootstrap/pager.scss in anjlab-bootstrap-rails-2.2.0.0
- old
+ new
@@ -10,31 +10,32 @@
@include clearfix();
}
.pager li {
display: inline;
}
-.pager a,
-.pager span {
+.pager li > a,
+.pager li > span {
display: inline-block;
padding: 5px 14px;
background-color: #fff;
border: 1px solid #ddd;
@include border-radius(15px);
}
-.pager a:hover {
+.pager li > a:hover {
text-decoration: none;
background-color: #f5f5f5;
}
-.pager .next a,
-.pager .next span {
+.pager .next > a,
+.pager .next > span {
float: right;
}
-.pager .previous a {
+.pager .previous > a,
+.pager .previous > span {
float: left;
}
-.pager .disabled a,
-.pager .disabled a:hover,
-.pager .disabled span {
+.pager .disabled > a,
+.pager .disabled > a:hover,
+.pager .disabled > span {
color: $grayLight;
background-color: #fff;
cursor: default;
}