ant-design/site/theme/static/page-nav.less

63 lines
1.0 KiB
Plaintext
Raw Normal View History

2016-03-01 11:46:18 +08:00
.prev-next-nav {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
overflow: hidden;
2017-03-11 01:24:46 +08:00
font-size: 14px;
border-top: 1px solid @border-color-split;
2016-03-01 11:46:18 +08:00
2017-03-11 01:24:46 +08:00
> .prev-page,
> .next-page {
padding: 0 24px;
width: 50%;
float: left;
line-height: 72px;
height: 72px;
2017-05-28 15:35:49 +08:00
text-decoration: none;
2017-03-11 01:24:46 +08:00
}
2016-03-01 11:46:18 +08:00
2017-03-11 01:24:46 +08:00
> a.prev-page {
&:before {
font-family: 'anticon';
content: '\e61c';
font-size: 12px;
margin-right: 1em;
color: @text-color-secondary;
transition: all .3s;
position: relative;
left: 0;
}
2016-03-01 11:46:18 +08:00
2017-03-11 01:24:46 +08:00
&:hover:before {
color: @primary-color;
left: -3px;
}
}
> .next-page {
text-align: right;
float: right;
&:after {
font-family: 'anticon';
content: '\e61b';
font-size: 12px;
margin-left: 1em;
color: @text-color-secondary;
transition: all .3s;
position: relative;
right: 0;
}
&:hover:after {
color: @primary-color;
right: -3px;
}
}
2016-03-01 11:46:18 +08:00
2017-03-11 01:24:46 +08:00
.chinese {
margin-left: 0.5em;
}
}