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

66 lines
1.1 KiB
Plaintext
Raw Normal View History

2016-03-01 11:46:18 +08:00
.prev-next-nav {
position: absolute;
bottom: 0;
left: 0;
2018-12-07 16:17:45 +08:00
width: ~'calc(100% - 194px - 64px)';
margin-left: 64px;
2017-03-11 01:24:46 +08:00
font-size: 14px;
2017-11-28 16:15:22 +08:00
border-top: 1px solid @site-border-color-split;
2016-03-01 11:46:18 +08:00
2017-03-11 01:24:46 +08:00
> .prev-page,
> .next-page {
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 {
2018-08-21 17:46:20 +08:00
.footer-nav-icon-before {
2017-03-11 01:24:46 +08:00
font-size: 12px;
margin-right: 1em;
2017-11-28 16:15:22 +08:00
color: @site-text-color-secondary;
2018-12-07 16:17:45 +08:00
transition: all 0.3s;
2017-03-11 01:24:46 +08:00
position: relative;
left: 0;
}
2016-03-01 11:46:18 +08:00
2018-08-21 17:46:20 +08:00
.footer-nav-icon-after {
display: none;
}
&:hover .footer-nav-icon-before {
2017-03-11 01:24:46 +08:00
color: @primary-color;
left: -3px;
}
}
> .next-page {
text-align: right;
float: right;
2018-08-21 17:46:20 +08:00
.footer-nav-icon-after {
2017-03-11 01:24:46 +08:00
font-size: 12px;
margin-left: 1em;
2017-11-28 16:15:22 +08:00
color: @site-text-color-secondary;
2018-12-07 16:17:45 +08:00
transition: all 0.3s;
2017-03-11 01:24:46 +08:00
position: relative;
right: 0;
}
2018-08-21 17:46:20 +08:00
.footer-nav-icon-before {
display: none;
}
&:hover .footer-nav-icon-after {
2017-03-11 01:24:46 +08:00
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;
}
}