| 1 | .mac-login-fullscreen { |
| 2 | position: fixed; |
| 3 | inset: 0; |
| 4 | z-index: 10000; |
| 5 | isolation: isolate; |
| 6 | background: #131519; |
| 7 | color: white; |
| 8 | } |
| 9 | .mac-login-panel { position: absolute; inset: 0; } |
| 10 | .mac-login-fullscreen[data-mode="login"] { |
| 11 | display: grid; |
| 12 | place-items: center; |
| 13 | padding: 16px; |
| 14 | background: #0008; |
| 15 | } |
| 16 | [data-mode="login"] .mac-login-panel { |
| 17 | position: relative; |
| 18 | inset: auto; |
| 19 | width: min(680px, 100%); |
| 20 | height: min(560px, calc(100dvh - 32px)); |
| 21 | overflow: hidden; |
| 22 | border: 1px solid #ffffff32; |
| 23 | border-radius: 16px; |
| 24 | background: #17191e; |
| 25 | box-shadow: 0 24px 80px #0006; |
| 26 | display: flex; |
| 27 | flex-direction: column; |
| 28 | } |
| 29 | .mac-login-heading { padding: 20px 20px 12px; } |
| 30 | .mac-login-heading h2 { margin: 0; color: #fff; font-size: 18px; line-height: 1.4; } |
| 31 | .mac-login-heading p { margin: 6px 0 0; color: #ffffffb3; font-size: 13px; line-height: 1.5; } |
| 32 | .mac-login-stage { |
| 33 | position: absolute; |
| 34 | inset: 0; |
| 35 | overflow: auto; |
| 36 | overscroll-behavior: contain; |
| 37 | outline: none; |
| 38 | touch-action: none; |
| 39 | } |
| 40 | .mac-login-canvas { |
| 41 | display: grid; |
| 42 | place-items: center; |
| 43 | user-select: none; |
| 44 | -webkit-user-select: none; |
| 45 | } |
| 46 | .mac-login-canvas img { |
| 47 | display: block; |
| 48 | max-width: none; |
| 49 | max-height: none; |
| 50 | -webkit-user-drag: none; |
| 51 | } |
| 52 | .mac-login-stage[data-zoom="account"] .mac-login-canvas { cursor: grab; } |
| 53 | .mac-login-stage[data-zoom="account"]:active .mac-login-canvas { cursor: grabbing; } |
| 54 | .mac-login-tools { |
| 55 | position: absolute; |
| 56 | top: max(12px, env(safe-area-inset-top)); |
| 57 | left: max(12px, env(safe-area-inset-left)); |
| 58 | z-index: 1; |
| 59 | display: flex; |
| 60 | gap: 2px; |
| 61 | padding: 4px; |
| 62 | border: 1px solid #ffffff32; |
| 63 | border-radius: 12px; |
| 64 | background: #17191eee; |
| 65 | box-shadow: 0 2px 10px #0003; |
| 66 | } |
| 67 | .mac-login-tools button { |
| 68 | display: inline-flex; |
| 69 | align-items: center; |
| 70 | justify-content: center; |
| 71 | gap: 6px; |
| 72 | min-height: 32px; |
| 73 | margin: 0; |
| 74 | padding: 4px 10px; |
| 75 | color: #fff; |
| 76 | font: inherit; |
| 77 | font-size: 13px; |
| 78 | line-height: 1.2; |
| 79 | white-space: nowrap; |
| 80 | background: transparent; |
| 81 | border: 0; |
| 82 | border-radius: 8px; |
| 83 | } |
| 84 | .mac-login-tools button:hover, |
| 85 | .mac-login-tools button[aria-pressed="true"] { background: #ffffff24; } |
| 86 | .mac-login-tools button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; } |
| 87 | .mac-login-status { |
| 88 | position: absolute; |
| 89 | top: 55px; |
| 90 | left: 12px; |
| 91 | max-width: calc(100% - 24px); |
| 92 | color: #fff; |
| 93 | background: #17191eee; |
| 94 | border-radius: 8px; |
| 95 | padding: 8px 12px; |
| 96 | font-size: 13px; |
| 97 | } |
| 98 | |
| 99 | |
| 100 | .mac-login-keyboard { |
| 101 | position: absolute; |
| 102 | left: 0; |
| 103 | top: 0; |
| 104 | width: 1px; |
| 105 | height: 1px; |
| 106 | padding: 0; |
| 107 | margin: 0; |
| 108 | border: 0; |
| 109 | opacity: 0; |
| 110 | pointer-events: none; |
| 111 | } |
| 112 | |
| 113 | .mac-login-tools { max-width: calc(100% - 24px); flex-wrap: wrap; } |
| 114 | [data-mode="login"] .mac-login-tools { |
| 115 | position: relative; |
| 116 | top: auto; |
| 117 | left: auto; |
| 118 | align-self: flex-start; |
| 119 | flex-shrink: 0; |
| 120 | margin: 0 12px 12px; |
| 121 | box-shadow: none; |
| 122 | } |
| 123 | [data-mode="login"] .mac-login-stage { |
| 124 | position: relative; |
| 125 | flex: 1; |
| 126 | min-height: 0; |
| 127 | overflow: hidden; |
| 128 | } |
| 129 | [data-mode="login"] .mac-login-status { top: auto; bottom: 40px; } |
| 130 | .mac-login-help { margin: 0; padding: 10px 16px; color: #ffffffb3; font-size: 12px; line-height: 1.5; text-align: center; } |
| 131 | .mac-login-password { display: inline-flex; align-items: center; padding: 4px 8px; font-family: monospace; overflow-wrap: anywhere; } |
| 132 | .mac-setup-hint { position: absolute; bottom: 12px; left: 12px; z-index: 1; max-width: calc(100% - 24px); margin: 0; padding: 8px 12px; border-radius: 8px; color: #fff; background: #17191eee; font-size: 13px; pointer-events: none; } |
| 133 | .mac-first-setup { align-items: safe center; } |
| 134 | .mac-first-setup .welcome-content { width: min(100%, 700px); text-align: left; } |
| 135 | .mac-first-setup ol { padding-left: 24px; line-height: 1.6; } |
| 136 | .mac-first-setup li + li { margin-top: 10px; } |
| 137 | .mac-setup-hint p { margin: 0; } |
| 138 | .mac-setup-hint p + p { margin-top: 4px; } |
| 139 | .mac-login-fullscreen[data-mode="maintenance"] { display: grid; place-items: center; padding: 16px; background: #0008; } |
| 140 | [data-mode="maintenance"] .mac-login-panel { position: relative; inset: auto; display: flex; flex-direction: column; width: min(1100px, 100%); height: min(900px, calc(100dvh - 32px)); overflow: hidden; border: 1px solid #ffffff32; border-radius: 16px; background: #17191e; } |
| 141 | [data-mode="maintenance"] .mac-login-tools { position: relative; inset: auto; align-self: flex-start; flex-shrink: 0; margin: 0 12px 8px; box-shadow: none; } |
| 142 | [data-mode="maintenance"] .mac-login-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; } |
| 143 | [data-mode="maintenance"] .mac-setup-hint { position: relative; inset: auto; pointer-events: auto; margin: 0 12px 8px; } |
| 144 | [data-mode="maintenance"] .mac-login-status { position: relative; inset: auto; flex-shrink: 0; margin: 8px 12px; } |
| 145 | .project-recovery-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } |
| 146 | |
| 147 | .mac-login-fullscreen[data-mode="setup"] { display: grid; place-items: center; padding: 16px; background: #0008; } |
| 148 | [data-mode="setup"] .mac-login-panel { position: relative; inset: auto; display: flex; flex-direction: column; width: min(1160px, 100%); height: min(960px, calc(100dvh - 32px)); overflow: hidden; border: 1px solid #ffffff32; border-radius: 16px; background: #17191e; } |
| 149 | [data-mode="setup"] .mac-login-heading { flex-shrink: 0; } |
| 150 | [data-mode="setup"] .mac-login-tools { position: relative; inset: auto; align-self: flex-start; flex-shrink: 0; margin: 0 12px 8px; box-shadow: none; } |
| 151 | [data-mode="setup"] .mac-login-stage { position: relative; flex: 1; min-height: 100px; overflow: auto; } |
| 152 | [data-mode="setup"] .mac-setup-hint { position: relative; inset: auto; flex-shrink: 0; max-height: 28dvh; overflow: auto; margin: 0 12px 8px; pointer-events: auto; } |
| 153 | [data-mode="setup"] .mac-login-status { position: relative; inset: auto; flex-shrink: 0; margin: 8px 12px; } |
| 154 | @media (max-width: 600px) { .mac-login-fullscreen[data-mode="setup"] { padding: 6px; } [data-mode="setup"] .mac-login-panel { height: calc(100dvh - 12px); } [data-mode="setup"] .mac-login-heading { padding: 12px; } } |