-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTransferToken.css
More file actions
135 lines (121 loc) · 3.45 KB
/
TransferToken.css
File metadata and controls
135 lines (121 loc) · 3.45 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
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
/* Основная карточка трансфера */
.transfer-card {
background: rgba(0, 0, 0, 0.089);
border: 1px solid rgba(0, 242, 255, 0.2);
border-radius: 20px;
padding: 20px;
backdrop-filter: blur(12px);
width: 100%;
max-width: 400px;
margin: 0 auto;
text-align: center;
box-sizing: border-box;
}
/* Общие стили для инпутов */
input {
box-sizing: border-box;
font-family: 'Segoe UI', Roboto, sans-serif;
outline: none;
}
/* Убираем стрелочки (spin-buttons) у числовых инпутов, чтобы текст не смещался */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/*
/* Контейнер ввода в стиле Web3 */
.web3-input {
position: relative;
display: flex;
align-items: center;
background: #0d1117;
border: 1px solid #30363d;
border-radius: 12px;
margin-top: 8px;
height: 50px; /* Фиксированная высота для центровки */
transition: border-color 0.2s;
overflow: hidden;
}
.web3-input:focus-within {
border-color: #00f2ff;
}
.web3-input input {
background: transparent;
border: none;
color: #fff;
padding: 0 16px; /* Равномерный отступ слева */
flex-grow: 1;
width: 100%;
font-size: 1rem;
height: 100%;
line-height: 1; /* Гарантирует вертикальную центровку текста */
display: flex;
align-items: center;
}
/* Кнопка MAX внутри инпута */
.max-badge {
display: inline-flex;
align-items: center;
justify-content: center;
background: #00f2ff;
color: #000;
border: none;
border-radius: 6px;
height: 24px; /* Компактная высота */
padding: 0 10px;
font-size: 0.75rem;
font-weight: 800;
text-transform: uppercase;
cursor: pointer;
margin-right: 12px;
line-height: 1;
transition: all 0.2s;
}
.max-badge:hover {
box-shadow: 0 0 12px rgba(0, 242, 255, 0.6);
transform: scale(1.05);
}
/* Текст MIRTA и акценты */
.cyan-text {
color: #00f2ff;
text-shadow: 0 0 8px rgba(0, 242, 255, 0.4);
}
/* Главная кнопка SEND */
.main-btn {
display: inline-flex; /* Позволяет центрировать текст внутри и саму кнопку снаружи */
align-items: center;
justify-content: center;
width: 220px;
height: 48px;
margin: 20px auto 0;
background: #00f2ff;
color: #000;
border: none;
border-radius: 12px;
font-weight: 800;
text-transform: uppercase;
cursor: pointer;
line-height: 1;
transition: all 0.3s;
box-shadow: 0 4px 15px rgba(0, 242, 255, 0.2);
}
.main-btn:hover {
box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
transform: translateY(-2px);
}
.main-btn:active {
transform: translateY(0);
}
@media (max-width: 768px) {
.transfer-card {
padding: 18px;
border-radius: 16px;
max-width: 100%; /* На планшетах делаем почти на всю ширину */
margin: 10px auto;
}
.main-btn {
width: 100%; /* Кнопка на всю ширину */
max-width: 280px;
}
}