- Bump DESK_MOLONI version to 3.0.1 across module - Normalize hooks to after_client_* and instantiate PerfexHooks safely - Fix OAuthController view path and API client class name - Add missing admin views for webhook config/logs; adjust view loading - Harden client portal routes and admin routes mapping - Make Dashboard/Logs/Queue tolerant to optional model methods - Align log details query with existing schema; avoid broken joins This makes the module operational in Perfex (admin + client), reduces 404s, and avoids fatal errors due to inconsistent tables/methods.
110 lines
1.9 KiB
CSS
110 lines
1.9 KiB
CSS
/**
|
|
* Desk-Moloni Client Portal CSS
|
|
* Version: 3.0.0
|
|
* Author: Descomplicar.pt
|
|
*/
|
|
|
|
.desk-moloni-client-portal {
|
|
padding: 20px;
|
|
}
|
|
|
|
.desk-moloni-client-documents {
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.desk-moloni-client-documents h3 {
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
.desk-moloni-document-card {
|
|
border: 1px solid #e5e5e5;
|
|
border-radius: 4px;
|
|
padding: 15px;
|
|
margin-bottom: 15px;
|
|
transition: box-shadow 0.2s;
|
|
}
|
|
|
|
.desk-moloni-document-card:hover {
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.desk-moloni-document-header {
|
|
display: flex;
|
|
justify-content: between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.desk-moloni-document-title {
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin: 0;
|
|
}
|
|
|
|
.desk-moloni-document-meta {
|
|
color: #666;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.desk-moloni-document-actions {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.desk-moloni-btn {
|
|
display: inline-block;
|
|
padding: 8px 16px;
|
|
background: #007bff;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.desk-moloni-btn:hover {
|
|
background: #0056b3;
|
|
text-decoration: none;
|
|
color: white;
|
|
}
|
|
|
|
.desk-moloni-btn-sm {
|
|
padding: 6px 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.desk-moloni-loading {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: #666;
|
|
}
|
|
|
|
.desk-moloni-no-documents {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: #999;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.desk-moloni-client-portal {
|
|
padding: 10px;
|
|
}
|
|
|
|
.desk-moloni-document-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.desk-moloni-document-actions {
|
|
width: 100%;
|
|
}
|
|
|
|
.desk-moloni-btn {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
} |