You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/11/03 08:00:31 UTC
[incubator-echarts-doc] branch next updated: tweak style of
selected option
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
The following commit(s) were added to refs/heads/next by this push:
new 90fd494 tweak style of selected option
90fd494 is described below
commit 90fd494ea5018420fcfb1ceaf9eee739f00aee29
Author: pissang <bm...@gmail.com>
AuthorDate: Tue Nov 3 15:58:40 2020 +0800
tweak style of selected option
---
src/components/DocContentItemCard.vue | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/components/DocContentItemCard.vue b/src/components/DocContentItemCard.vue
index acaaa76..3b44556 100644
--- a/src/components/DocContentItemCard.vue
+++ b/src/components/DocContentItemCard.vue
@@ -24,6 +24,7 @@
<span class="path-base">
<a :href="'#' + baseName.link">{{baseName.text}}</a>
</span>
+ <span class="current-flag" v-if="shared.currentPath === nodeData.path"><i class="el-icon-s-flag"></i></span>
<span class="default-value" v-if="nodeData.default && nodeData.default !== '*'"> = {{nodeData.default}}</span>
@@ -235,7 +236,7 @@ $hierarchy-guider-color: #E0E6F1;
padding: 15px 0;
&.current {
- border-top: 1px solid #b03a5b;
+ // border-top: 1px solid #b03a5b;
}
.hierarchy-line {
@@ -318,6 +319,11 @@ $hierarchy-guider-color: #E0E6F1;
}
}
+ .current-flag {
+ color: #434343;
+ font-size: 16px;
+ }
+
.default-value {
color: #434343;
font-size: 16px;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org