2012-06-29 00:46:45 -04:00
|
|
|
//
|
|
|
|
// Pager pagination
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2012-01-14 23:54:37 -05:00
|
|
|
|
|
|
|
.pager {
|
2013-06-29 16:06:14 -04:00
|
|
|
padding-left: 0;
|
2013-05-10 11:21:27 -04:00
|
|
|
margin: @line-height-computed 0;
|
2012-01-14 23:54:37 -05:00
|
|
|
list-style: none;
|
|
|
|
text-align: center;
|
Switch to `&:extend(.clearfix all)` for clearfix mixin
Original discussion:
https://github.com/less/less.js/issues/1437#issuecomment-21383639.
Since we’re switching to `grunt-contrib-less`, we can take advantage of
newer LESS features than what RECESS supported. Included in that is the
ability to `:extend`, and not only that, but `:extend(.mixin-name
all)`. By doing so, we remove duplicate CSS for all our elements that
were being clearfix-ed.
Fixes #8947, #8968, #8991, #9257, #9268, #9291, #9430, #9604, #9686,
#9929, #10731, #10793, #11305, #11498, #11533, #11570, #11604, #11652.
(dem issues, tho)
2013-12-09 02:18:28 -05:00
|
|
|
&:extend(.clearfix all);
|
2013-04-17 11:32:48 -04:00
|
|
|
li {
|
|
|
|
display: inline;
|
|
|
|
> a,
|
|
|
|
> span {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 5px 14px;
|
2013-12-11 08:25:21 -05:00
|
|
|
background-color: @pager-bg;
|
|
|
|
border: 1px solid @pager-border;
|
2013-07-26 08:04:15 -04:00
|
|
|
border-radius: @pager-border-radius;
|
2013-04-17 11:32:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
> a:hover,
|
|
|
|
> a:focus {
|
|
|
|
text-decoration: none;
|
2013-12-11 08:25:21 -05:00
|
|
|
background-color: @pager-hover-bg;
|
2013-04-17 11:32:48 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.next {
|
|
|
|
> a,
|
|
|
|
> span {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
2013-04-21 22:35:36 -04:00
|
|
|
|
2013-04-17 11:32:48 -04:00
|
|
|
.previous {
|
|
|
|
> a,
|
|
|
|
> span {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.disabled {
|
|
|
|
> a,
|
|
|
|
> a:hover,
|
|
|
|
> a:focus,
|
|
|
|
> span {
|
2013-07-26 08:04:15 -04:00
|
|
|
color: @pager-disabled-color;
|
2013-12-11 08:25:21 -05:00
|
|
|
background-color: @pager-bg;
|
2013-07-24 05:10:27 -04:00
|
|
|
cursor: not-allowed;
|
2013-04-17 11:32:48 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-01-14 23:54:37 -05:00
|
|
|
}
|