m1m02530125 commited on
Commit
b2f7c5c
·
1 Parent(s): 3a57f76

シフト表画面:ダークモード時の予約・メモ1・メモ2行の白背景を修正

Browse files
Files changed (1) hide show
  1. templates/schedule/index.html +7 -0
templates/schedule/index.html CHANGED
@@ -25,6 +25,13 @@
25
  [data-theme="light"] .sun td, [data-theme="light"] .sun th { background: #fff1f2 !important; }
26
  [data-theme="dark"] .sat td, [data-theme="dark"] .sat th { background: rgba(59, 130, 246, 0.12) !important; }
27
  [data-theme="dark"] .sun td, [data-theme="dark"] .sun th { background: rgba(239, 68, 68, 0.12) !important; }
 
 
 
 
 
 
 
28
 
29
  /* 今日の列 */
30
  .sched-grid thead th.today-col { background: #1d4ed8 !important; color: #fff !important; }
 
25
  [data-theme="light"] .sun td, [data-theme="light"] .sun th { background: #fff1f2 !important; }
26
  [data-theme="dark"] .sat td, [data-theme="dark"] .sat th { background: rgba(59, 130, 246, 0.12) !important; }
27
  [data-theme="dark"] .sun td, [data-theme="dark"] .sun th { background: rgba(239, 68, 68, 0.12) !important; }
28
+
29
+ /* 予約・メモ1・メモ2行(table-light):ダークモードでは白背景にしない */
30
+ [data-theme="dark"] .sched-grid tr.table-light > td,
31
+ [data-theme="dark"] .sched-grid tr.table-light > th {
32
+ --bs-table-bg: rgba(255, 255, 255, 0.04);
33
+ color: var(--text);
34
+ }
35
 
36
  /* 今日の列 */
37
  .sched-grid thead th.today-col { background: #1d4ed8 !important; color: #fff !important; }