-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal.css
More file actions
108 lines (106 loc) · 2 KB
/
global.css
File metadata and controls
108 lines (106 loc) · 2 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
/* Global variables */
:root {
--main-color: green;
--secondary-color: darkgreen;
--main-background-color: black;
--transparency: rgba(0, 0, 0, 0.75);
--error-color: red;
--window-border: 2px solid;
--window-padding: 7px 13px 7px 13px;
}
/* Global styles */
:root, a, select, select > * {
color: var(--main-color);
}
:root, body {
height: 100%;
}
body {
margin: 0;
padding: 0;
display: grid;
grid-template-rows: auto 1fr;
overflow-x: hidden;
}
:root, pre {
font-family: consolas, 'Courier New', Courier, Monaco, monospace;
}
:root, input, select, .jsoneditor, .jsoneditor-menu {
border-color: var(--main-color);
}
fieldset {
border: var(--window-border);
}
input {
color: var(--secondary-color);
background-color: var(--transparency);
}
select {
background: transparent;
}
.cross-close::after {
content: var(--cross-close);
}
.hidden {
display: none !important;
}
.highlight {
overflow: auto;
height: max-content;
}
td {
vertical-align: top;
}
button:not(:disabled) {
cursor: pointer;
}
/* ace-jsoneditor */
.jsoneditor-poweredBy {
display: none !important;
}
.jsoneditor {
border: unset !important;
}
.jsoneditor > .jsoneditor-menu {
background-color: var(--main-color);
}
.jsoneditor .jsoneditor-selected {
background-color: var(--secondary-color) !important;
}
.jsoneditor input {
background-color: unset;
}
/* solid-select */
.solid-select-container {
background-color: var(--main-background-color);
}
.solid-select-option {
color: var(--secondary-color);
}
.solid-select-option:hover {
background-color: var(--main-background-color) #fa7f25;
color: var(--main-color);
}
.solid-select-option[data-focused='true'] {
background-color: var(--main-background-color);
color: var(--main-color);
}
/* Disable style if page is not viewed from root. */
:root.top * {
color: unset;
background-color: unset;
border-color: unset;
}
/* Specifics */
main {
position: relative;
}
#content {
position: absolute;
height: 100%;
width: 100%;
background-color: var(--transparency);
}
#content:empty {
display: none;
}