redesign.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
  1. :root {
  2. --gc-bg: #f4f6fb;
  3. --gc-surface: #ffffff;
  4. --gc-surface-soft: #f8fafc;
  5. --gc-border: #e5e7eb;
  6. --gc-text: #111827;
  7. --gc-muted: #6b7280;
  8. --gc-primary: #475569;
  9. --gc-primary-dark: #334155;
  10. --gc-primary-soft: #eef2f7;
  11. --gc-danger: #dc2626;
  12. --gc-warning: #d97706;
  13. --gc-success: #16a34a;
  14. --gc-radius-sm: 10px;
  15. --gc-radius-md: 16px;
  16. --gc-radius-lg: 22px;
  17. --gc-shadow-sm: 0 4px 14px rgba(15, 23, 42, .06);
  18. --gc-shadow-md: 0 18px 45px rgba(15, 23, 42, .10);
  19. --gc-topbar-height: 72px;
  20. }
  21. /* Basis */
  22. html,
  23. body {
  24. min-height: 100%;
  25. background: var(--gc-bg);
  26. color: var(--gc-text);
  27. }
  28. body {
  29. overflow-y: auto;
  30. overflow-x: auto;
  31. font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  32. }
  33. /* App Shell */
  34. .gc-shell {
  35. height: 100vh;
  36. display: flex;
  37. flex-direction: column;
  38. background:
  39. radial-gradient(circle at top left, rgba(100, 116, 139, .10), transparent 34rem),
  40. linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  41. }
  42. .gc-topbar {
  43. height: var(--gc-topbar-height);
  44. flex: 0 0 var(--gc-topbar-height);
  45. display: flex;
  46. align-items: center;
  47. padding: 0 1.5rem;
  48. background: rgba(255, 255, 255, .86);
  49. backdrop-filter: blur(18px);
  50. border-bottom: 1px solid rgba(226, 232, 240, .9);
  51. z-index: 1000;
  52. }
  53. .gc-logo {
  54. height: 38px;
  55. width: auto;
  56. object-fit: contain;
  57. }
  58. .gc-brand {
  59. font-size: 1rem;
  60. font-weight: 800;
  61. letter-spacing: -.02em;
  62. color: var(--gc-text);
  63. }
  64. .gc-nav-link {
  65. display: inline-flex;
  66. align-items: center;
  67. min-height: 38px;
  68. padding: .45rem .8rem;
  69. border-radius: 999px;
  70. color: var(--gc-muted);
  71. font-weight: 700;
  72. text-decoration: none;
  73. transition: all .18s ease;
  74. }
  75. .gc-nav-link:hover {
  76. color: #334155;
  77. background: #eef2f7;
  78. text-decoration: none;
  79. }
  80. .gc-page {
  81. flex: 1;
  82. width: 100%;
  83. max-width: 1840px;
  84. margin: 0 auto;
  85. padding: 1.25rem;
  86. overflow: hidden;
  87. display: flex;
  88. flex-direction: column;
  89. gap: 1rem;
  90. }
  91. /* Cards */
  92. .gc-card {
  93. background: rgba(255, 255, 255, .95);
  94. border: 1px solid rgba(226, 232, 240, .95);
  95. border-radius: var(--gc-radius-lg);
  96. box-shadow: var(--gc-shadow-sm);
  97. }
  98. /* Filter */
  99. .gc-filterbar {
  100. padding: 1rem;
  101. }
  102. .gc-filterbar .form-label {
  103. font-size: .74rem;
  104. font-weight: 800;
  105. text-transform: uppercase;
  106. color: var(--gc-muted);
  107. letter-spacing: .04em;
  108. }
  109. .gc-filterbar .form-control,
  110. .gc-filterbar .form-select {
  111. border-radius: 12px;
  112. border-color: var(--gc-border);
  113. font-weight: 600;
  114. }
  115. .gc-filterbar .form-control:focus,
  116. .gc-filterbar .form-select:focus {
  117. border-color: #94a3b8;
  118. box-shadow: 0 0 0 .2rem rgba(100, 116, 139, .12);
  119. }
  120. /* Tabelle */
  121. .gc-table-wrap {
  122. flex: 1;
  123. overflow: auto;
  124. border-radius: var(--gc-radius-lg);
  125. padding-top: 0 !important;
  126. }
  127. .gc-table {
  128. width: 100%;
  129. min-width: 1450px;
  130. margin: 0 !important;
  131. border-collapse: separate !important;
  132. border-spacing: 0 !important;
  133. table-layout: auto !important;
  134. font-size: .88rem;
  135. }
  136. .gc-table thead {
  137. position: static !important;
  138. z-index: auto !important;
  139. }
  140. .gc-table thead th {
  141. position: static !important;
  142. top: auto !important;
  143. z-index: auto !important;
  144. background: #f3f4f6 !important;
  145. color: #667085;
  146. font-size: .7rem;
  147. font-weight: 900;
  148. text-transform: uppercase;
  149. letter-spacing: .055em;
  150. padding: .85rem .8rem !important;
  151. border-top: 0 !important;
  152. border-bottom: 1px solid #d7dde5 !important;
  153. box-shadow: none !important;
  154. white-space: nowrap;
  155. vertical-align: bottom;
  156. }
  157. .gc-table tbody td {
  158. background: #ffffff;
  159. padding: .85rem .8rem !important;
  160. border-top: 1px solid #edf2f7;
  161. vertical-align: top;
  162. }
  163. .gc-table tbody tr {
  164. transition: background .15s ease;
  165. }
  166. .gc-table tbody tr:hover td {
  167. background: #fafbfc;
  168. }
  169. /* Spalten */
  170. .gc-table th:nth-child(2),
  171. .gc-table td:nth-child(2) {
  172. width: 120px;
  173. white-space: normal !important;
  174. }
  175. .gc-table th:nth-child(3),
  176. .gc-table td:nth-child(3) {
  177. padding-left: 14px !important;
  178. }
  179. .gc-table th:nth-child(8),
  180. .gc-table td:nth-child(8),
  181. .gc-table td:nth-child(8) *,
  182. .gc-table th:nth-child(9),
  183. .gc-table td:nth-child(9),
  184. .gc-table td:nth-child(9) * {
  185. white-space: nowrap !important;
  186. }
  187. /* Tabellenlinks neutral/grau */
  188. .gc-table a {
  189. color: #008 !important;
  190. text-decoration: none;
  191. font-weight: 600;
  192. }
  193. .gc-table a:hover {
  194. color: #1f2937 !important;
  195. text-decoration: underline;
  196. }
  197. /* Typografie */
  198. .gc-title {
  199. color: var(--gc-text);
  200. font-weight: 750;
  201. line-height: 1.25;
  202. }
  203. .gc-subtitle {
  204. margin-top: .15rem;
  205. color: var(--gc-muted);
  206. font-size: .78rem;
  207. line-height: 1.35;
  208. }
  209. .gc-main-cell {
  210. min-width: 290px;
  211. }
  212. .gc-money {
  213. font-variant-numeric: tabular-nums;
  214. font-weight: 400;
  215. white-space: nowrap;
  216. }
  217. /* Offen / Kunde ges. weiterhin fett */
  218. .gc-table td:nth-child(8) .gc-money {
  219. font-weight: 800 !important;
  220. }
  221. /* Buttons */
  222. .gc-action-btn {
  223. border-radius: 10px;
  224. font-weight: 700;
  225. background: #7b8ea3 !important;
  226. border-color: #7b8ea3 !important;
  227. color: #ffffff !important;
  228. box-shadow: none !important;
  229. }
  230. .gc-action-btn:hover {
  231. background: #66788c !important;
  232. border-color: #66788c !important;
  233. color: #ffffff !important;
  234. }
  235. /* Badges */
  236. .gc-badge {
  237. display: inline-flex;
  238. align-items: center;
  239. justify-content: center;
  240. gap: .3rem;
  241. min-height: 24px;
  242. padding: .22rem .55rem;
  243. border-radius: 999px;
  244. font-size: .7rem;
  245. font-weight: 800;
  246. border: 1px solid transparent;
  247. white-space: nowrap;
  248. }
  249. .gc-badge-info {
  250. background: #edf2f7;
  251. color: #475569;
  252. border-color: #dbe3ee;
  253. }
  254. .gc-badge-warning, .gc-badge-1 {
  255. background: #f6ecd2;
  256. color: #8a6a1f;
  257. border-color: #ead9a7;
  258. }
  259. .gc-badge-danger, .gc-badge-2 {
  260. background: #fee2e2;
  261. color: #991b1b;
  262. border-color: #fecaca;
  263. }
  264. .gc-badge-success, .gc-badge-0 {
  265. background: #dcfce7;
  266. color: #166534;
  267. border-color: #bbf7d0;
  268. }
  269. /* Mahnstufen */
  270. .gc-mahnstufe-1 {
  271. background: #fee2e2 !important;
  272. color: #991b1b !important;
  273. border-color: #fecaca !important;
  274. }
  275. .gc-mahnstufe-2 {
  276. background: #fecaca !important;
  277. color: #7f1d1d !important;
  278. border-color: #fca5a5 !important;
  279. }
  280. .gc-mahnstufe-3 {
  281. background: #dc2626 !important;
  282. color: #ffffff !important;
  283. border-color: #991b1b !important;
  284. }
  285. /* Wiedervorlage */
  286. .gc-wv-overdue {
  287. background: #fee2e2 !important;
  288. color: #991b1b !important;
  289. border-color: #fecaca !important;
  290. }
  291. .gc-wv-today {
  292. background: #f6ecd2 !important;
  293. color: #8a6a1f !important;
  294. border-color: #ead9a7 !important;
  295. }
  296. .gc-wv-future {
  297. background: #dcfce7 !important;
  298. color: #166534 !important;
  299. border-color: #bbf7d0 !important;
  300. }
  301. /* Infinite Scroll */
  302. .gc-load-sentinel,
  303. .gc-load-sentinel td {
  304. height: 1px !important;
  305. padding: 0 !important;
  306. border: 0 !important;
  307. background: transparent !important;
  308. }
  309. @media (max-width: 992px) {
  310. body {
  311. overflow: auto;
  312. }
  313. .gc-shell {
  314. min-height: 100vh;
  315. height: auto;
  316. }
  317. .gc-page {
  318. overflow: visible;
  319. }
  320. .gc-table-wrap {
  321. overflow-x: auto;
  322. }
  323. }
  324. /* =========================================================
  325. HAUPTSEITE: SINNVOLLERE SPALTENBREITEN
  326. ========================================================= */
  327. .gc-table {
  328. min-width: 1380px;
  329. }
  330. /* Aktion */
  331. .gc-table th:nth-child(12),
  332. .gc-table td:nth-child(12) {
  333. width: 54px;
  334. }
  335. /* Filiale / Bereich */
  336. .gc-table th:nth-child(1),
  337. .gc-table td:nth-child(1) {
  338. width: 115px;
  339. max-width: 115px;
  340. white-space: normal !important;
  341. }
  342. /* Verursacher */
  343. .gc-table th:nth-child(2),
  344. .gc-table td:nth-child(2) {
  345. width: 145px;
  346. min-width: 145px;
  347. padding-left: 6px !important;
  348. }
  349. /* RG-Nr. */
  350. .gc-table th:nth-child(3),
  351. .gc-table td:nth-child(3) {
  352. width: 118px;
  353. }
  354. /* RG-Datum / Fällig */
  355. .gc-table th:nth-child(4),
  356. .gc-table td:nth-child(4) {
  357. width: 120px;
  358. }
  359. /* Kunde */
  360. .gc-table th:nth-child(5),
  361. .gc-table td:nth-child(5) {
  362. width: 230px;
  363. min-width: 230px;
  364. padding-left: 8px !important;
  365. }
  366. /* offen / Kunde ges. */
  367. .gc-table th:nth-child(6),
  368. .gc-table td:nth-child(6) {
  369. width: 155px;
  370. }
  371. /* Mahnstufe / Staffel */
  372. .gc-table th:nth-child(7),
  373. .gc-table td:nth-child(7) {
  374. width: 125px;
  375. }
  376. /* Abw. */
  377. .gc-table th:nth-child(8),
  378. .gc-table td:nth-child(8) {
  379. width: 80px;
  380. }
  381. /* Kommentar Fibu */
  382. .gc-table th:nth-child(9),
  383. .gc-table td:nth-child(9) {
  384. width: 165px;
  385. }
  386. /* Kommentar Abteilung */
  387. .gc-table th:nth-child(10),
  388. .gc-table td:nth-child(10) {
  389. width: 165px;
  390. }
  391. /* Wiedervorlage */
  392. .gc-table th:nth-child(11),
  393. .gc-table td:nth-child(11) {
  394. width: 120px;
  395. }
  396. /* Abw. wieder im alten Gelb */
  397. .gc-table td:nth-child(8) .gc-badge-warning {
  398. background: #fef3c7 !important;
  399. color: #92400e !important;
  400. border-color: #fde68a !important;
  401. text-align: left;
  402. }
  403. /* =========================================================
  404. EDIT BUTTON LINKS HELLER
  405. ========================================================= */
  406. .gc-table td:nth-child(12) button,
  407. .gc-table td:nth-child(12) .btn,
  408. .gc-table td:nth-child(12) a {
  409. width: 34px;
  410. height: 34px;
  411. border-radius: 12px !important;
  412. border: 1px solid #d6dee8 !important;
  413. background: linear-gradient(
  414. 180deg,
  415. #9db0c2 0%,
  416. #879caf 100%
  417. ) !important;
  418. color: #ffffff !important;
  419. box-shadow:
  420. inset 0 1px 0 rgba(255,255,255,.28),
  421. 0 2px 6px rgba(15,23,42,.08);
  422. transition: all .18s ease;
  423. }
  424. /* Hover */
  425. .gc-table td:nth-child(12) button:hover,
  426. .gc-table td:nth-child(12) .btn:hover,
  427. .gc-table td:nth-child(12) a:hover {
  428. background: linear-gradient(
  429. 180deg,
  430. #a8b9c9 0%,
  431. #92a6b8 100%
  432. ) !important;
  433. transform: translateY(-1px);
  434. }
  435. /* Icon */
  436. .gc-table td:nth-child(12) i,
  437. .gc-table td:nth-child(12) svg {
  438. color: #ffffff !important;
  439. font-size: .9rem;
  440. }
  441. /* =========================================================
  442. BUTTONS: KEIN ZEILENUMBRUCH
  443. ========================================================= */
  444. .gc-action-btn,
  445. .gc-action-btn span,
  446. .gc-action-btn button,
  447. .btn {
  448. white-space: nowrap !important;
  449. }
  450. .btn-warning {
  451. background-color: #e80;
  452. }
  453. /* =========================================================
  454. DETAILSEITE: SEITE BEI AUFGEKLAPPTEN BOXEN SCROLLBAR
  455. ========================================================= */
  456. body {
  457. overflow-y: auto !important;
  458. overflow-x: hidden !important;
  459. }
  460. .gc-shell {
  461. min-height: 100vh !important;
  462. height: auto !important;
  463. }
  464. .gc-page {
  465. min-height: calc(100vh - var(--gc-topbar-height)) !important;
  466. height: auto !important;
  467. overflow: visible !important;
  468. }
  469. .gc-link {
  470. color: #008;
  471. }