-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome_styles.css
220 lines (188 loc) · 4.79 KB
/
home_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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
/* Застосування загального фону та шрифтів */
/* Створення контейнера з відступами та тінню як на сторінці реєстрації */
.content-container {
width: 100%;
max-width: 1000px;
margin: 50px auto;
padding: 20px;
background-color: #fff;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.content-container-1 {
width: 100%;
max-width: 1000px;
margin: 50px auto;
padding: 20px;
background-color: #fff;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
overflow: auto;
}
/* Стилізація заголовку та кнопки профілю */
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
h2 {
color: #333;
margin-right: 80px;
margin-top: 8px;
margin-left: 0px;
font-size: 30px;
font-weight: bolder;
}
.mall-container {
width: 100%;
max-width: 400px;
margin: 20px auto; /* Зменшив маржі для більшого простору між контейнерами */
padding: 20px;
background-color: #fff;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
}
/* Стилізація списку торгових центрів */
/* Стилізація блоку торгового центру */
.mall {
background-color: #f9f9f9;
padding: 15px;
margin-bottom: 10px;
border-radius: 4px;
}
.mall h4 {
font-weight: bolder;
font-size: 20px;
text-align: center;
}
.mall h1 {
color: #4cae4c;
font-weight: bolder;
font-size: 20px;
}
.mall h3 {
font-weight: bold;
color: #666;
font-size: 18px;
}
.mall p {
color: #666;
font-size: 16px;
}
.profile-button {
padding: 8px 15px;
background-color: #28a745;
color: white;
text-decoration: none;
border-radius: 4px;
font-size: 16px;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
margin-left: 10px;
float: right;
}
.profile-button-2 {
padding: 8px 15px;
background-color: black;
color: white;
text-decoration: none;
border-radius: 4px;
font-size: 16px;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
float: left;
}
.profile-button-3 {
padding: 8px 15px;
margin-top: 10px;
background-color: black;
color: white;
text-decoration: none;
border-radius: 4px;
font-size: 16px;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
}
.profile-button-2:hover {
background-color: #333; /* Новий колір при наведенні */
color: white; /* Новий колір тексту при наведенні */
text-decoration: none;
}
.profile-button:hover {
background-color: #28a745;
}
.no-malls {
text-align: center;
color: #999;
}
.add-button {
padding: 8px 15px;
background-color: black;
color: white;
text-decoration: none;
border-radius: 4px;
font-size: 16px;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
}
.add-button:hover {
background-color: #333; /* Новий колір при наведенні */
color: white; /* Новий колір тексту при наведенні */
text-decoration: none;
}
.image-container img {
margin-bottom: 10px;
max-width: 100%; /* Робить фото адаптивним */
height: auto;
}
/*js styles*/
/* Dropdown Button */
.dropbtn {
background-color: black;
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
border-radius: 4px;
}
/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
background-color: #2980B9;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
position: relative;
display: inline-block;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd}
/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}
#users-list {
display: block;
margin-top: 20px; /* Можете змінити це значення відповідно до вашого бажаного відступу */
}