mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
Add variable for controlling backtop colors (#6038)
This commit is contained in:
parent
919cb22eb7
commit
8d1b2c9f32
@ -15,13 +15,13 @@
|
|||||||
height: 40px;
|
height: 40px;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
background-color: rgba(64, 64, 64, 0.4);
|
background-color: @back-top-bg;
|
||||||
color: #fff;
|
color: @back-top-color;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transition: all .3s @ease-in-out;
|
transition: all .3s @ease-in-out;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: rgba(64, 64, 64, 0.6);
|
background-color: @back-top-hover-bg;
|
||||||
transition: all .3s @ease-in-out;
|
transition: all .3s @ease-in-out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -330,3 +330,8 @@
|
|||||||
// Tabs
|
// Tabs
|
||||||
// ---
|
// ---
|
||||||
@tabs-card-head-background: #f9f9f9;
|
@tabs-card-head-background: #f9f9f9;
|
||||||
|
|
||||||
|
// BackTop
|
||||||
|
@back-top-color: #fff;
|
||||||
|
@back-top-bg: rgba(64, 64, 64, 0.4);
|
||||||
|
@back-top-hover-bg: rgba(64, 64, 64, 0.6);
|
||||||
|
Loading…
Reference in New Issue
Block a user