-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
161 lines (137 loc) · 2.39 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
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
* {
padding: 0;
margin: 0;
font-family: 'Roboto', sans-serif;
}
html {
width: 100%;
height: 100%;
}
body {
position: relative;
display: grid;
overflow: hidden;
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 16px;
background-color: #0e0e10;
color: #fff;
color-scheme: dark;
gap: 16px;
grid-template-columns: 1fr 350px;
grid-template-rows: 1fr;
}
#view {
width: auto;
height: 100%;
}
#axes {
position: absolute;
top: 15px;
left: 15px;
}
.canvas-container,
.control-panel {
position: relative;
width: 100%;
height: 100%;
border: 1px solid hsla(0deg, 0%, 100%, 5%);
background-color: #131416;
border-radius: 8px;
}
.canvas-container {
display: flex;
overflow: hidden;
justify-content: center;
background-color: #000;
}
.control-panel {
width: 100%;
height: 100%;
flex-direction: column;
overflow-y: auto;
}
.control-panel section {
box-sizing: border-box;
padding: 20px;
border-bottom: 1px solid hsla(0deg, 0%, 100%, 5%);
}
.control-panel section:last-child {
border-bottom: none;
}
.control-panel h2 {
width: 100%;
margin-bottom: 0.5rem;
font-size: 1.5rem;
font-weight: 700;
}
.control-panel fieldset {
border: none;
margin-bottom: 1rem;
}
.control-panel legend {
width: 100%;
height: 1.5rem;
margin-bottom: 0.375rem;
font-size: 1rem;
font-weight: 500;
line-height: 1.5rem;
}
.form-group {
display: flex;
flex-direction: column;
gap: 1rem;
}
.form-group_inline {
width: 100%;
flex-direction: row;
}
.input-group {
display: flex;
flex: 1 0 auto;
flex-direction: column;
column-gap: 0.5rem;
row-gap: 0.375rem;
}
.input-group_inline {
width: 0;
flex-direction: row;
align-items: center;
}
.input-group label {
font-weight: 500;
}
.input-group input {
min-width: 0;
}
.button,
.input {
padding: 8px 18px;
border: none;
background-color: hsla(0deg, 0%, 100%, 5%);
border-radius: 5px;
box-shadow: inset -1px 0px 1px hsla(0deg, 0%, 100%, 4%),
inset 0px 0px 6px hsla(0deg, 0%, 100%, 3%);
color: #fff;
font-size: 0.875rem;
outline: none;
}
.input {
padding: 6px 0px 6px 12px;
}
.button:hover {
background-color: hsla(0deg, 0%, 100%, 15%);
}
.button:focus-visible {
outline: 1px solid hsla(0deg, 0%, 100%, 30%);
}
.button:active {
transform: scale(0.95);
}
@media (max-width: 768px) {
body {
grid-template-columns: 1fr;
grid-template-rows: 3fr 2fr;
}
}