mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-16 03:58:12 +00:00
75 lines
1.6 KiB
SCSS
Vendored
75 lines
1.6 KiB
SCSS
Vendored
.mobile-tabbar {
|
|
display: none;
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
background-color: #f8f8f8;
|
|
box-shadow: 0 0 2px rgba(28, 34, 43, 0.15);
|
|
z-index: 9998;
|
|
> ul {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
margin: 0;
|
|
height: 60px;
|
|
> li {
|
|
flex: 1;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
color: $primary-text-color;
|
|
position: relative;
|
|
.taskfont {
|
|
font-size: 24px;
|
|
line-height: 34px;
|
|
}
|
|
.tabbar-title {
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
}
|
|
.tabbar-badge {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
transform: scale(0.8);
|
|
.ivu-badge-count {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
&.active {
|
|
color: $primary-color;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.mobile-back {
|
|
display: none;
|
|
position: fixed;
|
|
top: 200px;
|
|
left: -50px;
|
|
width: 500px;
|
|
height: 500px;
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
z-index: 9999;
|
|
border-radius: 50%;
|
|
transform: translate(-460px, -50%);
|
|
transition: left 0.2s;
|
|
&.show-back {
|
|
left: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.mobile-tabbar,
|
|
.mobile-back {
|
|
display: block;
|
|
}
|
|
}
|