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