@crvouga/mockingbird-notifications 0.14.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/admin-gateway.js +2 -2
- package/dist/browser.bundle-CHF65ZZT.js +6 -0
- package/dist/{browser.bundle-MOA3BSWW.js.map → browser.bundle-CHF65ZZT.js.map} +1 -1
- package/dist/{chunk-5MRZJQ6J.js → chunk-DWOWEHXO.js} +3 -3
- package/dist/{chunk-ZIE3JCV6.js → chunk-RLWOOBXV.js} +2 -2
- package/dist/{chunk-ZIE3JCV6.js.map → chunk-RLWOOBXV.js.map} +1 -1
- package/dist/{chunk-NMW2EZL2.js → chunk-SPAPAHGT.js} +2 -2
- package/dist/{chunk-T6QHUV5K.js → chunk-UHOMT5RV.js} +3 -3
- package/dist/cli.js +4 -4
- package/dist/{client.bundle-YOZJSCGX.js → client.bundle-6XOKJ6BJ.js} +2 -2
- package/dist/{client.bundle-YOZJSCGX.js.map → client.bundle-6XOKJ6BJ.js.map} +1 -1
- package/dist/{document-JPNN2BT5.js → document-UDQU5ZAL.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{page-J3NUKUUA.js → page-X7KT2BPN.js} +302 -163
- package/dist/page-X7KT2BPN.js.map +7 -0
- package/dist/{server-Q5XLVMT2.js → server-32IZ5ZMR.js} +894 -893
- package/dist/{server-Q5XLVMT2.js.map → server-32IZ5ZMR.js.map} +2 -2
- package/dist/server.js +4 -4
- package/dist/ui.d.ts +12 -0
- package/dist/ui.js +8290 -8132
- package/dist/ui.js.map +2 -2
- package/package.json +13 -13
- package/dist/browser.bundle-MOA3BSWW.js +0 -6
- package/dist/page-J3NUKUUA.js.map +0 -7
- /package/dist/{chunk-5MRZJQ6J.js.map → chunk-DWOWEHXO.js.map} +0 -0
- /package/dist/{chunk-NMW2EZL2.js.map → chunk-SPAPAHGT.js.map} +0 -0
- /package/dist/{chunk-T6QHUV5K.js.map → chunk-UHOMT5RV.js.map} +0 -0
- /package/dist/{document-JPNN2BT5.js.map → document-UDQU5ZAL.js.map} +0 -0
|
@@ -64,6 +64,142 @@ var RAW = `
|
|
|
64
64
|
--mail: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif;
|
|
65
65
|
--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
66
66
|
-webkit-tap-highlight-color: transparent;
|
|
67
|
+
|
|
68
|
+
/* iOS (Messages, lock screen): UIKit's system colors */
|
|
69
|
+
--ios-bg: light-dark(#fff, #000);
|
|
70
|
+
--ios-label: light-dark(#000, #fff);
|
|
71
|
+
--ios-label-2: light-dark(rgba(60,60,67,.6), rgba(235,235,245,.6));
|
|
72
|
+
--ios-label-3: light-dark(#c4c4c6, rgba(235,235,245,.3));
|
|
73
|
+
--ios-separator: light-dark(#c6c6c8, #38383a);
|
|
74
|
+
--ios-blue: light-dark(#007aff, #0a84ff);
|
|
75
|
+
--ios-yellow: light-dark(#ffcc00, #ffd60a);
|
|
76
|
+
--ios-indigo: light-dark(#5856d6, #5e5ce6);
|
|
77
|
+
--ios-red: light-dark(#ff3b30, #ff453a);
|
|
78
|
+
--ios-fill: light-dark(rgba(118,118,128,.12), rgba(118,118,128,.24));
|
|
79
|
+
--ios-pressed: light-dark(#e5e5ea, #2c2c2e);
|
|
80
|
+
--ios-bar: light-dark(rgba(249,249,249,.94), rgba(29,29,29,.94));
|
|
81
|
+
--ios-bar-edge: light-dark(rgba(0,0,0,.18), rgba(255,255,255,.15));
|
|
82
|
+
--ios-bubble-in: light-dark(#e9e9eb, #26252a);
|
|
83
|
+
--ios-field-edge: light-dark(#c6c6c8, #3a3a3c);
|
|
84
|
+
--ios-placeholder: light-dark(#c4c4c6, #5b5b5f);
|
|
85
|
+
--ios-button-fill: light-dark(#e9e9eb, #2c2c2e);
|
|
86
|
+
--ios-suggestion: light-dark(#d1d3d9, #3a3a3c);
|
|
87
|
+
--ios-suggestion-label: light-dark(#3c3c43, rgba(235,235,245,.6));
|
|
88
|
+
--ios-material: light-dark(rgba(246,246,246,.66), rgba(37,37,37,.62));
|
|
89
|
+
--ios-material-thin: light-dark(rgba(246,246,246,.6), rgba(37,37,37,.6));
|
|
90
|
+
--ios-material-stack: light-dark(rgba(246,246,246,.42), rgba(37,37,37,.44));
|
|
91
|
+
--ios-material-stack-2: light-dark(rgba(246,246,246,.28), rgba(37,37,37,.3));
|
|
92
|
+
--ios-material-edge: light-dark(rgba(255,255,255,.25), rgba(255,255,255,.08));
|
|
93
|
+
--ios-material-label: light-dark(#000, #fff);
|
|
94
|
+
--ios-material-label-2: light-dark(rgba(60,60,67,.62), rgba(235,235,245,.6));
|
|
95
|
+
--ios-material-label-3: light-dark(rgba(60,60,67,.7), rgba(235,235,245,.6));
|
|
96
|
+
--ios-material-well: light-dark(rgba(255,255,255,.55), rgba(0,0,0,.28));
|
|
97
|
+
--ios-material-well-label: light-dark(#1c1c1e, #f2f2f7);
|
|
98
|
+
--ios-menu: light-dark(rgba(237,237,237,.86), rgba(37,37,37,.86));
|
|
99
|
+
--ios-menu-separator: light-dark(rgba(60,60,67,.29), rgba(84,84,88,.6));
|
|
100
|
+
--ios-menu-pressed: light-dark(rgba(0,0,0,.08), rgba(255,255,255,.1));
|
|
101
|
+
--ios-overlay: light-dark(rgba(255,255,255,.28), rgba(0,0,0,.4));
|
|
102
|
+
--ios-overlay-dim: light-dark(rgba(0,0,0,.28), rgba(0,0,0,.45));
|
|
103
|
+
--ios-tapback-bar: light-dark(rgba(233,233,235,.96), rgba(44,44,46,.96));
|
|
104
|
+
/* Dark Mode dims the wallpaper behind the lock screen. */
|
|
105
|
+
--ios-wallpaper-dim: light-dark(transparent, rgba(0,0,0,.3));
|
|
106
|
+
|
|
107
|
+
/* WhatsApp on iOS */
|
|
108
|
+
--wa-green: light-dark(#1daa61, #21c063);
|
|
109
|
+
--wa-wallpaper: light-dark(#efeae2, #0b141a);
|
|
110
|
+
--wa-bar: light-dark(rgba(246,246,246,.96), rgba(29,29,29,.96));
|
|
111
|
+
--wa-bubble-in: light-dark(#fff, #202c33);
|
|
112
|
+
--wa-label: light-dark(#000, #e9edef);
|
|
113
|
+
--wa-meta: light-dark(#667781, #8696a0);
|
|
114
|
+
--wa-stamp: light-dark(rgba(255,255,255,.92), #182229);
|
|
115
|
+
--wa-stamp-label: light-dark(#54656f, #8696a0);
|
|
116
|
+
--wa-chip: light-dark(#d9fdd3, #103529);
|
|
117
|
+
--wa-chip-label: light-dark(#0a7a43, #21c063);
|
|
118
|
+
--wa-input-bar: light-dark(#f6f6f6, #1c1c1e);
|
|
119
|
+
--wa-field: light-dark(#fff, #2c2c2e);
|
|
120
|
+
--wa-field-edge: light-dark(#e2e2e2, #3a3a3c);
|
|
121
|
+
|
|
122
|
+
/* Android notification shade: Material You */
|
|
123
|
+
--md-scrim: light-dark(rgba(247,242,250,.94), rgba(20,18,24,.94));
|
|
124
|
+
--md-scrim-2: light-dark(rgba(247,242,250,.98), rgba(20,18,24,.98));
|
|
125
|
+
--md-glow: light-dark(#e8def8, #4b3f72);
|
|
126
|
+
--md-surface: light-dark(#f7f2fa, #141218);
|
|
127
|
+
--md-on-surface: light-dark(#1d1b20, #e6e1e5);
|
|
128
|
+
--md-on-surface-variant: light-dark(#49454f, #cac4d0);
|
|
129
|
+
--md-outline: light-dark(#79747e, #938f99);
|
|
130
|
+
--md-outline-variant: light-dark(#cac4d0, #49454f);
|
|
131
|
+
--md-tile: light-dark(#e6e0e9, #36343b);
|
|
132
|
+
--md-primary: light-dark(#6750a4, #d0bcff);
|
|
133
|
+
--md-on-primary: light-dark(#fff, #381e72);
|
|
134
|
+
--md-secondary-container: light-dark(#e8def8, #4a4458);
|
|
135
|
+
--md-card: light-dark(#fffbfe, #2b2930);
|
|
136
|
+
--md-card-chip: light-dark(#e8def8, #49454f);
|
|
137
|
+
--md-well: light-dark(#f3edf7, #1d1b20);
|
|
138
|
+
--md-handle: light-dark(rgba(0,0,0,.6), rgba(255,255,255,.75));
|
|
139
|
+
|
|
140
|
+
/* Webmail: Gmail's light and dark themes */
|
|
141
|
+
--mail-chrome: light-dark(#dfe3e9, #202124);
|
|
142
|
+
--mail-omnibox: light-dark(#fff, #35363a);
|
|
143
|
+
--mail-omnibox-label: light-dark(#5f6368, #bdc1c6);
|
|
144
|
+
--mail-bg: light-dark(#f8fafd, #131314);
|
|
145
|
+
--mail-surface: light-dark(#fff, #1f1f1f);
|
|
146
|
+
--mail-label: light-dark(#1f1f1f, #e3e3e3);
|
|
147
|
+
--mail-label-row: light-dark(#202124, #e3e3e3);
|
|
148
|
+
--mail-label-2: light-dark(#5f6368, #a8abaf);
|
|
149
|
+
--mail-label-3: light-dark(#5e5e5e, #a8abaf);
|
|
150
|
+
--mail-icon: light-dark(#444746, #c4c7c5);
|
|
151
|
+
--mail-hover: light-dark(rgba(68,71,70,.08), rgba(227,227,227,.08));
|
|
152
|
+
--mail-search: light-dark(#e9eef6, #2d2f31);
|
|
153
|
+
--mail-compose: light-dark(#c2e7ff, #004a77);
|
|
154
|
+
--mail-on-compose: light-dark(#001d35, #c2e7ff);
|
|
155
|
+
--mail-nav-active: light-dark(#d3e3fd, #004a77);
|
|
156
|
+
--mail-on-nav-active: light-dark(#001d35, #d3e3fd);
|
|
157
|
+
--mail-accent: light-dark(#0b57d0, #a8c7fa);
|
|
158
|
+
--mail-divider: light-dark(#f1f3f4, #2d2f31);
|
|
159
|
+
--mail-outline: light-dark(#dadce0, #444746);
|
|
160
|
+
--mail-row-read: light-dark(#f2f6fc, #19191a);
|
|
161
|
+
--mail-row-unread: light-dark(#fff, #1f1f1f);
|
|
162
|
+
--mail-row-shadow: light-dark(rgba(60,64,67,.3), rgba(0,0,0,.6));
|
|
163
|
+
--mail-row-shadow-2: light-dark(rgba(60,64,67,.15), rgba(0,0,0,.3));
|
|
164
|
+
--mail-row-flash: light-dark(#fef7e0, #3c3523);
|
|
165
|
+
--mail-check: light-dark(#c4c7c5, #8e918f);
|
|
166
|
+
--mail-star: light-dark(#f4b400, #fdd663);
|
|
167
|
+
--mail-chip: light-dark(#ddd, #444746);
|
|
168
|
+
--mail-text: light-dark(#222, #e3e3e3);
|
|
169
|
+
--mail-link: light-dark(#1155cc, #8ab4f8);
|
|
170
|
+
--mail-file: light-dark(#d93025, #f28b82);
|
|
171
|
+
--mail-file-well: light-dark(#f1f3f4, #2d2f31);
|
|
172
|
+
--mail-button-edge: light-dark(#747775, #8e918f);
|
|
173
|
+
--mail-toast: light-dark(#303030, #e3e3e3);
|
|
174
|
+
--mail-on-toast: light-dark(#f2f2f2, #1f1f1f);
|
|
175
|
+
--mail-toast-action: light-dark(#a8c7fa, #0b57d0);
|
|
176
|
+
|
|
177
|
+
/* Team chat: Slack's light and dark themes */
|
|
178
|
+
--chat-bg: light-dark(#fff, #1a1d21);
|
|
179
|
+
--chat-label: light-dark(#1d1c1d, #d1d2d3);
|
|
180
|
+
--chat-label-2: light-dark(#616061, #ababad);
|
|
181
|
+
--chat-side: light-dark(#2f1d3a, #19171d);
|
|
182
|
+
--chat-side-label: light-dark(#cfc3d4, #b9babd);
|
|
183
|
+
--chat-side-edge: light-dark(rgba(255,255,255,.1), rgba(255,255,255,.08));
|
|
184
|
+
--chat-side-active: light-dark(#5b3a70, #1164a3);
|
|
185
|
+
--chat-divider: light-dark(#e3e3e3, #35373b);
|
|
186
|
+
--chat-hover: light-dark(#f8f8f8, #222529);
|
|
187
|
+
--chat-new: light-dark(#fffbea, rgba(242,199,68,.1));
|
|
188
|
+
--chat-ephemeral: light-dark(#f6f6f6, #222529);
|
|
189
|
+
--chat-tag: light-dark(#e8e8e8, #35373b);
|
|
190
|
+
--chat-tag-label: light-dark(#555, #ababad);
|
|
191
|
+
--chat-link: light-dark(#1264a3, #1d9bd1);
|
|
192
|
+
--chat-code: light-dark(#f4f4f4, #222529);
|
|
193
|
+
--chat-code-edge: light-dark(#dcdcdc, #35373b);
|
|
194
|
+
--chat-code-label: light-dark(#c0143c, #e8912d);
|
|
195
|
+
--chat-pre: light-dark(#f7f7f7, #222529);
|
|
196
|
+
--chat-mention: light-dark(#e8f1fa, rgba(29,155,209,.1));
|
|
197
|
+
--chat-quote: light-dark(#ddd, #565856);
|
|
198
|
+
--chat-control-edge: light-dark(#bbb, #565856);
|
|
199
|
+
--chat-placeholder: light-dark(#8a8a8a, #9a9b9e);
|
|
200
|
+
--chat-reaction: light-dark(#f0f0f0, #2c2d30);
|
|
201
|
+
--chat-reaction-edge: light-dark(#e0e0e0, #35373b);
|
|
202
|
+
--chat-unknown-edge: light-dark(#ccc, #565856);
|
|
67
203
|
}
|
|
68
204
|
.mbn-skin, .mbn-skin *, .mbn-skin *::before, .mbn-skin *::after { box-sizing: border-box; }
|
|
69
205
|
.mbn-skin button { font: inherit; color: inherit; cursor: pointer; }
|
|
@@ -95,12 +231,12 @@ var RAW = `
|
|
|
95
231
|
.iphone::before { top: 150px; height: 60px; }
|
|
96
232
|
.iphone::after { top: 225px; height: 60px; }
|
|
97
233
|
/* clip-path as well as overflow: under zoom, Chromium lets a blurred bar (backdrop-filter) square off the rounded corners. */
|
|
98
|
-
.iphone .screen { position: relative; width: 100%; height: 100%; border-radius: 47px; overflow: hidden; clip-path: inset(0 round 47px); background:
|
|
234
|
+
.iphone .screen { position: relative; width: 100%; height: 100%; border-radius: 47px; overflow: hidden; clip-path: inset(0 round 47px); background: var(--ios-bg); font-family: var(--ios); color: var(--ios-label); -webkit-font-smoothing: antialiased; }
|
|
99
235
|
.island { position: absolute; z-index: 30; top: 11px; left: 50%; transform: translateX(-50%); width: 112px; height: 33px; border-radius: 20px; background: #000; }
|
|
100
236
|
.statusbar { position: absolute; z-index: 25; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 32px 0 40px; font: 600 16px/1 var(--ios); letter-spacing: -.01em; }
|
|
101
237
|
.statusbar .icons { display: flex; gap: 6px; align-items: center; }
|
|
102
238
|
.statusbar.light { color: #fff; }
|
|
103
|
-
.home-indicator { position: absolute; z-index: 30; bottom: 8px; left: 50%; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 3px; background:
|
|
239
|
+
.home-indicator { position: absolute; z-index: 30; bottom: 8px; left: 50%; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 3px; background: var(--ios-label); }
|
|
104
240
|
.home-indicator.light { background: rgba(255,255,255,.9); }
|
|
105
241
|
|
|
106
242
|
.pixel { position: relative; width: 352px; height: 760px; border-radius: 44px; padding: 10px; background: #111;
|
|
@@ -110,179 +246,182 @@ var RAW = `
|
|
|
110
246
|
.punch { position: absolute; z-index: 30; top: 12px; left: 50%; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: #050505; box-shadow: inset 0 0 0 2px #1a1a1a; }
|
|
111
247
|
|
|
112
248
|
/* \u2500\u2500 Messages (iOS) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
113
|
-
.msgs { position: absolute; inset: 0; display: flex; flex-direction: column; background:
|
|
249
|
+
.msgs { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--ios-bg); }
|
|
114
250
|
.msgs-nav { padding: 54px 16px 0; }
|
|
115
|
-
.msgs-nav .row { display: flex; justify-content: space-between; align-items: center; height: 44px; color:
|
|
251
|
+
.msgs-nav .row { display: flex; justify-content: space-between; align-items: center; height: 44px; color: var(--ios-blue); font-size: 17px; }
|
|
116
252
|
.msgs-nav h1 { margin: 2px 0 8px; font: 700 34px/41px var(--ios); letter-spacing: .01em; }
|
|
117
|
-
.ios-search { display: flex; align-items: center; gap: 6px; height: 36px; border-radius: 10px; background:
|
|
253
|
+
.ios-search { display: flex; align-items: center; gap: 6px; height: 36px; border-radius: 10px; background: var(--ios-fill); color: var(--ios-label-2); padding: 0 8px; font-size: 17px; margin-bottom: 8px; }
|
|
118
254
|
.ios-search span { flex: 1; }
|
|
119
255
|
.threads { flex: 1; overflow-y: auto; }
|
|
120
256
|
.thread { position: relative; display: flex; gap: 12px; padding: 10px 16px 0 26px; cursor: pointer; }
|
|
121
|
-
.thread:active { background:
|
|
122
|
-
.thread .unread { position: absolute; left: 8px; top: 30px; width: 10px; height: 10px; border-radius: 50%; background:
|
|
257
|
+
.thread:active { background: var(--ios-pressed); }
|
|
258
|
+
.thread .unread { position: absolute; left: 8px; top: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--ios-blue); }
|
|
123
259
|
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 18px var(--ios); background: linear-gradient(180deg,#a5abb8,#858994); }
|
|
124
|
-
.thread .text { flex: 1; min-width: 0; border-bottom: .5px solid
|
|
260
|
+
.thread .text { flex: 1; min-width: 0; border-bottom: .5px solid var(--ios-separator); padding-bottom: 10px; }
|
|
125
261
|
.thread .top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
|
|
126
262
|
.thread .name { font: 600 17px/22px var(--ios); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
127
|
-
.thread .when { flex: none; color:
|
|
128
|
-
.thread .
|
|
129
|
-
.
|
|
263
|
+
.thread .when { flex: none; color: var(--ios-label-2); font-size: 15px; display: flex; align-items: center; gap: 6px; }
|
|
264
|
+
.thread .when .mbn-i { color: var(--ios-label-3); }
|
|
265
|
+
.thread .preview { color: var(--ios-label-2); font-size: 15px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -.01em; }
|
|
266
|
+
.empty-ios { flex: 1; display: grid; place-items: center; color: var(--ios-label-2); font-size: 17px; text-align: center; padding: 40px; }
|
|
130
267
|
|
|
131
|
-
.convo { position: absolute; inset: 0; display: flex; flex-direction: column; background:
|
|
132
|
-
.convo-nav { position: relative; z-index: 5; padding-top: 50px; background:
|
|
268
|
+
.convo { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--ios-bg); }
|
|
269
|
+
.convo-nav { position: relative; z-index: 5; padding-top: 50px; background: var(--ios-bar); backdrop-filter: blur(20px); border-bottom: .5px solid var(--ios-bar-edge); }
|
|
133
270
|
.convo-nav .bar { position: relative; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
|
|
134
|
-
.convo-nav .back { position: absolute; left: 8px; top: 8px; display: flex; align-items: center; color:
|
|
135
|
-
.convo-nav .back .badge { background:
|
|
271
|
+
.convo-nav .back { position: absolute; left: 8px; top: 8px; display: flex; align-items: center; color: var(--ios-blue); font-size: 17px; background: none; border: 0; padding: 4px; }
|
|
272
|
+
.convo-nav .back .badge { background: var(--ios-blue); color: #fff; border-radius: 10px; font-size: 13px; min-width: 20px; padding: 0 6px; line-height: 20px; margin-left: 2px; }
|
|
136
273
|
.convo-nav .avatar { width: 54px; height: 54px; font-size: 22px; }
|
|
137
274
|
.convo-nav .who { font-size: 12px; display: flex; align-items: center; gap: 2px; }
|
|
138
275
|
.convo-body { flex: 1; overflow-y: auto; padding: 8px 0 12px; }
|
|
139
|
-
.stamp { text-align: center; color:
|
|
276
|
+
.stamp { text-align: center; color: var(--ios-label-2); font-size: 12px; margin: 14px 0 6px; }
|
|
140
277
|
.stamp b { font-weight: 600; }
|
|
141
278
|
.bubble-row { display: flex; padding: 0 14px; margin-top: 2px; }
|
|
142
279
|
.bubble-row.gap { margin-top: 10px; }
|
|
143
|
-
.bubble { position: relative; max-width: 74%; padding: 7px 12px 8px; border-radius: 18px; background:
|
|
144
|
-
.bubble.tail::before { content: ""; position: absolute; bottom: 0; left: -7px; width: 20px; height: 20px; background:
|
|
145
|
-
.bubble.tail::after { content: ""; position: absolute; bottom: 0; left: -10px; width: 10px; height: 20px; background:
|
|
280
|
+
.bubble { position: relative; max-width: 74%; padding: 7px 12px 8px; border-radius: 18px; background: var(--ios-bubble-in); color: var(--ios-label); font-size: 17px; line-height: 22px; letter-spacing: -.02em; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
281
|
+
.bubble.tail::before { content: ""; position: absolute; bottom: 0; left: -7px; width: 20px; height: 20px; background: var(--ios-bubble-in); border-bottom-right-radius: 15px; }
|
|
282
|
+
.bubble.tail::after { content: ""; position: absolute; bottom: 0; left: -10px; width: 10px; height: 20px; background: var(--ios-bg); border-bottom-right-radius: 10px; }
|
|
146
283
|
.bubble a, .bubble .code { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
|
|
147
284
|
.bubble .media { display: block; max-width: 100%; border-radius: 12px; margin: 2px 0 4px; }
|
|
148
285
|
.bubble.arrive { animation: mbn-pop .35s cubic-bezier(.2,.9,.3,1.3); }
|
|
149
|
-
.delivered-note { padding: 2px 16px 0 26px; color:
|
|
150
|
-
.convo-input { display: flex; align-items: flex-end; gap: 8px; padding: 6px 10px 32px; background:
|
|
151
|
-
.convo-input .plus { width: 34px; height: 34px; border-radius: 50%; background:
|
|
152
|
-
.convo-input .field-ios { flex: 1; height: 36px; border: 1px solid
|
|
153
|
-
.qt { margin: 0 10px 6px; padding: 8px 12px; border-radius: 10px; background:
|
|
154
|
-
.qt small { display: block; font-size: 12px; color:
|
|
286
|
+
.delivered-note { padding: 2px 16px 0 26px; color: var(--ios-label-2); font-size: 11px; }
|
|
287
|
+
.convo-input { display: flex; align-items: flex-end; gap: 8px; padding: 6px 10px 32px; background: var(--ios-bg); }
|
|
288
|
+
.convo-input .plus { width: 34px; height: 34px; border-radius: 50%; background: var(--ios-button-fill); display: grid; place-items: center; flex: none; }
|
|
289
|
+
.convo-input .field-ios { flex: 1; height: 36px; border: 1px solid var(--ios-field-edge); border-radius: 18px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 14px; color: var(--ios-placeholder); font-size: 17px; }
|
|
290
|
+
.qt { margin: 0 10px 6px; padding: 8px 12px; border-radius: 10px; background: var(--ios-suggestion); text-align: center; font-size: 15px; color: var(--ios-label); }
|
|
291
|
+
.qt small { display: block; font-size: 12px; color: var(--ios-suggestion-label); }
|
|
155
292
|
|
|
156
293
|
/* \u2500\u2500 Lock screen (iOS) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
157
294
|
.lock { position: absolute; inset: 0; color: #fff; overflow: hidden;
|
|
158
|
-
background: radial-gradient(120% 70% at 20% 10%, #6f86ff 0%, transparent 55%), radial-gradient(90% 60% at 90% 30%, #ff7eb3 0%, transparent 60%), radial-gradient(120% 80% at 50% 100%, #1d1b4a 0%, transparent 70%), linear-gradient(180deg,#3a3f9f,#141433); }
|
|
295
|
+
background: linear-gradient(var(--ios-wallpaper-dim), var(--ios-wallpaper-dim)), radial-gradient(120% 70% at 20% 10%, #6f86ff 0%, transparent 55%), radial-gradient(90% 60% at 90% 30%, #ff7eb3 0%, transparent 60%), radial-gradient(120% 80% at 50% 100%, #1d1b4a 0%, transparent 70%), linear-gradient(180deg,#3a3f9f,#141433); }
|
|
159
296
|
.lock .padlock { position: absolute; top: 56px; left: 50%; transform: translateX(-50%); opacity: .95; }
|
|
160
297
|
.lock .date { position: absolute; top: 84px; width: 100%; text-align: center; font: 600 19px var(--ios); letter-spacing: .01em; opacity: .92; }
|
|
161
298
|
.lock .clock { position: absolute; top: 102px; width: 100%; text-align: center; font: 700 92px/1 "SF Pro Rounded", var(--ios); letter-spacing: -.02em; color: rgba(255,255,255,.93); }
|
|
162
299
|
.lock-stack { position: absolute; left: 10px; right: 10px; top: 236px; bottom: 112px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }
|
|
163
300
|
.lock-stack::-webkit-scrollbar { display: none; }
|
|
164
301
|
.lock-stack .center-label { text-align: center; font: 600 15px var(--ios); opacity: .85; padding: 4px 0; }
|
|
165
|
-
.ios-note { position: relative; display: flex; gap: 10px; padding: 11px 12px 12px 11px; border-radius: 22px; color:
|
|
302
|
+
.ios-note { position: relative; display: flex; gap: 10px; padding: 11px 12px 12px 11px; border-radius: 22px; color: var(--ios-material-label); background: var(--ios-material); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); cursor: pointer; box-shadow: 0 1px 0 var(--ios-material-edge) inset; }
|
|
166
303
|
.ios-note.arrive { animation: mbn-drop .45s cubic-bezier(.2,.9,.3,1.15); }
|
|
167
304
|
.ios-note .app-icon { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 700 18px var(--ios); box-shadow: 0 0 0 .5px rgba(0,0,0,.08); }
|
|
168
305
|
.ios-note .content { flex: 1; min-width: 0; }
|
|
169
306
|
.ios-note .line1 { display: flex; justify-content: space-between; gap: 8px; }
|
|
170
307
|
.ios-note .title { font: 600 15px/20px var(--ios); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
171
|
-
.ios-note .time { flex: none; font-size: 13px; color:
|
|
308
|
+
.ios-note .time { flex: none; font-size: 13px; color: var(--ios-material-label-2); }
|
|
172
309
|
.ios-note .body { font: 400 15px/20px var(--ios); letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
|
|
173
310
|
.ios-note .thumb { flex: none; width: 38px; height: 38px; border-radius: 7px; object-fit: cover; align-self: center; }
|
|
174
311
|
.ios-note.expanded .body { -webkit-line-clamp: unset; }
|
|
175
312
|
.ios-note .hero { width: 100%; border-radius: 12px; margin-top: 8px; display: block; }
|
|
176
|
-
.note-data { margin-top: 8px; font: 12px/1.45 var(--mono); background:
|
|
177
|
-
.note-meta { margin-top: 6px; font-size: 12px; color:
|
|
178
|
-
.ios-stack-more { position: relative; height: 18px; margin: -14px 14px 0; border-radius: 0 0 18px 18px; background:
|
|
179
|
-
.ios-stack-more + .ios-stack-more { margin: -10px 26px 0; background:
|
|
313
|
+
.note-data { margin-top: 8px; font: 12px/1.45 var(--mono); background: var(--ios-material-well); border-radius: 10px; padding: 8px 10px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ios-material-well-label); }
|
|
314
|
+
.note-meta { margin-top: 6px; font-size: 12px; color: var(--ios-material-label-3); }
|
|
315
|
+
.ios-stack-more { position: relative; height: 18px; margin: -14px 14px 0; border-radius: 0 0 18px 18px; background: var(--ios-material-stack); backdrop-filter: blur(20px); }
|
|
316
|
+
.ios-stack-more + .ios-stack-more { margin: -10px 26px 0; background: var(--ios-material-stack-2); }
|
|
180
317
|
.lock-buttons { position: absolute; bottom: 46px; left: 46px; right: 46px; display: flex; justify-content: space-between; }
|
|
181
318
|
.lock-buttons span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.28); backdrop-filter: blur(20px); }
|
|
182
319
|
.lock-empty { text-align: center; font: 500 15px var(--ios); opacity: .7; margin-top: 30px; }
|
|
183
320
|
|
|
184
321
|
/* \u2500\u2500 Notification shade (Android) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
185
|
-
.shade { position: absolute; inset: 0; color:
|
|
186
|
-
.shade .sb { position: absolute; top: 0; left: 0; right: 0; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 6px 24px 0; font: 500 14px var(--android); color:
|
|
322
|
+
.shade { position: absolute; inset: 0; color: var(--md-on-surface); background: linear-gradient(180deg, var(--md-scrim), var(--md-scrim-2)), radial-gradient(100% 60% at 30% 0%, var(--md-glow), var(--md-surface)); overflow: hidden; }
|
|
323
|
+
.shade .sb { position: absolute; top: 0; left: 0; right: 0; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 6px 24px 0; font: 500 14px var(--android); color: var(--md-on-surface); }
|
|
187
324
|
.shade .sb .icons { display: flex; gap: 5px; align-items: center; }
|
|
188
|
-
.shade .qs-head { position: absolute; top: 46px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; font: 400 15px var(--android); color:
|
|
325
|
+
.shade .qs-head { position: absolute; top: 46px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; font: 400 15px var(--android); color: var(--md-on-surface-variant); }
|
|
189
326
|
.qs { position: absolute; top: 80px; left: 14px; right: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
|
190
|
-
.qs .tile { height: 60px; border-radius: 20px; background:
|
|
327
|
+
.qs .tile { height: 60px; border-radius: 20px; background: var(--md-tile); display: flex; align-items: center; gap: 10px; padding: 0 14px; font: 500 14px var(--android); color: var(--md-on-surface); min-width: 0; }
|
|
191
328
|
.qs .tile > div { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
192
329
|
.qs .tile svg { flex: none; }
|
|
193
|
-
.qs .tile.on { background:
|
|
330
|
+
.qs .tile.on { background: var(--md-primary); color: var(--md-on-primary); }
|
|
194
331
|
.qs .tile small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }
|
|
195
|
-
.qs-bright { position: absolute; top: 216px; left: 14px; right: 14px; height: 44px; border-radius: 22px; background:
|
|
196
|
-
.qs-bright::before { content: ""; position: absolute; inset: 0 44% 0 0; background:
|
|
332
|
+
.qs-bright { position: absolute; top: 216px; left: 14px; right: 14px; height: 44px; border-radius: 22px; background: var(--md-tile); overflow: hidden; }
|
|
333
|
+
.qs-bright::before { content: ""; position: absolute; inset: 0 44% 0 0; background: var(--md-primary); border-radius: 22px; }
|
|
197
334
|
.shade-list { position: absolute; top: 276px; left: 10px; right: 10px; bottom: 92px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; scrollbar-width: none; }
|
|
198
335
|
.shade-list::-webkit-scrollbar { display: none; }
|
|
199
|
-
.a-note { background:
|
|
336
|
+
.a-note { background: var(--md-card); border-radius: 6px; padding: 14px 16px 14px 14px; cursor: pointer; display: flex; gap: 12px; }
|
|
200
337
|
.a-note:first-child { border-top-left-radius: 26px; border-top-right-radius: 26px; }
|
|
201
338
|
.a-note:last-child { border-bottom-left-radius: 26px; border-bottom-right-radius: 26px; }
|
|
202
339
|
.a-note.arrive { animation: mbn-headsup .5s cubic-bezier(.2,.9,.3,1.12); }
|
|
203
340
|
.a-note .a-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 15px var(--android); }
|
|
204
341
|
.a-note .a-main { flex: 1; min-width: 0; }
|
|
205
|
-
.a-note .a-head { display: flex; align-items: center; gap: 6px; font: 400 12px var(--android); color:
|
|
206
|
-
.a-note .a-head .chev { margin-left: auto; width: 26px; height: 20px; border-radius: 10px; background:
|
|
207
|
-
.a-note .a-title { font: 500 15px/20px var(--android); color:
|
|
208
|
-
.a-note .a-body { font: 400 14px/20px var(--android); color:
|
|
342
|
+
.a-note .a-head { display: flex; align-items: center; gap: 6px; font: 400 12px var(--android); color: var(--md-on-surface-variant); }
|
|
343
|
+
.a-note .a-head .chev { margin-left: auto; width: 26px; height: 20px; border-radius: 10px; background: var(--md-card-chip); display: grid; place-items: center; }
|
|
344
|
+
.a-note .a-title { font: 500 15px/20px var(--android); color: var(--md-on-surface); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
345
|
+
.a-note .a-body { font: 400 14px/20px var(--android); color: var(--md-on-surface-variant); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
|
|
209
346
|
.a-note.expanded .a-body { -webkit-line-clamp: unset; }
|
|
210
347
|
.a-note .large-icon { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; align-self: center; }
|
|
211
348
|
.a-note .big-picture { display: block; width: 100%; border-radius: 14px; margin-top: 10px; }
|
|
212
|
-
.a-note .note-data { background:
|
|
213
|
-
.a-note .note-meta { color:
|
|
349
|
+
.a-note .note-data { background: var(--md-well); color: var(--md-on-surface); }
|
|
350
|
+
.a-note .note-meta { color: var(--md-outline); }
|
|
214
351
|
.shade-actions { position: absolute; bottom: 44px; left: 14px; right: 14px; display: flex; justify-content: space-between; }
|
|
215
|
-
.shade-actions span { padding: 8px 16px; border-radius: 18px; background:
|
|
216
|
-
.shade-empty { text-align: center; color:
|
|
217
|
-
.gesture { position: absolute; bottom: 12px; left: 50%; width: 110px; height: 4px; margin-left: -55px; border-radius: 2px; background:
|
|
352
|
+
.shade-actions span { padding: 8px 16px; border-radius: 18px; background: var(--md-tile); font: 500 14px var(--android); color: var(--md-on-surface); }
|
|
353
|
+
.shade-empty { text-align: center; color: var(--md-outline); font: 400 14px var(--android); margin-top: 26px; }
|
|
354
|
+
.gesture { position: absolute; bottom: 12px; left: 50%; width: 110px; height: 4px; margin-left: -55px; border-radius: 2px; background: var(--md-handle); }
|
|
218
355
|
|
|
219
356
|
/* \u2500\u2500 Mail (web client) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
220
|
-
.window { position: relative; container-type: inline-size; border-radius: 12px; overflow: hidden; background:
|
|
221
|
-
.chrome { flex: none; height: 38px; background:
|
|
357
|
+
.window { position: relative; container-type: inline-size; border-radius: 12px; overflow: hidden; background: var(--mail-bg); box-shadow: 0 0 0 1px #2c313c, 0 30px 70px rgba(0,0,0,.5); height: 760px; display: flex; flex-direction: column; font-family: var(--mail); color: var(--mail-label); }
|
|
358
|
+
.chrome { flex: none; height: 38px; background: var(--mail-chrome); display: flex; align-items: center; gap: 12px; padding: 0 12px; }
|
|
222
359
|
.lights { display: flex; gap: 7px; }
|
|
223
360
|
.lights i { width: 12px; height: 12px; border-radius: 50%; display: block; }
|
|
224
361
|
.lights i:nth-child(1) { background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
|
|
225
|
-
.omnibox { flex: 1; max-width: 560px; margin: 0 auto; height: 26px; border-radius: 13px; background:
|
|
362
|
+
.omnibox { flex: 1; max-width: 560px; margin: 0 auto; height: 26px; border-radius: 13px; background: var(--mail-omnibox); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--mail-omnibox-label); font: 13px system-ui; }
|
|
226
363
|
.mail-top { flex: none; height: 64px; display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; }
|
|
227
|
-
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color:
|
|
228
|
-
.icon-btn:hover { background:
|
|
229
|
-
.mail-logo { display: flex; align-items: center; gap: 6px; width: 194px; font: 400 22px var(--mail); color:
|
|
230
|
-
.mail-search { flex: 1; min-width: 0; max-width: 720px; height: 48px; border-radius: 24px; background:
|
|
364
|
+
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--mail-icon); border: 0; background: none; flex: none; }
|
|
365
|
+
.icon-btn:hover { background: var(--mail-hover); }
|
|
366
|
+
.mail-logo { display: flex; align-items: center; gap: 6px; width: 194px; font: 400 22px var(--mail); color: var(--mail-icon); letter-spacing: -.01em; }
|
|
367
|
+
.mail-search { flex: 1; min-width: 0; max-width: 720px; height: 48px; border-radius: 24px; background: var(--mail-search); display: flex; align-items: center; gap: 4px; padding: 0 4px; color: var(--mail-icon); font-size: 16px; }
|
|
231
368
|
.mail-search .placeholder { flex: 1; padding-left: 4px; }
|
|
232
369
|
.mail-top .right { margin-left: auto; display: flex; align-items: center; gap: 2px; }
|
|
233
370
|
.mail-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 500 15px var(--mail); margin-left: 8px; }
|
|
234
371
|
.mail-body { flex: 1; min-height: 0; display: flex; }
|
|
235
372
|
.mail-nav { flex: none; width: 236px; padding: 8px 8px 0 0; overflow: hidden; }
|
|
236
|
-
.compose { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 16px; margin: 0 0 16px 8px; border-radius: 16px; background:
|
|
237
|
-
.nav-item { display: flex; align-items: center; gap: 18px; height: 32px; padding: 0 12px 0 26px; border-radius: 0 16px 16px 0; color:
|
|
238
|
-
.nav-item.active { background:
|
|
373
|
+
.compose { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 16px; margin: 0 0 16px 8px; border-radius: 16px; background: var(--mail-compose); color: var(--mail-on-compose); font: 500 14px var(--mail); border: 0; box-shadow: none; }
|
|
374
|
+
.nav-item { display: flex; align-items: center; gap: 18px; height: 32px; padding: 0 12px 0 26px; border-radius: 0 16px 16px 0; color: var(--mail-label-row); font: 400 14px var(--mail); }
|
|
375
|
+
.nav-item.active { background: var(--mail-nav-active); font-weight: 700; color: var(--mail-on-nav-active); }
|
|
239
376
|
.nav-item .n { margin-left: auto; font-size: 12px; }
|
|
240
|
-
.mail-main { flex: 1; min-width: 0; margin: 0 16px 16px 0; background:
|
|
241
|
-
.mail-toolbar { flex: none; height: 48px; display: flex; align-items: center; gap: 4px; padding: 0 12px 0 14px; color:
|
|
242
|
-
.mail-toolbar .range { margin-left: auto; font-size: 12px; color:
|
|
243
|
-
.cat-tabs { flex: none; display: flex; border-bottom: 1px solid
|
|
244
|
-
.cat-tabs div { flex: 0 1 250px; min-width: 0; height: 54px; display: flex; align-items: center; gap: 16px; padding: 0 16px; color:
|
|
245
|
-
.cat-tabs div.on { color:
|
|
246
|
-
.cat-tabs div.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background:
|
|
377
|
+
.mail-main { flex: 1; min-width: 0; margin: 0 16px 16px 0; background: var(--mail-surface); border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; }
|
|
378
|
+
.mail-toolbar { flex: none; height: 48px; display: flex; align-items: center; gap: 4px; padding: 0 12px 0 14px; color: var(--mail-icon); }
|
|
379
|
+
.mail-toolbar .range { margin-left: auto; font-size: 12px; color: var(--mail-icon); }
|
|
380
|
+
.cat-tabs { flex: none; display: flex; border-bottom: 1px solid var(--mail-divider); }
|
|
381
|
+
.cat-tabs div { flex: 0 1 250px; min-width: 0; height: 54px; display: flex; align-items: center; gap: 16px; padding: 0 16px; color: var(--mail-icon); font: 500 14px var(--mail); position: relative; }
|
|
382
|
+
.cat-tabs div.on { color: var(--mail-accent); }
|
|
383
|
+
.cat-tabs div.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--mail-accent); }
|
|
247
384
|
.mail-list { flex: 1; overflow-y: auto; }
|
|
248
|
-
.mrow { display: flex; align-items: center; height: 40px; padding: 0 16px 0 12px; border-bottom: 1px solid
|
|
249
|
-
.mrow.unread { background:
|
|
250
|
-
.mrow:hover { box-shadow: inset 1px 0 0
|
|
385
|
+
.mrow { display: flex; align-items: center; height: 40px; padding: 0 16px 0 12px; border-bottom: 1px solid var(--mail-divider); cursor: pointer; font-size: 14px; color: var(--mail-label-row); background: var(--mail-row-read); }
|
|
386
|
+
.mrow.unread { background: var(--mail-row-unread); font-weight: 700; }
|
|
387
|
+
.mrow:hover { box-shadow: inset 1px 0 0 var(--mail-outline), inset -1px 0 0 var(--mail-outline), 0 1px 2px 0 var(--mail-row-shadow), 0 1px 3px 1px var(--mail-row-shadow-2); position: relative; z-index: 1; }
|
|
251
388
|
.mrow.arrive { animation: mbn-rowflash 1.6s ease-out; }
|
|
252
|
-
.mrow .chk, .mrow .star { flex: none; width: 20px; height: 20px; margin-right: 10px; color:
|
|
389
|
+
.mrow .chk, .mrow .star { flex: none; width: 20px; height: 20px; margin-right: 10px; color: var(--mail-check); display: grid; place-items: center; }
|
|
253
390
|
.mrow .from { flex: none; width: 168px; padding-right: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
254
391
|
.mrow .subj { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
255
|
-
.mrow .snippet { color:
|
|
256
|
-
.mrow .clip { color:
|
|
392
|
+
.mrow .snippet { color: var(--mail-label-2); font-weight: 400; }
|
|
393
|
+
.mrow .clip { color: var(--mail-label-2); margin-left: 8px; flex: none; }
|
|
257
394
|
.mrow .date { flex: none; width: 78px; text-align: right; font-size: 12px; }
|
|
258
|
-
.mrow .svc { flex: none; font: 500 10px var(--mail); color:
|
|
259
|
-
.mail-empty { padding: 60px 20px; text-align: center; color:
|
|
260
|
-
.mail-empty b { display: block; font: 400 22px var(--mail); color:
|
|
395
|
+
.mrow .svc { flex: none; font: 500 10px var(--mail); color: var(--mail-label-2); border: 1px solid var(--mail-outline); border-radius: 4px; padding: 0 4px; margin-left: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }
|
|
396
|
+
.mail-empty { padding: 60px 20px; text-align: center; color: var(--mail-label-2); font: 400 14px var(--mail); }
|
|
397
|
+
.mail-empty b { display: block; font: 400 22px var(--mail); color: var(--mail-label); margin: 12px 0 4px; }
|
|
261
398
|
.reader { flex: 1; overflow-y: auto; padding: 0 0 24px; }
|
|
262
399
|
.reader .subject-row { display: flex; align-items: center; gap: 10px; padding: 18px 16px 8px 72px; }
|
|
263
|
-
.reader h1 { margin: 0; font: 400 22px/28px var(--mail); color:
|
|
264
|
-
.label-chip { font: 400 12px var(--mail); background:
|
|
400
|
+
.reader h1 { margin: 0; font: 400 22px/28px var(--mail); color: var(--mail-label); }
|
|
401
|
+
.label-chip { font: 400 12px var(--mail); background: var(--mail-chip); border-radius: 4px; padding: 0 6px; color: var(--mail-icon); display: inline-flex; gap: 4px; align-items: center; }
|
|
265
402
|
.sender-row { display: flex; gap: 14px; padding: 12px 16px 0 16px; }
|
|
266
403
|
.sender-row .mail-avatar { width: 40px; height: 40px; font-size: 18px; margin: 0; }
|
|
267
404
|
.sender-row .who { flex: 1; min-width: 0; }
|
|
268
|
-
.sender-row .who b { font: 700 14px var(--mail); color:
|
|
269
|
-
.sender-row .who .addr { font: 400 12px var(--mail); color:
|
|
270
|
-
.sender-row .who .to { font: 400 12px var(--mail); color:
|
|
271
|
-
.sender-row .meta { display: flex; align-items: center; gap: 4px; color:
|
|
272
|
-
.details { margin: 8px 16px 0 70px; padding: 10px 14px; border: 1px solid
|
|
405
|
+
.sender-row .who b { font: 700 14px var(--mail); color: var(--mail-label); }
|
|
406
|
+
.sender-row .who .addr { font: 400 12px var(--mail); color: var(--mail-label-3); }
|
|
407
|
+
.sender-row .who .to { font: 400 12px var(--mail); color: var(--mail-label-3); display: flex; align-items: center; gap: 2px; margin-top: 2px; }
|
|
408
|
+
.sender-row .meta { display: flex; align-items: center; gap: 4px; color: var(--mail-label-3); font: 400 12px var(--mail); white-space: nowrap; }
|
|
409
|
+
.details { margin: 8px 16px 0 70px; padding: 10px 14px; border: 1px solid var(--mail-outline); border-radius: 8px; font: 12px/1.6 var(--mail); color: var(--mail-label-3); display: grid; grid-template-columns: max-content 1fr; gap: 0 12px; }
|
|
273
410
|
.details span:nth-child(odd) { text-align: right; }
|
|
274
|
-
.details span:nth-child(even) { color:
|
|
275
|
-
|
|
276
|
-
.mail-
|
|
277
|
-
.mail-text
|
|
278
|
-
.
|
|
279
|
-
.attachments
|
|
411
|
+
.details span:nth-child(even) { color: var(--mail-label); overflow-wrap: anywhere; }
|
|
412
|
+
/* An HTML message keeps the white page it was written for in both themes, as Gmail shows it. */
|
|
413
|
+
.mail-frame { display: block; width: calc(100% - 86px); margin: 16px 16px 0 70px; border: 0; min-height: 120px; background: #fff; color-scheme: light; }
|
|
414
|
+
.mail-text { margin: 16px 16px 0 70px; white-space: pre-wrap; font: 400 14px/1.55 Arial, sans-serif; color: var(--mail-text); overflow-wrap: anywhere; }
|
|
415
|
+
.mail-text a { color: var(--mail-link); }
|
|
416
|
+
.attachments { margin: 18px 16px 0 70px; border-top: 1px solid var(--mail-outline); padding-top: 14px; }
|
|
417
|
+
.attachments h3 { margin: 0 0 10px; font: 500 14px var(--mail); color: var(--mail-label); }
|
|
280
418
|
.att-grid { display: flex; flex-wrap: wrap; gap: 12px; }
|
|
281
|
-
.att { width: 180px; height: 104px; border: 1px solid
|
|
282
|
-
.att .att-top { flex: 1; background:
|
|
419
|
+
.att { width: 180px; height: 104px; border: 1px solid var(--mail-outline); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
|
|
420
|
+
.att .att-top { flex: 1; background: var(--mail-file-well); display: grid; place-items: center; color: var(--mail-file); }
|
|
283
421
|
.att .att-name { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 10px; font: 500 12px var(--mail); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
422
|
+
.att .att-size { color: var(--mail-label-2); font-weight: 400; }
|
|
284
423
|
.reply-row { display: flex; gap: 10px; margin: 24px 16px 0 70px; }
|
|
285
|
-
.reply-row span { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px 0 16px; height: 36px; border: 1px solid
|
|
424
|
+
.reply-row span { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px 0 16px; height: 36px; border: 1px solid var(--mail-button-edge); border-radius: 18px; font: 500 14px var(--mail); color: var(--mail-icon); }
|
|
286
425
|
|
|
287
426
|
/* \u2500\u2500 Swipe gestures \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
288
427
|
.swipe { position: relative; touch-action: pan-y; }
|
|
@@ -294,56 +433,56 @@ var RAW = `
|
|
|
294
433
|
|
|
295
434
|
/* iOS lock screen: Options / Clear behind a card */
|
|
296
435
|
.ios-swipe .swipe-actions { gap: 8px; }
|
|
297
|
-
.ios-swipe .swipe-actions button { width: 72px; border: 0; border-radius: 20px; background:
|
|
436
|
+
.ios-swipe .swipe-actions button { width: 72px; border: 0; border-radius: 20px; background: var(--ios-material-thin); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: var(--ios-material-label); font: 500 14px var(--ios); }
|
|
298
437
|
.push-group { display: flex; flex-direction: column; gap: 8px; }
|
|
299
438
|
.group-head { display: flex; align-items: center; gap: 8px; padding: 0 2px; animation: mbn-fadein .25s ease; }
|
|
300
439
|
.group-head h3 { flex: 1; margin: 0; font: 700 20px/1.2 var(--ios); color: #fff; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
301
|
-
.group-head button { border: 0; border-radius: 15px; background:
|
|
440
|
+
.group-head button { border: 0; border-radius: 15px; background: var(--ios-material-thin); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: var(--ios-material-label); font: 500 13px var(--ios); padding: 6px 12px; }
|
|
302
441
|
.group-head button.x { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; border-radius: 50%; }
|
|
303
442
|
.push-group[data-open="true"] .ios-swipe { animation: mbn-unstack .38s cubic-bezier(.2,.9,.3,1.1) backwards; }
|
|
304
443
|
.push-group[data-open="true"] .ios-swipe:nth-child(3) { animation-delay: .03s; } .push-group[data-open="true"] .ios-swipe:nth-child(4) { animation-delay: .06s; }
|
|
305
444
|
.stack-layers { cursor: pointer; border: 0; padding: 0; background: none; display: block; width: 100%; }
|
|
306
445
|
.stack-layers .ios-stack-more:first-child { margin-top: -14px; }
|
|
307
446
|
.lock.wake { animation: mbn-wake 1.1s ease-out; }
|
|
308
|
-
.ios-overlay { position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 14px; background:
|
|
309
|
-
.ios-overlay.dark { background:
|
|
447
|
+
.ios-overlay { position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 14px; background: var(--ios-overlay); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); animation: mbn-fadein .2s ease; }
|
|
448
|
+
.ios-overlay.dark { background: var(--ios-overlay-dim); }
|
|
310
449
|
.ios-overlay .ios-note { animation: mbn-lift .3s cubic-bezier(.2,.9,.3,1.2); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
|
|
311
|
-
.ios-menu { align-self: flex-start; width: 250px; border-radius: 14px; overflow: hidden; background:
|
|
312
|
-
.ios-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 16px; border: 0; border-bottom: .5px solid
|
|
450
|
+
.ios-menu { align-self: flex-start; width: 250px; border-radius: 14px; overflow: hidden; background: var(--ios-menu); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); box-shadow: 0 10px 40px rgba(0,0,0,.2); animation: mbn-lift .28s cubic-bezier(.2,.9,.3,1.2); }
|
|
451
|
+
.ios-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 16px; border: 0; border-bottom: .5px solid var(--ios-menu-separator); background: none; color: var(--ios-label); font: 400 17px var(--ios); letter-spacing: -.02em; text-align: left; }
|
|
313
452
|
.ios-menu button:last-child { border-bottom: 0; }
|
|
314
|
-
.ios-menu button:active { background:
|
|
453
|
+
.ios-menu button:active { background: var(--ios-menu-pressed); }
|
|
315
454
|
.ios-overlay.dark .ios-menu { align-self: stretch; width: auto; }
|
|
316
455
|
|
|
317
456
|
/* Android shade */
|
|
318
457
|
.a-note { touch-action: pan-y; position: relative; }
|
|
319
458
|
.a-settings { margin-top: 8px; display: grid; gap: 8px; animation: mbn-fadein .2s ease; }
|
|
320
|
-
.a-settings .opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 1px solid
|
|
321
|
-
.a-settings .opt[aria-pressed="true"] { background:
|
|
322
|
-
.a-settings .opt small { display: block; font-weight: 400; color:
|
|
459
|
+
.a-settings .opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--md-outline-variant); font: 500 14px var(--android); color: var(--md-on-surface); background: none; text-align: left; }
|
|
460
|
+
.a-settings .opt[aria-pressed="true"] { background: var(--md-secondary-container); border-color: var(--md-primary); }
|
|
461
|
+
.a-settings .opt small { display: block; font-weight: 400; color: var(--md-on-surface-variant); font-size: 12px; }
|
|
323
462
|
.a-settings .row { display: flex; justify-content: space-between; }
|
|
324
|
-
.a-settings .row button { border: 0; background: none; color:
|
|
325
|
-
.shade-actions button { padding: 8px 16px; border: 0; border-radius: 18px; background:
|
|
463
|
+
.a-settings .row button { border: 0; background: none; color: var(--md-primary); font: 500 14px var(--android); padding: 6px 4px; }
|
|
464
|
+
.shade-actions button { padding: 8px 16px; border: 0; border-radius: 18px; background: var(--md-tile); font: 500 14px var(--android); color: var(--md-on-surface); }
|
|
326
465
|
|
|
327
466
|
/* Messages: thread swipe actions, page transitions, bubble times, tapbacks */
|
|
328
467
|
.thread-swipe .swipe-actions { justify-content: space-between; }
|
|
329
468
|
.thread-swipe .swipe-actions .side { display: flex; }
|
|
330
469
|
.thread-swipe .swipe-actions button { width: 74px; border: 0; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 400 13px var(--ios); }
|
|
331
|
-
.act-unread { background:
|
|
332
|
-
.thread-swipe .thread { background:
|
|
470
|
+
.act-unread { background: var(--ios-blue); } .act-pin { background: var(--ios-yellow); } .act-mute { background: var(--ios-indigo); } .act-delete { background: var(--ios-red); }
|
|
471
|
+
.thread-swipe .thread { background: var(--ios-bg); }
|
|
333
472
|
.thread .name-line { display: flex; align-items: center; gap: 4px; min-width: 0; }
|
|
334
|
-
.thread .flag { flex: none; color:
|
|
473
|
+
.thread .flag { flex: none; color: var(--ios-label-2); display: inline-flex; }
|
|
335
474
|
.msgs.enter { animation: mbn-back .38s cubic-bezier(.2,.9,.25,1); }
|
|
336
475
|
.convo.enter { animation: mbn-push .4s cubic-bezier(.2,.9,.25,1); box-shadow: -10px 0 30px rgba(0,0,0,.12); }
|
|
337
476
|
.convo-body { --reveal: 0px; overflow-x: hidden; touch-action: pan-y; }
|
|
338
477
|
.convo-body .bubble-row, .convo-body .stamp { transform: translateX(calc(-1 * var(--reveal))); }
|
|
339
478
|
.convo-body.settling .bubble-row, .convo-body.settling .stamp { transition: transform .3s cubic-bezier(.2,.9,.25,1); }
|
|
340
479
|
.bubble-row { position: relative; }
|
|
341
|
-
.bubble-time { position: absolute; right: -66px; top: 50%; transform: translateY(-50%); width: 58px; color:
|
|
480
|
+
.bubble-time { position: absolute; right: -66px; top: 50%; transform: translateY(-50%); width: 58px; color: var(--ios-label-2); font-size: 12px; white-space: nowrap; }
|
|
342
481
|
.bubble { touch-action: pan-y; -webkit-user-select: text; user-select: text; }
|
|
343
|
-
.tapback { position: absolute; z-index: 2; top: -16px; right: -12px; min-width: 30px; height: 30px; padding: 0 4px; border-radius: 15px; background:
|
|
344
|
-
.tapback-bar { align-self: flex-start; display: flex; gap: 4px; padding: 6px 8px; border-radius: 26px; background:
|
|
482
|
+
.tapback { position: absolute; z-index: 2; top: -16px; right: -12px; min-width: 30px; height: 30px; padding: 0 4px; border-radius: 15px; background: var(--ios-blue); color: #fff; display: grid; place-items: center; font: 700 13px/1 var(--ios); box-shadow: 0 0 0 2.5px var(--ios-bg); animation: mbn-pop .35s cubic-bezier(.2,.9,.3,1.4); }
|
|
483
|
+
.tapback-bar { align-self: flex-start; display: flex; gap: 4px; padding: 6px 8px; border-radius: 26px; background: var(--ios-tapback-bar); box-shadow: 0 8px 30px rgba(0,0,0,.18); animation: mbn-lift .28s cubic-bezier(.2,.9,.3,1.3); }
|
|
345
484
|
.tapback-bar button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: none; color: #8e8e93; font: 700 16px/1 var(--ios); display: grid; place-items: center; }
|
|
346
|
-
.tapback-bar button[aria-pressed="true"] { background:
|
|
485
|
+
.tapback-bar button[aria-pressed="true"] { background: var(--ios-blue); color: #fff; }
|
|
347
486
|
.ios-overlay .bubble { align-self: flex-start; max-width: 80%; animation: mbn-lift .28s cubic-bezier(.2,.9,.3,1.2); }
|
|
348
487
|
|
|
349
488
|
/* Mail: hover actions, row swipe, toast */
|
|
@@ -352,11 +491,11 @@ var RAW = `
|
|
|
352
491
|
.mrow:hover .hover-actions, .mrow:focus-within .hover-actions { display: flex; }
|
|
353
492
|
.mrow:hover .date, .mrow:focus-within .date { display: none; }
|
|
354
493
|
.mrow .star { cursor: pointer; }
|
|
355
|
-
.mrow .star[aria-pressed="true"] { color:
|
|
494
|
+
.mrow .star[aria-pressed="true"] { color: var(--mail-star); }
|
|
356
495
|
.mrow-swipe { background: #188038; }
|
|
357
496
|
.mrow-swipe .swipe-actions { justify-content: space-between; align-items: center; padding: 0 22px; color: #fff; }
|
|
358
|
-
.toast { position: absolute; z-index: 20; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 24px; min-width: 288px; max-width: calc(100% - 48px); padding: 14px 16px 14px 24px; border-radius: 4px; background:
|
|
359
|
-
.toast button { margin-left: auto; border: 0; background: none; color:
|
|
497
|
+
.toast { position: absolute; z-index: 20; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 24px; min-width: 288px; max-width: calc(100% - 48px); padding: 14px 16px 14px 24px; border-radius: 4px; background: var(--mail-toast); color: var(--mail-on-toast); font: 400 14px var(--mail); box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px rgba(0,0,0,.14); animation: mbn-toast .25s cubic-bezier(0,0,.2,1); }
|
|
498
|
+
.toast button { margin-left: auto; border: 0; background: none; color: var(--mail-toast-action); font: 500 14px var(--mail); padding: 4px 8px; }
|
|
360
499
|
.reader.enter, .mail-list.enter { animation: mbn-fadein .18s ease; }
|
|
361
500
|
|
|
362
501
|
@keyframes mbn-fadein { from { opacity: 0; } to { opacity: 1; } }
|
|
@@ -370,7 +509,7 @@ var RAW = `
|
|
|
370
509
|
@keyframes mbn-pop { from { transform: scale(.6) translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
|
|
371
510
|
@keyframes mbn-drop { from { transform: translateY(-30px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
|
|
372
511
|
@keyframes mbn-fade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
|
|
373
|
-
@keyframes mbn-rowflash { from { background:
|
|
512
|
+
@keyframes mbn-rowflash { from { background: var(--mail-row-flash); } to { background: var(--mail-row-unread); } }
|
|
374
513
|
@container (max-width: 980px) { .mail-nav { width: 72px; } .mail-nav .lbl, .mail-nav .n, .compose .lbl { display: none; } .mail-logo { width: auto; } .compose { padding: 0 16px; } .mrow .svc { display: none; } }
|
|
375
514
|
@container (max-width: 480px) { .mrow { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; grid-template-areas: "star from date" ". subj subj"; align-items: center; column-gap: 10px; row-gap: 2px; height: auto; padding: 10px 14px 11px 10px; }
|
|
376
515
|
.mrow .chk, .mrow .svc, .mrow .clip { display: none; } .mrow .star { grid-area: star; margin: 0; } .mrow .from { grid-area: from; width: auto; padding: 0; }
|
|
@@ -380,34 +519,34 @@ var RAW = `
|
|
|
380
519
|
|
|
381
520
|
/* \u2500\u2500 WhatsApp: the same phone, a different app \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
382
521
|
.avatar.wa { background: linear-gradient(180deg,#5fe08b,#1daa61); }
|
|
383
|
-
.thread .via-wa { flex: none; font: 600 10px/16px var(--ios); letter-spacing: .02em; color:
|
|
384
|
-
.convo.wa { background:
|
|
385
|
-
.convo.wa .convo-nav { background:
|
|
386
|
-
.convo.wa .convo-nav .back { color:
|
|
387
|
-
.convo.wa .convo-nav .back svg [stroke] { stroke:
|
|
388
|
-
.convo.wa .convo-nav .back svg [fill]:not([fill="none"]) { fill:
|
|
522
|
+
.thread .via-wa { flex: none; font: 600 10px/16px var(--ios); letter-spacing: .02em; color: var(--wa-chip-label); background: var(--wa-chip); border-radius: 4px; padding: 0 5px; }
|
|
523
|
+
.convo.wa { background: var(--wa-wallpaper); }
|
|
524
|
+
.convo.wa .convo-nav { background: var(--wa-bar); }
|
|
525
|
+
.convo.wa .convo-nav .back { color: var(--wa-green); }
|
|
526
|
+
.convo.wa .convo-nav .back svg [stroke] { stroke: var(--wa-green); }
|
|
527
|
+
.convo.wa .convo-nav .back svg [fill]:not([fill="none"]) { fill: var(--wa-green); }
|
|
389
528
|
.convo.wa .convo-nav .avatar { background: linear-gradient(180deg,#5fe08b,#1daa61); }
|
|
390
|
-
.convo.wa .convo-nav .back .badge { background:
|
|
529
|
+
.convo.wa .convo-nav .back .badge { background: var(--wa-green); }
|
|
391
530
|
.convo.wa .convo-nav .who { flex-direction: column; gap: 0; }
|
|
392
|
-
.convo.wa .wa-sub { font: 400 11px/14px var(--ios); color:
|
|
393
|
-
.convo.wa .convo-body { background:
|
|
394
|
-
.convo.wa .stamp { width: max-content; max-width: 90%; margin: 12px auto 8px; padding: 3px 10px; border-radius: 8px; background:
|
|
395
|
-
.convo.wa .bubble { background:
|
|
531
|
+
.convo.wa .wa-sub { font: 400 11px/14px var(--ios); color: var(--wa-green); }
|
|
532
|
+
.convo.wa .convo-body { background: var(--wa-wallpaper); }
|
|
533
|
+
.convo.wa .stamp { width: max-content; max-width: 90%; margin: 12px auto 8px; padding: 3px 10px; border-radius: 8px; background: var(--wa-stamp); color: var(--wa-stamp-label); box-shadow: 0 1px .5px rgba(11,20,26,.13); }
|
|
534
|
+
.convo.wa .bubble { background: var(--wa-bubble-in); color: var(--wa-label); border-radius: 8px; border-top-left-radius: 8px; font-size: 16px; line-height: 21px; padding: 6px 9px 7px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
|
|
396
535
|
.convo.wa .bubble.tail { border-bottom-left-radius: 0; }
|
|
397
|
-
.convo.wa .bubble.tail::before { left: -7px; width: 8px; height: 12px; background:
|
|
536
|
+
.convo.wa .bubble.tail::before { left: -7px; width: 8px; height: 12px; background: var(--wa-bubble-in); border-radius: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
|
|
398
537
|
.convo.wa .bubble.tail::after { display: none; }
|
|
399
|
-
.convo.wa .wa-time { float: right; margin: 9px 0 -3px 10px; font: 400 11px/14px var(--ios); letter-spacing: 0; color:
|
|
400
|
-
.convo.wa .convo-input { background:
|
|
538
|
+
.convo.wa .wa-time { float: right; margin: 9px 0 -3px 10px; font: 400 11px/14px var(--ios); letter-spacing: 0; color: var(--wa-meta); }
|
|
539
|
+
.convo.wa .convo-input { background: var(--wa-input-bar); }
|
|
401
540
|
.convo.wa .convo-input .plus { background: none; }
|
|
402
|
-
.convo.wa .convo-input .field-ios { background:
|
|
403
|
-
.convo.wa .otp-bar small { color:
|
|
541
|
+
.convo.wa .convo-input .field-ios { background: var(--wa-field); border-color: var(--wa-field-edge); }
|
|
542
|
+
.convo.wa .otp-bar small { color: var(--wa-green); }
|
|
404
543
|
|
|
405
544
|
/* \u2500\u2500 Chat: a team chat window \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
406
|
-
.window.chat { background:
|
|
545
|
+
.window.chat { background: var(--chat-bg); color: var(--chat-label); font-family: "Lato", "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif; }
|
|
407
546
|
.window.chat .chrome { flex: none; }
|
|
408
547
|
.chat-body { flex: 1; min-height: 0; display: flex; }
|
|
409
|
-
.chat-side { flex: none; width: 200px; background:
|
|
410
|
-
.chat-team { display: flex; align-items: center; gap: 4px; padding: 14px 8px 12px; margin: 0 -8px 8px; border-bottom: 1px solid
|
|
548
|
+
.chat-side { flex: none; width: 200px; background: var(--chat-side); color: var(--chat-side-label); padding: 0 8px 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 1px; }
|
|
549
|
+
.chat-team { display: flex; align-items: center; gap: 4px; padding: 14px 8px 12px; margin: 0 -8px 8px; border-bottom: 1px solid var(--chat-side-edge); color: #fff; font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
411
550
|
.chat-side-label { padding: 6px 8px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
|
|
412
551
|
.chat-chan { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; color: inherit; text-align: left; padding: 4px 8px; border-radius: 6px; font-size: 14px; min-width: 0; }
|
|
413
552
|
.chat-chan:hover { background: rgba(255,255,255,.08); }
|
|
@@ -415,68 +554,68 @@ var RAW = `
|
|
|
415
554
|
.chat-chan .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
416
555
|
.chat-chan .n { flex: none; background: #e01e5a; color: #fff; border-radius: 999px; font-size: 11px; line-height: 16px; padding: 0 6px; font-weight: 700; }
|
|
417
556
|
.chat-chan.unread { color: #fff; font-weight: 700; }
|
|
418
|
-
.chat-chan.on { background:
|
|
557
|
+
.chat-chan.on { background: var(--chat-side-active); color: #fff; }
|
|
419
558
|
.chat-chan:focus-visible { outline: 2px solid #9ec5ff; outline-offset: -2px; }
|
|
420
|
-
.chat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background:
|
|
421
|
-
.chat-head { flex: none; display: flex; align-items: baseline; gap: 10px; padding: 12px 18px; border-bottom: 1px solid
|
|
559
|
+
.chat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--chat-bg); }
|
|
560
|
+
.chat-head { flex: none; display: flex; align-items: baseline; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--chat-divider); }
|
|
422
561
|
.chat-head b { font-size: 17px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
423
|
-
.chat-head span { color:
|
|
562
|
+
.chat-head span { color: var(--chat-label-2); font-size: 12px; white-space: nowrap; }
|
|
424
563
|
.chat-list { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 0 12px; display: flex; flex-direction: column; }
|
|
425
564
|
.chat-list > :first-child { margin-top: auto; }
|
|
426
|
-
.chat-day { display: flex; align-items: center; gap: 10px; padding: 8px 18px; color:
|
|
427
|
-
.chat-day::before, .chat-day::after { content: ""; flex: 1; height: 1px; background:
|
|
428
|
-
.chat-day span { border: 1px solid
|
|
565
|
+
.chat-day { display: flex; align-items: center; gap: 10px; padding: 8px 18px; color: var(--chat-label-2); font-size: 12px; font-weight: 700; }
|
|
566
|
+
.chat-day::before, .chat-day::after { content: ""; flex: 1; height: 1px; background: var(--chat-divider); }
|
|
567
|
+
.chat-day span { border: 1px solid var(--chat-divider); border-radius: 999px; padding: 2px 12px; }
|
|
429
568
|
.chat-msg { display: flex; gap: 10px; padding: 7px 18px; outline: 0; }
|
|
430
|
-
.chat-msg:hover, .chat-msg:focus-visible { background:
|
|
431
|
-
.chat-msg[data-unread="true"] { background:
|
|
432
|
-
.chat-msg[data-ephemeral="true"] { background:
|
|
569
|
+
.chat-msg:hover, .chat-msg:focus-visible { background: var(--chat-hover); }
|
|
570
|
+
.chat-msg[data-unread="true"] { background: var(--chat-new); }
|
|
571
|
+
.chat-msg[data-ephemeral="true"] { background: var(--chat-ephemeral); }
|
|
433
572
|
.chat-msg.arrive { animation: mbn-chat-in .3s ease-out; }
|
|
434
573
|
@keyframes mbn-chat-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
|
|
435
574
|
.chat-avatar { flex: none; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
|
|
436
575
|
.chat-msg-main { flex: 1; min-width: 0; font-size: 15px; line-height: 22px; }
|
|
437
576
|
.chat-meta { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
|
|
438
577
|
.chat-meta b { font-weight: 800; }
|
|
439
|
-
.chat-app { background:
|
|
440
|
-
.chat-time, .chat-edited { color:
|
|
441
|
-
.chat-note { color:
|
|
578
|
+
.chat-app { background: var(--chat-tag); color: var(--chat-tag-label); font-size: 10px; font-weight: 700; border-radius: 3px; padding: 0 4px; line-height: 14px; align-self: center; }
|
|
579
|
+
.chat-time, .chat-edited { color: var(--chat-label-2); font-size: 12px; }
|
|
580
|
+
.chat-note { color: var(--chat-label-2); font-size: 12px; line-height: 16px; }
|
|
442
581
|
.chat-text { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
443
|
-
.chat-text a, .chat-att-title a { color:
|
|
582
|
+
.chat-text a, .chat-att-title a { color: var(--chat-link); text-decoration: none; }
|
|
444
583
|
.chat-text a:hover { text-decoration: underline; }
|
|
445
|
-
.chat-code { font: 12px/18px var(--mono); background:
|
|
446
|
-
.chat-pre { font: 12px/18px var(--mono); background:
|
|
447
|
-
.chat-mention { background:
|
|
448
|
-
.chat-quote { display: block; border-left: 4px solid
|
|
584
|
+
.chat-code { font: 12px/18px var(--mono); background: var(--chat-code); border: 1px solid var(--chat-code-edge); border-radius: 3px; padding: 1px 3px; color: var(--chat-code-label); }
|
|
585
|
+
.chat-pre { font: 12px/18px var(--mono); background: var(--chat-pre); border: 1px solid var(--chat-code-edge); border-radius: 4px; padding: 8px; margin: 4px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
586
|
+
.chat-mention { background: var(--chat-mention); color: var(--chat-link); border-radius: 3px; padding: 0 2px; }
|
|
587
|
+
.chat-quote { display: block; border-left: 4px solid var(--chat-quote); padding-left: 10px; margin: 2px 0; }
|
|
449
588
|
.chat-blocks, .chat-attachments { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
|
|
450
589
|
.chat-block-header { font-size: 18px; font-weight: 800; line-height: 24px; }
|
|
451
|
-
.chat-block-divider hr { border: 0; border-top: 1px solid
|
|
452
|
-
.chat-block-context { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color:
|
|
590
|
+
.chat-block-divider hr { border: 0; border-top: 1px solid var(--chat-divider); margin: 4px 0; }
|
|
591
|
+
.chat-block-context { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--chat-label-2); font-size: 13px; }
|
|
453
592
|
.chat-block-actions { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
454
593
|
.chat-block.with-accessory { display: flex; gap: 12px; align-items: flex-start; }
|
|
455
594
|
.chat-section-body { flex: 1; min-width: 0; }
|
|
456
595
|
.chat-accessory { flex: none; }
|
|
457
596
|
.chat-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 4px; }
|
|
458
|
-
.chat-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid
|
|
597
|
+
.chat-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid var(--chat-control-edge); border-radius: 4px; background: var(--chat-bg); font-size: 13px; font-weight: 700; color: var(--chat-label); }
|
|
459
598
|
.chat-btn.primary { background: #007a5a; border-color: #007a5a; color: #fff; }
|
|
460
599
|
.chat-btn.danger { color: #e01e5a; }
|
|
461
600
|
.chat-thumb { width: 72px; height: 72px; border-radius: 6px; object-fit: cover; display: block; }
|
|
462
601
|
.chat-block-context .chat-thumb { width: 20px; height: 20px; border-radius: 3px; }
|
|
463
602
|
.chat-image { max-width: min(360px, 100%); max-height: 260px; border-radius: 6px; display: block; }
|
|
464
|
-
.chat-caption { color:
|
|
603
|
+
.chat-caption { color: var(--chat-label-2); font-size: 13px; }
|
|
465
604
|
.chat-list-block { margin: 2px 0; padding-left: 22px; }
|
|
466
|
-
.chat-unknown { color:
|
|
467
|
-
.chat-attachment { border-left: 4px solid
|
|
605
|
+
.chat-unknown { color: var(--chat-label-2); font: 12px var(--mono); border: 1px dashed var(--chat-unknown-edge); border-radius: 4px; padding: 2px 6px; }
|
|
606
|
+
.chat-attachment { border-left: 4px solid var(--chat-quote); padding-left: 12px; display: flex; flex-direction: column; gap: 2px; }
|
|
468
607
|
.chat-att-author { font-size: 13px; font-weight: 700; }
|
|
469
608
|
.chat-att-title { font-weight: 700; }
|
|
470
609
|
.chat-field { margin-top: 4px; }
|
|
471
610
|
.chat-field:not(.short) { grid-column: 1 / -1; }
|
|
472
|
-
.chat-att-footer { color:
|
|
611
|
+
.chat-att-footer { color: var(--chat-label-2); font-size: 12px; }
|
|
473
612
|
.chat-reactions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
|
|
474
|
-
.chat-reaction { background:
|
|
475
|
-
.chat-compose { flex: none; display: flex; align-items: center; justify-content: space-between; margin: 0 18px 16px; padding: 0 12px; height: 42px; border: 1px solid
|
|
613
|
+
.chat-reaction { background: var(--chat-reaction); border: 1px solid var(--chat-reaction-edge); border-radius: 999px; padding: 0 8px; font-size: 12px; line-height: 22px; }
|
|
614
|
+
.chat-compose { flex: none; display: flex; align-items: center; justify-content: space-between; margin: 0 18px 16px; padding: 0 12px; height: 42px; border: 1px solid var(--chat-control-edge); border-radius: 8px; color: var(--chat-placeholder); font-size: 14px; }
|
|
476
615
|
.chat-compose span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
477
616
|
.chat-compose .send { display: grid; place-items: center; opacity: .5; }
|
|
478
|
-
.chat-empty { margin: auto; padding: 40px 28px; text-align: center; color:
|
|
479
|
-
.chat-empty b { color:
|
|
617
|
+
.chat-empty { margin: auto; padding: 40px 28px; text-align: center; color: var(--chat-label-2); display: flex; flex-direction: column; gap: 6px; max-width: 380px; }
|
|
618
|
+
.chat-empty b { color: var(--chat-label); font-size: 16px; }
|
|
480
619
|
@container (max-width: 560px) { .chat-side { display: none; } .chat-msg, .chat-head, .chat-day { padding-left: 12px; padding-right: 12px; } .chat-compose { margin: 0 12px 12px; } .chat-fields { grid-template-columns: 1fr; } }
|
|
481
620
|
|
|
482
621
|
/* \u2500\u2500 Phone \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
@@ -508,4 +647,4 @@ var renderPage = ({
|
|
|
508
647
|
export {
|
|
509
648
|
renderPage
|
|
510
649
|
};
|
|
511
|
-
//# sourceMappingURL=page-
|
|
650
|
+
//# sourceMappingURL=page-X7KT2BPN.js.map
|