File size: 1,948 Bytes
6aa6081
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
099a820
 
 
 
beb5744
099a820
 
 
e3aabbe
099a820
 
 
 
 
 
e3aabbe
099a820
e3aabbe
 
 
 
 
 
 
099a820
 
e3aabbe
 
 
 
 
 
 
 
 
 
 
 
 
099a820
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  * { @apply box-border m-0 p-0; }
  body {
    @apply antialiased bg-gray-50 text-gray-800;
    font-family: 'Ubuntu', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
  }
  a { @apply no-underline text-inherit; }
  h1 { @apply text-2xl font-bold text-gray-800; }
  h2 { @apply text-lg font-semibold text-gray-800; }
  h3 { @apply text-base font-semibold text-gray-800; }
}

@layer utilities {
  .spin {
    animation: spin 1s linear infinite;
  }
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
}

/* ── Print / PDF styles ─────────────────────────────────────────────────── */
@page {
  size: letter landscape;
  margin: 0.5in;
}

@media print {
  /* Hide everything by default via visibility (preserves layout for our absolute positioning) */
  body * { visibility: hidden; }

  /* Show only the printable grid and its children */
  .schedule-print-area,
  .schedule-print-area * { visibility: visible; }

  /* Position the print area at the top-left of the page, escaping parent constraints */
  .schedule-print-area {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    overflow: visible !important;
    max-height: none !important;
    padding: 0 !important;
  }

  /* Modal overlay/box: kill background-color so they don't tint anything if visibility leaks */
  .print-overlay {
    background: transparent !important;
    position: static !important;
  }
  .print-modal-box {
    background: transparent !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Header/footer buttons of the modal: must NOT render in print */
  .no-print { display: none !important; }
}