-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhotdog.css
More file actions
103 lines (92 loc) · 3.96 KB
/
Copy pathhotdog.css
File metadata and controls
103 lines (92 loc) · 3.96 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
* ░░░░░░░░▄▀░█▀▄░█▀▀░█▀▀░█░█░█░░░█▀█░█▀▄░░░░░█░░░█▀█░█░█░█▀█░█░█░▀█▀░▀▄░░░░░░░░
* ░░░░░░░▀▄░░█▀▄░█▀▀░█░█░█░█░█░░░█▀█░█▀▄░▀▀▀░█░░░█▀█░░█░░█░█░█░█░░█░░░▄▀░░░░░░░
* ░░░░░░░░░▀░▀░▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀░▀░░░░░▀▀▀░▀░▀░░▀░░▀▀▀░▀▀▀░░▀░░▀░░░░░░░░░
* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
* ┃ * 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). * ┃
* ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
*/
regular-layout.hotdog {
background-color: #ff0000;
font-family:
"ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
"Liberation Mono", monospace;
padding: 24px;
}
/* Frame */
regular-layout.hotdog regular-layout-frame {
margin: 12px;
}
/* Panel chrome lives on the content (only the selected frame shows it), so the
overlapping frame box stays transparent and every stacked tab is visible. */
regular-layout.hotdog regular-layout-frame::part(container) {
background: #ffff00;
border-width: 2px;
border-color: #ff6b6b #8b0000 #8b0000 #ff6b6b;
border-style: solid;
box-sizing: border-box;
padding: 6px;
}
regular-layout.hotdog regular-layout-frame::part(close) {
border-width: 1px;
border-color: #ff6b6b #8b0000 #8b0000 #ff6b6b;
border-style: solid;
height: 16px;
background: #ff0000;
align-self: center;
display: flex;
align-items: center;
padding: 0px 4px;
color: #ffff00;
}
regular-layout.hotdog regular-layout-frame::part(close):before {
content: "X";
font-size: 10px;
font-weight: bold;
}
regular-layout.hotdog regular-layout-frame::part(titlebar) {
display: flex;
align-items: stretch;
padding-right: 0px;
}
regular-layout.hotdog regular-layout-frame::part(tab) {
box-sizing: border-box;
display: flex;
align-items: center;
padding: 0 3px 0 8px;
cursor: pointer;
text-overflow: ellipsis;
background: #cc0000;
color: #ffff00;
font-family: "Tahoma", "Arial", sans-serif;
font-weight: bold;
font-size: 11px;
/* Raised bevel - the frame box no longer carries the border in the
overlap model, so each tab frames itself. */
border-width: 2px;
border-color: #ff6b6b #8b0000 #8b0000 #ff6b6b;
border-style: solid;
}
regular-layout.hotdog regular-layout-frame::part(active-tab) {
background: #ff0000;
opacity: 1;
}
regular-layout.hotdog:has(.overlay) > * {
opacity: 0.8;
}
regular-layout.hotdog:has(.overlay) > .overlay {
opacity: 1;
}
/* Frame in Overlay Mode */
regular-layout.hotdog regular-layout-frame.overlay {
margin: 0;
transition:
margin 0.1 ease-in-out,
top 0.1s ease-in-out,
height 0.1s ease-in-out,
width 0.1s ease-in-out,
left 0.1s ease-in-out;
}