Kaynağa Gözat

Verbessere Schriftgrößen und Abstände in den Detailansichten für bessere Lesbarkeit

gc-server3 2 hafta önce
ebeveyn
işleme
d905fcf9f4
1 değiştirilmiş dosya ile 28 ekleme ve 28 silme
  1. 28 28
      static/assets/css/details.css

+ 28 - 28
static/assets/css/details.css

@@ -14,7 +14,7 @@ body {
   --cui-heading-font-family: var(--cui-body-font-family);
   font-family: var(--cui-body-font-family);
 }
-.gc-app-header { font-family: var(--cui-body-font-family); font-size: 1rem; }
+.gc-app-header { font-family: var(--cui-body-font-family); font-size: 1.125rem; }
 .gc-app-header.header {
   position: sticky;
   top: 0;
@@ -36,7 +36,7 @@ body {
 .gc-header-brand { flex: 0 1 180px; min-width: 0; }
 .gc-header-brand img { display: block; width: 100%; max-width: 180px; height: auto; }
 .gc-app-header .header-nav { flex-wrap: wrap; gap: .25rem; }
-.gc-app-header .nav-link { color: var(--gc-brand-ink); border-radius: 6px; }
+.gc-app-header .nav-link { font-size: inherit; color: var(--gc-brand-ink); border-radius: 6px; }
 .gc-app-header .nav-link:hover { background: #ffffff70; }
 .gc-header-account { flex-wrap: wrap; min-width: 0; }
 .gc-header-account span { overflow-wrap: anywhere; }
@@ -46,7 +46,7 @@ body {
   --text-light: #52616f;
   --border: #dce2e7;
   --cui-primary: #72889b;
-  font-size: .9375rem;
+  font-size: 1.0625rem;
   width: 100%;
   padding: 0 0 2rem;
   gap: 1.25rem;
@@ -69,23 +69,23 @@ body:has(.gc-detail-page) { max-width: 1840px; }
   border-bottom: 1px solid var(--gc-brand-border);
 }
 .gc-context-heading { flex: 1 1 24rem; }
-.gc-context-heading h1 { margin: .25rem 0; font-size: clamp(1.2rem, 1.5vw, 1.625rem); line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
-.gc-context-heading p { margin: 0; font-size: .9375rem; }
+.gc-context-heading h1 { margin: .25rem 0; font-size: clamp(1.325rem, 1.6vw, 1.75rem); line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
+.gc-context-heading p { margin: 0; font-size: 1.0625rem; }
 .gc-context-heading p span { color: #52616f; }
-.gc-detail-page .gc-back-link { padding: 0; font-size: .875rem; color: #3c5263; text-decoration: none; }
+.gc-detail-page .gc-back-link { padding: 0; font-size: 1rem; color: #3c5263; text-decoration: none; }
 .gc-context-metrics { display: flex; gap: .65rem; flex-wrap: wrap; }
 .gc-metric { display: flex; flex-direction: column; gap: .15rem; padding: .6rem .85rem; border-radius: 8px; }
-.gc-metric span { font-size: .875rem; }
-.gc-metric strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
+.gc-metric span { font-size: 1rem; }
+.gc-metric strong { font-size: 1.275rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
 .gc-metric-balance { background: #c7dee7; }
 .gc-metric-level { background: #ffe97e; }
 .gc-metric-clear { background: #b6cb9b; }
 .gc-case-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 1.25rem; align-items: start; padding: 0 1.25rem; }
 .gc-case-data, .gc-case-conversation, .gc-case-actions { display: flex; flex-direction: column; gap: 1rem; }
 .gc-detail-card, .gc-detail-page .chat-container { background: #fff; border: 1px solid #dce2e7; border-radius: 10px; box-shadow: 0 2px 6px #18263004; }
-.gc-section-title { margin: 0; padding: .8rem 1rem; background: var(--gc-brand-section); border-radius: 9px 9px 0 0; font-size: 1rem; font-weight: 700; line-height: 1.5; }
+.gc-section-title { margin: 0; padding: .8rem 1rem; background: var(--gc-brand-section); border-radius: 9px 9px 0 0; font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
 .gc-data-fields { margin: 0; padding: .4rem 1rem; }
-.gc-data-field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: .65rem; padding: .5rem 0; border-bottom: 1px solid #edf0f2; font-size: .9375rem; line-height: 1.5; }
+.gc-data-field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: .65rem; padding: .5rem 0; border-bottom: 1px solid #edf0f2; font-size: 1.0625rem; line-height: 1.5; }
 .gc-data-field:last-child { border-bottom: 0; }
 .gc-data-field dt { color: #52616f; font-weight: 500; overflow-wrap: anywhere; }
 .gc-data-field dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@@ -95,11 +95,11 @@ body:has(.gc-detail-page) { max-width: 1840px; }
 .gc-field-total dd { background: #d3d3d3; }
 .gc-field-age dd { background: #e98751; }
 .gc-data-more { border-top: 1px solid #edf0f2; }
-.gc-data-more summary { cursor: pointer; padding: .65rem 1rem; font-size: .875rem; font-weight: 600; color: #354f63; }
+.gc-data-more summary { cursor: pointer; padding: .65rem 1rem; font-size: 1rem; font-weight: 600; color: #354f63; }
 .gc-data-more[open] summary { background: #f4f6f8; }
 .gc-detail-page :is(a, button, input, select, summary, [tabindex]):focus-visible,
 .gc-app-header :is(a, button):focus-visible { outline: 3px solid #354f63; outline-offset: 3px; }
-.gc-detail-page .btn { white-space: normal !important; border-radius: 6px; font-size: .9375rem; padding: .5rem .75rem; }
+.gc-detail-page .btn { white-space: normal !important; border-radius: 6px; font-size: 1.0625rem; padding: .5rem .75rem; }
 /* Dark text on the exact corporate action color meets text contrast requirements. */
 .gc-detail-page .btn-primary { --cui-btn-bg: #72889b; --cui-btn-border-color: #72889b; --cui-btn-color: #101b24; --cui-btn-hover-bg: #c3ccd4; --cui-btn-hover-color: #101b24; --cui-btn-hover-border-color: #72889b; --cui-btn-active-bg: #b1bcc7; --cui-btn-active-color: #101b24; }
 .gc-detail-page .btn-outline-secondary { --cui-btn-color: #354f63; --cui-btn-border-color: #b1bcc7; --cui-btn-hover-bg: #cdd4da; --cui-btn-hover-color: #182630; --cui-btn-hover-border-color: #72889b; }
@@ -108,13 +108,13 @@ body:has(.gc-detail-page) { max-width: 1840px; }
 .gc-workflow-form > .col-12 { padding: 0; }
 .gc-workflow-form .form-check { padding: .65rem .75rem .65rem 2.25rem; border-radius: 6px; background: #f4f6f8; }
 .gc-workflow-form .form-check-input:checked { background-color: #526b7e; border-color: #526b7e; }
-.gc-workflow-form .form-check-label { font-size: .9375rem; }
+.gc-workflow-form .form-check-label { font-size: 1.0625rem; }
 .gc-workflow-form .card-body { padding: .85rem; background: #fafbfc; border-color: #dce2e7; box-shadow: none; }
 .gc-workflow-form .card-body .row, .gc-workflow-form .gc-follow-up .row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .85rem; }
-.gc-workflow-form .row > .col-form-label { flex: 0 0 100%; padding: 0; font-size: .875rem; color: #52616f; }
+.gc-workflow-form .row > .col-form-label { flex: 0 0 100%; padding: 0; font-size: 1rem; color: #52616f; }
 .gc-workflow-form .row > div { flex: 1 1 7rem; padding: 0; }
 .gc-workflow-form .card-body > .col-3 { width: auto; }
-.gc-workflow-form :is(.form-control, .form-select) { width: 100%; font-size: .9375rem; min-height: 38px; border-color: #b1bcc7; }
+.gc-workflow-form :is(.form-control, .form-select) { width: 100%; font-size: 1.0625rem; min-height: 38px; border-color: #b1bcc7; }
 .gc-detail-page input[type="date"]::-webkit-datetime-edit-year-field,
 .gc-detail-page input[type="date"]::-webkit-datetime-edit-month-field,
 .gc-detail-page input[type="date"]::-webkit-datetime-edit-day-field,
@@ -132,7 +132,7 @@ body:has(.gc-detail-page) { max-width: 1840px; }
   padding: .65rem .85rem;
   border-radius: 10px;
   overflow-wrap: anywhere;
-  font-size: .9375rem;
+  font-size: 1.0625rem;
   line-height: 1.55;
   color: #182630;
   background: #f3f4f6;
@@ -140,9 +140,9 @@ body:has(.gc-detail-page) { max-width: 1840px; }
   border-inline-start: 3px solid color-mix(in srgb, var(--gc-role-accent, #72889b) 45%, #dce2e7);
 }
 .gc-detail-page .chat-container .avatar { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 7px; }
-.gc-detail-page .chat-container .sender-name { font-size: .875rem; }
-.gc-detail-page .chat-container .timestamp, .gc-detail-page .comment-invoice { font-size: .8125rem; }
-.gc-detail-page .chat-container .message-input { font-size: .9375rem; }
+.gc-detail-page .chat-container .sender-name { font-size: 1rem; }
+.gc-detail-page .chat-container .timestamp, .gc-detail-page .comment-invoice { font-size: 0.9375rem; }
+.gc-detail-page .chat-container .message-input { font-size: 1.0625rem; }
 .gc-detail-page .chat-container .FIBU { --gc-role-accent: #dc3545; }
 .gc-detail-page .chat-container .GSL { --gc-role-accent: #6e131c; }
 .gc-detail-page .chat-container .GWL { --gc-role-accent: #fd7e14; }
@@ -158,17 +158,17 @@ body:has(.gc-detail-page) { max-width: 1840px; }
 .gc-detail-page .chat-container .message-input { min-width: 0; width: 100%; height: 42px; padding: .6rem .75rem; }
 .gc-detail-page .chat-container .message-input:focus { border-color: #526b7e; box-shadow: 0 0 0 3px #72889b33; }
 .gc-detail-page .history-tabs { padding: .25rem .5rem 0; gap: 0; }
-.gc-detail-page .history-tab { font-size: .875rem; padding: .65rem .5rem; white-space: normal; }
+.gc-detail-page .history-tab { font-size: 1rem; padding: .65rem .5rem; white-space: normal; }
 .gc-detail-page .history-tab.active { color: #354f63; border-color: #526b7e; background: #edf2f5; }
 .gc-detail-page .gc-table-scroll { overflow-x: auto; max-width: 100%; }
-.gc-detail-page .table { margin: 0; font-size: .9375rem; }
+.gc-detail-page .table { margin: 0; font-size: 1.0625rem; }
 .gc-detail-page .table :is(th, td) { padding: .6rem .8rem; vertical-align: top; }
-.gc-detail-page .table th { background: #eef1f4; font-size: .875rem; }
+.gc-detail-page .table th { background: #eef1f4; font-size: 1rem; }
 .gc-detail-page .table thead { position: static; }
 .gc-detail-page .table td { overflow-wrap: anywhere; }
 .gc-detail-page .table .text-end { white-space: nowrap; font-variant-numeric: tabular-nums; }
 .gc-case-bookings { margin: 0 1.25rem; }
-.gc-section-description { padding: .75rem 1rem 0; margin: 0; font-size: .9375rem; color: #52616f; }
+.gc-section-description { padding: .75rem 1rem 0; margin: 0; font-size: 1.0625rem; color: #52616f; }
 .gc-detail-page #bookings-history > p { margin: .75rem 1rem; }
 .gc-detail-page [role="status"] { color: #52616f; }
 /* Keep booking text black, including reminders; only the type badge is colored. */
@@ -176,14 +176,14 @@ body:has(.gc-detail-page) { max-width: 1840px; }
 .gc-detail-page #bookings-history .history-tabs { padding-left: 0; padding-right: 0; margin-bottom: .75rem; }
 .gc-detail-page #bookings-history .table { --cui-table-color: #000; --cui-table-striped-color: #000; }
 .gc-detail-page #bookings-history .table td { color: #000; }
-.gc-document-badge { display: inline-flex; justify-content: center; width: 3.25rem; padding: .15rem .5rem; border: 1px solid transparent; border-radius: 5px; font-size: .8125rem; font-weight: 700; white-space: nowrap; color: #000; }
+.gc-document-badge { display: inline-flex; justify-content: center; width: 3.25rem; padding: .15rem .5rem; border: 1px solid transparent; border-radius: 5px; font-size: 0.9375rem; font-weight: 700; white-space: nowrap; color: #000; }
 .gc-document-badge--M1 { background: #ffe97e; border-color: #c8af45; }
 .gc-document-badge--M2 { background: #f7d8bf; border-color: #e98751; }
 .gc-document-badge--M3 { background: #f5dddd; border-color: #b30808; }
 .gc-detail-page .gc-files-table { --cui-table-bg: #fff; }
 .gc-detail-page .gc-files-table :is(th, td) { background: #fff; box-shadow: none; }
 .gc-section-title { display: flex; align-items: center; gap: .6rem; font-family: inherit; }
-.gc-section-title .icon { flex-shrink: 0; width: 1.125rem; height: 1.125rem; font-size: 1.125rem; vertical-align: -.1em; }
+.gc-section-title .icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; font-size: 1.25rem; vertical-align: -.1em; }
 @media (max-width: 1199.98px) {
   .gc-case-grid { grid-template-columns: minmax(0, 1fr); }
   .gc-detail-page .chat-container { height: 38rem; }
@@ -192,13 +192,13 @@ body:has(.gc-detail-page) { max-width: 1840px; }
   .gc-app-header .gc-header-inner { padding: .5rem .75rem; gap: .25rem .65rem; }
   .gc-header-brand { flex-basis: 140px; }
   .gc-app-header .gc-header-tools { width: 100%; margin-left: 0 !important; }
-  .gc-header-account { flex: 1; justify-content: flex-end; font-size: .875rem; }
+  .gc-header-account { flex: 1; justify-content: flex-end; font-size: 1rem; }
   .gc-case-context { padding: .65rem .75rem; gap: .5rem; }
   .gc-context-heading { flex-basis: 100%; }
-  .gc-context-heading h1 { font-size: 1.125rem; }
+  .gc-context-heading h1 { font-size: 1.25rem; }
   .gc-context-metrics { width: 100%; }
   .gc-metric { flex-direction: row; align-items: center; gap: .5rem; padding: .35rem .6rem; }
-  .gc-metric strong { font-size: .95rem; }
+  .gc-metric strong { font-size: 1.075rem; }
   .gc-case-grid { padding: 0 .5rem; gap: 1rem; }
   .gc-case-bookings { margin: 0 .5rem; }
 }