Files
Shortumation/webapp/src/components/SpeedDial/index.css
T

45 lines
769 B
CSS

.speed-dial, .speed-dial--icon {
display: flex;
flex-direction: column;
height: 100%;
min-height: 100%;
justify-content: center;
align-items: center;
position: relative;
}
.speed-dial .speed-dial--icon {
max-height: 2em;
max-width: 2em;
overflow: hidden;
cursor: pointer;
}
.speed-dial--list.close {
width: 0;
opacity: 0;
}
.speed-dial--list {
position: absolute;
background: var(--secondary);
z-index: 10;
height: fit-content;
padding: 0.1em;
border-radius: 10px;
}
.speed-dial--list.row {
display: flex;
flex-direction: row;
top: 0;
left: 2em;
}
.speed-dial--list.column {
display: flex;
flex-direction: column;
gap: 0.25em;
top: 2em;
left: 0.25em;
}