1102 lines
17 KiB
CSS
1102 lines
17 KiB
CSS
/*
|
|
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
* listed below.
|
|
*
|
|
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
|
|
* vendor/assets/stylesheets directory can be referenced here using a relative path.
|
|
*
|
|
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
|
* files in this directory. Styles in this file should be added after the last require_* statement.
|
|
* It is generally better to create a new file per style scope.
|
|
*
|
|
*= require_tree .
|
|
*= require_self
|
|
*/
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
h1 {
|
|
color: #333;
|
|
text-align: center;
|
|
}
|
|
|
|
.notice {
|
|
background-color: #d4edda;
|
|
color: #155724;
|
|
padding: 10px;
|
|
margin-bottom: 20px;
|
|
border-radius: 4px;
|
|
border: 1px solid #c3e6cb;
|
|
}
|
|
|
|
.new-task {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.field {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.field input[type="text"] {
|
|
flex: 1;
|
|
padding: 8px 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.field input[type="submit"] {
|
|
padding: 8px 16px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.field input[type="submit"]:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
.tasks-list {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.task {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px;
|
|
border: 1px solid #eee;
|
|
border-radius: 4px;
|
|
margin-bottom: 8px;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.task.completed {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.task.completed .task-title {
|
|
text-decoration: line-through;
|
|
color: #6c757d;
|
|
}
|
|
|
|
.task-content {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.task-checkbox {
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.task-title {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.task-actions {
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.delete-btn {
|
|
color: #dc3545;
|
|
text-decoration: none;
|
|
padding: 4px 8px;
|
|
border: 1px solid #dc3545;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.delete-btn:hover {
|
|
background-color: #dc3545;
|
|
color: white;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
color: #6c757d;
|
|
font-style: italic;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
#error_explanation {
|
|
background-color: #f8d7da;
|
|
color: #721c24;
|
|
padding: 10px;
|
|
margin-bottom: 20px;
|
|
border-radius: 4px;
|
|
border: 1px solid #f5c6cb;
|
|
}
|
|
|
|
#error_explanation h2 {
|
|
margin-top: 0;
|
|
font-size: 16px;
|
|
}
|
|
|
|
#error_explanation ul {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Authentication Styles */
|
|
.auth-container {
|
|
max-width: 400px;
|
|
margin: 50px auto;
|
|
padding: 30px;
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.auth-form .field {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.auth-form label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.auth-form input[type="email"],
|
|
.auth-form input[type="password"],
|
|
.auth-form input[type="text"],
|
|
.auth-form select {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.auth-form .checkbox-field {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.auth-form .checkbox-field input {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.auth-submit-btn {
|
|
width: 100%;
|
|
padding: 12px 20px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.auth-submit-btn:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
/* Dashboard Styles */
|
|
.dashboard-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
.dashboard-header {
|
|
background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
|
|
color: white;
|
|
padding: 30px;
|
|
border-radius: 8px;
|
|
margin-bottom: 30px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.dashboard-header h1 {
|
|
margin: 0;
|
|
font-size: 28px;
|
|
}
|
|
|
|
.user-welcome {
|
|
text-align: right;
|
|
}
|
|
|
|
.user-role {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
padding: 4px 8px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.user-department {
|
|
font-weight: 600;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.dashboard-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 30px;
|
|
}
|
|
|
|
.stats-section {
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: #f8f9fa;
|
|
padding: 20px;
|
|
border-radius: 6px;
|
|
text-align: center;
|
|
border-left: 4px solid #007bff;
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: 32px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.stat-label {
|
|
color: #6c757d;
|
|
font-size: 14px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.departments-overview,
|
|
.team-overview {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.departments-overview h3,
|
|
.team-overview h3 {
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
border-bottom: 2px solid #eee;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.dept-cards,
|
|
.member-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 15px;
|
|
}
|
|
|
|
.dept-card,
|
|
.member-card {
|
|
background: #f8f9fa;
|
|
padding: 15px;
|
|
border-radius: 6px;
|
|
border: 1px solid #e9ecef;
|
|
}
|
|
|
|
.dept-card h4,
|
|
.member-card .member-name {
|
|
margin: 0 0 10px 0;
|
|
color: #007bff;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.dept-stats,
|
|
.member-stats {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.dept-stats span,
|
|
.member-stats span {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
color: #6c757d;
|
|
}
|
|
|
|
.recent-tasks-section {
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.recent-tasks-section h2 {
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
border-bottom: 2px solid #eee;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.dashboard-actions {
|
|
margin-top: 30px;
|
|
display: flex;
|
|
gap: 15px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.action-btn {
|
|
padding: 12px 24px;
|
|
border-radius: 6px;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.action-btn.primary {
|
|
background-color: #007bff;
|
|
color: white;
|
|
}
|
|
|
|
.action-btn.primary:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
.action-btn.success {
|
|
background-color: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
.action-btn.success:hover {
|
|
background-color: #1e7e34;
|
|
}
|
|
|
|
.action-btn.secondary {
|
|
background-color: #6c757d;
|
|
color: white;
|
|
}
|
|
|
|
.action-btn.secondary:hover {
|
|
background-color: #545b62;
|
|
}
|
|
|
|
/* Layout Updates */
|
|
.content-layout {
|
|
display: grid;
|
|
grid-template-columns: 250px 1fr;
|
|
gap: 30px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.sidebar {
|
|
background: white;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
height: fit-content;
|
|
}
|
|
|
|
.filter-section h3,
|
|
.actions-section h3 {
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.filter-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.filter-group label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.filter-select {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.main-content {
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.new-task-section {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.new-task-section h2,
|
|
.tasks-section h2 {
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
/* Enhanced Task Styles */
|
|
.task {
|
|
border-left: 4px solid #ddd;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.task-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.task-priority {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.task-status-badge {
|
|
color: white;
|
|
padding: 2px 8px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.task-meta {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
margin-top: 10px;
|
|
padding-top: 10px;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
.department-tag,
|
|
.assignee-tag,
|
|
.created-tag {
|
|
background: #f8f9fa;
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
font-size: 11px;
|
|
color: #6c757d;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
.department-tag {
|
|
border-color: #007bff;
|
|
color: #007bff;
|
|
}
|
|
|
|
.assignee-tag {
|
|
border-color: #28a745;
|
|
color: #28a745;
|
|
}
|
|
|
|
.created-tag {
|
|
border-color: #6c757d;
|
|
}
|
|
|
|
/* Enhanced Form Styles */
|
|
.form-row {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.field-group {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 15px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.field-group {
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.dashboard-content {
|
|
grid-template-columns: 2fr 1fr;
|
|
}
|
|
|
|
.content-layout {
|
|
grid-template-columns: 300px 1fr;
|
|
}
|
|
}
|
|
|
|
/* Form Styles */
|
|
.task-form {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.title-field {
|
|
flex: 1;
|
|
padding: 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 16px;
|
|
width: 100%;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.description-section {
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.description-toggle {
|
|
color: #007bff;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
margin-bottom: 10px;
|
|
display: inline-block;
|
|
padding: 5px 10px;
|
|
border: 1px solid #007bff;
|
|
border-radius: 3px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.description-toggle:hover {
|
|
background-color: #007bff;
|
|
color: white;
|
|
}
|
|
|
|
.description-field {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.description-textarea {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
resize: vertical;
|
|
min-height: 100px;
|
|
}
|
|
|
|
.actions {
|
|
margin-top: 15px;
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.submit-btn {
|
|
padding: 10px 20px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
|
|
.submit-btn:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
.cancel-btn {
|
|
padding: 10px 20px;
|
|
background-color: #6c757d;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
|
|
.cancel-btn:hover {
|
|
background-color: #545b62;
|
|
}
|
|
|
|
/* Task List Enhancements */
|
|
.description-indicator {
|
|
font-size: 12px;
|
|
margin-left: 8px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.edit-btn, .details-btn {
|
|
color: #007bff;
|
|
text-decoration: none;
|
|
padding: 4px 8px;
|
|
border: 1px solid #007bff;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.edit-btn:hover, .details-btn:hover {
|
|
background-color: #007bff;
|
|
color: white;
|
|
}
|
|
|
|
/* Task Detail Page */
|
|
.task-detail {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
.task-header {
|
|
border-bottom: 2px solid #eee;
|
|
padding-bottom: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.task-detail .task-title {
|
|
font-size: 28px;
|
|
color: #333;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.task-detail .task-title.completed {
|
|
text-decoration: line-through;
|
|
color: #6c757d;
|
|
}
|
|
|
|
.task-meta {
|
|
display: flex;
|
|
gap: 20px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.status-badge {
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.status-badge.completed {
|
|
background-color: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
.status-badge.pending {
|
|
background-color: #ffc107;
|
|
color: #212529;
|
|
}
|
|
|
|
.created-date {
|
|
color: #6c757d;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.task-description {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.task-description h2 {
|
|
color: #333;
|
|
border-bottom: 1px solid #eee;
|
|
padding-bottom: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.description-content {
|
|
background-color: #f8f9fa;
|
|
padding: 20px;
|
|
border-radius: 4px;
|
|
border-left: 4px solid #007bff;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.no-description {
|
|
color: #6c757d;
|
|
font-style: italic;
|
|
}
|
|
|
|
.task-actions {
|
|
display: flex;
|
|
gap: 15px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.status-toggle-btn {
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
|
|
.status-toggle-btn.completed {
|
|
background-color: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
.status-toggle-btn.pending {
|
|
background-color: #ffc107;
|
|
color: #212529;
|
|
}
|
|
|
|
.status-toggle-btn:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.back-link {
|
|
margin-top: 30px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #eee;
|
|
text-align: center;
|
|
}
|
|
|
|
.back-link a {
|
|
color: #6c757d;
|
|
text-decoration: none;
|
|
margin: 0 10px;
|
|
}
|
|
|
|
.back-link a:hover {
|
|
color: #007bff;
|
|
}
|
|
|
|
/* Edit Form Enhancements */
|
|
.edit-form {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (min-width: 768px) {
|
|
.field-group {
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.dashboard-content {
|
|
grid-template-columns: 2fr 1fr;
|
|
}
|
|
|
|
.content-layout {
|
|
grid-template-columns: 300px 1fr;
|
|
}
|
|
}
|
|
|
|
/* Navigation Styles */
|
|
.main-nav {
|
|
background: linear-gradient(135deg, #343a40 0%, #2c3e50 100%);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
padding: 0;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.nav-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 15px 20px;
|
|
}
|
|
|
|
.nav-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.brand-link {
|
|
color: white;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.brand-link:hover {
|
|
color: #f8f9fa;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: flex;
|
|
gap: 30px;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-link {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
}
|
|
|
|
.nav-user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.user-info {
|
|
color: white;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.nav-link.sign-out {
|
|
background: #dc3545;
|
|
border-color: #dc3545;
|
|
}
|
|
|
|
.nav-link.sign-out:hover {
|
|
background: #c82333;
|
|
}
|
|
|
|
/* Flash Messages */
|
|
.notice, .alert {
|
|
padding: 15px 20px;
|
|
margin: 20px 0;
|
|
border-radius: 6px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.notice {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
border: 1px solid #c3e6cb;
|
|
}
|
|
|
|
.alert {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
border: 1px solid #f5c6cb;
|
|
}
|
|
|
|
/* Enhanced Task Priority Colors */
|
|
.task {
|
|
border-left: 4px solid #007bff;
|
|
}
|
|
|
|
.task[data-priority="urgent"] {
|
|
border-left-color: #dc3545;
|
|
}
|
|
|
|
.task[data-priority="execution"] {
|
|
border-left-color: #28a745;
|
|
}
|
|
|
|
.task[data-priority="approval"] {
|
|
border-left-color: #ffc107;
|
|
}
|
|
|
|
.task[data-priority="review"] {
|
|
border-left-color: #17a2b8;
|
|
}
|
|
|
|
.task[data-priority="planning"] {
|
|
border-left-color: #6c757d;
|
|
}
|
|
|
|
/* Enhanced Form Selects */
|
|
.priority-select,
|
|
.department-select,
|
|
.assignee-select,
|
|
.status-select {
|
|
background: white;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
padding: 8px 12px;
|
|
font-size: 14px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Button Enhancements */
|
|
.action-btn {
|
|
transition: all 0.3s;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.action-btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.submit-btn,
|
|
.cancel-btn {
|
|
font-size: 16px;
|
|
padding: 12px 24px;
|
|
border-radius: 6px;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.submit-btn:hover,
|
|
.cancel-btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
/* Layout Adjustments */
|
|
.dashboard-header {
|
|
background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
|
|
}
|
|
|
|
/* Department Views Styles */
|
|
.departments-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.department-card {
|
|
background: white;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #e9ecef;
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.department-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.department-card h3 {
|
|
margin: 0 0 15px 0;
|
|
color: #007bff;
|
|
}
|
|
|
|
.department-card h3 a {
|
|
color: #007bff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.department-card h3 a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.department-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 10px;
|
|
margin-top: 15px;
|
|
padding-top: 15px;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
.stat {
|
|
text-align: center;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.stat strong {
|
|
display: block;
|
|
color: #333;
|
|
font-size: 18px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.department-info {
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.department-info h1 {
|
|
color: #007bff;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.department-info p {
|
|
color: #6c757d;
|
|
line-height: 1.6;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.department-actions {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* Enhanced Form Styles for Departments */
|
|
.departments .form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
.departments .field {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.departments .field label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.departments .field input[type="text"],
|
|
.departments .field textarea {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.departments .field textarea {
|
|
min-height: 100px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.departments .actions {
|
|
display: flex;
|
|
gap: 15px;
|
|
justify-content: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
|