mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
Add variable for controlling backtop colors (#6038)
This commit is contained in:
parent
919cb22eb7
commit
8d1b2c9f32
@ -15,13 +15,13 @@
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
border-radius: 20px;
|
||||
background-color: rgba(64, 64, 64, 0.4);
|
||||
color: #fff;
|
||||
background-color: @back-top-bg;
|
||||
color: @back-top-color;
|
||||
text-align: center;
|
||||
transition: all .3s @ease-in-out;
|
||||
|
||||
&:hover {
|
||||
background-color: rgba(64, 64, 64, 0.6);
|
||||
background-color: @back-top-hover-bg;
|
||||
transition: all .3s @ease-in-out;
|
||||
}
|
||||
}
|
||||
|
@ -330,3 +330,8 @@
|
||||
// Tabs
|
||||
// ---
|
||||
@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