258 lines
4.9 KiB
CSS
258 lines
4.9 KiB
CSS
body.comptegf-page {
|
|
--comptegf-header-height: 76px;
|
|
--comptegf-titlebar-height: 80px;
|
|
--comptegf-form-height: 260px;
|
|
--comptegf-footer-height: 64px;
|
|
background: #070a12;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.comptegf-page {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.comptegf-shell {
|
|
width: 100%;
|
|
padding: 1rem;
|
|
background: transparent;
|
|
}
|
|
|
|
.comptegf-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.comptegf-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.comptegf-title {
|
|
margin: 0;
|
|
font-size: 1.8rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.comptegf-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.75rem 1rem;
|
|
color: #fff;
|
|
background: var(--accent-color);
|
|
border-radius: 0.75rem;
|
|
text-decoration: none;
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
.comptegf-button:hover {
|
|
background: #1d4ed8;
|
|
}
|
|
|
|
.comptegf-panel,
|
|
.comptegf-card {
|
|
background: rgba(12, 18, 34, 0.96);
|
|
border: 1px solid rgba(84, 138, 255, 0.18);
|
|
border-radius: 1rem;
|
|
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.comptegf-form-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 1rem;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.comptegf-form-row label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
color: #d3e1ff;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.comptegf-form-row input {
|
|
width: 100%;
|
|
min-height: 2.25rem;
|
|
padding: 0.65rem 0.85rem;
|
|
border: 1px solid rgba(96, 156, 255, 0.18);
|
|
border-radius: 0.75rem;
|
|
background: rgba(15, 22, 41, 0.98);
|
|
font-size: 0.97rem;
|
|
color: #edf2ff;
|
|
}
|
|
|
|
.comptegf-form-row input:focus {
|
|
border-color: rgba(89, 151, 255, 0.65);
|
|
outline: none;
|
|
box-shadow: 0 0 0 4px rgba(64, 126, 255, 0.14);
|
|
}
|
|
|
|
.comptegf-panel-footer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.btn-action {
|
|
border: none;
|
|
cursor: pointer;
|
|
border-radius: 0.75rem;
|
|
padding: 0.6rem 1rem;
|
|
min-height: 38px;
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
|
|
background-color: rgba(37, 99, 235, 0.16);
|
|
color: #edf2ff;
|
|
}
|
|
|
|
.btn-action:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #2563eb;
|
|
color: white;
|
|
}
|
|
|
|
.btn-edit {
|
|
background-color: #2563eb;
|
|
color: white;
|
|
}
|
|
|
|
.btn-cancel {
|
|
background-color: rgba(255, 255, 255, 0.08);
|
|
color: #edf2ff;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.table-container {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.comptegf-table-wrapper {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.comptegf-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
min-width: 800px;
|
|
}
|
|
|
|
.comptegf-table th,
|
|
.comptegf-table td {
|
|
padding: 0.75rem 0.85rem;
|
|
text-align: left;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.comptegf-table th {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--text-secondary);
|
|
font-size: 0.95rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.comptegf-table tr.totals-row th,
|
|
.comptegf-table tr.totals-row td {
|
|
background: rgba(37, 99, 235, 0.12);
|
|
color: #edf2ff;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.comptegf-table tr.totals-row th.totals-label {
|
|
text-align: left;
|
|
}
|
|
|
|
.comptegf-table td.numeric-cell {
|
|
text-align: right;
|
|
}
|
|
|
|
.comptegf-table .totals-value {
|
|
text-align: right;
|
|
}
|
|
|
|
.comptegf-table tbody td:nth-child(1) {
|
|
width: 17%;
|
|
}
|
|
|
|
.comptegf-table tbody td:nth-child(2) {
|
|
width: 50%;
|
|
}
|
|
|
|
.comptegf-table tbody td:nth-child(3),
|
|
.comptegf-table tbody td:nth-child(4),
|
|
.comptegf-table tbody td:nth-child(5) {
|
|
width: 11%;
|
|
}
|
|
|
|
.comptegf-table tr:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.form-error {
|
|
margin-top: 1rem;
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 0.75rem;
|
|
background: rgba(248, 113, 113, 0.12);
|
|
color: #f8c0c0;
|
|
border: 1px solid rgba(248, 113, 113, 0.24);
|
|
}
|
|
|
|
.action-notice {
|
|
padding: 1rem 1.25rem;
|
|
border-radius: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
body.comptegf-page .form-error,
|
|
body.comptegf-page .action-notice {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.action-success {
|
|
background: rgba(16, 185, 129, 0.14);
|
|
border: 1px solid rgba(16, 185, 129, 0.24);
|
|
color: #a7f3d0;
|
|
}
|
|
|
|
.action-error {
|
|
background: rgba(248, 113, 113, 0.14);
|
|
border: 1px solid rgba(248, 113, 113, 0.24);
|
|
color: #fecaca;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.comptegf-form-row {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.comptegf-form-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.comptegf-header {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.comptegf-button {
|
|
width: 100%;
|
|
}
|
|
}
|