Skip to content

Commit 7f3366c

Browse files
committed
navCategorySelector hover 也显示白色
1 parent 8aa2729 commit 7f3366c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ yarn-error.log*
2525

2626

2727
archive
28+
dev-dist

src/framework/navbar/NavbarCategorySelector.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
:style="categoryMenuItemStyle(item)"
1313
@click="toggleCategory(item)"
1414
>{{ item.name }}</div>
15-
<div :class="['navbar-category-list-item' ,'ml-3', {active: storeProject.isFilterShared}]" @click="toggleFilterShared">共享</div>
15+
<div :class="['navbar-category-list-item', 'share-item' ,'ml-3', {active: storeProject.isFilterShared}]" @click="toggleFilterShared">共享</div>
1616

1717
</div>
1818
<div class="navbar-category-list-special">
@@ -112,6 +112,7 @@ $nav-btn-height: 15px;
112112
line-height: $nav-btn-height;
113113
color: transparentize(white, 0.6);
114114
@extend .btn-like;
115+
115116
&.special{
116117
font-weight: bold;
117118
color: transparentize($color-main, 0.4);
@@ -127,10 +128,14 @@ $nav-btn-height: 15px;
127128
&:hover{
128129
font-weight: bold;
129130
color: rgba(255,255,255,0.6);
131+
&.active.share-item{
132+
color: white;
133+
}
130134
&.special{
131135
color: transparentize($color-main, 0.2);
132136
}
133137
}
138+
134139
}
135140
136141
$height-indicator: 8px;

0 commit comments

Comments
 (0)