One-click backups for AT Protocol
1@import "tailwindcss";
2@import "tw-animate-css";
3
4@custom-variant dark (&:is(.dark *));
5
6:root {
7 font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
8 font-size: 16px;
9 line-height: 24px;
10 font-weight: 400;
11
12 color: #0f0f0f;
13 background-color: #f6f6f6;
14
15 font-synthesis: none;
16 text-rendering: optimizeLegibility;
17 -webkit-font-smoothing: antialiased;
18 -moz-osx-font-smoothing: grayscale;
19 -webkit-text-size-adjust: 100%;
20 --radius: 0.625rem;
21 --background: oklch(1 0 0);
22 --foreground: oklch(0.145 0 0);
23 --card: oklch(1 0 0);
24 --card-foreground: oklch(0.145 0 0);
25 --popover: oklch(1 0 0);
26 --popover-foreground: oklch(0.145 0 0);
27 --primary: oklch(0.205 0 0);
28 --primary-foreground: oklch(0.985 0 0);
29 --secondary: oklch(0.97 0 0);
30 --secondary-foreground: oklch(0.205 0 0);
31 --muted: oklch(0.97 0 0);
32 --muted-foreground: oklch(0.556 0 0);
33 --accent: oklch(0.97 0 0);
34 --accent-foreground: oklch(0.205 0 0);
35 --destructive: oklch(0.577 0.245 27.325);
36 --border: oklch(0.922 0 0);
37 --input: oklch(0.922 0 0);
38 --ring: oklch(0.708 0 0);
39 --chart-1: oklch(0.646 0.222 41.116);
40 --chart-2: oklch(0.6 0.118 184.704);
41 --chart-3: oklch(0.398 0.07 227.392);
42 --chart-4: oklch(0.828 0.189 84.429);
43 --chart-5: oklch(0.769 0.188 70.08);
44 --sidebar: oklch(0.985 0 0);
45 --sidebar-foreground: oklch(0.145 0 0);
46 --sidebar-primary: oklch(0.205 0 0);
47 --sidebar-primary-foreground: oklch(0.985 0 0);
48 --sidebar-accent: oklch(0.97 0 0);
49 --sidebar-accent-foreground: oklch(0.205 0 0);
50 --sidebar-border: oklch(0.922 0 0);
51 --sidebar-ring: oklch(0.708 0 0);
52}
53
54.container {
55 margin: 0;
56 padding-top: 10vh;
57 display: flex;
58 flex-direction: column;
59 justify-content: center;
60 text-align: center;
61}
62
63@theme inline {
64 --radius-sm: calc(var(--radius) - 4px);
65 --radius-md: calc(var(--radius) - 2px);
66 --radius-lg: var(--radius);
67 --radius-xl: calc(var(--radius) + 4px);
68 --color-background: var(--background);
69 --color-foreground: var(--foreground);
70 --color-card: var(--card);
71 --color-card-foreground: var(--card-foreground);
72 --color-popover: var(--popover);
73 --color-popover-foreground: var(--popover-foreground);
74 --color-primary: var(--primary);
75 --color-primary-foreground: var(--primary-foreground);
76 --color-secondary: var(--secondary);
77 --color-secondary-foreground: var(--secondary-foreground);
78 --color-muted: var(--muted);
79 --color-muted-foreground: var(--muted-foreground);
80 --color-accent: var(--accent);
81 --color-accent-foreground: var(--accent-foreground);
82 --color-destructive: var(--destructive);
83 --color-border: var(--border);
84 --color-input: var(--input);
85 --color-ring: var(--ring);
86 --color-chart-1: var(--chart-1);
87 --color-chart-2: var(--chart-2);
88 --color-chart-3: var(--chart-3);
89 --color-chart-4: var(--chart-4);
90 --color-chart-5: var(--chart-5);
91 --color-sidebar: var(--sidebar);
92 --color-sidebar-foreground: var(--sidebar-foreground);
93 --color-sidebar-primary: var(--sidebar-primary);
94 --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
95 --color-sidebar-accent: var(--sidebar-accent);
96 --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
97 --color-sidebar-border: var(--sidebar-border);
98 --color-sidebar-ring: var(--sidebar-ring);
99}
100
101.dark {
102 --background: oklch(0.145 0 0);
103 --foreground: oklch(0.985 0 0);
104 --card: oklch(0.205 0 0);
105 --card-foreground: oklch(0.985 0 0);
106 --popover: oklch(0.205 0 0);
107 --popover-foreground: oklch(0.985 0 0);
108 --primary: oklch(0.922 0 0);
109 --primary-foreground: oklch(0.205 0 0);
110 --secondary: oklch(0.269 0 0);
111 --secondary-foreground: oklch(0.985 0 0);
112 --muted: oklch(0.269 0 0);
113 --muted-foreground: oklch(0.708 0 0);
114 --accent: oklch(0.269 0 0);
115 --accent-foreground: oklch(0.985 0 0);
116 --destructive: oklch(0.704 0.191 22.216);
117 --border: oklch(1 0 0 / 10%);
118 --input: oklch(1 0 0 / 15%);
119 --ring: oklch(0.556 0 0);
120 --chart-1: oklch(0.488 0.243 264.376);
121 --chart-2: oklch(0.696 0.17 162.48);
122 --chart-3: oklch(0.769 0.188 70.08);
123 --chart-4: oklch(0.627 0.265 303.9);
124 --chart-5: oklch(0.645 0.246 16.439);
125 --sidebar: oklch(0.205 0 0);
126 --sidebar-foreground: oklch(0.985 0 0);
127 --sidebar-primary: oklch(0.488 0.243 264.376);
128 --sidebar-primary-foreground: oklch(0.985 0 0);
129 --sidebar-accent: oklch(0.269 0 0);
130 --sidebar-accent-foreground: oklch(0.985 0 0);
131 --sidebar-border: oklch(1 0 0 / 10%);
132 --sidebar-ring: oklch(0.556 0 0);
133}
134
135@layer base {
136 * {
137 @apply border-border outline-ring/50;
138 }
139 body {
140 @apply bg-background text-foreground;
141 }
142}
143
144.titlebar {
145 height: 40px;
146 background: rgba(0, 0, 0, 0.5);
147 backdrop-filter: blur(100px);
148 user-select: none;
149 display: flex;
150 justify-content: flex-end;
151 align-items: center;
152 position: fixed;
153 top: 0;
154 left: 0;
155 right: 0;
156 z-index: 100;
157}
158
159.titlebar .controls {
160 display: flex;
161 height: 100%;
162}
163
164.titlebar button {
165 all: unset;
166 display: flex;
167 justify-content: center;
168 align-items: center;
169 width: 30px;
170 height: 30px;
171 margin: 2px;
172 margin-top: auto;
173 margin-bottom: auto;
174 border-radius: 5px;
175 color: rgba(225, 225, 225, 0.8);
176}
177
178.titlebar button:hover {
179 background: rgba(255, 255, 255, 0.1);
180}
181
182.titlebar .material-symbols-rounded {
183 font-size: 18px;
184 line-height: 1;
185 vertical-align: middle;
186}
187
188/* Main content area that starts below the titlebar */
189.main-content {
190 flex: 1;
191 overflow-y: auto;
192}
193
194/* width */
195.custom-scroll {
196 margin-right: 3px;
197}
198
199.custom-scroll::-webkit-scrollbar {
200 width: 5px;
201}
202
203/* Track */
204.custom-scroll::-webkit-scrollbar-track {
205 background: var(--background);
206}
207
208/* Handle */
209.custom-scroll::-webkit-scrollbar-thumb {
210 background: rgba(225, 225, 225, 0.15);
211 border-radius: 500px;
212}
213
214/* Handle on hover */
215.custom-scroll::-webkit-scrollbar-thumb:hover {
216 background: rgba(225, 225, 225, 0.2);
217}
218
219.hide-scroll::-webkit-scrollbar {
220 display: none;
221}