main
css 62 lines 1.11 KB
Raw
1 .DevTools {
2 width: 100%;
3 height: 100%;
4 display: flex;
5 flex-direction: column;
6 background-color: var(--color-background);
7 color: var(--color-text);
8 container-name: devtools;
9 container-type: inline-size;
10 }
11
12 .TabBar {
13 flex: 0 0 auto;
14 display: flex;
15 align-items: center;
16 padding: 0 0.5rem;
17 background-color: var(--color-background);
18 border-top: 1px solid var(--color-border);
19 font-family: var(--font-family-sans);
20 font-size: var(--font-size-sans-large);
21 user-select: none;
22
23 /* Electron drag area */
24 -webkit-app-region: drag;
25 }
26
27 .Spacer {
28 flex: 1;
29 }
30
31 .TabContent {
32 flex: 1 1 100%;
33 overflow: auto;
34 -webkit-app-region: no-drag;
35 }
36
37 .DevToolsVersion {
38 font-size: var(--font-size-sans-normal);
39 margin-right: 0.5rem;
40 }
41
42 .DevToolsVersion:before {
43 font-size: var(--font-size-sans-large);
44 content: 'DevTools ';
45 }
46
47 @media screen and (max-width: 400px) {
48 .DevToolsVersion:before {
49 content: '';
50 }
51 }
52
53 @media screen and (max-width: 300px) {
54 .DevToolsVersion {
55 display: none;
56 }
57 }
58
59 .DevTools, .DevTools * {
60 box-sizing: border-box;
61 -webkit-font-smoothing: var(--font-smoothing);
62 }