fix: color picker component

This commit is contained in:
reco_luan 2019-08-03 20:04:30 +08:00
parent c54a2c6d02
commit 50893c3bf4
3 changed files with 12 additions and 2 deletions

View File

@ -96,7 +96,7 @@ a.sidebar-link
color $accentColor
&.active
font-weight 600
color $accentColor
color $accentColor!important
border-left-color $accentColor
.sidebar-group &
padding-left 2rem

View File

@ -1,6 +1,6 @@
<template>
<div v-if="showSettings" v-click-outside="hideMenu" class="color-picker">
<a class="color-button" href="#" @click.prevent="showMenu = !showMenu">
<a class="color-button" @click.prevent="showMenu = !showMenu">
<i class="iconfont reco-color"></i>
</a>
<transition name="menu-transition" mode="out-in">

View File

@ -58,6 +58,16 @@ color-mode(accountColor , colorName)
a
span.post-num
color accountColor!important
.color-picker
.color-button
.iconfont
color accountColor!important;
a
color accountColor;
a.sidebar-link
color $textColor
a.sidebar-link:hover
color accountColor!important;
@media (min-width: 765px)