Files
gpw_next/GPW.CORE.SMART/Components/NavBottom.razor.css
T
Samuele E. Locatelli 47a655c820 Update layout navbuttons
2023-01-22 19:17:41 +01:00

95 lines
2.0 KiB
CSS

.btn-toggle {
--y: 0;
--z: 0;
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(to right, #606c88, #3f4c6b);
padding: 0.75rem 3rem;
border-radius: 1.5rem 1.5rem 0 0;
border: none;
box-shadow: 0 2px 40px -10px #000;
color: #fff;
white-space: nowrap;
left: 50%;
transform: translate3d(var(--x), var(--y), var(--z));
cursor: pointer;
z-index: 105;
}
.btn-show {
--x: -50%;
--y: 0;
--z: 0;
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(to right, #606c88, #3f4c6b);
padding: 0.75rem 3rem;
border-radius: 1.5rem 1.5rem 0 0;
border: none;
box-shadow: 0 2px 40px -10px #000;
color: #fff;
white-space: nowrap;
left: 50%;
transform: translate3d(var(--x), var(--y), var(--z));
cursor: pointer;
z-index: 105;
position: fixed;
bottom: 0rem;
}
.btn-hide {
--y: 0;
--z: 0;
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(to right, #606c88, #3f4c6b);
padding: 0.75rem 3rem;
border-radius: 1.5rem 1.5rem 0 0;
border: none;
box-shadow: 0 2px 40px -10px #000;
color: #fff;
white-space: nowrap;
left: 50%;
transform: translate3d(var(--x), var(--y), var(--z));
cursor: pointer;
z-index: 105;
}
.menuArea {
position: fixed;
bottom: 0;
}
.choiceArea {
/*display: block;
width: 100%;*/
border-radius: 1.5rem 1.5rem 0 0;
padding: 0.2rem 0.4rem 0.2rem 0.4rem;
box-shadow: 0px -9px 50px -30px black;
transition: height 200ms ease-in-out 400ms, opacity 700ms;
background: linear-gradient(to bottom, #606c88, #3f4c6b);
}
.rapid-buttons {
display: flex;
padding: 0.4rem 0.2rem;
justify-content: center;
}
.rapid-buttons a {
flex: 1 1 30%;
padding: 1.5rem;
margin: 5px;
border-radius: 8px;
background: #d1d1d1;
color: var(--color);
text-align: center;
font-size: 14px;
font-weight: bold;
text-decoration: none;
}
@keyframes menuSlide {
0% {
height: 0%;
}
100% {
height: 100%;
}
}