1
0
mirror of https://github.com/robonen/metr.git synced 2026-03-20 10:54:41 +00:00

+Vue +edited backend

This commit is contained in:
Konstantin Vinokurov
2022-05-31 00:39:24 +07:00
parent e20789565e
commit 2825c1a4c8
11 changed files with 994 additions and 139 deletions

View File

@@ -385,4 +385,58 @@ h1, h2, h3, h4, h5, h6 {
width: 166px;
height: 48px;
margin: 0;
}
}
.parametrs__block ul {
padding:0;
margin:0;
list-style: none;
position: relative;
}
/* применяем inline-block позиционирование к элементам навигации */
.parametrs__block ul li {
margin: 0px -7px 0 0;
display:inline-block;
background-color: #E64A19;
}
/* стилизуем ссылки */
.parametrs__block a {
display:block;
padding:0 10px;
color:#FFF;
font-size:20px;
line-height: 60px;
text-decoration:none;
}
/* изменяем цвет фона при наведении курсора */
.parametrs__block a:hover {
background-color: #000000;
}
.parametrs__block ul ul {
display: none;
position: absolute;
top: 100%;
}
/* отображаем выпадающий список при наведении */
.parametrs__block ul li:hover > ul {
display:inherit;
}
/* первый уровень выпадающего списка */
.parametrs__block ul ul li {
z-index: 100;
min-width:170px;
float:none;
display:list-item;
position: relative;
}