-
Notifications
You must be signed in to change notification settings - Fork 2
/
stylesheet.css
177 lines (170 loc) · 3.07 KB
/
stylesheet.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
:root {
--background: rgba(20, 20, 20);
--col: rgb(179, 179, 179);
}
html,
body {
margin: 0;
padding: 0;
font-family: sans-serif;
background-color: var(--background);
color: var(--col);
text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
overflow: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
display: inline;
padding: 0;
margin: 0;
}
#toolbar {
width: calc(100vw - 0.5rem);
padding-left: 0.5rem;
padding-top: 0.2rem;
padding-bottom: 0.2rem;
font-size: 1rem;
line-height: 1.5rem;
border-bottom: 2px solid var(--col);
}
#blockly {
width: 60vw;
height: calc(100vh - 2.9rem - 2px);
}
table,
tr,
td {
padding: 0;
margin: 0;
border: 0;
outline: 0;
position: relative;
}
button {
background-color: rgba(255, 255, 255, 0.1);
color: white;
border: 0;
font-size: 1rem;
line-height: 1rem;
border-radius: 0.2rem;
cursor: pointer;
transition: 0.4s;
}
button:active {
background-color: rgba(255, 255, 255, 0.2) !important;
transition: 0.1s;
}
button:hover {
background-color: rgba(255, 255, 255, 0.13);
}
.datablock {
position: relative;
width: 8rem;
height: 8rem;
display: inline-block;
border: 1px solid white;
border-radius: 0.5rem;
padding: 0.5rem;
margin-left: 0.5rem;
margin-top: 0.3rem;
overflow: hidden;
transition: 0.3s;
}
.datablock h4 {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.datablock .controls {
position: absolute;
bottom: 4px;
justify-self: end;
}
td {
vertical-align: top;
}
#right {
text-align: left;
justify-content: start;
align-items: start;
width: calc(40vw - 8px);
height: calc(100vh - 2.9rem);
overflow-y: auto;
display: inline-block;
}
#right input[type="search"] {
display: block;
width: 100%;
margin-bottom: 0.15rem;
outline: 0;
}
#propnav {
width: 100%;
min-height: 5rem;
height: 16rem;
max-height: 80vh;
margin-bottom: 1rem;
overflow-y: scroll;
border-bottom: 1px solid white;
resize: vertical;
overflow-x: visible;
}
.datablock.selected {
outline: 4px solid rgba(255, 255, 255, 0.4);
background-color: rgba(255, 255, 255, 0.05);
}
.datablock.selected h4 {
position: absolute;
top: 0;
left: 0;
right: 0;
padding-top: 0.5rem;
padding-left: 0.5rem;
color: var(--background);
background-color: var(--col);
}
.hidden {
display: none !important;
}
select {
background-color: rgba(255, 255, 255, 0.05);
color: white;
outline: 0 !important;
border: 1px solid white;
border-radius: 0.3rem;
}
select option {
color: white;
background-color: black;
}
#addtype {
margin-right: 0.1rem;
}
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 6px;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
border-radius: 6px;
transition: 0.3s;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.2);
}
::-webkit-resizer {
background-image: url('assets/resize.svg');
}
.blocklyMenu, .blocklyEditableText > .blocklyText:not(.blocklyDropdownText) {
text-shadow: none;
}
.selectSearch {
border: 2px solid purple !important;
}