tools / admin /css /style.css
Tataaicoltd's picture
deploy: groups + search-point (admin + backend)
a024174 verified
Raw History Blame Contribute Delete
19.1 kB
/* ==================== MATRIX THEME VARIABLES ==================== */
:root {
--bg-primary: #000000;
--bg-secondary: #0a0e27;
--text-primary: #00ff41;
--text-secondary: #00cc33;
--text-muted: #008f11;
--border-color: #00ff41;
--accent-green: #00ff41;
--accent-red: #ff4444;
--accent-orange: #ffaa00;
--accent-yellow: #ffff00;
--shadow: 0 0 10px rgba(0, 255, 65, 0.3);
--glow-small: 0 0 5px rgba(0, 255, 65, 0.2);
--glow-medium: 0 0 15px rgba(0, 255, 65, 0.4);
--font-mono: 'Courier New', monospace;
}
/* ==================== RESET & GLOBAL STYLES ==================== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
}
body {
background-color: var(--bg-primary);
color: var(--text-primary);
font-family: var(--font-mono);
font-size: 13px;
line-height: 1.5;
overflow: hidden;
}
/* ==================== LAYOUT ==================== */
.container {
display: flex;
width: 100%;
height: 100vh;
}
.sidebar {
width: 220px;
background-color: var(--bg-secondary);
border-right: 2px solid var(--border-color);
display: flex;
flex-direction: column;
box-shadow: inset -10px 0 20px rgba(0, 0, 0, 0.5);
}
.main-content {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
/* ==================== SIDEBAR ==================== */
.sidebar-header {
padding: 20px;
border-bottom: 1px solid var(--text-muted);
}
.logo {
font-size: 14px;
font-weight: bold;
text-shadow: 0 0 10px var(--accent-green);
letter-spacing: 2px;
animation: flicker 0.3s infinite alternate;
}
@keyframes flicker {
0%, 100% { text-shadow: 0 0 10px var(--accent-green); }
50% { text-shadow: 0 0 5px var(--accent-green); }
}
.nav-menu {
flex: 1;
display: flex;
flex-direction: column;
padding: 10px;
gap: 5px;
}
.nav-btn {
background-color: transparent;
border: 1px solid var(--text-muted);
color: var(--text-muted);
padding: 12px 15px;
text-align: left;
cursor: pointer;
transition: all 0.3s ease;
font-family: var(--font-mono);
font-size: 12px;
border-radius: 2px;
}
.nav-btn:hover {
border-color: var(--accent-green);
color: var(--accent-green);
box-shadow: var(--glow-small);
}
.nav-btn.active {
background-color: rgba(0, 255, 65, 0.1);
border-color: var(--accent-green);
color: var(--accent-green);
box-shadow: var(--glow-medium);
}
.nav-btn .icon {
margin-right: 8px;
}
.sidebar-footer {
padding: 15px;
border-top: 1px solid var(--text-muted);
display: flex;
align-items: center;
gap: 10px;
}
.status-indicator {
display: flex;
align-items: center;
gap: 8px;
font-size: 11px;
}
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background-color: var(--accent-green);
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; box-shadow: 0 0 5px var(--accent-green); }
50% { opacity: 0.5; }
}
.status-text {
color: var(--text-muted);
}
/* ==================== HEADER ==================== */
.header {
background-color: var(--bg-secondary);
border-bottom: 1px solid var(--border-color);
padding: 15px 25px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: var(--glow-small);
}
.header-title h2 {
font-size: 18px;
text-shadow: 0 0 10px var(--accent-green);
letter-spacing: 1px;
}
.header-actions {
display: flex;
gap: 10px;
align-items: center;
}
.search-box {
background-color: var(--bg-primary);
border: 1px solid var(--text-muted);
color: var(--text-primary);
padding: 8px 12px;
border-radius: 2px;
font-family: var(--font-mono);
font-size: 12px;
width: 250px;
transition: all 0.3s ease;
}
.search-box:focus {
outline: none;
border-color: var(--accent-green);
box-shadow: var(--glow-medium);
}
.search-box::placeholder {
color: var(--text-muted);
}
.btn-icon {
background-color: transparent;
border: 1px solid var(--text-muted);
color: var(--text-primary);
padding: 8px 12px;
cursor: pointer;
border-radius: 2px;
font-size: 14px;
transition: all 0.3s ease;
}
.btn-icon:hover {
border-color: var(--accent-green);
box-shadow: var(--glow-small);
}
/* ==================== VIEWS ==================== */
.view {
flex: 1;
padding: 25px;
overflow-y: auto;
display: none;
}
.view.active {
display: block;
animation: slideIn 0.3s ease;
}
@keyframes slideIn {
from { opacity: 0; transform: translateX(-10px); }
to { opacity: 1; transform: translateX(0); }
}
/* ==================== DASHBOARD ==================== */
#dashboard {
position: relative;
overflow: hidden;
min-height: calc(100vh - 80px);
padding: 0;
}
.matrix-canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: block;
z-index: 0;
}
.dashboard-search-wrap {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.searchResults {
width: 100%;
height: 0;
overflow: hidden;
border-top: none;
backdrop-filter: blur(2px);
font-family: var(--font-mono);
font-size: 13px;
color: var(--accent-green);
box-sizing: border-box;
transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
border-width 0.1s 0.35s;
}
.searchResults.expanded {
height: 80vh;
border-width: 1px;
overflow-y: auto;
padding: 8px 0;
}
.search-result-item {
padding: 8px 16px;
cursor: pointer;
border-bottom: 1px solid rgba(0, 255, 65, 0.1);
transition: background 0.15s;
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
}
.search-result-item:hover {
background: rgba(0, 255, 65, 0.2);
}
.search-result-item .result-name {
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.search-result-item .result-meta {
font-size: 11px;
color: rgba(0, 255, 65, 0.5);
white-space: nowrap;
}
.search-result-empty {
padding: 20px 16px;
color: rgba(0, 255, 65, 0.4);
text-align: center;
font-size: 12px;
letter-spacing: 1px;
}
.dashboard-search {
width: 500px;
height: 50px;
background: rgba(0, 0, 0, 0.78);
border: 1px solid var(--accent-green);
border-radius: 2px;
color: var(--accent-green);
font-family: var(--font-mono);
font-size: 15px;
padding: 0 16px;
outline: none;
box-shadow: 0 0 22px rgba(0, 255, 65, 0.3), inset 0 0 12px rgba(0, 255, 65, 0.05);
backdrop-filter: blur(4px);
caret-color: var(--accent-green);
letter-spacing: 0.5px;
animation: dashboardZoomIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.dashboard-search::placeholder {
color: rgba(0, 255, 65, 0.4);
letter-spacing: 1px;
}
.dashboard-search:focus {
box-shadow: 0 0 38px rgba(0, 255, 65, 0.6), inset 0 0 18px rgba(0, 255, 65, 0.08);
border-color: #aaffaa;
}
@keyframes dashboardZoomIn {
from {
transform: scale(2.4);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
.dashboard-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
width: 100%;
margin-bottom: 30px;
}
.stat-card {
background-color: rgba(0, 0, 0, 0.72);
border: 1px solid var(--accent-green);
padding: 28px 24px;
display: flex;
align-items: center;
gap: 15px;
border-radius: 2px;
box-shadow: 0 0 18px rgba(0, 255, 65, 0.25), inset 0 0 20px rgba(0, 255, 65, 0.04);
backdrop-filter: blur(4px);
transition: all 0.3s ease;
}
.stat-card:hover {
box-shadow: 0 0 32px rgba(0, 255, 65, 0.55), inset 0 0 30px rgba(0, 255, 65, 0.08);
transform: translateY(-5px);
border-color: #00ff41;
}
.stat-icon {
font-size: 32px;
}
.stat-content {
display: flex;
flex-direction: column;
}
.stat-value {
font-size: 24px;
font-weight: bold;
color: var(--accent-green);
text-shadow: 0 0 10px var(--accent-green);
}
.stat-label {
font-size: 12px;
color: var(--text-muted);
}
/* ==================== VIEW HEADER ==================== */
.view-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
padding-bottom: 15px;
border-bottom: 1px solid var(--text-muted);
}
.view-header h3 {
font-size: 16px;
text-shadow: 0 0 10px var(--accent-green);
}
.filter-group {
display: flex;
gap: 10px;
}
.filter-select {
background-color: var(--bg-primary);
border: 1px solid var(--text-muted);
color: var(--text-primary);
padding: 8px 12px;
border-radius: 2px;
font-family: var(--font-mono);
font-size: 12px;
cursor: pointer;
transition: all 0.3s ease;
}
.filter-select:hover {
border-color: var(--accent-green);
}
.filter-select:focus {
outline: none;
border-color: var(--accent-green);
box-shadow: var(--glow-medium);
}
/* ==================== BUTTONS ==================== */
.btn {
padding: 10px 16px;
border: 1px solid var(--border-color);
border-radius: 2px;
font-family: var(--font-mono);
font-size: 12px;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
.btn-primary {
background-color: rgba(0, 255, 65, 0.1);
color: var(--accent-green);
border-color: var(--accent-green);
}
.btn-primary:hover {
background-color: rgba(0, 255, 65, 0.2);
box-shadow: var(--glow-medium);
}
.btn-secondary {
background-color: transparent;
color: var(--text-muted);
border-color: var(--text-muted);
}
.btn-secondary:hover {
color: var(--accent-green);
border-color: var(--accent-green);
box-shadow: var(--glow-small);
}
.btn-danger {
background-color: rgba(255, 68, 68, 0.1);
color: var(--accent-red);
border-color: var(--accent-red);
}
.btn-danger:hover {
background-color: rgba(255, 68, 68, 0.2);
box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}
/* ==================== TABLES ==================== */
.table-wrapper {
border: 1px solid var(--border-color);
border-radius: 2px;
overflow: auto;
max-height: calc(100vh - 300px);
box-shadow: var(--glow-small);
}
.data-table {
width: 100%;
border-collapse: collapse;
background-color: var(--bg-secondary);
}
.data-table thead {
background-color: rgba(0, 255, 65, 0.05);
border-bottom: 2px solid var(--border-color);
position: sticky;
top: 0;
z-index: 10;
}
.data-table th {
padding: 12px 15px;
text-align: left;
font-weight: bold;
color: var(--accent-green);
text-shadow: 0 0 5px var(--accent-green);
font-size: 11px;
text-transform: uppercase;
letter-spacing: 1px;
}
.data-table td {
padding: 12px 15px;
border-bottom: 1px solid var(--text-muted);
color: var(--text-primary);
}
.data-table tbody tr {
transition: all 0.2s ease;
}
.data-table tbody tr:hover {
background-color: rgba(0, 255, 65, 0.05);
box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.1);
}
.priority-badge {
display: inline-block;
padding: 4px 10px;
border-radius: 2px;
font-size: 10px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.priority-critical {
background-color: rgba(255, 68, 68, 0.2);
color: var(--accent-red);
border: 1px solid var(--accent-red);
}
.priority-high {
background-color: rgba(255, 170, 0, 0.2);
color: var(--accent-orange);
border: 1px solid var(--accent-orange);
}
.priority-medium {
background-color: rgba(255, 255, 0, 0.2);
color: var(--accent-yellow);
border: 1px solid var(--accent-yellow);
}
.priority-low {
background-color: rgba(0, 255, 65, 0.2);
color: var(--accent-green);
border: 1px solid var(--accent-green);
}
/* ==================== MODALS ==================== */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
z-index: 1000;
align-items: center;
justify-content: center;
animation: fadeIn 0.3s ease;
}
.modal.active {
display: flex;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.modal-content {
background-color: var(--bg-secondary);
border: 2px solid var(--border-color);
border-radius: 2px;
padding: 25px;
max-width: 500px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
animation: slideInCenter 0.3s ease;
}
.modal-content.modal-small {
max-width: 400px;
}
@keyframes slideInCenter {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid var(--text-muted);
}
.modal-header h4 {
font-size: 16px;
text-shadow: 0 0 10px var(--accent-green);
}
.modal-close {
background: none;
border: none;
color: var(--text-primary);
font-size: 24px;
cursor: pointer;
transition: all 0.3s ease;
}
.modal-close:hover {
color: var(--accent-green);
text-shadow: 0 0 10px var(--accent-green);
}
.modal-body {
margin-bottom: 20px;
color: var(--text-secondary);
}
/* ==================== FORMS ==================== */
.form-group {
margin-bottom: 15px;
display: flex;
flex-direction: column;
}
.form-group label {
font-size: 12px;
font-weight: bold;
color: var(--accent-green);
margin-bottom: 5px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
background-color: var(--bg-primary);
border: 1px solid var(--text-muted);
color: var(--text-primary);
padding: 10px 12px;
font-family: var(--font-mono);
font-size: 12px;
border-radius: 2px;
transition: all 0.3s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
color: var(--text-muted);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--accent-green);
box-shadow: var(--glow-medium);
}
.form-actions {
display: flex;
gap: 10px;
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid var(--text-muted);
}
.form-actions .btn {
flex: 1;
}
/* ==================== TOAST NOTIFICATIONS ==================== */
.toast {
position: fixed;
bottom: 20px;
right: 20px;
padding: 15px 20px;
border-radius: 2px;
font-size: 12px;
border: 1px solid var(--border-color);
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
max-width: 400px;
z-index: 2000;
}
.toast.active {
opacity: 1;
pointer-events: auto;
}
.toast.success {
background-color: rgba(0, 255, 65, 0.1);
color: var(--accent-green);
border-color: var(--accent-green);
box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}
.toast.error {
background-color: rgba(255, 68, 68, 0.1);
color: var(--accent-red);
border-color: var(--accent-red);
box-shadow: 0 0 15px rgba(255, 68, 68, 0.3);
}
.toast.info {
background-color: rgba(0, 170, 255, 0.1);
color: #00aaff;
border-color: #00aaff;
box-shadow: 0 0 15px rgba(0, 170, 255, 0.3);
}
/* ==================== ACTION BUTTONS IN TABLES ==================== */
.action-buttons {
display: flex;
gap: 8px;
}
.btn-edit,
.btn-delete {
background: none;
border: 1px solid var(--text-muted);
color: var(--text-primary);
padding: 5px 10px;
cursor: pointer;
font-size: 11px;
border-radius: 2px;
transition: all 0.3s ease;
font-family: var(--font-mono);
}
.btn-edit:hover {
border-color: var(--accent-yellow);
color: var(--accent-yellow);
box-shadow: 0 0 10px rgba(255, 255, 0, 0.3);
}
.btn-delete:hover {
border-color: var(--accent-red);
color: var(--accent-red);
box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}
/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
background: var(--text-muted);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--accent-green);
box-shadow: 0 0 5px var(--accent-green);
}
/* ==================== RESPONSIVENESS ==================== */
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.sidebar {
width: 100%;
border-right: none;
border-bottom: 2px solid var(--border-color);
height: auto;
}
.nav-menu {
flex-direction: row;
}
.main-content {
height: calc(100vh - 100px);
}
.header-actions {
flex-direction: column;
}
.search-box {
width: 100%;
}
.view-header {
flex-direction: column;
align-items: flex-start;
}
.filter-group {
flex-direction: column;
width: 100%;
}
.filter-select {
width: 100%;
}
}
/* ==================== PATHFINDER ==================== */
.pathfinder-panel {
padding: 16px;
display: flex;
flex-direction: column;
gap: 16px;
overflow-y: auto;
height: calc(100% - 60px);
}
.pathfinder-inputs {
display: flex;
gap: 16px;
align-items: flex-start;
}
.path-select-group {
display: flex;
flex-direction: column;
gap: 6px;
flex: 1;
}
.path-label {
color: var(--text-primary);
font-weight: bold;
font-size: 12px;
letter-spacing: 1px;
}
.path-search {
width: 100%;
}
.path-select {
width: 100%;
background: var(--bg-secondary);
color: var(--text-primary);
border: 1px solid var(--border-color);
font-family: var(--font-mono);
font-size: 12px;
padding: 4px;
outline: none;
cursor: pointer;
}
.path-select option:checked,
.path-select option:hover {
background: var(--accent-green);
color: #000;
}
.path-arrow {
font-size: 28px;
color: var(--accent-green);
padding-top: 48px;
text-shadow: var(--glow-medium);
}
.pathfinder-actions {
display: flex;
gap: 10px;
}
.path-result {
border: 1px solid var(--border-color);
padding: 12px;
min-height: 60px;
}
.path-summary {
display: flex;
gap: 20px;
margin-bottom: 12px;
font-size: 13px;
}
.path-stat {
color: var(--accent-green);
text-shadow: var(--glow-small);
}
.path-table {
width: 100%;
}
.path-loading,
.path-empty {
color: var(--text-muted);
padding: 8px 0;
}