refactor(aio): simplify `.header-link` styles (#21695)

PR Close #21695
This commit is contained in:
George Kalpakas 2018-01-16 13:08:21 +02:00 committed by Miško Hevery
parent 66191e8a37
commit 94d769de71
1 changed files with 9 additions and 16 deletions

View File

@ -5,25 +5,18 @@
display: none;
}
.mat-icon, .material-icons {
visibility: hidden;
display: inline-block;
.header-link {
color: $mediumgray;
margin: 0 8px;
}
&:hover {
.mat-icon, .material-icons {
visibility: visible;
}
}
a.header-link {
text-decoration: none;
padding-left: 8px;
margin-left: -50px;
display: inline-block;
margin-left: -42px;
padding: 0 8px;
text-decoration: none;
vertical-align: middle;
visibility: hidden;
}
&:hover .header-link {
visibility: visible;
}
}