736 lines
12 KiB
CSS
736 lines
12 KiB
CSS
/* Reset and Base Styles */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
}
|
|
|
|
/* Login Page Styles */
|
|
.login-page {
|
|
background-image: url('Images/3M_Splash.jpg');
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.login-page::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(139, 0, 40, 0.1);
|
|
}
|
|
|
|
.login-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
padding: 20px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.login-card {
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
|
|
padding: 50px 60px;
|
|
width: 100%;
|
|
max-width: 580px;
|
|
text-align: center;
|
|
}
|
|
|
|
.logo-container {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.logo {
|
|
height: 50px;
|
|
width: auto;
|
|
}
|
|
|
|
.welcome-text {
|
|
color: #333;
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.subtitle {
|
|
color: #666;
|
|
font-size: 14px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.login-form {
|
|
text-align: left;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-input {
|
|
width: 100%;
|
|
padding: 14px 18px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 6px;
|
|
font-size: 15px;
|
|
transition: border-color 0.3s, box-shadow 0.3s;
|
|
}
|
|
|
|
.form-input:focus {
|
|
outline: none;
|
|
border-color: #CC0000;
|
|
box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
|
|
}
|
|
|
|
.button-container {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.login-button {
|
|
flex: 1;
|
|
padding: 14px 24px;
|
|
background: #CC0000;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.oliver-button {
|
|
background: #000000;
|
|
}
|
|
|
|
.oliver-button:hover:not(:disabled) {
|
|
background: #333333;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.tmm-button {
|
|
background: #CC0000;
|
|
}
|
|
|
|
.tmm-button:hover:not(:disabled) {
|
|
background: #AA0000;
|
|
box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
|
|
}
|
|
|
|
.login-button:disabled {
|
|
background: #999;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.footer-links {
|
|
margin-top: 25px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
.footer-link {
|
|
color: #666;
|
|
font-size: 12px;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.footer-link:hover {
|
|
color: #333;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Terms Modal */
|
|
.terms-modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1000;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.terms-modal.active {
|
|
display: flex;
|
|
}
|
|
|
|
.terms-modal-content {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 40px;
|
|
width: 90%;
|
|
max-width: 700px;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
|
|
position: relative;
|
|
}
|
|
|
|
.terms-modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 25px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 2px solid #e0e0e0;
|
|
}
|
|
|
|
.terms-modal-header h2 {
|
|
color: #333;
|
|
font-size: 24px;
|
|
margin: 0;
|
|
}
|
|
|
|
.terms-close-btn {
|
|
background: none;
|
|
border: none;
|
|
font-size: 32px;
|
|
color: #999;
|
|
cursor: pointer;
|
|
line-height: 1;
|
|
padding: 0;
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.terms-close-btn:hover {
|
|
color: #333;
|
|
}
|
|
|
|
.terms-modal-body {
|
|
color: #555;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.terms-modal-body h3 {
|
|
color: #333;
|
|
font-size: 18px;
|
|
margin-top: 25px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.terms-modal-body p {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
/* PDF Popup Styles */
|
|
.pdf-popup-overlay {
|
|
display: flex;
|
|
position: fixed;
|
|
z-index: 1000;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.pdf-popup-overlay.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.pdf-popup {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 30px 40px;
|
|
text-align: center;
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.pdf-popup-message {
|
|
font-size: 18px;
|
|
color: #333;
|
|
margin: 0 0 20px 0;
|
|
}
|
|
|
|
.pdf-popup-ok-btn {
|
|
background-color: #333;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 40px;
|
|
border-radius: 6px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.pdf-popup-ok-btn:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
/* Spinner Styles */
|
|
.spinner {
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
border-radius: 50%;
|
|
border-top: 2px solid white;
|
|
width: 16px;
|
|
height: 16px;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Error Message */
|
|
.error-message {
|
|
background-color: #fee;
|
|
color: #c33;
|
|
padding: 12px 15px;
|
|
border-radius: 6px;
|
|
margin-top: 15px;
|
|
font-size: 14px;
|
|
border-left: 4px solid #c33;
|
|
}
|
|
|
|
/* Dashboard Page Styles */
|
|
.dashboard-page {
|
|
background-color: #f5f5f5;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.dashboard-header-bar {
|
|
background: white;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
padding: 15px 30px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.dashboard-title-section {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.dashboard-logo {
|
|
height: 40px;
|
|
width: auto;
|
|
}
|
|
|
|
.dashboard-title-section h1 {
|
|
font-size: 22px;
|
|
font-weight: 400;
|
|
color: #333;
|
|
margin: 0;
|
|
}
|
|
|
|
.dashboard-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.view-icons {
|
|
display: flex;
|
|
gap: 5px;
|
|
}
|
|
|
|
.view-icon {
|
|
background: none;
|
|
border: 1px solid #ddd;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
color: #666;
|
|
font-size: 16px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.view-icon:hover {
|
|
background: #f5f5f5;
|
|
border-color: #999;
|
|
}
|
|
|
|
.view-icon.active {
|
|
background: #e0e0e0;
|
|
border-color: #999;
|
|
color: #333;
|
|
}
|
|
|
|
.refresh-button {
|
|
background: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 24px;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.refresh-button:hover {
|
|
background: #45a049;
|
|
}
|
|
|
|
.sign-out-button {
|
|
background: #CC0000;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 24px;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.sign-out-button:hover {
|
|
background: #AA0000;
|
|
}
|
|
|
|
.dashboard-content {
|
|
padding: 30px;
|
|
}
|
|
|
|
.project-header {
|
|
background: white;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 4px;
|
|
padding: 20px 25px;
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.project-info {
|
|
width: 100%;
|
|
}
|
|
|
|
.project-info h2 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin: 0 0 5px 0;
|
|
}
|
|
|
|
.project-status {
|
|
display: inline-block;
|
|
padding: 4px 12px;
|
|
background: #e3f2fd;
|
|
color: #1976d2;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.category-filter {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.category-filter label {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #666;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.category-filter select {
|
|
padding: 8px 30px 8px 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
background: white;
|
|
cursor: pointer;
|
|
min-width: 200px;
|
|
}
|
|
|
|
/* Jobs Grid */
|
|
.jobs-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* Job Card */
|
|
.job-card {
|
|
background: white;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.job-card:hover {
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
border-color: #ccc;
|
|
}
|
|
|
|
.job-card-header {
|
|
background: #f8f8f8;
|
|
padding: 12px 15px;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
position: relative;
|
|
}
|
|
|
|
.lock-icon {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 15px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.job-preview {
|
|
width: 100%;
|
|
height: 280px;
|
|
background: white;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
padding: 20px;
|
|
}
|
|
|
|
.job-preview img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.job-details {
|
|
padding: 15px;
|
|
background: white;
|
|
}
|
|
|
|
.job-document-name {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.job-info-line {
|
|
font-size: 13px;
|
|
color: #555;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.job-info-line strong {
|
|
color: #333;
|
|
}
|
|
|
|
/* Progress Bar */
|
|
.progress-bar-container {
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.progress-bar {
|
|
display: flex;
|
|
height: 24px;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.progress-segment {
|
|
height: 100%;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.progress-finish {
|
|
background: #2e7d32; /* Dark green */
|
|
}
|
|
|
|
.progress-done {
|
|
background: #81c784; /* Light green */
|
|
}
|
|
|
|
.progress-remaining {
|
|
background: #ffd54f; /* Yellow */
|
|
}
|
|
|
|
.progress-legend {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.legend-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.legend-color {
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 2px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.legend-finish {
|
|
background: #2e7d32;
|
|
}
|
|
|
|
.legend-done {
|
|
background: #81c784;
|
|
}
|
|
|
|
.legend-remaining {
|
|
background: #ffd54f;
|
|
}
|
|
|
|
.job-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.btn-edit, .btn-pdf {
|
|
flex: 1;
|
|
padding: 10px 16px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-edit {
|
|
background: #4CAF50;
|
|
color: white;
|
|
}
|
|
|
|
.btn-edit:hover:not(:disabled) {
|
|
background: #45a049;
|
|
}
|
|
|
|
.btn-pdf {
|
|
background: #CC0000;
|
|
color: white;
|
|
}
|
|
|
|
.btn-pdf:hover:not(:disabled) {
|
|
background: #AA0000;
|
|
}
|
|
|
|
.btn-edit.job-locked, .btn-pdf.job-locked {
|
|
background: #ccc;
|
|
color: #888;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn-edit:disabled, .btn-pdf:disabled {
|
|
background: #ccc;
|
|
color: #888;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.status-badge {
|
|
display: inline-block;
|
|
padding: 3px 10px;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.status-ready {
|
|
background: #e8f5e9;
|
|
color: #388e3c;
|
|
}
|
|
|
|
.status-progress {
|
|
background: #fff3e0;
|
|
color: #f57c00;
|
|
}
|
|
|
|
.date-highlight {
|
|
color: #CC0000 !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Loading and Empty States */
|
|
.loading-message {
|
|
text-align: center;
|
|
padding: 60px 20px;
|
|
color: #666;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 60px 20px;
|
|
color: #999;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.login-card {
|
|
padding: 40px 30px;
|
|
}
|
|
|
|
.dashboard-header-bar {
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.dashboard-content {
|
|
padding: 20px;
|
|
}
|
|
|
|
.project-header {
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.jobs-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.login-card {
|
|
padding: 30px 20px;
|
|
}
|
|
|
|
.welcome-text {
|
|
font-size: 20px;
|
|
}
|
|
}
|