-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
131 lines (113 loc) · 2.35 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
/* Анимация загрузки */
.loader {
border: 5px solid #f3f3f3;
border-radius: 50%;
border-top: 5px solid #3498db;
width: 50px;
height: 50px;
animation: spin 2s linear infinite;
margin: 20px auto;
display: none; /* По умолчанию скрыт */
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Остальные стили */
body {
background-color: #fff;
color: #000;
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
header {
text-align: center;
margin-bottom: 20px;
}
header img {
width: 150px;
height: auto;
}
.container {
width: 350px;
padding: 20px;
border-radius: 10px;
background-color: #f2f2f2;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
h2 {
color: #ffcc00;
}
form {
margin-top: 20px;
}
label {
display: block;
margin-bottom: 5px;
}
input[type="number"],
input[type="text"] {
width: calc(100% - 22px);
padding: 8px;
border-radius: 5px;
border: 1px solid #ccc;
margin-bottom: 10px;
}
button[type="submit"] {
width: 100%;
padding: 10px;
background-color: #ffcc00;
color: #000;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
button[type="submit"]:hover {
background-color: #ffdb4d;
}
/* Добавляем стили для оверлея */
#overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.8);
z-index: 9999;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
}
#overlay img {
width: 100px; /* Размер анимированного GIF */
height: auto;
}
#loadingText {
margin-top: 10px;
}
/* Добавим стили для навигационной панели */
.navigation {
margin-top: 20px;
}
.navigation a {
display: inline-block;
padding: 10px 20px;
margin: 0 10px;
background-color: #ffcc00;
color: #000;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.navigation a:hover {
background-color: #ffdb4d;
}