-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.css
More file actions
55 lines (49 loc) · 2.92 KB
/
index.css
File metadata and controls
55 lines (49 loc) · 2.92 KB
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
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
* ░░░░░░░░▄▀░█▀▄░█▀▀░█▀▀░█░█░█░░░█▀█░█▀▄░░░░░█░░░█▀█░█░█░█▀█░█░█░▀█▀░▀▄░░░░░░░░
* ░░░░░░░▀▄░░█▀▄░█▀▀░█░█░█░█░█░░░█▀█░█▀▄░▀▀▀░█░░░█▀█░░█░░█░█░█░█░░█░░░▄▀░░░░░░░
* ░░░░░░░░░▀░▀░▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀░▀░░░░░▀▀▀░▀░▀░░▀░░▀▀▀░▀▀▀░░▀░░▀░░░░░░░░░
* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
* ┃ * Copyright (c) 2026, the Regular Layout Authors. This file is part * ┃
* ┃ * of the Regular Layout library, distributed under the terms of the * ┃
* ┃ * [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). * ┃
* ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
*/
body {
margin: 0px;
font-family: "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
}
header {
padding: 0 12px;
gap: 12px;
display: flex;
align-items: center;
height: 36px;
}
/* Layout */
regular-layout {
overflow: hidden;
position: absolute;
top: 36px;
left: 0;
right: 0;
bottom: 0;
padding: 3px;
/* padding: 12px; */
/*
`regular-layout` supports the CSS `gap` property, but the "absolute"
mode overlay will not respect it (because there is no `gap` positioning
for absolutely positioned elements), leading to slightly off-center
drag/drop overlays. As "absolute" mode is required for CSS transitions
to work (making the smooth animation), you will need to use `margin`
instead of `gap` if you want smooth overlay animations _and_ correctly
positioned overlays.
*/
/* margin: 3px; */
/* gap: 6px; */
}
/* Frame */
regular-layout-frame {
position: relative;
box-sizing: border-box;
}