-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
127 lines (111 loc) · 1.93 KB
/
index.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
/* outline: 1px solid red; */
}
html {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
input {
width: 100%;
padding: 0.5em;
border: 1px solid gray;
}
input[type="file"] {
cursor: pointer;
}
input[type="file"]:hover {
background-color: rgba(0, 0, 0, 0.05);
}
button {
padding: 1em;
border: 1px solid gray;
cursor: pointer;
}
button:hover {
background-color: rgba(0, 0, 0, 0.05);
}
button:active {
background-color: rgba(0, 0, 0, 0.1);
}
label {
display: grid;
grid-auto-flow: row;
padding: 0.5em;
gap: 0.5em;
background-color: rgba(0, 0, 0, 0.02);
border: 1px solid gray;
}
label:hover {
background-color: rgba(0, 0, 0, 0.05);
}
main {
background-color: whitesmoke;
color: #1e1e1e;
display: grid;
width: 100%;
min-height: 100vh;
grid-template-areas:
"controls preview"
"results results";
grid-template-columns: 1fr 1fr;
grid-template-rows: 500px auto;
padding: 1em;
gap: 1em;
}
.panel {
display: grid;
grid-auto-flow: row;
align-self: center;
align-content: start;
gap: 1em;
grid-area: controls;
}
.panel .file-config {
display: grid;
grid-auto-flow: row;
gap: 1em;
}
.panel .sheet-config {
display: grid;
grid-auto-flow: row;
gap: 1em;
grid-template-areas:
"TITLE TITLE TITLE"
"I1 I2 I3";
}
.panel .sheet-config h3 {
grid-area: TITLE;
}
.panel .result-config {
display: grid;
grid-auto-flow: row;
gap: 1em;
grid-template-areas:
"TITLE TITLE"
"I1 I2";
}
.panel .result-config h3 {
grid-area: TITLE;
}
.preview {
display: grid;
grid-area: preview;
}
.preview canvas {
background-color: rgba(0, 0, 0, 0.1);
}
.results {
grid-area: results;
/* display: grid; */
/* grid-auto-flow: column; */
/* gap: 1em; */
}
.results .partN {
background-color: white;
outline: 1px solid black;
}
.results .partN canvas {
outline: 0.2em dashed rgba(0, 0, 0, 0.1);
}