-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
165 lines (143 loc) · 6.97 KB
/
Copy pathstyle.css
File metadata and controls
165 lines (143 loc) · 6.97 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
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
163
164
165
:root {
--primary: #30A3E6;
--primary-dark: #3031E6;
--primary-medium: #306AE6;
--accent: #01DBE6;
--purple: #6B30E6;
--gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary) 100%);
--bg-primary: #0a0f1a;
--bg-secondary: #111827;
--bg-card: rgba(17, 24, 39, 0.8);
--text-primary: #ffffff;
--text-secondary: #94a3b8;
--text-dim: #64748b;
--border: rgba(48, 163, 230, 0.3);
--radius: 16px;
--radius-sm: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Inter', sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
/* Если у вас есть картинка, раскомментируйте это:
background-image: url('bg.jpg');
background-size: cover;
background-attachment: fixed; */
}
/* Градиентный фон если нет картинки */
.bg-gradient {
position: fixed;
inset: 0;
background: radial-gradient(circle at top left, rgba(107,48,230,0.15), transparent 40%),
radial-gradient(circle at bottom right, rgba(48,163,230,0.15), transparent 40%);
z-index: -1;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 30px 15px;
}
.header { text-align: center; margin-bottom: 30px; }
/* Жесткие размеры логотипа для Telegram */
.logo-img {
width: 90px !important;
height: 90px !important;
border-radius: 20px;
object-fit: cover;
}
.logo-placeholder { font-size: 60px; }
.title {
font-size: 32px;
font-weight: 800;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-top: 10px;
}
.subtitle { color: var(--text-secondary); }
/* Подписка */
.subscription-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 20px;
margin-bottom: 30px;
}
.section-title { font-size: 18px; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.section-icon { width: 20px !important; height: 20px !important; fill: var(--primary); }
.subscription-box { display: flex; gap: 10px; }
.sub-input {
flex: 1; padding: 14px; background: #000; border: 1px solid var(--border);
border-radius: 8px; color: #fff; width: 100%;
}
.copy-btn {
background: var(--gradient); border: none; color: white;
padding: 0 20px; border-radius: 8px; font-weight: bold; cursor: pointer;
}
/* Платформы */
.platform-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 12px;
}
.platform-card {
background: var(--bg-card); border: 1px solid var(--border);
border-radius: var(--radius); padding: 15px 10px; text-align: center;
cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.platform-icon-wrapper {
width: 48px !important; height: 48px !important; background: var(--gradient);
border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.platform-icon { width: 24px !important; height: 24px !important; fill: white; }
.platform-name { color: #fff; font-size: 13px; font-weight: 600; border: none; background: none;}
/* Инструкции внутри модалки */
.inline-copy-box {
display: flex; flex-direction: column; gap: 10px; margin-top: 10px;
background: rgba(0,0,0,0.3); padding: 15px; border-radius: 8px; border: 1px dashed var(--border);
}
.inline-sub-input {
width: 100%; padding: 12px; background: #000; border: 1px solid var(--border);
color: var(--primary); border-radius: 6px; font-family: monospace; font-size: 12px;
}
/* Модальное окно */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 15px; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); }
.modal-content {
position: relative; background: var(--bg-secondary); border: 1px solid var(--border);
border-radius: var(--radius); width: 100%; max-width: 500px; max-height: 85vh; overflow-y: auto;
}
.modal-header { padding: 15px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.modal-close { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 20px; }
.app-card {
background: rgba(255,255,255,0.05); border: 1px solid var(--border);
padding: 20px; border-radius: 12px; text-align: center; cursor: pointer;
}
.app-icon { font-size: 32px; display: block; margin-bottom: 10px; }
.app-name { color: #fff; font-weight: bold; }
/* Шаги */
.instructions-header { padding: 15px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 15px; }
.back-btn { background: none; border: 1px solid var(--border); color: #fff; padding: 5px 10px; border-radius: 5px; }
.instructions-content { padding: 20px; }
.step { display: flex; gap: 15px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
.step:last-child { border: none; }
.step-number { width: 28px; height: 28px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: bold; }
.step-content h4 { margin-bottom: 5px; color: #fff; }
.step-content p { font-size: 13px; color: var(--text-secondary); }
.step-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; }
.action-btn { padding: 12px; border-radius: 8px; text-align: center; text-decoration: none; font-weight: bold; font-size: 14px; cursor: pointer; border: none; }
.action-btn.download { background: rgba(48, 163, 230, 0.1); color: var(--primary); border: 1px solid var(--primary); }
.action-btn.import { background: var(--primary); color: #fff; }
/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; background: rgba(0,0,0,0.2); }
.faq-question { width: 100%; padding: 15px; background: none; border: none; color: #fff; text-align: left; display: flex; justify-content: space-between; align-items: center; }
.faq-arrow { width: 20px !important; height: 20px !important; fill: #fff; transition: 0.3s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 15px 15px; font-size: 13px; color: var(--text-secondary); }
.faq-item.open .faq-answer { display: block; }
/* Toast */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 100px); background: var(--primary); color: #fff; padding: 10px 20px; border-radius: 8px; opacity: 0; transition: 0.3s; z-index: 9999; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.footer { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 13px; }
.footer a { color: var(--primary); text-decoration: none; }