antdv-eoi
Version:
An enterprise-class UI design language and Vue-based implementation
72 lines (71 loc) • 1.75 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/************************* 全局灰度 *********************/
/*所有阴影*/
/************************* 全局主题色 *********************/
/************************* 全局不变的颜色 *********************/
/* group color */
/* standard */
/* light */
/* dark */
/* 状态色 */
/* -state- Functional Color */
/* 状态色边框 */
/************************* 自定义变量 *********************/
/************************* 修改ant-design-vue变量 *********************/
.ant-back-top {
box-sizing: border-box;
margin: 0;
padding: 0;
color: var(--color-neutrals-7, #8f8f8f);
font-size: 12px;
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
font-feature-settings: 'tnum';
position: fixed;
right: 100px;
bottom: 50px;
z-index: 10;
width: 40px;
height: 40px;
cursor: pointer;
}
.ant-back-top:empty {
display: none;
}
.ant-back-top-rtl {
right: auto;
left: 100px;
direction: rtl;
}
.ant-back-top-content {
width: 40px;
height: 40px;
overflow: hidden;
color: #fff;
text-align: center;
background-color: rgba(0, 0, 0, 0.45);
border-radius: 20px;
transition: all 0.3s;
}
.ant-back-top-content:hover {
background-color: var(--color-neutrals-7, #8f8f8f);
transition: all 0.3s;
}
.ant-back-top-icon {
font-size: 24px;
line-height: 40px;
}
@media screen and (max-width: 768px) {
.ant-back-top {
right: 60px;
}
}
@media screen and (max-width: 480px) {
.ant-back-top {
right: 20px;
}
}