Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 661c778f authored by 65160392's avatar 65160392
Browse files

Edit style.css

parent 02acc392
No related branches found
No related tags found
No related merge requests found
/* Custom styles for Project Management System */ :root {
--primary-color: #2c3e50; /* น้ำเงินเข้ม */
--secondary-color: #34495e; /* เทาเข้ม */
--accent-color: #3498db; /* น้ำเงินสดใส */
--light-color: #ecf0f1; /* เทาอ่อน */
--dark-color: #2c3e50; /* น้ำเงินเข้ม */
--success-color: #2ecc71; /* เขียว */
--danger-color: #e74c3c; /* แดง */
--warning-color: #f1c40f; /* เหลือง */
--info-color: #3498db; /* น้ำเงิน */
--text-color: #2c3e50; /* น้ำเงินเข้ม */
--border-color: #bdc3c7; /* เทา */
}
/* Body and general styles */
body { body {
background-color: #f8f9fa; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
min-height: 100vh; background-color: var(--light-color);
display: flex; color: var(--text-color);
flex-direction: column; }
/* Navbar */
.navbar {
background-color: var(--primary-color);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
} }
/* Header styles */
.navbar-brand { .navbar-brand {
color: white !important;
font-weight: bold; font-weight: bold;
font-size: 1.5rem;
} }
/* Card styles */ .nav-link {
color: rgba(255,255,255,0.8) !important;
transition: color 0.3s ease;
}
.nav-link:hover {
color: white !important;
}
/* Cards */
.card { .card {
border-radius: 0.5rem;
border: none; border: none;
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); border-radius: 8px;
transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
background-color: white;
} }
.card:hover { .card:hover {
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); transform: translateY(-5px);
} }
.card-header { .card-header {
border-bottom: none; background-color: var(--primary-color);
padding: 1rem; color: white;
border-radius: 8px 8px 0 0 !important;
} }
/* Button styles */ /* Buttons */
.btn { .btn-primary {
border-radius: 0.25rem; background-color: var(--accent-color);
padding: 0.375rem 1rem; border-color: var(--accent-color);
} }
/* Form styles */ .btn-primary:hover {
.form-control, .form-select { background-color: #2980b9;
border-radius: 0.25rem; border-color: #2980b9;
border: 1px solid #ced4da; }
padding: 0.5rem;
.btn-secondary {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
}
.btn-secondary:hover {
background-color: #2c3e50;
border-color: #2c3e50;
}
/* Forms */
.form-control {
border: 1px solid var(--border-color);
border-radius: 4px;
} }
.form-control:focus, .form-select:focus { .form-control:focus {
border-color: #80bdff; border-color: var(--accent-color);
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
} }
/* Table styles */ /* Tables */
.table { .table {
vertical-align: middle; background-color: white;
border-radius: 8px;
overflow: hidden;
}
.table thead th {
background-color: var(--primary-color);
color: white;
border: none;
}
.table-hover tbody tr:hover {
background-color: rgba(52, 152, 219, 0.1);
}
/* Status Badges */
.badge {
padding: 0.5em 0.8em;
font-weight: 500;
}
.badge-success {
background-color: var(--success-color);
}
.badge-danger {
background-color: var(--danger-color);
}
.badge-warning {
background-color: var(--warning-color);
}
.badge-info {
background-color: var(--info-color);
}
/* Project Cards */
.project-card {
border-left: 4px solid var(--accent-color);
}
.project-card .card-header {
background-color: var(--secondary-color);
}
/* Task Items */
.task-item {
border-left: 3px solid var(--accent-color);
margin-bottom: 0.5rem;
padding: 0.5rem;
background-color: white;
border-radius: 4px;
}
/* Search Bar */
.search-bar {
background-color: white;
border-radius: 20px;
padding: 0.5rem 1rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.search-bar input {
border: none;
background: none;
outline: none;
width: 100%;
}
/* Dashboard Stats */
.stat-card {
background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
color: white;
border-radius: 8px;
padding: 1.5rem;
}
.stat-card .stat-value {
font-size: 2rem;
font-weight: bold;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: var(--light-color);
}
::-webkit-scrollbar-thumb {
background: var(--accent-color);
border-radius: 4px;
} }
/* Footer styles */ ::-webkit-scrollbar-thumb:hover {
footer { background: var(--primary-color);
margin-top: auto;
padding: 1rem;
border-top: 1px solid #dee2e6;
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment