66 lines
1.1 KiB
CSS
66 lines
1.1 KiB
CSS
.speech-bubble {
|
|
background: white;
|
|
border: 2px solid #333;
|
|
border-radius: 10px;
|
|
padding: 12px 16px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.speech-bubble::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -12px;
|
|
right: 20px;
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 10px solid transparent;
|
|
border-right: 0 solid transparent;
|
|
border-top: 12px solid #333;
|
|
}
|
|
|
|
.speech-bubble::before {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -8px;
|
|
right: 22px;
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 8px solid transparent;
|
|
border-right: 0 solid transparent;
|
|
border-top: 10px solid white;
|
|
}
|
|
|
|
.speech-text {
|
|
flex: 1;
|
|
white-space: nowrap;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.dialog-buttons {
|
|
display: flex;
|
|
gap: 5px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.dialog-btn {
|
|
padding: 4px 8px;
|
|
border: 1px solid #333;
|
|
background: #f0f0f0;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 0.8rem;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.dialog-btn:hover:not(:disabled) {
|
|
background: #333;
|
|
color: white;
|
|
}
|
|
|
|
.dialog-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|