css dropdown menu
This commit is contained in:
parent
0649965ecb
commit
c0adb341fc
2 changed files with 4 additions and 6 deletions
|
@ -137,12 +137,12 @@ body{
|
||||||
}
|
}
|
||||||
.nav-link{
|
.nav-link{
|
||||||
padding: 0.3rem 0;
|
padding: 0.3rem 0;
|
||||||
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
.nav-link, .dropdown-item{
|
.nav-link, .dropdown-item{
|
||||||
color: $light;
|
color: $light;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-family: 'Cabin', sans-serif;
|
font-family: 'Cabin', sans-serif;
|
||||||
font-size: 1.2rem;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transition: height 1s ease;
|
transition: height 1s ease;
|
||||||
}
|
}
|
||||||
|
@ -169,10 +169,9 @@ body{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.dropdown-menu{
|
.dropdown-menu{
|
||||||
background: $fond-menu;
|
background: #399975;
|
||||||
border-radius: 0 0 0.2rem 0.2rem;
|
border-radius: 0 0 0.2rem 0.2rem;
|
||||||
border: none;
|
border: none;
|
||||||
border-top: solid 1px $light;
|
|
||||||
}
|
}
|
||||||
.dropdown-item:focus, .dropdown-item:hover{
|
.dropdown-item:focus, .dropdown-item:hover{
|
||||||
background: rgba(255,255,255,0.2);
|
background: rgba(255,255,255,0.2);
|
||||||
|
|
|
@ -12016,13 +12016,13 @@ body {
|
||||||
|
|
||||||
#menu-principal .nav-link {
|
#menu-principal .nav-link {
|
||||||
padding: 0.3rem 0;
|
padding: 0.3rem 0;
|
||||||
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu-principal .nav-link, #menu-principal .dropdown-item {
|
#menu-principal .nav-link, #menu-principal .dropdown-item {
|
||||||
color: #f8f9fa;
|
color: #f8f9fa;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-family: 'Cabin', sans-serif;
|
font-family: 'Cabin', sans-serif;
|
||||||
font-size: 1.2rem;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
-webkit-transition: height 1s ease;
|
-webkit-transition: height 1s ease;
|
||||||
transition: height 1s ease;
|
transition: height 1s ease;
|
||||||
|
@ -12057,10 +12057,9 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu-principal .dropdown-menu {
|
#menu-principal .dropdown-menu {
|
||||||
background: #087f52;
|
background: #399975;
|
||||||
border-radius: 0 0 0.2rem 0.2rem;
|
border-radius: 0 0 0.2rem 0.2rem;
|
||||||
border: none;
|
border: none;
|
||||||
border-top: solid 1px #f8f9fa;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu-principal .dropdown-item:focus, #menu-principal .dropdown-item:hover {
|
#menu-principal .dropdown-item:focus, #menu-principal .dropdown-item:hover {
|
||||||
|
|
Loading…
Add table
Reference in a new issue