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; display: none;
} }
.mat-icon, .material-icons { .header-link {
visibility: hidden;
display: inline-block;
color: $mediumgray; 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; display: inline-block;
margin-left: -42px;
padding: 0 8px;
text-decoration: none;
vertical-align: middle; vertical-align: middle;
visibility: hidden;
}
&:hover .header-link {
visibility: visible;
} }
} }