-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathborland.css
More file actions
105 lines (93 loc) · 3.87 KB
/
Copy pathborland.css
File metadata and controls
105 lines (93 loc) · 3.87 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
104
105
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
* ░░░░░░░░▄▀░█▀▄░█▀▀░█▀▀░█░█░█░░░█▀█░█▀▄░░░░░█░░░█▀█░█░█░█▀█░█░█░▀█▀░▀▄░░░░░░░░
* ░░░░░░░▀▄░░█▀▄░█▀▀░█░█░█░█░█░░░█▀█░█▀▄░▀▀▀░█░░░█▀█░░█░░█░█░█░█░░█░░░▄▀░░░░░░░
* ░░░░░░░░░▀░▀░▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀░▀░░░░░▀▀▀░▀░▀░░▀░░▀▀▀░▀▀▀░░▀░░▀░░░░░░░░░
* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
* ┃ * 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.borland {
background-color: #0000aa;
font-family:
"ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
"Liberation Mono", monospace;
padding: 16px;
}
/* Frame */
regular-layout.borland regular-layout-frame {
position: relative;
box-sizing: border-box;
margin: 4px;
}
/* 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.borland regular-layout-frame::part(container) {
background: #0000aa;
border: 1px solid #00aaaa;
box-shadow: 1px 1px 0 #000000;
box-sizing: border-box;
padding: 4px 6px;
color: #ffff55;
}
regular-layout.borland regular-layout-frame::part(close) {
background: #00aa00;
height: 16px;
align-self: center;
display: flex;
align-items: center;
justify-content: center;
padding: 0 3px;
}
regular-layout.borland regular-layout-frame::part(close):hover {
background: #00ff00;
}
regular-layout.borland regular-layout-frame::part(close):before {
content: "[×]";
font-size: 10px;
font-weight: bold;
color: #000000;
}
regular-layout.borland regular-layout-frame::part(titlebar) {
display: flex;
align-items: stretch;
padding-right: 0;
height: 22px;
}
regular-layout.borland regular-layout-frame::part(tab) {
display: flex;
flex: 1 1 150px;
align-items: center;
padding: 0 3px 0 8px;
cursor: pointer;
text-overflow: ellipsis;
background: #0000aa;
color: #aaaaaa;
font-size: 11px;
font-weight: bold;
border-right: 1px solid #00aaaa;
}
regular-layout.borland regular-layout-frame::part(active-tab) {
background: #00aaaa;
color: #000000;
}
regular-layout.borland:has(.overlay) > * {
opacity: 0.6;
}
regular-layout.borland:has(.overlay) > .overlay {
opacity: 1;
}
/* Frame in Overlay Mode */
regular-layout.borland regular-layout-frame.overlay {
background: rgba(0, 170, 170, 0.9);
border: 1px solid #ffff55;
box-shadow: none;
margin: 0;
transition:
top 0.05s linear,
height 0.05s linear,
width 0.05s linear,
left 0.05s linear;
}