add support for custom color
This commit is contained in:
parent
e8f3b2c328
commit
cb3b475b9d
5 changed files with 62 additions and 176 deletions
|
|
@ -33,11 +33,6 @@ nav > ul > li > a {
|
|||
line-height: 1;
|
||||
}
|
||||
|
||||
nav > ul > li:hover > a,
|
||||
nav > ul > li:active > a {
|
||||
color: #009982;
|
||||
}
|
||||
|
||||
nav > ul > li:hover > a::after,
|
||||
nav > ul > li:active > a::after {
|
||||
content: '';
|
||||
|
|
@ -46,7 +41,6 @@ nav > ul > li:active > a::after {
|
|||
left: 0;
|
||||
width: 100%;
|
||||
height: 1.55556rem;
|
||||
border-bottom: 4px solid #009982;
|
||||
}
|
||||
|
||||
nav > ul > li.opened .nav-first-level-opener::after {
|
||||
|
|
@ -71,7 +65,6 @@ nav > ul > li .nav-first-level-opener span {
|
|||
nav > ul > li .nav-first-level-opener::before, nav > ul > li .nav-first-level-opener::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
background-color: #009982;
|
||||
transition: transform .3s;
|
||||
}
|
||||
|
||||
|
|
@ -226,7 +219,6 @@ nav > ul > li .nav-first-level-opener::after {
|
|||
display: inline-block;
|
||||
margin-bottom: 1rem;
|
||||
margin-left: 2rem;
|
||||
color: #009982;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
|
@ -301,7 +293,6 @@ nav > ul > li .nav-first-level-opener::after {
|
|||
.nav-second-level .nav-second-level-opener::before, .nav-second-level .nav-second-level-opener::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
background-color: #009982;
|
||||
transition: transform .3s;
|
||||
}
|
||||
|
||||
|
|
@ -399,7 +390,4 @@ nav ul li:hover .nav-second-level {
|
|||
margin-top: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.opened > a {
|
||||
color: #009982;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue