-
Notifications
You must be signed in to change notification settings - Fork 7
/
simulator-vscode.css
108 lines (93 loc) · 2.59 KB
/
simulator-vscode.css
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
.simulator {
--terminal-font-size: var(--vscode-editor-font-size, 13px);
--terminal-line-height: calc(var(--terminal-font-size) + 5px);
}
/* Panels */
.simulator .panels {
background: var(--vscode-panel-background);
border-top: 1px solid var(--vscode-panel-border);
display: flex;
flex-direction: column;
}
.simulator.no-schematic .panels {
flex-grow: 1;
border-top: none;
}
/* Tab bar */
.simulator .tabbar {
padding: 0 10px;
display: flex;
flex: 0 0;
}
.simulator .tabbar > .tab {
padding: 4px 12px 3px;
cursor: pointer;
}
.simulator .tabbar > .tab a {
text-transform: uppercase;
font-size: 11px;
color: var(--vscode-panelTitle-inactiveForeground);
line-height: 27px;
outline: 0;
text-decoration: none;
border-bottom: 1px solid transparent;
}
.simulator .tabbar > .tab.active a {
border-bottom-color: var(--vscode-panelTitle-activeBorder);
color: var(--vscode-panelTitle-activeForeground);
display: inline-block;
}
.simulator .tabbar > .tab:hover a {
color: var(--vscode-panelTitle-activeForeground) !important;
}
.simulator .tabcontent {
color: var(--vscode-terminal-foreground);
min-height: calc((var(--vscode-editor-font-size) + 5px) * 10); /* 10 terminal lines */
height: calc((var(--vscode-editor-font-size) + 5px) * 10); /* 10 terminal lines */
}
.simulator .tabcontent:not(.active) {
display: none !important;
}
.simulator.no-schematic .tab:not(.panel-tab-terminal) {
display: none;
}
/* Terminal at the bottom of the screen */
.simulator .terminal-box {
display: flex;
}
.simulator .terminal {
outline: 0;
color: var(--vscode-terminal-foreground);
}
.simulator .terminal::selection {
background: var(--vscode-terminal-selectionBackground);
}
.simulator .terminal > .message.info {
color: #888;
}
.simulator .terminal > .message.error {
color: var(--vscode-terminal-ansiBrightRed);
}
/* Add parts tab */
.simulator .panel-add select {
/* Not exactly the same as in VSCode but close enough */
background-color: var(--vscode-settings-dropdownBackground);
border: 1px solid var(--vscode-settings-dropdownBorder);
color: var(--vscode-settings-dropdownForeground);
padding: 2px 8px;
}
.simulator .panel-add button {
display: inline-block;
border: 0px;
padding: 2px 14px;
color: var(--vscode-button-foreground);
background: var(--vscode-button-background);
font-size: 13px;
}
.simulator .panel-add button:hover {
background: var(--vscode-button-hoverBackground);
}
/* Templates should be hidden */
.simulator .templates {
display: none;
}