-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
113 lines (98 loc) · 1.86 KB
/
main.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
body {
font-family: Arial, sans-serif;
margin: 0 auto;
}
textarea {
width: 99%;
min-height: 8vh;
font-size: 1em;
overflow: auto;
}
.loading-indicator {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1000;
display: none;
align-items: center;
justify-content: center;
display: none;
}
.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);
}
}
.container {
max-width: 640px;
margin: 20px auto;
padding: 20px;
border: 1px solid #ddd;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
}
.connection {
max-width: 640px;
margin: 10px auto;
padding: 20px;
border: 1px solid #ddd;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
input {
width: 400px;
}
.filler {
flex-grow: 1;
}
.full-img {
width: 640px;
height: 640px;
border: 1px solid #ccc;
display: flex;
flex-direction: row;
}
.full-img img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.thumb-bar {
display: block;
width: 640px;
height: 160px;
/* display: flex; */
overflow-x: auto;
border: 1px solid #ccc;
}
.thumb-box {
width: 160px;
height: 160px;
cursor: pointer;
display: flex;
border: 1px solid #ccc;
/* background-color: silver; */
}
.thumb-box img {
max-width: 100%;
max-height: 100%;
min-width: 100%;
object-fit: contain;
/* border: #ccc 1px solid;
background-color: silver; */
}