css: Use SCSS nesting for `.portico-header .dropdown ul li` in portico.scss.

This commit is contained in:
Siddharth Varshney 2020-03-25 05:01:01 +05:30 committed by Tim Abbott
parent f04bfbed89
commit 6f1def6a29
1 changed files with 19 additions and 23 deletions

View File

@ -629,36 +629,32 @@ input.text-error {
margin: 0;
padding: 3px 10px;
text-align: left;
opacity: 1;
cursor: pointer;
}
.portico-header .dropdown ul li:hover {
&:hover {
background-color: hsl(190, 10%, 90%);
transition: none;
}
.portico-header .dropdown ul li a {
a {
display: block;
margin: 2px 0px;
padding: 0px;
transition: none;
font-size: 0.9em;
font-weight: 400;
color: hsl(0, 0%, 27%);
}
.portico-header .dropdown ul li:hover a {
&:hover a {
background-color: transparent;
}
.portico-header .dropdown ul li a i {
a i {
margin-right: 5px;
}
}
.portico-header .dropdown-pill {
border: 1px solid hsla(0, 0%, 0%, 0.2);