-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (110 loc) · 1.91 KB
/
style.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
109
110
111
112
113
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@200;400;700;900&display=swap');
body {
width: 100vw;
height: 100vh;
margin: 0;
font-family: 'Source Code Pro', monospace;
}
.btn {
padding: 4px 8px;
background: #6e6e6e;
border-radius: 4px;
text-align: center;
}
.pad > .btn, .pad > select {
margin-right: 4px;
}
input {
outline: none;
border: none;
border-bottom: 2px solid rgba(0,0,0,.4);
margin-right: 4px;
font-family: 'Source Code Pro', monospace;
font-size: 1em;
}
select {
border: none;
padding: 4px;
font-family: 'Source Code Pro';
border-bottom: 2px solid rgba(0,0,0,.4);
outline: none;
}
.flex-basic {
display: flex;
align-items: center;
}
.browser-root {
width: 98vw;
height: 70vh;
margin: 0 auto;
border: 2px solid black;
padding: 4px;
overflow: auto;
}
.btn:hover {
cursor: pointer;
}
.btn span {
color: #fff;
}
.edit-btn {
opacity: 0;
display: inline;
margin-right: 4px;
}
.elem-wrapper {
padding: 3px 2px;
}
.root-wr {
padding-left: 16px;
}
.elem-wrapper:hover .edit-btn {
opacity: 1;
}
.create-row {
display: inline;
opacity: 0;
}
.create-row > * {
margin: 0 4px;
}
.container-wr > div:hover >.create-row {
opacity: 1;
}
.valtype-null, .valtype-boolean {
color: purple;
}
.valtype-string {
color: blue;
}
.valtype-number {
color: green;
}
.dark-theme {
background: #212121;
}
.dark-theme input, .dark-theme textarea {
background: #2e2e2e;
color: #cecece;
}
.dark-theme span, .dark-theme div {
color: #cecece;
}
.dark-theme .browser-root {
background: #2e2e2e;
}
.dark-theme .btn, .dark-theme select {
background: #4e4e4e;
}
.dark-theme .btn span, .dark-theme select {
color: #eaeaea;
}
.dark-theme .valtype-null, .dark-theme .valtype-boolean {
color: #b12fb1;
}
.dark-theme .valtype-string {
color: #2f94ff;
}
.dark-theme .valtype-number {
color: #00dd12;
}