Add variable for controlling backtop colors (#6038)

This commit is contained in:
Graeme Yeates 2017-05-09 05:15:54 -04:00 committed by Wei Zhu
parent 919cb22eb7
commit 8d1b2c9f32
2 changed files with 8 additions and 3 deletions

View File

@ -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;
} }
} }

View File

@ -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);