mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 23:00:20 +08:00
6936599aef
* rename .stylelintrc to .stylelintrc.json for explicit file type * add new npm script lint-fix:style * fix pseudo-element with double colon * function name should be lower except ignored functions * support stylelint declaration-block-no-ignored-properties rule * support sorted CSS properties order for readability and consistency * autofix order of all styles by lint-fix:style script * remove double slash comments after selector * replace .stylelintignore with ignoreFiles in .stylelintrc.json
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
.prev-next-nav {
|
|
margin-right: 64px;
|
|
margin-left: 64px;
|
|
overflow: hidden;
|
|
font-size: 14px;
|
|
border-top: 1px solid @site-border-color-split;
|
|
|
|
> .prev-page,
|
|
> .next-page {
|
|
float: left;
|
|
width: 50%;
|
|
height: 72px;
|
|
line-height: 72px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
> a.prev-page {
|
|
.footer-nav-icon-before {
|
|
position: relative;
|
|
left: 0;
|
|
margin-right: 1em;
|
|
color: @site-text-color-secondary;
|
|
font-size: 12px;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.footer-nav-icon-after {
|
|
display: none;
|
|
}
|
|
|
|
&:hover .footer-nav-icon-before {
|
|
left: -3px;
|
|
color: @primary-color;
|
|
}
|
|
}
|
|
|
|
> .next-page {
|
|
float: right;
|
|
text-align: right;
|
|
|
|
.footer-nav-icon-after {
|
|
position: relative;
|
|
right: 0;
|
|
margin-left: 1em;
|
|
color: @site-text-color-secondary;
|
|
font-size: 12px;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.footer-nav-icon-before {
|
|
display: none;
|
|
}
|
|
|
|
&:hover .footer-nav-icon-after {
|
|
right: -3px;
|
|
color: @primary-color;
|
|
}
|
|
}
|
|
|
|
.chinese {
|
|
margin-left: 0.5em;
|
|
}
|
|
}
|