css: move menu .tip visibility to layout.scss

This commit is contained in:
Alice Gaudon 2021-01-26 13:37:14 +01:00
parent 2ccebc4295
commit 01a1216c99
2 changed files with 13 additions and 29 deletions

View File

@ -10,28 +10,4 @@ body > header {
font-size: 18px;
line-height: 18px;
}
nav {
ul {
li {
a, button {
.tip {
position: static;
display: block;
visibility: visible;
height: auto;
padding: 0 0 0 4px;
transform: none;
color: inherit;
opacity: 1;
background: transparent;
text-transform: uppercase;
font-size: 16px;
line-height: 16px;
}
}
}
}
}
}

View File

@ -156,10 +156,22 @@ body > header {
}
.tip {
position: static;
visibility: visible;
opacity: 1;
display: block;
height: auto;
margin-left: 8px;
text-transform: inherit;
padding: 0 0 0 4px;
transform: none;
font-size: 16px;
line-height: 16px;
color: inherit;
text-transform: uppercase;
font-weight: inherit;
background: transparent;
}
}
@ -251,10 +263,6 @@ body > header {
margin-top: 0;
margin-left: 8px;
a, button, .button {
@include tip;
}
&:last-child {
a, button, .button {
.tip {