| 1 | .scroll-diagnostics { |
| 2 | --reasonix-draggable: no-drag; |
| 3 | position: absolute; |
| 4 | left: 14px; |
| 5 | bottom: 14px; |
| 6 | z-index: var(--z-inline-sticky); |
| 7 | display: flex; |
| 8 | align-items: center; |
| 9 | gap: 5px; |
| 10 | min-height: 32px; |
| 11 | padding: 4px; |
| 12 | border: 1px solid var(--border); |
| 13 | border-radius: 7px; |
| 14 | background: color-mix(in srgb, var(--bg-elev) 94%, transparent); |
| 15 | box-shadow: var(--shadow-2); |
| 16 | color: var(--fg-dim); |
| 17 | font-size: var(--font-caption); |
| 18 | pointer-events: auto; |
| 19 | backdrop-filter: blur(10px); |
| 20 | } |
| 21 | |
| 22 | .scroll-diagnostics button { |
| 23 | display: inline-flex; |
| 24 | align-items: center; |
| 25 | justify-content: center; |
| 26 | gap: 5px; |
| 27 | min-height: 26px; |
| 28 | padding: 0 8px; |
| 29 | border: 0; |
| 30 | border-radius: 5px; |
| 31 | background: transparent; |
| 32 | color: inherit; |
| 33 | font: inherit; |
| 34 | cursor: pointer; |
| 35 | } |
| 36 | |
| 37 | .scroll-diagnostics button:hover { |
| 38 | background: color-mix(in srgb, var(--fg) 6%, transparent); |
| 39 | color: var(--fg); |
| 40 | } |
| 41 | |
| 42 | .scroll-diagnostics button:focus-visible { |
| 43 | outline: none; |
| 44 | box-shadow: var(--focus-ring); |
| 45 | } |
| 46 | |
| 47 | .scroll-diagnostics button:disabled { |
| 48 | opacity: 0.55; |
| 49 | cursor: wait; |
| 50 | } |
| 51 | |
| 52 | .scroll-diagnostics__start, |
| 53 | .scroll-diagnostics__export { |
| 54 | white-space: nowrap; |
| 55 | } |
| 56 | |
| 57 | .frontend-diagnostics__toggle { |
| 58 | border: 1px solid var(--border) !important; |
| 59 | background: var(--bg-elev) !important; |
| 60 | color: var(--fg-dim) !important; |
| 61 | white-space: nowrap; |
| 62 | } |
| 63 | |
| 64 | .frontend-diagnostics__toggle:hover, |
| 65 | .frontend-diagnostics__toggle--on { |
| 66 | border-color: color-mix(in srgb, var(--accent) 48%, var(--border)) !important; |
| 67 | background: var(--accent-soft) !important; |
| 68 | color: var(--accent) !important; |
| 69 | } |
| 70 | |
| 71 | .frontend-diagnostics__toggle--on { |
| 72 | box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent); |
| 73 | } |
| 74 | |
| 75 | .frontend-diagnostics--embedded { |
| 76 | position: relative; |
| 77 | left: auto; |
| 78 | bottom: auto; |
| 79 | align-self: stretch; |
| 80 | width: 100%; |
| 81 | box-sizing: border-box; |
| 82 | } |
| 83 | |
| 84 | .scroll-diagnostics__export { |
| 85 | background: var(--accent-soft) !important; |
| 86 | color: var(--accent) !important; |
| 87 | } |
| 88 | |
| 89 | .scroll-diagnostics__icon-button { |
| 90 | width: 28px; |
| 91 | padding: 0 !important; |
| 92 | } |
| 93 | |
| 94 | .scroll-diagnostics__status { |
| 95 | display: inline-flex; |
| 96 | align-items: center; |
| 97 | gap: 6px; |
| 98 | max-width: 200px; |
| 99 | padding: 0 6px; |
| 100 | white-space: nowrap; |
| 101 | } |
| 102 | |
| 103 | .scroll-diagnostics__dot { |
| 104 | width: 7px; |
| 105 | height: 7px; |
| 106 | flex: 0 0 7px; |
| 107 | border-radius: 50%; |
| 108 | background: var(--danger); |
| 109 | } |
| 110 | |
| 111 | .scroll-diagnostics--stopped .scroll-diagnostics__dot { |
| 112 | background: var(--ok); |
| 113 | } |
| 114 | |
| 115 | @media (max-width: 620px) { |
| 116 | .scroll-diagnostics { |
| 117 | left: 8px; |
| 118 | bottom: 8px; |
| 119 | } |
| 120 | |
| 121 | .scroll-diagnostics__status { |
| 122 | max-width: 132px; |
| 123 | overflow: hidden; |
| 124 | text-overflow: ellipsis; |
| 125 | } |
| 126 | |
| 127 | .scroll-diagnostics__export span { |
| 128 | display: none; |
| 129 | } |
| 130 | |
| 131 | .scroll-diagnostics__export { |
| 132 | width: 28px; |
| 133 | padding: 0 !important; |
| 134 | } |
| 135 | } |
| 136 |