45 lines
773 B
CSS
45 lines
773 B
CSS
.option{
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.66);
|
|
z-index: 1000;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.option-content{
|
|
display: flex;
|
|
width: 80%;
|
|
max-width: 500px;
|
|
height: 100%;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
gap: 30px;
|
|
}
|
|
|
|
|
|
.overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
z-index: 1000;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.floating-panel {
|
|
width: 420px;
|
|
max-width: calc(100vw - 32px);
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
|
|
} |