-
Notifications
You must be signed in to change notification settings - Fork 115
/
Copy pathstyles.css
162 lines (138 loc) · 3.17 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/* The Modal (background) */
.mobile-wallet-adapter-embedded-modal {
display: flex; /* Use flexbox to center content */
flex-direction: column;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.mobile-wallet-adapter-embedded-modal-content {
background: #10141f;
padding: 20px;
border-radius: 10px;
width: 80%;
max-width: 500px;
text-align: center;
position: relative;
display: flex;
flex-direction: column;
align-items: center; /* Center children horizontally */
}
.mobile-wallet-adapter-embedded-modal-subtitle {
color: #D8D8D8;
}
/* The Close Button */
.mobile-wallet-adapter-embedded-modal-close {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 18px;
right: 18px;
padding: 12px;
cursor: pointer;
background: #1a1f2e;
border: none;
border-radius: 50%;
}
.mobile-wallet-adapter-embedded-modal-close:focus-visible {
outline-color: white;
}
.mobile-wallet-adapter-embedded-modal-close svg {
fill: #777;
transition: fill 200ms ease 0s;
}
.mobile-wallet-adapter-embedded-modal-close:hover svg {
fill: #fff;
}
/* Icon Container */
.icon-container {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.icon {
width: 80px;
height: 80px;
border-radius: 50%;
background-color: #ddd; /* Placeholder for icon background */
}
/* Modal Title */
.mobile-wallet-adapter-embedded-modal-content h1 {
color: white;
font-size: 24px;
}
/* Button Group */
.button-group {
display: flex;
width: 100%;
gap: 10px;
}
.connect-btn, .cancel-btn {
flex: 1;
padding: 12px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 10px;
transition: all 0.3s ease;
}
.connect-btn {
background-color: #007bff;
color: white;
border: none;
}
.connect-btn:hover {
background-color: #0056b3;
}
.cancel-btn {
background-color: transparent;
color: #a0a0a0;
border: 1px solid #a0a0a0;
}
.cancel-btn:hover {
background-color: rgba(160, 160, 160, 0.1);
}
/* Connection Status */
.mobile-wallet-adapter-embedded-modal-connection-status-container {
margin: 20px 0px 20px 0px;
}
.connection-status {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 20px 0;
}
.connection-status p {
margin-top: 10px;
color: #a0a0a0;
}
.bluetooth-icon, .checkmark-icon {
width: 48px;
height: 48px;
}
.spinner {
border: 4px solid #f3f3f3;
border-top: 4px solid #3498db;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* QR Code */
#mobile-wallet-adapter-embedded-modal-qr-code-container {
width: 500px;
height: 500px;
align-content: center;
}