-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.css
More file actions
97 lines (90 loc) · 2.19 KB
/
App.css
File metadata and controls
97 lines (90 loc) · 2.19 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
96
97
.tx-status-popup {
position: fixed;
top: 32px;
left: 50%;
transform: translateX(-50%);
z-index: 2000;
background: linear-gradient(135deg, #1b5e20 80%, #2e7d32 100%);
color: #eaffea;
border: none;
border-radius: 18px;
padding: 1.3em 2.8em 1.3em 1.2em;
font-size: 1.18em;
font-weight: 600;
box-shadow: 0 8px 32px #000c, 0 1.5px 8px #4caf5040;
min-width: 280px;
max-width: 92vw;
text-align: left;
margin-top: 0.5em;
letter-spacing: 0.01em;
display: flex;
align-items: center;
gap: 1em;
animation: popup-fadein 0.35s cubic-bezier(.4,1.6,.6,1) both;
transition: opacity 0.4s;
opacity: 1;
}
.tx-status-popup.hide {
opacity: 0;
pointer-events: none;
}
.tx-status-popup__icon {
font-size: 1.6em;
margin-right: 0.5em;
display: flex;
align-items: center;
}
.tx-status-popup__close {
background: none;
border: none;
color: #b9ffb9;
font-size: 1.2em;
margin-left: auto;
cursor: pointer;
padding: 0.2em 0.5em;
border-radius: 4px;
transition: background 0.2s;
}
.tx-status-popup__close:hover {
background: #388e3c44;
}
.tx-status-popup.success, .tx-status-popup.success:where(*) {
background: linear-gradient(135deg, #1b5e20 80%, #2e7d32 100%) !important;
color: #eaffea !important;
border: none !important;
box-shadow: 0 8px 32px #000c, 0 1.5px 8px #4caf5040 !important;
}
.tx-status-popup.error {
background: linear-gradient(135deg, #3d1b1b 80%, #7b2323 100%);
color: #ffb9b9;
border: none;
}
@keyframes popup-fadein {
from { opacity: 0; top: 0; }
to { opacity: 1; top: 32px; }
}
button {
border: none;
background: linear-gradient(135deg, #388e3c 80%, #43a047 100%);
color: #fff;
border-radius: 8px;
padding: 0.55rem 1.1rem;
cursor: pointer;
font-weight: 700;
font-size: 1.08em;
box-shadow: 0 2px 8px #0002;
transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
outline: none;
}
button:active {
transform: scale(0.97);
box-shadow: 0 1px 4px #0001;
}
button:hover {
background: linear-gradient(135deg, #43a047 80%, #388e3c 100%);
}
button:disabled {
cursor: not-allowed;
opacity: 0.5;
filter: grayscale(0.2);
}