-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
79 lines (68 loc) · 1.34 KB
/
styles.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
@font-face {
font-family: "OCR-B";
src: url("./fonts/ocrbfont.ttf")format("truetype");
}
.container {
max-width: 600px;
margin: 100px auto;
padding: 20px;
border: 1px solid #ddd;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.image-container {
width: 400px;
height: 400px;
}
.image-container canvas {
width: 100%;
height: 100%;
object-fit: contain;
}
.row {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
.row div {
flex: 1;
margin-right: 10px;
}
.row div:last-child {
margin-right: 0;
}
button {
padding: 10px 15px;
border: none;
background-color: #007BFF;
color: #fff;
cursor: pointer;
border-radius: 5px;
}
.loading-indicator {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
}
.spinner {
width: 50px;
height: 50px;
border: 5px solid #fff;
border-radius: 50%;
animation: spin 1s linear infinite;
background: linear-gradient(to right, #FF0000 0%, #FF8000 17%, #FFFF00 33%, #00FF00 50%, #00FFFF 67%, #0080FF 83%, #0000FF 100%);
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}