Spaces:
Sleeping
Sleeping
Download frontend/src/styles/08-responsive.css from jinksQspider/FaceMarkPro2: direct link, hf CLI and curl.
- Browser
- Download file 12.8 kB
-
https://huggingface.co/spaces/jinksQspider/FaceMarkPro2/resolve/main/frontend/src/styles/08-responsive.css
- Command line
-
hf download hf://spaces/jinksQspider/FaceMarkPro2/frontend/src/styles/08-responsive.css
-
curl -L -o 08-responsive.css https://huggingface.co/spaces/jinksQspider/FaceMarkPro2/resolve/main/frontend/src/styles/08-responsive.css
12.8 kB
| @media (max-width: 992px) { | |
| .admin-modal-overlay { | |
| place-items: start center; | |
| overflow-y: auto; | |
| padding: 12px 6px; | |
| } | |
| .portal-loading-screen { | |
| display: block; | |
| } | |
| .portal-loading-screen .portal-sidebar-skeleton { | |
| position: relative; | |
| width: 100%; | |
| inset: auto; | |
| min-height: auto; | |
| border-radius: 0 0 20px 20px; | |
| transform: none; | |
| opacity: 1; | |
| visibility: visible; | |
| } | |
| .portal-loading-screen .portal-main-skeleton { | |
| margin-left: 0; | |
| width: 100%; | |
| } | |
| .portal-skeleton-grid.top, | |
| .portal-skeleton-grid.middle, | |
| .portal-skeleton-grid.bottom, | |
| .portal-skeleton-grid.compact { | |
| grid-template-columns: 1fr; | |
| } | |
| .admin-face-slot-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .admin-overview-hero { | |
| grid-template-columns: 1fr; | |
| } | |
| .admin-overview-actions { | |
| grid-template-columns: 1fr; | |
| } | |
| .academic-setup-toolbar { | |
| flex-direction: column; | |
| align-items: stretch; | |
| } | |
| .admin-student-results { | |
| max-height: 180px; | |
| } | |
| .faculty-profile-hero, | |
| .photo-cropper-body { | |
| grid-template-columns: 1fr; | |
| } | |
| .faculty-timetable-header { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| } | |
| .faculty-profile-meta-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .faculty-timetable-summary, | |
| .faculty-timetable-form-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .faculty-timetable-matrix { | |
| min-width: 680px; | |
| } | |
| .photo-cropper-stage-panel { | |
| min-height: 420px; | |
| } | |
| .portal-sidebar { | |
| width: min(86vw, 320px); | |
| transform: translateX(-100%); | |
| opacity: 0; | |
| visibility: hidden; | |
| transition: | |
| transform var(--motion-slow), | |
| opacity var(--motion-base), | |
| visibility 0s linear var(--motion-slow); | |
| border-top-right-radius: 20px; | |
| border-bottom-right-radius: 20px; | |
| will-change: transform, opacity; | |
| } | |
| .portal-sidebar.open { | |
| transform: translateX(0); | |
| opacity: 1; | |
| visibility: visible; | |
| transition: | |
| transform var(--motion-slow), | |
| opacity var(--motion-base), | |
| visibility 0s linear 0s; | |
| } | |
| .portal-main { | |
| margin-left: 0; | |
| padding: 18px; | |
| } | |
| .page-heading h1 { | |
| font-size: clamp(1.35rem, 4.2vw, 1.8rem); | |
| } | |
| .sidebar-toggle { | |
| display: inline-grid; | |
| place-items: center; | |
| } | |
| .content-grid.two, | |
| .content-grid.faculty-grid, | |
| .field-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .widget-picker-grid { | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| } | |
| .admin-form-grid-three { | |
| grid-template-columns: 1fr; | |
| } | |
| .report-filter-grid { | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| } | |
| .page-header { | |
| flex-direction: column; | |
| align-items: stretch; | |
| gap: 14px; | |
| } | |
| .page-heading { | |
| width: 100%; | |
| justify-content: flex-start; | |
| } | |
| .page-actions { | |
| width: 100%; | |
| justify-content: flex-end; | |
| } | |
| .stats-grid { | |
| grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); | |
| gap: 16px; | |
| } | |
| .stat-card, | |
| .content-card { | |
| padding: 18px; | |
| } | |
| .simple-table, | |
| .matrix-table { | |
| min-width: 0; | |
| } | |
| .faculty-widget-grid { | |
| min-height: auto; | |
| } | |
| .attendance-layout { | |
| grid-template-columns: 1fr; | |
| min-height: auto; | |
| } | |
| .attendance-live-stage { | |
| min-height: 300px; | |
| } | |
| } | |
| @media (max-width: 640px) { | |
| .portal-loading-screen .portal-sidebar-skeleton { | |
| padding: 16px 12px 18px; | |
| } | |
| .portal-skeleton-page-title, | |
| .portal-skeleton-page-subtitle { | |
| width: 100%; | |
| } | |
| .portal-skeleton-header-action { | |
| width: 100%; | |
| } | |
| .portal-skeleton-dashboard { | |
| gap: 16px; | |
| } | |
| .portal-skeleton-card, | |
| .portal-skeleton-card.wide, | |
| .portal-skeleton-card.compact { | |
| min-height: auto; | |
| } | |
| .admin-overview-hero { | |
| padding: 18px; | |
| border-radius: 22px; | |
| } | |
| .admin-overview-hero-metrics { | |
| grid-template-columns: 1fr; | |
| } | |
| .admin-overview-metric-card, | |
| .admin-overview-action-card, | |
| .admin-overview-snapshot-item { | |
| padding: 14px; | |
| border-radius: 16px; | |
| } | |
| .academic-setup-tab { | |
| width: 100%; | |
| justify-content: center; | |
| } | |
| .admin-overview-snapshot-item { | |
| grid-template-columns: 1fr; | |
| align-items: start; | |
| } | |
| .report-page-shell { | |
| gap: 14px; | |
| } | |
| .report-card { | |
| padding: 16px; | |
| border-radius: 16px; | |
| } | |
| .admin-face-register-modal, | |
| .admin-face-camera-modal { | |
| width: calc(100vw - 12px); | |
| } | |
| .faculty-profile-photo-card, | |
| .faculty-profile-hero-copy { | |
| padding: 16px; | |
| border-radius: 20px; | |
| } | |
| .faculty-profile-photo-frame, | |
| .photo-camera-frame, | |
| .photo-crop-stage { | |
| border-radius: 22px; | |
| } | |
| .photo-cropper-modal { | |
| width: calc(100vw - 12px); | |
| max-height: calc(100dvh - 12px); | |
| padding: 16px; | |
| border-radius: 22px; | |
| } | |
| .photo-cropper-header, | |
| .photo-cropper-footer { | |
| flex-direction: column; | |
| align-items: stretch; | |
| } | |
| .photo-cropper-toolbar, | |
| .photo-cropper-actions { | |
| flex-wrap: wrap; | |
| } | |
| body { | |
| min-height: 100dvh; | |
| } | |
| .login-container { | |
| margin: 20px 12px; | |
| width: auto; | |
| max-width: 340px; | |
| padding: 18px 14px 16px; | |
| } | |
| .lp-theme-btn { | |
| top: 12px; | |
| right: 12px; | |
| } | |
| .theme-switch { | |
| width: 84px; | |
| --container-width: 84px; | |
| --toggle-size: 16px; | |
| --container-height: 1.8em; | |
| --circle-container-diameter: 1.8em; | |
| --sun-moon-diameter: 1em; | |
| } | |
| .page-heading h1 { | |
| font-size: 24px; | |
| line-height: 1.15; | |
| } | |
| .page-heading p { | |
| font-size: 14px; | |
| } | |
| .portal-main { | |
| padding: 14px 12px 22px; | |
| } | |
| .content-card, | |
| .stat-card { | |
| padding: 14px; | |
| border-radius: 14px; | |
| } | |
| .manual-mark-toolbar { | |
| flex-direction: column; | |
| align-items: stretch; | |
| padding: 14px; | |
| } | |
| .report-filter-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .report-filter-toolbar, | |
| .report-actions, | |
| .report-filter-actions { | |
| width: 100%; | |
| } | |
| .report-filter-toolbar { | |
| flex-direction: column; | |
| align-items: stretch; | |
| } | |
| .report-actions, | |
| .report-filter-actions { | |
| justify-content: stretch; | |
| } | |
| .report-filter-actions .primary-btn, | |
| .report-actions .primary-btn, | |
| .report-actions .pagination-btn { | |
| width: 100%; | |
| justify-content: center; | |
| } | |
| .portal-sidebar { | |
| width: min(250px, calc(100vw - 64px)); | |
| padding: 12px 10px 14px; | |
| } | |
| .sidebar-brand { | |
| padding: 6px 6px 10px; | |
| } | |
| .profile-section { | |
| padding: 12px 6px 12px; | |
| gap: 10px; | |
| } | |
| .profile-photo { | |
| width: 62px; | |
| height: 62px; | |
| font-size: 20px; | |
| } | |
| .nav-link { | |
| padding: 10px 12px; | |
| font-size: 13px; | |
| } | |
| .nav-links { | |
| gap: 6px; | |
| } | |
| .sidebar-top-action-row { | |
| gap: 10px; | |
| } | |
| .sidebar-footer-row { | |
| padding: 12px 0 0; | |
| } | |
| .logout-link { | |
| min-width: 112px; | |
| padding-inline: 12px; | |
| } | |
| .widget-add-trigger { | |
| width: 42px; | |
| height: 42px; | |
| font-size: 26px; | |
| } | |
| .widget-picker-modal { | |
| width: calc(100vw - 20px); | |
| max-height: calc(100dvh - 20px); | |
| padding: 22px 16px; | |
| border-radius: 18px; | |
| } | |
| .attendance-hero { | |
| padding: 18px 16px; | |
| border-radius: 14px; | |
| } | |
| .attendance-hero-content { | |
| justify-content: flex-start; | |
| gap: 12px; | |
| } | |
| .attendance-hero-icon { | |
| width: 44px; | |
| height: 44px; | |
| font-size: 18px; | |
| } | |
| .attendance-hero h2 { | |
| font-size: 1.3rem; | |
| } | |
| .attendance-hero span { | |
| font-size: 0.8rem; | |
| } | |
| .attendance-panel-title { | |
| padding: 14px 16px 0; | |
| font-size: 1rem; | |
| } | |
| .attendance-panel-body { | |
| padding: 14px 16px 16px; | |
| } | |
| .attendance-control-card, | |
| .attendance-upload-card, | |
| .attendance-status-card { | |
| padding: 14px; | |
| } | |
| .attendance-live-stage { | |
| min-height: 220px; | |
| } | |
| .widget-picker-modal h2 { | |
| font-size: 24px; | |
| } | |
| .widget-picker-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .widget-picker-item { | |
| min-height: 88px; | |
| padding: 16px 12px; | |
| } | |
| .section-head { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| } | |
| .stats-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .stat-card { | |
| padding: 16px; | |
| } | |
| .stat-copy strong { | |
| font-size: 26px; | |
| } | |
| .simple-table, | |
| .matrix-table { | |
| min-width: 0; | |
| } | |
| .simple-table th, | |
| .simple-table td, | |
| .matrix-table th, | |
| .admin-table th, | |
| .admin-table td { | |
| padding: 10px 8px; | |
| font-size: 12px; | |
| } | |
| .admin-table { | |
| border-spacing: 0 8px; | |
| } | |
| .admin-table tbody tr td:first-child { | |
| border-top-left-radius: 10px; | |
| border-bottom-left-radius: 10px; | |
| } | |
| .admin-table tbody tr td:last-child { | |
| border-top-right-radius: 10px; | |
| border-bottom-right-radius: 10px; | |
| } | |
| .admin-overview-areas-card .simple-table { | |
| border-spacing: 0 8px; | |
| } | |
| .admin-overview-areas-card .simple-table tbody tr td:first-child { | |
| border-top-left-radius: 10px; | |
| border-bottom-left-radius: 10px; | |
| } | |
| .admin-overview-areas-card .simple-table tbody tr td:last-child { | |
| border-top-right-radius: 10px; | |
| border-bottom-right-radius: 10px; | |
| } | |
| .action-cell { | |
| gap: 6px; | |
| } | |
| .action-btn { | |
| width: 32px; | |
| height: 32px; | |
| font-size: 14px; | |
| } | |
| .face-text-btn { | |
| height: 32px; | |
| padding: 0 8px; | |
| font-size: 11px; | |
| } | |
| .face-action-btn { | |
| width: 32px; | |
| height: 32px; | |
| font-size: 12px; | |
| } | |
| .faces-cell-roll, | |
| .faces-cell-name { | |
| height: 10px; | |
| } | |
| .faces-cell-class, | |
| .faces-cell-section { | |
| height: 24px; | |
| } | |
| .faces-cell-section { | |
| width: 28px; | |
| } | |
| .faces-action-dot { | |
| width: 28px; | |
| height: 28px; | |
| } | |
| .students-action-dot, | |
| .faculty-action-dot, | |
| .setup-action-dot { | |
| width: 28px; | |
| height: 28px; | |
| } | |
| .students-action-wide { | |
| width: 80px; | |
| height: 28px; | |
| } | |
| .students-cell-branch, | |
| .students-cell-sem, | |
| .students-cell-face, | |
| .faculty-cell-dept, | |
| .faculty-cell-role, | |
| .setup-cell-status { | |
| height: 22px; | |
| } | |
| .students-cell-roll, | |
| .students-cell-name, | |
| .faculty-cell-name, | |
| .faculty-cell-email, | |
| .report-cell-roll, | |
| .report-cell-name, | |
| .report-cell-branch, | |
| .report-cell-num, | |
| .report-cell-percent, | |
| .setup-cell-primary, | |
| .setup-cell-regular { | |
| height: 10px; | |
| } | |
| .admin-form { | |
| padding: 12px; | |
| gap: 10px; | |
| } | |
| .admin-form-label { | |
| font-size: 0.93rem; | |
| } | |
| .admin-form-input { | |
| min-height: 40px; | |
| font-size: 0.93rem; | |
| } | |
| .pagination { | |
| gap: 10px; | |
| flex-wrap: wrap; | |
| } | |
| .matrix-table td { | |
| padding: 10px 10px; | |
| font-size: 13px; | |
| } | |
| .dashboard-slot strong { | |
| font-size: 10px; | |
| } | |
| .dashboard-slot small { | |
| font-size: 8px; | |
| } | |
| .field-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .field-row { | |
| flex-direction: column; | |
| gap: 6px; | |
| } | |
| .camera-box { | |
| min-height: 200px; | |
| } | |
| .lecture-panel { | |
| padding: 14px; | |
| } | |
| .lecture-panel h3 { | |
| font-size: 20px; | |
| } | |
| .mini-calendar { | |
| gap: 6px; | |
| } | |
| .mini-calendar strong, | |
| .mini-calendar span { | |
| padding: 6px 0; | |
| min-height: 32px; | |
| font-size: 12px; | |
| } | |
| .heatmap-row { | |
| grid-template-columns: 72px 1fr; | |
| } | |
| .heatmap-label { | |
| font-size: 11px; | |
| } | |
| .heatmap-scale { | |
| margin-left: 82px; | |
| } | |
| .faculty-widget-header { | |
| padding: 12px 12px 8px; | |
| } | |
| .faculty-widget-body { | |
| padding: 12px; | |
| } | |
| } | |
| @media (max-width: 992px) { | |
| .sidebar-overlay { | |
| transition: | |
| opacity var(--motion-base), | |
| backdrop-filter var(--motion-base); | |
| backdrop-filter: blur(0px); | |
| } | |
| .sidebar-overlay.show { | |
| backdrop-filter: blur(4px); | |
| } | |
| } | |
| @media (max-width: 420px) { | |
| .login-container { | |
| margin: 14px 8px; | |
| max-width: 310px; | |
| padding: 16px 11px; | |
| } | |
| .lp-theme-btn { | |
| top: 10px; | |
| right: 10px; | |
| } | |
| .page-heading { | |
| gap: 10px; | |
| } | |
| .page-heading h1 { | |
| font-size: 21px; | |
| } | |
| .sidebar-toggle { | |
| width: 38px; | |
| height: 38px; | |
| font-size: 13px; | |
| } | |
| .content-card, | |
| .stat-card { | |
| border-radius: 16px; | |
| } | |
| .page-actions { | |
| width: 100%; | |
| justify-content: stretch; | |
| } | |
| .page-actions .primary-btn { | |
| width: 100%; | |
| justify-content: center; | |
| } | |
| .admin-modal, | |
| .manual-modal { | |
| width: 100%; | |
| border-radius: 12px; | |
| } | |
| .widget-picker-modal { | |
| width: calc(100vw - 12px); | |
| padding: 18px 12px; | |
| } | |
| .widget-picker-item strong { | |
| font-size: 15px; | |
| text-align: center; | |
| } | |
| .dashboard-slot strong { | |
| font-size: 9px; | |
| } | |
| .dashboard-slot small { | |
| font-size: 7px; | |
| } | |
| .lecture-panel { | |
| padding: 12px; | |
| } | |
| .lecture-panel h3 { | |
| padding-left: 14px; | |
| margin-bottom: 8px; | |
| } | |
| .lecture-badge { | |
| top: 10px; | |
| right: 10px; | |
| padding: 4px 8px; | |
| } | |
| .lecture-dot { | |
| top: 12px; | |
| left: 12px; | |
| width: 8px; | |
| height: 8px; | |
| } | |
| .chart-x-labels { | |
| grid-template-columns: repeat(6, minmax(0, 1fr)); | |
| } | |
| .chart-x-labels span:nth-child(n + 7) { | |
| display: none; | |
| } | |
| .nav-link { | |
| padding: 10px 10px; | |
| } | |
| .action-cell { | |
| gap: 4px; | |
| } | |
| .face-text-btn { | |
| padding: 0 6px; | |
| } | |
| .heatmap-legend { | |
| justify-content: flex-start; | |
| gap: 6px; | |
| } | |
| .heatmap-row { | |
| grid-template-columns: 1fr; | |
| gap: 4px; | |
| } | |
| .heatmap-label { | |
| text-align: left; | |
| } | |
| .heatmap-scale { | |
| margin-left: 0; | |
| } | |
| } | |