482 lines
10 KiB
CSS
482 lines
10 KiB
CSS
/*
|
|
TIS-RMS Interactive Prototype Stylesheet
|
|
Pixel-Perfect Replica from Actual App Screenshots
|
|
*/
|
|
|
|
:root {
|
|
--primary-green: #198754;
|
|
--primary-green-dark: #0f5132;
|
|
--accent-emerald: #10b981;
|
|
--bg-page: #0a1118;
|
|
--bg-control: rgba(15, 23, 42, 0.88);
|
|
--border-color: rgba(255, 255, 255, 0.12);
|
|
--text-main: #f1f5f9;
|
|
--text-muted: #94a3b8;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
body {
|
|
background: var(--bg-page);
|
|
color: var(--text-main);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
overflow-x: hidden;
|
|
background-image:
|
|
radial-gradient(circle at 15% 15%, rgba(25, 135, 84, 0.18) 0%, transparent 45%),
|
|
radial-gradient(circle at 85% 85%, rgba(6, 182, 212, 0.15) 0%, transparent 45%);
|
|
}
|
|
|
|
/* ── Top Control Bar ─────────────────────────────────────────── */
|
|
.top-control-bar {
|
|
position: sticky;
|
|
top: 12px;
|
|
z-index: 1000;
|
|
background: var(--bg-control);
|
|
backdrop-filter: blur(16px);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 999px;
|
|
padding: 6px 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
|
|
margin: 12px 0 18px;
|
|
}
|
|
|
|
.brand-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
padding-right: 12px;
|
|
border-right: 1px solid rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.brand-badge img {
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.device-switcher {
|
|
display: flex;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
border-radius: 999px;
|
|
padding: 3px;
|
|
gap: 4px;
|
|
}
|
|
|
|
.device-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
padding: 6px 16px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.device-btn:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.device-btn.active {
|
|
background: var(--primary-green);
|
|
color: #fff;
|
|
box-shadow: 0 2px 10px rgba(25, 135, 84, 0.5);
|
|
}
|
|
|
|
/* ── Screen Navigation Pill Bar ───────────────────────────────── */
|
|
.screen-selector-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: rgba(15, 23, 42, 0.7);
|
|
backdrop-filter: blur(12px);
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
margin-bottom: 20px;
|
|
overflow-x: auto;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.screen-pill {
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
padding: 6px 14px;
|
|
border-radius: 999px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.screen-pill:hover {
|
|
color: #fff;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.screen-pill.active {
|
|
background: rgba(25, 135, 84, 0.2);
|
|
border-color: var(--primary-green);
|
|
color: var(--accent-emerald);
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* ── Viewport Container ───────────────────────────────────────── */
|
|
.viewport-container {
|
|
width: 100%;
|
|
max-width: 1440px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 0 16px 40px;
|
|
flex: 1;
|
|
}
|
|
|
|
/* ─────────────────────────────────────────────────────────────
|
|
WINDOWS DESKTOP FRAME
|
|
───────────────────────────────────────────────────────────── */
|
|
.desktop-window {
|
|
width: 100%;
|
|
max-width: 1280px;
|
|
background: #0c1a14;
|
|
border-radius: 12px;
|
|
box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.win-titlebar {
|
|
height: 34px;
|
|
background: #0f5132;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 14px;
|
|
user-select: none;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.win-titlebar-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: #fff;
|
|
}
|
|
|
|
.win-titlebar-left img {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.win-window-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.win-stage {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
background: #0c1a14;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.win-screen-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
display: block;
|
|
transition: opacity 0.25s ease-in-out;
|
|
}
|
|
|
|
/* Interactive Sidebar Hotspot Overlay for Windows */
|
|
.win-sidebar-hotspots {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 20%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.hotspot-sidebar-item {
|
|
position: absolute;
|
|
left: 5%;
|
|
width: 90%;
|
|
height: 4.8%;
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.hotspot-sidebar-item:hover {
|
|
background: rgba(25, 135, 84, 0.2);
|
|
border: 1px solid rgba(25, 135, 84, 0.4);
|
|
}
|
|
|
|
/* Sidebar Hotspot Positions (%) based on 1080p layout */
|
|
.hotspot-item-dashboard { top: 24.2%; }
|
|
.hotspot-item-students { top: 32.5%; }
|
|
.hotspot-item-documents { top: 40.5%; }
|
|
.hotspot-item-archives { top: 48.5%; }
|
|
.hotspot-item-reports { top: 61.5%; }
|
|
.hotspot-item-users { top: 69.5%; }
|
|
.hotspot-item-history { top: 77.5%; }
|
|
.hotspot-item-settings { top: 85.5%; }
|
|
|
|
/* Quick Action Hotspot in Students Screen (Add Student) */
|
|
.hotspot-add-student {
|
|
position: absolute;
|
|
top: 9.8%;
|
|
right: 1.8%;
|
|
width: 10.5%;
|
|
height: 4.2%;
|
|
cursor: pointer;
|
|
border-radius: 999px;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.hotspot-add-student:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 0 12px rgba(25, 135, 84, 0.5);
|
|
}
|
|
|
|
/* Hotspot for Settings Check Updates */
|
|
.hotspot-settings-update {
|
|
position: absolute;
|
|
bottom: 8.5%;
|
|
right: 15%;
|
|
width: 28%;
|
|
height: 8.5%;
|
|
cursor: pointer;
|
|
border-radius: 8px;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.hotspot-settings-update:hover {
|
|
background: rgba(25, 135, 84, 0.25);
|
|
border: 1px dashed var(--accent-emerald);
|
|
}
|
|
|
|
/* ─────────────────────────────────────────────────────────────
|
|
ANDROID SMARTPHONE FRAME
|
|
───────────────────────────────────────────────────────────── */
|
|
.phone-mockup {
|
|
width: 390px;
|
|
height: 820px;
|
|
background: #000;
|
|
border-radius: 48px;
|
|
box-shadow:
|
|
0 0 0 12px #1e293b,
|
|
0 0 0 14px #334155,
|
|
0 30px 60px -12px rgba(0, 0, 0, 0.85);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.phone-screen-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #000;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.phone-screen-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
transition: opacity 0.25s ease-in-out;
|
|
}
|
|
|
|
/* Android Bottom Bar Hotspots */
|
|
.phone-nav-hotspots {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 70px;
|
|
display: flex;
|
|
}
|
|
|
|
.phone-hotspot-item {
|
|
flex: 1;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.phone-hotspot-item:hover {
|
|
background: rgba(25, 135, 84, 0.15);
|
|
}
|
|
|
|
/* ── Modals & Overlays ────────────────────────────────────────── */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
backdrop-filter: blur(6px);
|
|
z-index: 2000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.25s ease;
|
|
}
|
|
|
|
.modal-overlay.active {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.modal-dialog {
|
|
background: #13241b;
|
|
color: #fff;
|
|
width: 90%;
|
|
max-width: 520px;
|
|
border-radius: 16px;
|
|
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
|
|
border: 1px solid rgba(25, 135, 84, 0.3);
|
|
transform: scale(0.95);
|
|
transition: transform 0.25s ease;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.modal-overlay.active .modal-dialog {
|
|
transform: scale(1);
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 16px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.modal-header h3 {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--accent-emerald);
|
|
}
|
|
|
|
.modal-close {
|
|
background: transparent;
|
|
border: none;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary-green);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 8px;
|
|
height: 38px;
|
|
padding: 0 16px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--primary-green-dark);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #fff;
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 8px;
|
|
height: 38px;
|
|
padding: 0 16px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
/* Browser Download Toast */
|
|
.browser-download-toast {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
right: 24px;
|
|
background: #0f172a;
|
|
color: #fff;
|
|
border: 1px solid #10b981;
|
|
border-radius: 12px;
|
|
padding: 14px 20px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
z-index: 3000;
|
|
transform: translateY(140%);
|
|
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.browser-download-toast.active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.toast-icon {
|
|
background: var(--primary-green);
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|