mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-04 07:31:48 +01:00
baBackTop component
This commit is contained in:
parent
e8225b74f6
commit
fb435d91fb
5 changed files with 60 additions and 2 deletions
24
src/app/theme/components/baBackTop/baBackTop.scss
Normal file
24
src/app/theme/components/baBackTop/baBackTop.scss
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
@import '../../../theme/sass/conf/conf';
|
||||
$height: 52px;
|
||||
|
||||
.ba-back-top {
|
||||
position: fixed;
|
||||
width: $height;
|
||||
height: $height;
|
||||
cursor: pointer;
|
||||
z-index: 9999;
|
||||
display: none;
|
||||
text-decoration: none;
|
||||
right: (180px - $height) / 2;
|
||||
bottom: 40px !important;
|
||||
font-size: 45px;
|
||||
text-align: center;
|
||||
opacity: 0.4;
|
||||
color: $primary;
|
||||
background-color: rgba(0, 0, 0, 0.75);
|
||||
border-radius: 50%;
|
||||
line-height: 46px;
|
||||
&:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue