diff --git a/public/userarea/worksheets.php b/public/userarea/worksheets.php index 85c1ee7f..f2559622 100644 --- a/public/userarea/worksheets.php +++ b/public/userarea/worksheets.php @@ -525,6 +525,53 @@ $worksheets = $pdo->query(" opacity: 0.65; } + .ws-actions { + display: inline-flex; + align-items: center; + gap: 6px; + } + + .btn-icon { + width: 32px; + height: 32px; + padding: 0; + display: inline-flex; + align-items: center; + justify-content: center; + border-radius: 8px; + } + + .btn-icon i { + font-size: 1.1rem; + } + + .ws-switch { + margin: 0 4px 0 0; + padding-left: 2.6em; + min-height: auto; + } + + .ws-switch .form-check-input { + width: 2.4em; + height: 1.3em; + margin-top: 0; + cursor: pointer; + } + + .ws-switch .form-check-input:checked { + background-color: #198754; + border-color: #198754; + } + + .ws-switch .form-check-input:not(:checked):not(:disabled) { + background-color: #f8d7da; + border-color: #f1aeb5; + } + + .ws-switch .form-check-input:disabled { + cursor: not-allowed; + } + .table td, .table th { vertical-align: middle; @@ -628,48 +675,54 @@ $worksheets = $pdo->query("