提交 41640a2b 编写于 作者: E Evan You

tweak search style

上级 a1bed8d4
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
computed: { computed: {
showSuggestions () { showSuggestions () {
return ( return (
this.focused && // this.focused &&
this.suggestions && this.suggestions &&
this.suggestions.length this.suggestions.length
) )
...@@ -143,20 +143,21 @@ export default { ...@@ -143,20 +143,21 @@ export default {
top 1.5rem top 1.5rem
border 1px solid darken($borderColor, 10%) border 1px solid darken($borderColor, 10%)
border-radius 6px border-radius 6px
padding 0.4rem 0 padding 0.4rem
list-style-type none list-style-type none
.suggestion .suggestion
line-height 1.4 line-height 1.4
padding 0.4rem 1rem padding 0.4rem 0.6rem
border-radius 4px
a a
color lighten($textColor, 20%) color lighten($textColor, 35%)
.page-title .page-title
font-weight 600 font-weight 600
.header .header
font-size 0.9em font-size 0.9em
margin-left 0.25em margin-left 0.25em
&.focused &.focused
background-color $lighten($textColor, 50%) background-color #f3f4f5
a a
color $accentColor color $accentColor
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册