parent
8fe65208a4
commit
6b1522d065
@ -1,56 +1,47 @@ |
||||
@import "~@/assets/styles/variables.scss"; |
||||
|
||||
.navbar { |
||||
display: flex; |
||||
justify-content: space-between; |
||||
align-items: center; |
||||
flex-wrap: nowrap; |
||||
height: $nav-height; |
||||
padding: 0 12px; |
||||
transition: height .3s ease-in-out; |
||||
overflow: hidden; |
||||
position: relative; |
||||
z-index: 9; |
||||
background: #fff; |
||||
background-color: #fff; |
||||
box-shadow: 0 1px 4px rgba(0, 21, 41, .08); |
||||
|
||||
.navbar-icon { |
||||
font-size: 18px; |
||||
cursor: pointer; |
||||
vertical-align: middle; |
||||
} |
||||
|
||||
.right-menu { |
||||
float: right; |
||||
> div { |
||||
display: flex; |
||||
height: 100%; |
||||
line-height: $nav-height; |
||||
} |
||||
|
||||
&:focus { |
||||
outline: none; |
||||
.navbar-icon { |
||||
font-size: 18px; |
||||
} |
||||
|
||||
.right-menu-item { |
||||
display: inline-block; |
||||
position: relative; |
||||
.navbar-item { |
||||
display: flex; |
||||
align-items: center; |
||||
padding: 0 8px; |
||||
height: 100%; |
||||
font-size: 0; |
||||
color: #5a5e66; |
||||
vertical-align: text-bottom; |
||||
transition: background .3s; |
||||
cursor: pointer; |
||||
|
||||
&:hover:not(#header-search) { |
||||
&:hover { |
||||
background: rgba(0, 0, 0, .025) |
||||
} |
||||
} |
||||
|
||||
.avatar-container { |
||||
.avatar-wrapper { |
||||
display: flex; |
||||
align-items: center; |
||||
height: 100%; |
||||
|
||||
span { |
||||
margin-right: 5px; |
||||
font-size: 18px; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
Loading…
Reference in new issue