Files
2026-04-28 15:13:50 +02:00

105 lines
2.1 KiB
CSS

/**
* UserFeedback Admin Exclusion Banner
* Displays when surveys are hidden for logged-in administrators
*/
.userfeedback-admin-banner {
position: fixed;
bottom: 0;
right: 40px;
z-index: 999999;
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
opacity: 0;
transform: translateY(100%);
transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.userfeedback-admin-banner--visible {
opacity: 1;
transform: translateY(0);
}
.userfeedback-admin-banner__card {
position: relative;
background: #ffffff;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
max-width: 425px;
min-width: 425px;
color: #23282d;
overflow: hidden;
}
.userfeedback-admin-banner__close {
position: absolute;
top: 12px;
right: 12px;
background: transparent;
border: none;
cursor: pointer;
padding: 6px;
color: #666;
transition: color 0.2s ease, background 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
z-index: 10;
line-height: 1;
}
.userfeedback-admin-banner__close:hover {
color: #333;
background: rgba(0, 0, 0, 0.05);
}
.userfeedback-admin-banner__close:focus {
outline: 2px solid #2d87f1;
outline-offset: 2px;
}
.userfeedback-admin-banner__close svg {
width: 12px;
height: 12px;
}
.userfeedback-admin-banner__media {
display: flex;
padding: 10px;
gap: 10px;
}
.userfeedback-admin-banner__logo {
width: 60px;
height: 60px;
flex-shrink: 0;
background: #f0f5ff;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
padding: 8px;
}
.userfeedback-admin-banner__logo img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.userfeedback-admin-banner__title {
margin: 0 0 4px 0;
font-size: 15px;
font-weight: 700;
line-height: 1.3;
color: #1e1e1e;
}
.userfeedback-admin-banner__message {
margin: 0;
font-size: 13px;
line-height: 1.5;
color: #555;
}