glide-design-system
Version:
Glide design system is an open-source React component library. It offers numerous benefits that make them essential tools for design and development teams.
42 lines (37 loc) • 754 B
CSS
.speedDialContainer {
position: absolute;
bottom: 10px;
right: 10px;
z-index: 1;
display: flex;
flex-direction: column-reverse;
}
.speedDialBtn {
height: 48px;
width: 48px;
color: #fff;
background-color: #1b3764;
border-radius: 50px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.showSpeedDialBtn {
background-color: #3a5d95;
transform: rotate(45deg);
transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
opacity 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}
.speedDialContent {
opacity: 0;
transition: top 0s linear 0.2s;
pointer-events: none;
align-items: center;
display: flex;
gap: 12px;
}
.showSpeedDialContent {
opacity: 1;
pointer-events: auto;
}