slightly improve popups

This commit is contained in:
olcxja 2026-08-09 13:21:57 +02:00
commit bb135bed65
14 changed files with 136 additions and 98 deletions

View file

@ -878,35 +878,27 @@ sidebarelement:has(.icon-button:active) indicator:not(.active) {
height: auto;
max-height: 85vh;
}
.popup-btn-cancel {
button.profile-action-btn.popup-action-btn {
flex: 1;
display: flex;
justify-content: center;
margin-top: 0;
}
button.profile-action-btn.popup-btn-cancel {
background: rgba(255, 255, 255, 0.05);
color: var(--text-color);
border: var(--border-width) solid var(--light-border-color);
flex: 1;
justify-content: center;
}
.popup-btn-cancel:hover {
button.profile-action-btn.popup-btn-cancel:hover {
background: rgba(255, 255, 255, 0.1);
}
.popup-btn-confirm {
background: var(--text-color);
color: var(--main-bg-color);
button.profile-action-btn.popup-btn-danger, button.submit-button.popup-btn-danger {
background: var(--big-red) !important;
color: white !important;
border: none;
flex: 1;
justify-content: center;
}
.popup-btn-confirm:hover {
background: white;
}
.popup-btn-danger {
background: var(--big-red);
color: white;
border: none;
flex: 1;
justify-content: center;
}
.popup-btn-danger:hover {
background: #ff5252;
button.profile-action-btn.popup-btn-danger:hover, button.submit-button.popup-btn-danger:hover {
filter: brightness(0.85);
}
.profile-popup-container.show .profile-popup-content {
transform: scale(1);