ai-cms-platform / static /style.css
zeltera's picture
Upload 10 files
0c03a43 verified
:root {
--bg-color: #F0F4F8; /* Light Blue/Grey background */
--card-bg: #FFFFFF;
--primary: #0055FF; /* Electric Blue */
--primary-hover: #0044CC;
--text-main: #000000;
--text-sub: #555555;
--border: #000000;
--border-width: 3px; /* Bold Stroke */
--shadow: 6px 6px 0px #000000; /* Hard Shadow */
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Inter', sans-serif;
}
body {
background-color: var(--bg-color);
color: var(--text-main);
display: flex;
min-height: 100vh;
}
/* Sidebar */
.sidebar {
width: 250px;
background: var(--card-bg);
border-right: var(--border-width) solid var(--border);
padding: 2rem;
display: flex;
flex-direction: column;
}
.logo {
font-size: 1.5rem;
font-weight: 800;
margin-bottom: 3rem;
letter-spacing: -1px;
}
.logo span {
color: var(--primary);
}
.nav-links {
list-style: none;
}
.nav-links li {
padding: 1rem;
margin-bottom: 0.5rem;
font-weight: 600;
cursor: pointer;
border: 2px solid transparent;
transition: all 0.2s;
}
.nav-links li:hover, .nav-links li.active {
border: 2px solid var(--border);
background: var(--primary);
color: white;
box-shadow: 4px 4px 0px var(--border);
transform: translate(-2px, -2px);
}
/* Main Content */
.content {
flex: 1;
padding: 3rem;
overflow-y: auto;
}
.section {
display: none;
animation: fadeIn 0.3s ease;
}
.section.active {
display: block;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
header {
margin-bottom: 2rem;
border-bottom: 2px solid var(--border);
padding-bottom: 1rem;
}
h1 {
font-size: 2.5rem;
font-weight: 800;
letter-spacing: -1px;
text-transform: uppercase;
}
p {
color: var(--text-sub);
font-size: 0.9rem;
}
/* Cards & UI Elements */
.card {
background: var(--card-bg);
border: var(--border-width) solid var(--border);
box-shadow: var(--shadow);
padding: 1.5rem;
margin-bottom: 1.5rem;
border-radius: 4px; /* Slight rounding */
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}
.stat-card {
display: flex;
flex-direction: column;
justify-content: center;
}
.label {
font-size: 0.8rem;
font-weight: 600;
text-transform: uppercase;
color: var(--text-sub);
margin-bottom: 0.5rem;
}
.value {
font-size: 2rem;
font-weight: 800;
color: var(--primary);
}
/* Forms */
.form-group {
margin-bottom: 1.5rem;
}
label {
display: block;
font-weight: 700;
margin-bottom: 0.5rem;
}
input, select, textarea {
width: 100%;
padding: 1rem;
border: 2px solid var(--border);
background: #FAFAFA;
font-size: 1rem;
outline: none;
transition: 0.2s;
}
input:focus, select:focus, textarea:focus {
background: #E0F0FF; /* Light Blue focus */
border-color: var(--primary);
}
.btn-primary {
width: 100%;
padding: 1rem;
background: var(--primary);
color: white;
border: 2px solid var(--border);
font-weight: 700;
cursor: pointer;
box-shadow: 4px 4px 0px var(--border);
transition: all 0.2s;
}
.btn-primary:active {
transform: translate(2px, 2px);
box-shadow: 2px 2px 0px var(--border);
}
/* Table */
table {
width: 100%;
border-collapse: collapse;
}
th, td {
text-align: left;
padding: 1rem;
border-bottom: 2px solid var(--border);
}
th {
background: #000;
color: #fff;
text-transform: uppercase;
font-size: 0.8rem;
}
td {
font-weight: 600;
}
.endpoint-url {
font-family: monospace;
background: #eee;
padding: 2px 6px;
border-radius: 4px;
font-size: 0.8rem;
}