valaxy-theme-yun 0.14.42 → 0.14.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,8 +11,19 @@ const { t } = useI18n()
|
|
11
11
|
</script>
|
12
12
|
|
13
13
|
<template>
|
14
|
-
<button class="search-btn popup-trigger yun-icon-btn" :title="t('menu.search')">
|
14
|
+
<button class="yun-search-btn popup-trigger yun-icon-btn" :title="t('menu.search')">
|
15
15
|
<div v-if="!open" i-ri-search-line />
|
16
16
|
<div v-else text="!2xl" i-ri-close-line />
|
17
17
|
</button>
|
18
18
|
</template>
|
19
|
+
|
20
|
+
<style lang="scss">
|
21
|
+
.yun-search-btn {
|
22
|
+
position: fixed;
|
23
|
+
top: 0.6rem;
|
24
|
+
right: 0.8rem;
|
25
|
+
|
26
|
+
color: var(--va-c-primary);
|
27
|
+
z-index: var(--yun-z-search-btn);
|
28
|
+
}
|
29
|
+
</style>
|
@@ -32,14 +32,3 @@ const YunAlgoliaSearch = isAlgolia.value
|
|
32
32
|
<YunAlgoliaSearch v-if="isAlgolia" :open="open" @close="open = false" />
|
33
33
|
<YunFuseSearch v-else-if="isFuse" :open="open" @close="open = false" />
|
34
34
|
</template>
|
35
|
-
|
36
|
-
<style lang="scss">
|
37
|
-
.search-btn {
|
38
|
-
position: absolute;
|
39
|
-
top: 0.6rem;
|
40
|
-
right: 0.8rem;
|
41
|
-
|
42
|
-
color: var(--va-c-primary);
|
43
|
-
z-index: var(--yun-z-search-btn);
|
44
|
-
}
|
45
|
-
</style>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "valaxy-theme-yun",
|
3
|
-
"version": "0.14.
|
3
|
+
"version": "0.14.43",
|
4
4
|
"author": {
|
5
5
|
"email": "me@yunyoujun.cn",
|
6
6
|
"name": "YunYouJun",
|
@@ -24,6 +24,6 @@
|
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
26
|
"@types/animejs": "^3.1.7",
|
27
|
-
"valaxy": "0.14.
|
27
|
+
"valaxy": "0.14.43"
|
28
28
|
}
|
29
29
|
}
|