Sindbad~EG File Manager
/* COP News Portal - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary-blue: #3B82F6;
--secondary-blue: #1E40AF;
--light-blue: #DBEAFE;
--primary-grey: #6B7280;
--light-grey: #F3F4F6;
--dark-grey: #374151;
--white: #FFFFFF;
--success: #10B981;
--warning: #F59E0B;
--error: #EF4444;
--info: #3B82F6;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
color: var(--dark-grey);
background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-grey) 100%);
min-height: 100vh;
}
/* Header Styles */
.header {
background: var(--white);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
max-width: 1200px;
margin: 0 auto;
}
.logo {
display: flex;
align-items: center;
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-blue);
text-decoration: none;
}
.logo img {
width: 40px;
height: 40px;
margin-right: 0.5rem;
}
.nav-links {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-links a {
text-decoration: none;
color: var(--dark-grey);
font-weight: 500;
transition: color 0.3s ease;
}
.nav-links a:hover {
color: var(--primary-blue);
}
/* Main Container */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
/* Landing Page Styles */
.landing-hero {
text-align: center;
padding: 4rem 0;
color: var(--white);
}
.landing-hero h1 {
font-size: 3rem;
font-weight: 700;
margin-bottom: 1rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.landing-hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
opacity: 0.9;
}
/* Card Styles */
.card {
background: var(--white);
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.card-header {
background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
color: var(--white);
padding: 1.5rem;
text-align: center;
}
.card-header h2 {
font-size: 1.5rem;
font-weight: 600;
}
.card-body {
padding: 2rem;
}
/* Form Styles */
.form-group {
margin-bottom: 1.5rem;
}
.form-label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: var(--dark-grey);
}
.form-control {
width: 100%;
padding: 0.75rem 1rem;
border: 2px solid var(--light-grey);
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus {
outline: none;
border-color: var(--primary-blue);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-select {
appearance: none;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.5rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
padding-right: 2.5rem;
}
/* Badge styles */
.badge {
display: inline-block;
padding: 0.25rem 0.5rem;
font-size: 0.75rem;
font-weight: 600;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: 0.375rem;
}
.badge-area {
background-color: #10B981;
color: white;
}
.badge-district {
background-color: #3B82F6;
color: white;
}
.badge-assembly {
background-color: #8B5CF6;
color: white;
}
/* Button Styles */
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: 500;
text-decoration: none;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
min-width: 120px;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
color: var(--white);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}
.btn-secondary {
background: var(--primary-grey);
color: var(--white);
}
.btn-secondary:hover {
background: var(--dark-grey);
}
.btn-success {
background: var(--success);
color: var(--white);
}
.btn-warning {
background: var(--warning);
color: var(--white);
}
.btn-danger {
background: var(--error);
color: var(--white);
}
.btn-outline {
background: transparent;
border: 2px solid var(--primary-blue);
color: var(--primary-blue);
}
.btn-outline:hover {
background: var(--primary-blue);
color: var(--white);
}
/* Grid System */
.grid {
display: grid;
gap: 2rem;
}
.grid-2 {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid-3 {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
/* Alert Styles */
.alert {
padding: 1rem 1.5rem;
border-radius: 8px;
margin-bottom: 1rem;
border-left: 4px solid;
}
.alert-success {
background: rgba(16, 185, 129, 0.1);
border-color: var(--success);
color: #065f46;
}
.alert-error {
background: rgba(239, 68, 68, 0.1);
border-color: var(--error);
color: #991b1b;
}
.alert-warning {
background: rgba(245, 158, 11, 0.1);
border-color: var(--warning);
color: #92400e;
}
.alert-info {
background: rgba(59, 130, 246, 0.1);
border-color: var(--info);
color: #1e40af;
}
/* News Card Styles */
.news-card {
background: var(--white);
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.news-card:hover {
transform: translateY(-3px);
}
.news-card-image {
width: 100%;
height: 200px;
object-fit: cover;
}
.news-card-content {
padding: 1.5rem;
}
.news-card-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--dark-grey);
}
.news-card-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.875rem;
color: var(--primary-grey);
margin-bottom: 1rem;
}
.news-card-description {
color: var(--primary-grey);
line-height: 1.6;
}
/* Dashboard Styles */
.dashboard-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}
.stat-card {
background: var(--white);
padding: 1.5rem;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
text-align: center;
}
.stat-number {
font-size: 2rem;
font-weight: 700;
color: var(--primary-blue);
}
.stat-label {
color: var(--primary-grey);
font-size: 0.875rem;
margin-top: 0.5rem;
}
/* Responsive Design */
@media (max-width: 768px) {
.navbar {
flex-direction: column;
gap: 1rem;
}
.nav-links {
flex-direction: column;
gap: 1rem;
text-align: center;
}
.landing-hero h1 {
font-size: 2rem;
}
.card-body {
padding: 1.5rem;
}
.grid-2,
.grid-3 {
grid-template-columns: 1fr;
}
}
/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-2 { gap: 1rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists