hexo-theme-solitude 3.0.20 → 4.0.0
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.
- package/.github/FUNDING.yml +3 -3
- package/README.md +11 -1
- package/README_en-US.md +11 -1
- package/_config.yml +16 -7
- package/languages/default.yml +56 -36
- package/languages/en.yml +90 -69
- package/languages/es.yml +94 -73
- package/languages/zh-CN.yml +56 -34
- package/languages/zh-TW.yml +80 -57
- package/layout/archive.pug +60 -14
- package/layout/category.pug +13 -11
- package/layout/includes/body/gadsense.pug +2 -2
- package/layout/includes/console.pug +71 -72
- package/layout/includes/footer.pug +38 -24
- package/layout/includes/head/config.pug +83 -39
- package/layout/includes/head/mode.pug +7 -7
- package/layout/includes/head/page_config.pug +20 -11
- package/layout/includes/inject/body.pug +18 -40
- package/layout/includes/keyboard.pug +3 -3
- package/layout/includes/loading.pug +1 -37
- package/layout/includes/mixins/articleSort.pug +3 -3
- package/layout/includes/mixins/common.pug +8 -4
- package/layout/includes/mixins/pace.pug +1 -1
- package/layout/includes/mixins/pagination.pug +3 -3
- package/layout/includes/nav.pug +5 -4
- package/layout/includes/page/about.pug +9 -8
- package/layout/includes/page/brevity.pug +2 -2
- package/layout/includes/page/links.pug +23 -11
- package/layout/includes/page/music.pug +0 -5
- package/layout/includes/rightmenu.pug +20 -20
- package/layout/includes/sidebar.pug +2 -2
- package/layout/includes/widgets/aside/asideInfoCard.pug +2 -2
- package/layout/includes/widgets/aside/asideTag.pug +2 -2
- package/layout/includes/widgets/home/bbTimeList.pug +3 -3
- package/layout/includes/widgets/home/categoryBar.pug +30 -15
- package/layout/includes/widgets/home/hometop.pug +113 -8
- package/layout/includes/widgets/home/postList.pug +1 -2
- package/layout/includes/widgets/home/topGroup.pug +3 -7
- package/layout/includes/widgets/nav/group.pug +4 -2
- package/layout/includes/widgets/nav/menu.pug +6 -4
- package/layout/includes/widgets/nav/right.pug +7 -6
- package/layout/includes/widgets/page/about/award.pug +67 -38
- package/layout/includes/widgets/page/about/hobbies.pug +12 -3
- package/layout/includes/widgets/page/banner.pug +1 -1
- package/layout/includes/widgets/page/kit/content.pug +2 -2
- package/layout/includes/widgets/page/links/banner.pug +30 -19
- package/layout/includes/widgets/page/message/artalk.pug +3 -3
- package/layout/includes/widgets/page/message/content.pug +3 -3
- package/layout/includes/widgets/page/message/twikoo.pug +3 -3
- package/layout/includes/widgets/page/message/valine.pug +4 -4
- package/layout/includes/widgets/page/message/waline.pug +3 -3
- package/layout/includes/widgets/page/recentcomment/artalk.pug +5 -9
- package/layout/includes/widgets/page/recentcomment/twikoo.pug +5 -9
- package/layout/includes/widgets/page/recentcomment/valine.pug +6 -10
- package/layout/includes/widgets/page/recentcomment/waline.pug +5 -9
- package/layout/includes/widgets/post/award.pug +1 -28
- package/layout/includes/widgets/post/copyright.pug +10 -10
- package/layout/includes/widgets/post/postInfo.pug +10 -11
- package/layout/includes/widgets/post/postMeta.pug +3 -2
- package/layout/includes/widgets/rightside/hide.pug +5 -5
- package/layout/includes/widgets/rightside/show.pug +7 -7
- package/layout/includes/widgets/third-party/comments/artalk.pug +9 -9
- package/layout/includes/widgets/third-party/comments/giscus.pug +2 -2
- package/layout/includes/widgets/third-party/comments/twikoo.pug +5 -5
- package/layout/includes/widgets/third-party/comments/valine.pug +6 -6
- package/layout/includes/widgets/third-party/comments/waline.pug +6 -6
- package/layout/includes/widgets/third-party/hot/index.pug +1 -1
- package/layout/includes/widgets/third-party/hot/twikoo.pug +1 -1
- package/layout/includes/widgets/third-party/music.pug +9 -5
- package/layout/includes/widgets/third-party/news-comment/artalk.pug +6 -6
- package/layout/includes/widgets/third-party/news-comment/twikoo.pug +7 -7
- package/layout/includes/widgets/third-party/news-comment/valine.pug +8 -8
- package/layout/includes/widgets/third-party/news-comment/waline.pug +7 -7
- package/layout/includes/widgets/third-party/pjax.pug +16 -10
- package/layout/includes/widgets/third-party/search/algolia-search.pug +2 -2
- package/layout/includes/widgets/third-party/search/docsearch.pug +3 -3
- package/layout/includes/widgets/third-party/search/index.pug +1 -3
- package/layout/includes/widgets/third-party/search/local-search.pug +9 -9
- package/layout/index.pug +10 -8
- package/package.json +8 -7
- package/plugins.yml +22 -21
- package/scripts/event/cdn.js +11 -6
- package/scripts/event/friend_links.js +30 -0
- package/scripts/event/merge_config.js +15 -7
- package/scripts/filter/comment.js +2 -2
- package/scripts/filter/default.js +1 -1
- package/scripts/helper/inject_head_js.js +79 -33
- package/scripts/helper/related_post.js +16 -21
- package/scripts/tags/chart.js +1 -1
- package/scripts/tags/typeit.js +1 -1
- package/source/css/_components/capsule.styl +259 -168
- package/source/css/_components/rightside.styl +98 -242
- package/source/css/_global/animation.styl +1 -10
- package/source/css/_global/index.styl +27 -1
- package/source/css/_layout/aside.styl +7 -1
- package/source/css/_layout/console.styl +144 -163
- package/source/css/_layout/header.styl +238 -47
- package/source/css/_layout/pagination.styl +176 -132
- package/source/css/_layout/rightmenu.styl +11 -2
- package/source/css/_layout/sidebar.styl +39 -17
- package/source/css/_mode/index.styl +7 -1
- package/source/css/_page/_about/about.styl +18 -2
- package/source/css/_page/_about/buff.styl +1 -1
- package/source/css/_page/_about/contentinfo.styl +2 -1
- package/source/css/_page/_about/game.styl +57 -1
- package/source/css/_page/_about/like.styl +7 -2
- package/source/css/_page/_about/maxim.styl +1 -1
- package/source/css/_page/_about/reward.styl +226 -108
- package/source/css/_page/_about/skills.styl +5 -3
- package/source/css/_page/_home/category-bar.styl +162 -88
- package/source/css/_page/_home/home-top.styl +309 -263
- package/source/css/_page/_home/home.styl +34 -7
- package/source/css/_page/archive.styl +412 -0
- package/source/css/_page/category.styl +27 -1
- package/source/css/_page/index.styl +2 -0
- package/source/css/_page/links.styl +190 -0
- package/source/css/_page/other.styl +37 -0
- package/source/css/_post/index.styl +2 -1
- package/source/css/_post/meta.styl +245 -217
- package/source/css/_search/local-search.styl +158 -82
- package/source/css/var.styl +2 -2
- package/source/js/archive-page.js +191 -0
- package/source/js/core/actions.js +48 -0
- package/source/js/core/api.js +32 -0
- package/source/js/core/config.js +13 -0
- package/source/js/core/lifecycle.js +52 -0
- package/source/js/core/preloader.js +34 -0
- package/source/js/core/resources.js +65 -0
- package/source/js/covercolor/api.js +13 -103
- package/source/js/covercolor/ave.js +14 -77
- package/source/js/covercolor/local.js +22 -116
- package/source/js/covercolor/shared.js +102 -0
- package/source/js/friend_links.js +502 -0
- package/source/js/main.js +793 -177
- package/source/js/music.js +24 -14
- package/source/js/post_ai.js +13 -2
- package/source/js/right_menu.js +44 -24
- package/source/js/search/algolia.js +29 -21
- package/source/js/search/local.js +231 -266
- package/source/js/tw_cn.js +37 -12
- package/source/js/utils.js +37 -25
- package/layout/includes/widgets/randomlink.pug +0 -43
- package/scripts/filter/randomPosts.js +0 -16
|
@@ -1,116 +1,234 @@
|
|
|
1
1
|
#about-page
|
|
2
|
-
.author-content-item
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
.author-content-item.single.reward
|
|
3
|
+
position relative
|
|
4
|
+
overflow hidden
|
|
5
|
+
padding 20px 40px
|
|
6
|
+
border var(--style-border-always)
|
|
7
|
+
border-radius 12px
|
|
8
|
+
background var(--efu-card-bg)
|
|
9
|
+
box-shadow var(--efu-shadow-border)
|
|
10
|
+
|
|
11
|
+
> *:not(.about-pointer-glow)
|
|
12
|
+
position relative
|
|
13
|
+
z-index 2
|
|
14
|
+
|
|
15
|
+
.author-content-item-tips
|
|
16
|
+
color var(--efu-secondtext)
|
|
17
|
+
font-size 14px
|
|
18
|
+
line-height 1.5
|
|
19
|
+
|
|
20
|
+
.author-content-item-title
|
|
21
|
+
display inline-block
|
|
22
|
+
margin-top 8px
|
|
23
|
+
color var(--efu-fontcolor)
|
|
24
|
+
font-size 36px
|
|
25
|
+
font-weight 700
|
|
26
|
+
line-height 1.4
|
|
27
|
+
|
|
28
|
+
.author-content-item-description
|
|
29
|
+
max-width calc(100% - 160px)
|
|
30
|
+
margin-top 8px
|
|
31
|
+
color var(--efu-fontcolor)
|
|
32
|
+
font-size 16px
|
|
33
|
+
line-height 1.8
|
|
34
|
+
|
|
35
|
+
.post-reward
|
|
36
|
+
position absolute
|
|
37
|
+
z-index 4
|
|
38
|
+
top 40px
|
|
39
|
+
right 40px
|
|
40
|
+
|
|
41
|
+
.reward-button
|
|
42
|
+
display flex
|
|
43
|
+
align-items center
|
|
44
|
+
gap 8px
|
|
45
|
+
width fit-content
|
|
46
|
+
height 48px
|
|
47
|
+
padding 8px 16px
|
|
48
|
+
border-radius 24px
|
|
49
|
+
background var(--efu-red)
|
|
50
|
+
box-shadow none
|
|
51
|
+
color var(--efu-white)
|
|
52
|
+
cursor pointer
|
|
53
|
+
font-size 16px
|
|
54
|
+
line-height 32px
|
|
55
|
+
transition filter .3s ease, transform .3s ease, box-shadow .3s ease
|
|
56
|
+
|
|
57
|
+
i
|
|
58
|
+
margin 0
|
|
59
|
+
color inherit
|
|
60
|
+
font-size 18px
|
|
61
|
+
|
|
62
|
+
&:hover,
|
|
63
|
+
&:focus-visible
|
|
64
|
+
filter brightness(1.08)
|
|
65
|
+
transform translateY(-2px)
|
|
66
|
+
box-shadow var(--efu-shadow-red)
|
|
67
|
+
outline none
|
|
68
|
+
|
|
69
|
+
.reward-main
|
|
70
|
+
top 60px
|
|
71
|
+
right 0
|
|
72
|
+
bottom auto
|
|
73
|
+
left auto
|
|
74
|
+
width fit-content
|
|
75
|
+
|
|
76
|
+
.reward-all::before
|
|
77
|
+
top -16px
|
|
78
|
+
bottom auto
|
|
79
|
+
|
|
80
|
+
.reward-list-all
|
|
81
|
+
display grid
|
|
82
|
+
grid-template-columns repeat(6, minmax(0, 1fr))
|
|
83
|
+
gap 8px
|
|
84
|
+
margin 24px 0 0
|
|
85
|
+
|
|
86
|
+
.reward-list-item
|
|
87
|
+
display flex
|
|
88
|
+
flex-direction column
|
|
89
|
+
justify-content space-between
|
|
90
|
+
min-width 0
|
|
91
|
+
height 96px
|
|
92
|
+
padding 20px
|
|
93
|
+
overflow hidden
|
|
94
|
+
border var(--style-border-always)
|
|
95
|
+
border-radius 12px
|
|
96
|
+
background var(--efu-card-bg)
|
|
97
|
+
box-shadow var(--efu-shadow-border)
|
|
98
|
+
color var(--efu-fontcolor)
|
|
99
|
+
transition border-color .3s ease, box-shadow .3s ease, transform .3s ease, background-color .3s ease
|
|
100
|
+
|
|
101
|
+
&:hover,
|
|
102
|
+
&:focus-visible
|
|
103
|
+
border-color var(--efu-red)
|
|
104
|
+
box-shadow var(--efu-shadow-red)
|
|
105
|
+
transform translateY(-2px)
|
|
106
|
+
outline none
|
|
107
|
+
|
|
108
|
+
.reward-list-item-name
|
|
109
|
+
overflow hidden
|
|
110
|
+
margin-bottom 8px
|
|
111
|
+
font-size 18px
|
|
112
|
+
font-weight 700
|
|
113
|
+
line-height 1.2
|
|
114
|
+
text-overflow ellipsis
|
|
115
|
+
white-space nowrap
|
|
116
|
+
|
|
117
|
+
.reward-list-bottom-group
|
|
118
|
+
display flex
|
|
119
|
+
align-items center
|
|
120
|
+
justify-content space-between
|
|
121
|
+
gap 8px
|
|
122
|
+
min-width 0
|
|
123
|
+
|
|
124
|
+
.reward-list-item-money
|
|
125
|
+
display flex
|
|
126
|
+
flex 0 0 auto
|
|
127
|
+
align-items center
|
|
128
|
+
justify-content center
|
|
129
|
+
min-height 24px
|
|
130
|
+
padding 4px 6px
|
|
131
|
+
border-radius 4px
|
|
132
|
+
color var(--efu-white)
|
|
133
|
+
font-size 12px
|
|
134
|
+
line-height 1
|
|
135
|
+
white-space nowrap
|
|
136
|
+
|
|
137
|
+
&.reward-list-item-money-low
|
|
138
|
+
background #303033
|
|
139
|
+
|
|
140
|
+
&.reward-list-item-money-medium
|
|
141
|
+
background #f0aa00
|
|
142
|
+
|
|
143
|
+
&.reward-list-item-money-high
|
|
144
|
+
background var(--efu-red)
|
|
145
|
+
|
|
146
|
+
.solitude
|
|
147
|
+
margin-right 3px
|
|
148
|
+
color inherit
|
|
149
|
+
font-size 13px
|
|
150
|
+
|
|
151
|
+
.reward-list-item-time
|
|
152
|
+
min-width 0
|
|
153
|
+
overflow hidden
|
|
154
|
+
color var(--efu-secondtext)
|
|
155
|
+
font-size 12px
|
|
156
|
+
line-height 1
|
|
157
|
+
text-overflow ellipsis
|
|
158
|
+
white-space nowrap
|
|
159
|
+
|
|
160
|
+
.reward-list-item-more
|
|
161
|
+
justify-content space-between
|
|
162
|
+
border-color transparent
|
|
163
|
+
background var(--efu-red)
|
|
164
|
+
box-shadow var(--efu-shadow-red)
|
|
165
|
+
color var(--efu-white)
|
|
166
|
+
font-size 18px
|
|
167
|
+
font-weight 700
|
|
168
|
+
line-height 1
|
|
169
|
+
|
|
170
|
+
i
|
|
171
|
+
display flex
|
|
172
|
+
align-items center
|
|
173
|
+
justify-content center
|
|
174
|
+
width 32px
|
|
175
|
+
height 32px
|
|
176
|
+
border-radius 50%
|
|
177
|
+
background var(--efu-white)
|
|
178
|
+
color var(--efu-red)
|
|
11
179
|
font-size 14px
|
|
180
|
+
transition transform .3s ease
|
|
12
181
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
182
|
+
&:hover,
|
|
183
|
+
&:focus-visible
|
|
184
|
+
border-color transparent
|
|
185
|
+
filter brightness(1.06)
|
|
186
|
+
color var(--efu-white)
|
|
16
187
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
flex-wrap wrap
|
|
20
|
-
flex-direction row
|
|
21
|
-
margin 1rem -.125rem .5rem
|
|
22
|
-
|
|
23
|
-
.post-reward
|
|
24
|
-
position absolute
|
|
25
|
-
right 1rem
|
|
26
|
-
top 1rem
|
|
27
|
-
|
|
28
|
-
.reward-main
|
|
29
|
-
top 60px
|
|
30
|
-
right 0
|
|
31
|
-
left auto
|
|
32
|
-
bottom auto
|
|
33
|
-
width fit-content
|
|
34
|
-
|
|
35
|
-
.reward-all::before
|
|
36
|
-
bottom auto
|
|
37
|
-
top -16px
|
|
38
|
-
|
|
39
|
-
.reward-button
|
|
40
|
-
padding 8px 12px
|
|
41
|
-
background var(--efu-red)
|
|
42
|
-
border-radius 12px
|
|
43
|
-
z-index 1
|
|
44
|
-
box-shadow initial
|
|
45
|
-
width fit-content
|
|
46
|
-
height fit-content
|
|
47
|
-
line-height 2
|
|
48
|
-
|
|
49
|
-
+maxWidth768()
|
|
50
|
-
display none
|
|
51
|
-
|
|
52
|
-
&:hover
|
|
53
|
-
.reward-button
|
|
54
|
-
filter brightness(1.1)
|
|
55
|
-
|
|
56
|
-
.reward-list-item
|
|
57
|
-
padding 1rem
|
|
58
|
-
border-radius 12px
|
|
59
|
-
border var(--style-border-always)
|
|
60
|
-
width calc((100% / 6) - .25rem)
|
|
61
|
-
margin 0 .125rem .5rem .125rem
|
|
62
|
-
box-shadow var(--efu-shadow-border)
|
|
63
|
-
display flex
|
|
64
|
-
flex-direction column
|
|
65
|
-
justify-content space-between
|
|
66
|
-
|
|
67
|
-
+maxWidth1200()
|
|
68
|
-
width calc((100% / 4) - .25rem)
|
|
69
|
-
|
|
70
|
-
+maxWidth900()
|
|
71
|
-
width calc((100% / 2) - .25rem)
|
|
72
|
-
|
|
73
|
-
+maxWidth768()
|
|
74
|
-
width calc((100% / 2) - .25rem)
|
|
75
|
-
|
|
76
|
-
.reward-list-item-name
|
|
77
|
-
font-size 1rem
|
|
78
|
-
font-weight 700
|
|
79
|
-
line-height 1
|
|
80
|
-
margin-bottom .25rem
|
|
81
|
-
white-space nowrap
|
|
82
|
-
overflow hidden
|
|
83
|
-
text-overflow ellipsis
|
|
84
|
-
|
|
85
|
-
.reward-list-bottom-group
|
|
86
|
-
display flex
|
|
87
|
-
align-items center
|
|
88
|
-
justify-content space-between
|
|
89
|
-
|
|
90
|
-
.reward-list-item-money
|
|
91
|
-
padding 4px
|
|
92
|
-
background var(--efu-fontcolor)
|
|
93
|
-
color var(--efu-card-bg)
|
|
94
|
-
font-size 12px
|
|
95
|
-
line-height 1
|
|
96
|
-
display flex
|
|
97
|
-
align-items center
|
|
98
|
-
justify-content center
|
|
99
|
-
border-radius 4px
|
|
100
|
-
margin-right 2px
|
|
101
|
-
white-space nowrap
|
|
102
|
-
|
|
103
|
-
.solitude
|
|
104
|
-
font-size 14px
|
|
105
|
-
margin-right 2px
|
|
106
|
-
color var(--efu-card-bg)
|
|
107
|
-
|
|
108
|
-
.reward-list-item-time
|
|
109
|
-
font-size 12px
|
|
110
|
-
color var(--efu-secondtext)
|
|
111
|
-
white-space nowrap
|
|
188
|
+
i
|
|
189
|
+
transform translateX(3px)
|
|
112
190
|
|
|
113
191
|
.reward-list-tips
|
|
192
|
+
margin-top 24px
|
|
193
|
+
|
|
114
194
|
p
|
|
195
|
+
margin 0
|
|
196
|
+
color var(--efu-secondtext)
|
|
115
197
|
font-size 12px
|
|
116
|
-
|
|
198
|
+
|
|
199
|
+
+maxWidth1200()
|
|
200
|
+
.author-content-item.single.reward
|
|
201
|
+
.reward-list-all
|
|
202
|
+
grid-template-columns repeat(4, minmax(0, 1fr))
|
|
203
|
+
|
|
204
|
+
+maxWidth900()
|
|
205
|
+
.author-content-item.single.reward
|
|
206
|
+
.reward-list-all
|
|
207
|
+
grid-template-columns repeat(2, minmax(0, 1fr))
|
|
208
|
+
|
|
209
|
+
+maxWidth768()
|
|
210
|
+
.author-content-item.single.reward
|
|
211
|
+
padding 20px
|
|
212
|
+
|
|
213
|
+
.author-content-item-title
|
|
214
|
+
font-size 30px
|
|
215
|
+
|
|
216
|
+
.author-content-item-description
|
|
217
|
+
max-width none
|
|
218
|
+
font-size 15px
|
|
219
|
+
|
|
220
|
+
.post-reward
|
|
221
|
+
display none
|
|
222
|
+
|
|
223
|
+
.reward-list-all
|
|
224
|
+
margin-top 20px
|
|
225
|
+
|
|
226
|
+
.reward-list-item
|
|
227
|
+
height 92px
|
|
228
|
+
padding 16px
|
|
229
|
+
|
|
230
|
+
.reward-list-item-name
|
|
231
|
+
font-size 16px
|
|
232
|
+
|
|
233
|
+
.reward-list-tips
|
|
234
|
+
margin-top 20px
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
margin-top 40px
|
|
16
16
|
display flex
|
|
17
17
|
flex-wrap nowrap
|
|
18
|
-
animation rowleft
|
|
18
|
+
animation rowleft 60s linear infinite
|
|
19
19
|
|
|
20
20
|
.skills-style-group
|
|
21
21
|
position relative
|
|
@@ -31,6 +31,8 @@
|
|
|
31
31
|
flex-wrap wrap
|
|
32
32
|
flex-direction row
|
|
33
33
|
margin-top 10px
|
|
34
|
+
max-height 310px
|
|
35
|
+
overflow hidden
|
|
34
36
|
|
|
35
37
|
&:hover
|
|
36
38
|
.skills-style-group
|
|
@@ -47,7 +49,7 @@
|
|
|
47
49
|
margin-top 10px
|
|
48
50
|
background var(--efu-background)
|
|
49
51
|
border-radius 40px
|
|
50
|
-
padding
|
|
52
|
+
padding 8px 12px 8px 8px
|
|
51
53
|
border var(--style-border)
|
|
52
54
|
box-shadow var(--efu-shadow-border)
|
|
53
55
|
|
|
@@ -71,4 +73,4 @@
|
|
|
71
73
|
|
|
72
74
|
.skill-name
|
|
73
75
|
font-weight 700
|
|
74
|
-
line-height 1
|
|
76
|
+
line-height 1
|
|
@@ -1,102 +1,176 @@
|
|
|
1
1
|
#category-bar
|
|
2
|
-
|
|
3
|
-
background var(--efu-card-bg)
|
|
4
|
-
border-radius 12px
|
|
2
|
+
position relative
|
|
5
3
|
display flex
|
|
6
|
-
|
|
7
|
-
overflow hidden
|
|
8
|
-
border var(--style-border)
|
|
9
|
-
transition 0.3s
|
|
10
|
-
height 50px
|
|
11
|
-
width 100%
|
|
4
|
+
align-items center
|
|
12
5
|
justify-content space-between
|
|
6
|
+
width 100%
|
|
7
|
+
min-height 0
|
|
8
|
+
margin 0
|
|
9
|
+
padding 0
|
|
10
|
+
overflow hidden
|
|
11
|
+
white-space nowrap
|
|
12
|
+
background transparent
|
|
13
|
+
border 0
|
|
14
|
+
border-radius 0
|
|
13
15
|
user-select none
|
|
16
|
+
transition .3s
|
|
17
|
+
|
|
18
|
+
.category-bar-items
|
|
19
|
+
position relative
|
|
20
|
+
display flex
|
|
14
21
|
align-items center
|
|
15
|
-
|
|
22
|
+
gap 10px
|
|
23
|
+
height auto
|
|
24
|
+
overflow-x auto
|
|
25
|
+
overflow-y hidden
|
|
26
|
+
white-space nowrap
|
|
27
|
+
scrollbar-width none
|
|
28
|
+
|
|
29
|
+
&::-webkit-scrollbar
|
|
30
|
+
display none
|
|
31
|
+
|
|
32
|
+
.category-bar-item
|
|
33
|
+
a
|
|
34
|
+
position relative
|
|
35
|
+
display inline-flex
|
|
36
|
+
align-items center
|
|
37
|
+
justify-content center
|
|
38
|
+
gap 4px
|
|
39
|
+
min-height 38px
|
|
40
|
+
padding 8px 18px
|
|
41
|
+
overflow hidden
|
|
42
|
+
color var(--efu-fontcolor)
|
|
43
|
+
font-size 14px
|
|
44
|
+
font-weight 700
|
|
45
|
+
line-height 1
|
|
46
|
+
background var(--efu-card-bg)
|
|
47
|
+
border var(--style-border-always)
|
|
48
|
+
border-radius 999px
|
|
49
|
+
transition .3s
|
|
16
50
|
|
|
17
|
-
+minWidth1300()
|
|
18
51
|
&:hover
|
|
19
|
-
|
|
52
|
+
color var(--efu-white)
|
|
53
|
+
background var(--efu-main)
|
|
54
|
+
|
|
55
|
+
&.select
|
|
56
|
+
a
|
|
57
|
+
color var(--efu-card-bg)
|
|
58
|
+
background var(--efu-main)
|
|
59
|
+
border-color var(--efu-main)
|
|
20
60
|
box-shadow var(--efu-shadow-main)
|
|
21
61
|
|
|
22
|
-
|
|
23
|
-
|
|
62
|
+
.category-bar-link-icon
|
|
63
|
+
display inline-flex
|
|
64
|
+
align-items center
|
|
65
|
+
justify-content center
|
|
66
|
+
width 14px
|
|
67
|
+
height 14px
|
|
24
68
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
margin-top .5rem
|
|
28
|
-
border-radius 0
|
|
29
|
-
background var(--efu-background)
|
|
30
|
-
padding 0 1rem
|
|
31
|
-
border none
|
|
69
|
+
i
|
|
70
|
+
font-size 13px
|
|
32
71
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
72
|
+
.category-bar-more-group
|
|
73
|
+
position relative
|
|
74
|
+
z-index 2
|
|
75
|
+
display flex
|
|
76
|
+
align-items center
|
|
77
|
+
flex-shrink 0
|
|
78
|
+
gap 6px
|
|
79
|
+
|
|
80
|
+
.category-bar-next
|
|
81
|
+
display inline-flex
|
|
82
|
+
align-items center
|
|
83
|
+
justify-content center
|
|
84
|
+
flex-shrink 0
|
|
85
|
+
width 38px
|
|
86
|
+
min-width 38px
|
|
87
|
+
height 38px
|
|
88
|
+
min-height 38px
|
|
89
|
+
padding 0
|
|
90
|
+
overflow hidden
|
|
91
|
+
color var(--efu-fontcolor)
|
|
92
|
+
background var(--efu-card-bg)
|
|
93
|
+
border var(--style-border-always)
|
|
94
|
+
border-radius 50%
|
|
95
|
+
cursor pointer
|
|
96
|
+
transition .3s
|
|
97
|
+
|
|
98
|
+
i
|
|
99
|
+
font-size 14px
|
|
100
|
+
|
|
101
|
+
.category-bar-more
|
|
102
|
+
position relative
|
|
103
|
+
display inline-flex
|
|
104
|
+
align-items center
|
|
105
|
+
justify-content center
|
|
106
|
+
min-height 38px
|
|
107
|
+
padding 8px 18px
|
|
108
|
+
overflow hidden
|
|
109
|
+
color var(--efu-fontcolor)
|
|
110
|
+
font-size 14px
|
|
111
|
+
font-weight 700
|
|
112
|
+
line-height 1
|
|
113
|
+
background var(--efu-card-bg)
|
|
114
|
+
border var(--style-border-always)
|
|
115
|
+
border-radius 999px
|
|
116
|
+
transition .3s
|
|
117
|
+
|
|
118
|
+
.category-bar-next:hover, .category-bar-more:hover
|
|
119
|
+
color var(--efu-white)
|
|
120
|
+
background var(--efu-main)
|
|
121
|
+
|
|
122
|
+
[data-theme='dark']
|
|
123
|
+
.home-category-bar .category-bar-item:not(.select) a::after,
|
|
124
|
+
.home-category-bar .category-bar-more::after,
|
|
125
|
+
.home-category-bar .category-bar-next::after
|
|
126
|
+
content ''
|
|
127
|
+
position absolute
|
|
128
|
+
top 0
|
|
129
|
+
left 0
|
|
130
|
+
right 0
|
|
131
|
+
height 50%
|
|
132
|
+
border-radius inherit
|
|
133
|
+
background linear-gradient(to bottom, var(--current-banner-theme, var(--efu-theme)) 0, transparent 100%)
|
|
134
|
+
opacity .3
|
|
135
|
+
pointer-events none
|
|
136
|
+
|
|
137
|
+
@media (max-width: 768px)
|
|
138
|
+
.home-category-bar
|
|
139
|
+
position static
|
|
140
|
+
width 100%
|
|
141
|
+
margin 0 !important
|
|
142
|
+
padding 0
|
|
143
|
+
background var(--efu-background)
|
|
36
144
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
height 30px
|
|
44
|
-
width 30px
|
|
45
|
-
display flex
|
|
46
|
-
border-radius 8px
|
|
47
|
-
align-items center
|
|
48
|
-
justify-content center
|
|
49
|
-
transition .3s
|
|
50
|
-
|
|
51
|
-
.category-bar-more
|
|
52
|
-
margin-left 4px
|
|
53
|
-
font-weight 700
|
|
54
|
-
border-radius 8px
|
|
55
|
-
padding 0 8px
|
|
56
|
-
|
|
57
|
-
div:hover, a:hover
|
|
58
|
-
background var(--efu-secondbg-bg)
|
|
59
|
-
color var(--efu-lighttext)
|
|
145
|
+
#category-bar
|
|
146
|
+
height auto
|
|
147
|
+
margin 0
|
|
148
|
+
padding 0
|
|
149
|
+
background transparent
|
|
150
|
+
border 0
|
|
60
151
|
|
|
61
152
|
.category-bar-items
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
border-radius 8px
|
|
87
|
-
display flex
|
|
88
|
-
align-items center
|
|
89
|
-
height 30px
|
|
90
|
-
|
|
91
|
-
+maxWidth768()
|
|
92
|
-
border-radius 50px
|
|
93
|
-
background var(--efu-card-bg)
|
|
94
|
-
border var(--style-border-always)
|
|
95
|
-
padding 21px 16px
|
|
96
|
-
|
|
97
|
-
&.select
|
|
98
|
-
order -1
|
|
99
|
-
|
|
100
|
-
a
|
|
101
|
-
background var(--efu-theme)
|
|
102
|
-
color var(--efu-white)
|
|
153
|
+
width 100%
|
|
154
|
+
gap 6px
|
|
155
|
+
padding 0 16px
|
|
156
|
+
flex-wrap nowrap
|
|
157
|
+
|
|
158
|
+
.category-bar-item
|
|
159
|
+
a
|
|
160
|
+
flex-shrink 0
|
|
161
|
+
min-height 38px
|
|
162
|
+
padding 8px 18px
|
|
163
|
+
color var(--efu-fontcolor)
|
|
164
|
+
font-size 14px
|
|
165
|
+
background var(--efu-card-bg)
|
|
166
|
+
border-radius 50px
|
|
167
|
+
box-shadow none
|
|
168
|
+
|
|
169
|
+
&.select a
|
|
170
|
+
color var(--efu-white)
|
|
171
|
+
background var(--efu-main)
|
|
172
|
+
border-color var(--efu-main)
|
|
173
|
+
box-shadow none
|
|
174
|
+
|
|
175
|
+
.category-bar-next, .category-bar-more
|
|
176
|
+
display none
|