-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyles.css
More file actions
95 lines (90 loc) · 1.55 KB
/
styles.css
File metadata and controls
95 lines (90 loc) · 1.55 KB
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
.container {
position: relative;
display: inline-block;
margin: 20px;
}
canvas {
position: absolute;
top: 0;
left: 0;
}
#sourceCanvas {
z-index: 1;
}
#maskCanvas {
z-index: 2;
pointer-events: none;
}
.controls {
margin: 20px;
}
#negativeBtn {
padding: 10px 20px;
background-color: #FF6347;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
#negativeBtn.negativeMode {
background-color: #FF4500;
}
#resetBtn {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
margin-left: 10px;
}
#resetBtn:disabled {
background-color: #cccccc;
cursor: not-allowed;
}
#testImage1, #testImage2 {
padding: 10px 20px;
background-color: #2196F3;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
margin-left: 10px;
}
#imageInput {
margin-left: 10px;
}
#testImage1:hover, #testImage2:hover {
background-color: #1976D2;
}
.spinner {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50px;
height: 50px;
border: 5px solid #f3f3f3;
border-top: 5px solid #2196F3;
border-radius: 50%;
animation: spin 1s linear infinite;
z-index: 1000;
}
.spinner-backdrop {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
}
.file-input-container {
margin-top: 10px;
}
@keyframes spin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}