57 lines
1.5 KiB
CSS
57 lines
1.5 KiB
CSS
/* Temp User Restrictions */
|
|
.temp-badge {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
background-color: #ff9800;
|
|
color: white;
|
|
font-size: 11px;
|
|
font-weight: bold;
|
|
border-radius: 3px;
|
|
margin-left: 5px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Hide restricted elements for temp users */
|
|
.temp-restricted {
|
|
display: none !important;
|
|
}
|
|
|
|
/* More specific selectors to ensure hiding */
|
|
a.temp-restricted,
|
|
.btn.temp-restricted,
|
|
.header-actions .temp-restricted,
|
|
.mobile-dropdown-item.temp-restricted {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Hide Shift links/buttons whenever body has .temp-user */
|
|
body.temp-user a[href="/shifts.html"],
|
|
body.temp-user .mobile-dropdown-item a[href="/shifts.html"] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Hide delete button for temp users - MOST AGGRESSIVE RULES */
|
|
body.temp-user #delete-location-btn,
|
|
body.temp-user .delete-location-btn,
|
|
body.temp-user .btn-danger[id*="delete"],
|
|
body.temp-user button[id*="delete"],
|
|
body.temp-user .form-actions .btn-danger,
|
|
body.temp-user .form-actions button[type="button"].btn-danger,
|
|
.temp-hidden,
|
|
[hidden] {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
opacity: 0 !important;
|
|
pointer-events: none !important;
|
|
position: absolute !important;
|
|
left: -9999px !important;
|
|
width: 0 !important;
|
|
height: 0 !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
/* Hide move location button for temp users */
|
|
body.temp-user .move-location-btn,
|
|
body.temp-user #move-location-btn {
|
|
display: none !important;
|
|
} |