Spaces:
Runtime error
Runtime error
gaparmar
commited on
Commit
•
d197949
1
Parent(s):
23380af
adding style
Browse files
style.css
ADDED
@@ -0,0 +1,206 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css');
|
2 |
+
|
3 |
+
/* the outermost contrained of the app */
|
4 |
+
.main{
|
5 |
+
display: flex;
|
6 |
+
justify-content: center;
|
7 |
+
align-items: center;
|
8 |
+
width: 1000px;
|
9 |
+
}
|
10 |
+
|
11 |
+
/* #main_row{
|
12 |
+
|
13 |
+
} */
|
14 |
+
|
15 |
+
/* hide this class */
|
16 |
+
.svelte-p4aq0j {
|
17 |
+
display: none;
|
18 |
+
}
|
19 |
+
|
20 |
+
.wrap.svelte-p4aq0j.svelte-p4aq0j {
|
21 |
+
display: none;
|
22 |
+
}
|
23 |
+
|
24 |
+
#download_sketch{
|
25 |
+
display: none;
|
26 |
+
}
|
27 |
+
|
28 |
+
#download_output{
|
29 |
+
display: none;
|
30 |
+
}
|
31 |
+
|
32 |
+
#column_input, #column_output{
|
33 |
+
width: 500px;
|
34 |
+
display: flex;
|
35 |
+
/* justify-content: center; */
|
36 |
+
align-items: center;
|
37 |
+
}
|
38 |
+
|
39 |
+
#tools_header, #input_header, #output_header, #process_header {
|
40 |
+
display: flex;
|
41 |
+
justify-content: center;
|
42 |
+
align-items: center;
|
43 |
+
width: 400px;
|
44 |
+
}
|
45 |
+
|
46 |
+
|
47 |
+
#nn{
|
48 |
+
width: 100px;
|
49 |
+
height: 100px;
|
50 |
+
}
|
51 |
+
|
52 |
+
|
53 |
+
#column_process{
|
54 |
+
display: flex;
|
55 |
+
justify-content: center; /* Center horizontally */
|
56 |
+
align-items: center; /* Center vertically */
|
57 |
+
height: 600px;
|
58 |
+
}
|
59 |
+
|
60 |
+
/* this is the "UNDO_BUTTON, X_BUTTON" */
|
61 |
+
div.svelte-1030q2h{
|
62 |
+
width: 30px;
|
63 |
+
height: 30px;
|
64 |
+
display: none;
|
65 |
+
}
|
66 |
+
|
67 |
+
|
68 |
+
#component-5 > div{
|
69 |
+
border: 0px;
|
70 |
+
box-shadow: none;
|
71 |
+
}
|
72 |
+
|
73 |
+
#cb-eraser, #cb-line{
|
74 |
+
display: none;
|
75 |
+
}
|
76 |
+
|
77 |
+
/* eraser text */
|
78 |
+
#cb-eraser > label > span{
|
79 |
+
display: none;
|
80 |
+
}
|
81 |
+
#cb-line > label > span{
|
82 |
+
display: none;
|
83 |
+
}
|
84 |
+
|
85 |
+
|
86 |
+
.button-row {
|
87 |
+
display: flex;
|
88 |
+
justify-content: center;
|
89 |
+
align-items: center;
|
90 |
+
height: 50px;
|
91 |
+
border: 0px;
|
92 |
+
}
|
93 |
+
|
94 |
+
#my-toggle-pencil{
|
95 |
+
background-image: url("https://icons.getbootstrap.com/assets/icons/pencil.svg");
|
96 |
+
background-color: white;
|
97 |
+
background-size: cover;
|
98 |
+
margin: 0px;
|
99 |
+
box-shadow: none;
|
100 |
+
width: 40px;
|
101 |
+
height: 40px;
|
102 |
+
}
|
103 |
+
|
104 |
+
#my-toggle-pencil.clicked{
|
105 |
+
background-image: url("https://icons.getbootstrap.com/assets/icons/pencil-fill.svg");
|
106 |
+
transform: scale(0.98);
|
107 |
+
background-color: gray;
|
108 |
+
background-size: cover;
|
109 |
+
/* background-size: 95%;
|
110 |
+
background-position: center; */
|
111 |
+
/* border: 2px solid #000; */
|
112 |
+
margin: 0px;
|
113 |
+
box-shadow: none;
|
114 |
+
width: 40px;
|
115 |
+
height: 40px;
|
116 |
+
}
|
117 |
+
|
118 |
+
|
119 |
+
#my-toggle-eraser{
|
120 |
+
background-image: url("https://icons.getbootstrap.com/assets/icons/eraser.svg");
|
121 |
+
background-color: white;
|
122 |
+
background-color: white;
|
123 |
+
background-size: cover;
|
124 |
+
margin: 0px;
|
125 |
+
box-shadow: none;
|
126 |
+
width: 40px;
|
127 |
+
height: 40px;
|
128 |
+
}
|
129 |
+
|
130 |
+
#my-toggle-eraser.clicked{
|
131 |
+
background-image: url("https://icons.getbootstrap.com/assets/icons/eraser-fill.svg");
|
132 |
+
transform: scale(0.98);
|
133 |
+
background-color: gray;
|
134 |
+
background-size: cover;
|
135 |
+
margin: 0px;
|
136 |
+
box-shadow: none;
|
137 |
+
width: 40px;
|
138 |
+
height: 40px;
|
139 |
+
}
|
140 |
+
|
141 |
+
|
142 |
+
|
143 |
+
#my-button-undo{
|
144 |
+
background-image: url("https://icons.getbootstrap.com/assets/icons/arrow-counterclockwise.svg");
|
145 |
+
background-color: white;
|
146 |
+
background-size: cover;
|
147 |
+
margin: 0px;
|
148 |
+
box-shadow: none;
|
149 |
+
width: 40px;
|
150 |
+
height: 40px;
|
151 |
+
}
|
152 |
+
|
153 |
+
#my-button-clear{
|
154 |
+
background-image: url("https://icons.getbootstrap.com/assets/icons/x-lg.svg");
|
155 |
+
background-color: white;
|
156 |
+
background-size: cover;
|
157 |
+
margin: 0px;
|
158 |
+
box-shadow: none;
|
159 |
+
width: 40px;
|
160 |
+
height: 40px;
|
161 |
+
|
162 |
+
}
|
163 |
+
|
164 |
+
|
165 |
+
#my-button-down{
|
166 |
+
background-image: url("https://icons.getbootstrap.com/assets/icons/arrow-down.svg");
|
167 |
+
background-color: white;
|
168 |
+
background-size: cover;
|
169 |
+
margin: 0px;
|
170 |
+
box-shadow: none;
|
171 |
+
width: 40px;
|
172 |
+
height: 40px;
|
173 |
+
|
174 |
+
}
|
175 |
+
|
176 |
+
.pad2{
|
177 |
+
padding: 2px;
|
178 |
+
background-color: white;
|
179 |
+
border: 2px solid #000;
|
180 |
+
margin: 10px;
|
181 |
+
display: flex;
|
182 |
+
justify-content: center; /* Center horizontally */
|
183 |
+
align-items: center; /* Center vertically */
|
184 |
+
}
|
185 |
+
|
186 |
+
|
187 |
+
|
188 |
+
|
189 |
+
#output_image, #input_image{
|
190 |
+
border-radius: 0px;
|
191 |
+
border: 5px solid #000;
|
192 |
+
border-width: none;
|
193 |
+
}
|
194 |
+
|
195 |
+
|
196 |
+
#output_image > img{
|
197 |
+
border: 5px solid #000;
|
198 |
+
border-radius: 0px;
|
199 |
+
border-width: none;
|
200 |
+
}
|
201 |
+
|
202 |
+
#input_image > div.image-container.svelte-p3y7hu > div.wrap.svelte-yigbas > canvas:nth-child(1){
|
203 |
+
border: 5px solid #000;
|
204 |
+
border-radius: 0px;
|
205 |
+
border-width: none;
|
206 |
+
}
|