public/vendor/bootstrap/less/pagination.less in twigg-app-0.0.1 vs public/vendor/bootstrap/less/pagination.less in twigg-app-0.0.2
- old
+ new
@@ -9,22 +9,23 @@
> li {
display: inline; // Remove list-style and block-level defaults
> a,
> span {
+ position: relative;
float: left; // Collapse white-space
padding: @padding-base-vertical @padding-base-horizontal;
line-height: @line-height-base;
text-decoration: none;
background-color: @pagination-bg;
border: 1px solid @pagination-border;
- border-left-width: 0;
+ margin-left: -1px;
}
&:first-child {
> a,
> span {
- border-left-width: 1px;
+ margin-left: 0;
.border-left-radius(@border-radius-base);
}
}
&:last-child {
> a,
@@ -32,28 +33,38 @@
.border-right-radius(@border-radius-base);
}
}
}
- > li > a:hover,
- > li > a:focus,
- > .active > a,
- > .active > span {
- background-color: @pagination-active-bg;
+ > li > a,
+ > li > span {
+ &:hover,
+ &:focus {
+ background-color: @pagination-hover-bg;
+ }
}
+
> .active > a,
> .active > span {
- color: @pagination-active-color;
- cursor: default;
+ &,
+ &:hover,
+ &:focus {
+ z-index: 2;
+ color: @pagination-active-color;
+ background-color: @pagination-active-bg;
+ border-color: @pagination-active-bg;
+ cursor: default;
+ }
}
> .disabled {
> span,
> a,
> a:hover,
> a:focus {
color: @pagination-disabled-color;
background-color: @pagination-bg;
+ border-color: @pagination-border;
cursor: not-allowed;
}
}
}