-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.css
More file actions
113 lines (97 loc) · 2.38 KB
/
index.css
File metadata and controls
113 lines (97 loc) · 2.38 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
106
107
108
109
110
111
112
113
body {
font-family: "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
}
/* Layout */
regular-layout {
overflow: hidden;
position: absolute;
top: 36px;
left: 0;
right: 0;
bottom: 0;
}
/* Frame */
regular-layout-frame {
--titlebar-height: 24px;
position: relative;
box-sizing: border-box;
margin: 3px;
border-radius: 0 0 6px 6px;
border: 1px solid #666;
box-shadow: 0px 6px 6px -4px rgba(150, 150, 180);
}
regular-layout-frame::part(titlebar) {
display: flex;
align-items: stretch;
margin-left: -1px;
margin-right: -1px;
margin-bottom: 0px;
}
regular-layout-frame::part(tab) {
display: flex;
flex: 1 1 150px;
align-items: center;
font-size: 10px;
padding: 0 8px;
cursor: pointer;
max-width: 150px;
text-overflow: ellipsis;
border: 1px solid #666;
border-radius: 6px 6px 0 0;
opacity: 0.5;
}
regular-layout-frame::part(active-tab) {
opacity: 1;
}
/* Frame in Overlay Mode */
regular-layout-frame.overlay {
background-color: rgba(0, 0, 0, 0.2) !important;
border: 1px dashed rgb(0, 0, 0);
border-radius: 6px;
margin: 0;
box-shadow: none;
transition:
top 0.1s ease-in-out,
height 0.1s ease-in-out,
width 0.1s ease-in-out,
left 0.1s ease-in-out;
}
regular-layout-frame::part(container) {
display: none;
}
regular-layout-frame:not(.overlay)::part(container) {
display: revert;
}
/* Colors */
regular-layout :nth-child(8n+1),
regular-layout :nth-child(8n+1)::part(tab) {
background-color: #ffadadff;
}
regular-layout :nth-child(8n+2),
regular-layout :nth-child(8n+2)::part(tab) {
background-color: #ffd6a5ff;
}
regular-layout :nth-child(8n+3),
regular-layout :nth-child(8n+3)::part(tab) {
background-color: #fdffb6ff;
}
regular-layout :nth-child(8n+4),
regular-layout :nth-child(8n+4)::part(tab) {
background-color: #caffbfff;
}
regular-layout :nth-child(8n+5),
regular-layout :nth-child(8n+5)::part(tab) {
background-color: #9bf6ffff;
}
regular-layout :nth-child(8n+6),
regular-layout :nth-child(8n+6)::part(tab) {
background-color: #a0c4ffff;
}
regular-layout :nth-child(8n+7),
regular-layout :nth-child(8n+7)::part(tab) {
background-color: #bdb2ffff;
}
regular-layout :nth-child(8n+8),
regular-layout :nth-child(8n+8)::part(tab) {
background-color: #ffc6ffff;
}