hexo-theme-solitude 1.2.6 → 1.3.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/CONTRIBUTING.md +41 -0
- package/README.md +8 -8
- package/README_EN.md +6 -6
- package/_config.yml +495 -297
- package/languages/en-US.yml +105 -8
- package/languages/zh-CN.yml +98 -1
- package/layout/archive.pug +3 -3
- package/layout/category.pug +4 -5
- package/layout/includes/console.pug +15 -16
- package/layout/includes/footer.pug +26 -28
- package/layout/includes/head/config.pug +27 -8
- package/layout/includes/head/fest.pug +22 -0
- package/layout/includes/head/opengraph.pug +11 -0
- package/layout/includes/head.pug +1 -3
- package/layout/includes/header.pug +1 -1
- package/layout/includes/inject/body.pug +33 -13
- package/layout/includes/inject/head.pug +30 -20
- package/layout/includes/layout.pug +11 -8
- package/layout/includes/loading.pug +1 -64
- package/layout/includes/mixins/articleSort.pug +4 -4
- package/layout/includes/mixins/pagination.pug +1 -1
- package/layout/includes/nav.pug +10 -10
- package/layout/includes/page/about.pug +1 -0
- package/layout/includes/page/categories.pug +3 -3
- package/layout/includes/page/default.pug +1 -1
- package/layout/includes/page/echarts.pug +3 -3
- package/layout/includes/page/equipment.pug +0 -1
- package/layout/includes/page/links.pug +5 -26
- package/layout/includes/page/moments.pug +0 -1
- package/layout/includes/page/music.pug +19 -0
- package/layout/includes/page/not_configured.pug +18 -0
- package/layout/includes/page/rss.pug +20 -22
- package/layout/includes/page/says.pug +1 -2
- package/layout/includes/page/tags.pug +3 -3
- package/layout/includes/page/tlink.pug +0 -1
- package/layout/includes/sidebar.pug +7 -7
- package/layout/includes/widgets/aside/aside.pug +13 -1
- package/layout/includes/widgets/aside/asideArchive.pug +5 -3
- package/layout/includes/widgets/aside/asideCustom.pug +6 -0
- package/layout/includes/widgets/aside/asideHistory.pug +3 -3
- package/layout/includes/widgets/aside/asideInfoCard.pug +4 -6
- package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
- package/layout/includes/widgets/aside/asideSwitch.pug +0 -11
- package/layout/includes/widgets/aside/asideTag.pug +2 -2
- package/layout/includes/widgets/aside/asideToc.pug +1 -1
- package/layout/includes/widgets/aside/asideWebInfo.pug +6 -6
- package/layout/includes/widgets/aside/asideWelcome.pug +1 -1
- package/layout/includes/widgets/home/banner.pug +2 -2
- package/layout/includes/widgets/home/bbTimeList.pug +3 -3
- package/layout/includes/widgets/home/categoryBar.pug +3 -3
- package/layout/includes/widgets/home/categoryGroup.pug +2 -2
- package/layout/includes/widgets/home/hometop.pug +7 -7
- package/layout/includes/widgets/home/postList.pug +12 -8
- package/layout/includes/widgets/home/topGroup.pug +17 -13
- package/layout/includes/widgets/nav/left.pug +6 -6
- package/layout/includes/widgets/nav/menu.pug +4 -4
- package/layout/includes/widgets/nav/right.pug +14 -14
- package/layout/includes/widgets/page/about/authorinfo.pug +1 -1
- package/layout/includes/widgets/page/about/award.pug +11 -9
- package/layout/includes/widgets/page/about/contentinfo.pug +7 -7
- package/layout/includes/widgets/page/about/hobbies.pug +1 -1
- package/layout/includes/widgets/page/about/motto.pug +2 -2
- package/layout/includes/widgets/page/about/other.pug +10 -9
- package/layout/includes/widgets/page/about/personalities.pug +2 -2
- package/layout/includes/widgets/page/about/skillsinfo.pug +10 -12
- package/layout/includes/widgets/page/about/tenyear.pug +48 -0
- package/layout/includes/widgets/page/banner.pug +2 -2
- package/layout/includes/widgets/page/links/banner.pug +12 -14
- package/layout/includes/widgets/page/links/linksItem.pug +0 -1
- package/layout/includes/widgets/page/moments/angle.pug +7 -12
- package/layout/includes/widgets/page/moments/index.pug +7 -2
- package/layout/includes/widgets/post/award.pug +12 -8
- package/layout/includes/widgets/post/copyright.pug +16 -14
- package/layout/includes/widgets/post/postMeta.pug +36 -25
- package/layout/includes/widgets/post/postNav.pug +15 -15
- package/layout/includes/widgets/randomlink.pug +10 -5
- package/layout/includes/widgets/rightside/index.pug +9 -8
- package/layout/includes/widgets/third-party/ai/index.pug +12 -0
- package/layout/includes/widgets/third-party/comments/comment.pug +6 -1
- package/layout/includes/widgets/third-party/comments/twikoo.pug +5 -4
- package/layout/includes/widgets/third-party/comments/waline.pug +4 -5
- package/layout/includes/widgets/third-party/music.pug +1 -1
- package/layout/includes/widgets/third-party/pjax.pug +6 -1
- package/layout/includes/widgets/third-party/search/algolia-search.pug +4 -3
- package/layout/includes/widgets/third-party/search/index.pug +2 -2
- package/layout/includes/widgets/third-party/search/local-search.pug +3 -3
- package/layout/index.pug +5 -6
- package/layout/page.pug +34 -29
- package/layout/post.pug +3 -23
- package/layout/tag.pug +3 -3
- package/package.json +2 -2
- package/scripts/filter/checkThemeConfig.js +0 -5
- package/scripts/helper/cdn.js +12 -0
- package/scripts/helper/page.js +13 -0
- package/scripts/helper/related_post.js +0 -1
- package/scripts/tags/button.js +21 -0
- package/scripts/tags/card.js +9 -0
- package/scripts/tags/checkbox.js +51 -0
- package/scripts/tags/fold.js +0 -5
- package/scripts/tags/image.js +75 -0
- package/scripts/tags/inline-image.js +12 -0
- package/scripts/tags/label.js +10 -0
- package/scripts/tags/link.js +2 -0
- package/scripts/tags/media.js +29 -0
- package/scripts/tags/span.js +17 -0
- package/scripts/tags/timeline.js +2 -15
- package/scripts/tags/u.js +7 -0
- package/source/css/_global/animation.css +57 -0
- package/source/css/_global/index.styl +5 -20
- package/source/css/_global/var.styl +16 -1
- package/source/css/_layout/{base.styl → basic.styl} +24 -116
- package/source/css/_layout/header.styl +203 -615
- package/source/css/_layout/index.styl +29 -271
- package/source/css/_mode/index.styl +87 -94
- package/source/css/_page/_home/category-bar.styl +74 -0
- package/source/css/_page/_home/home-top.styl +541 -0
- package/source/css/_page/_home/index.styl +15 -0
- package/source/css/_page/_home/pagination.styl +176 -0
- package/source/css/_page/_home/recent-post.styl +204 -0
- package/source/css/_page/about/index.styl +1 -0
- package/source/css/_page/about/tenyear.styl +56 -0
- package/source/css/_page/about.styl +555 -626
- package/source/css/_page/category.styl +95 -119
- package/source/css/_page/douban.styl +126 -0
- package/source/css/_page/equipment.styl +100 -99
- package/source/css/_page/error.styl +130 -146
- package/source/css/_page/home.styl +41 -50
- package/source/css/_page/index.styl +42 -10
- package/source/css/_page/links.styl +305 -0
- package/source/css/_page/moment.styl +51 -51
- package/source/css/_page/music.styl +506 -0
- package/source/css/_page/rss.styl +62 -67
- package/source/css/_page/says.styl +375 -344
- package/source/css/_page/tag.styl +15 -13
- package/source/css/_widgets/{aside → _aside}/flip.styl +7 -5
- package/source/css/_widgets/{aside → _aside}/history.styl +9 -2
- package/source/css/_widgets/_aside/index.styl +96 -0
- package/source/css/_widgets/{aside → _aside}/info.styl +86 -89
- package/source/css/_widgets/{aside → _aside}/newPost.styl +7 -1
- package/source/css/_widgets/{aside → _aside}/toc.styl +28 -5
- package/source/css/_widgets/{comment → _comment}/index.styl +4 -12
- package/source/css/_widgets/{comment → _comment}/twikoo.styl +5 -2
- package/source/css/_widgets/{comment → _comment}/waline.styl +21 -5
- package/source/css/{_extra → _widgets/_extra}/console.styl +33 -10
- package/source/css/_widgets/_extra/fullpage.styl +46 -0
- package/source/css/_widgets/_extra/music.styl +218 -0
- package/source/css/_widgets/_extra/pace.styl +39 -0
- package/source/css/_widgets/_extra/rightmenu.styl +78 -0
- package/source/css/_widgets/_mixins/article-sort.styl +93 -0
- package/source/css/_widgets/_mixins/footer.styl +273 -0
- package/source/css/_widgets/_mixins/other.styl +34 -0
- package/source/css/_widgets/_mixins/sidebar.styl +230 -0
- package/source/css/_widgets/_post/_highlight/diff.styl +75 -0
- package/source/css/_widgets/_post/_highlight/index.styl +144 -0
- package/source/css/_widgets/_post/_highlight/theme/default.styl +12 -0
- package/source/css/_widgets/_post/_highlight/theme/mac.styl +25 -0
- package/source/css/_widgets/_post/_highlight/theme.styl +68 -0
- package/source/css/_widgets/_post/commentBarrage.styl +144 -0
- package/source/css/_widgets/_post/content.styl +152 -0
- package/source/css/_widgets/_post/copyright.styl +98 -0
- package/source/css/_widgets/_post/index.styl +20 -0
- package/source/css/_widgets/_post/meta.styl +420 -0
- package/source/css/_widgets/_post/pagination.styl +177 -0
- package/source/css/_widgets/_post/postAI.styl +131 -0
- package/source/css/{_post → _widgets/_post}/relatedPost.styl +4 -1
- package/source/css/_widgets/_post/tools.styl +249 -0
- package/source/css/{_search → _widgets/_search}/algolia-search.styl +4 -0
- package/source/css/{_search → _widgets/_search}/local-search.styl +15 -5
- package/source/css/_widgets/_tags/button.styl +60 -0
- package/source/css/_widgets/_tags/bvideo.styl +8 -0
- package/source/css/_widgets/_tags/card.styl +52 -0
- package/source/css/_widgets/_tags/checkbox.styl +85 -0
- package/source/css/_widgets/_tags/fold.styl +79 -0
- package/source/css/_widgets/_tags/image.styl +10 -0
- package/source/css/_widgets/_tags/index.styl +61 -0
- package/source/css/_widgets/_tags/inline-image.styl +6 -0
- package/source/css/_widgets/_tags/label.styl +3 -0
- package/source/css/_widgets/_tags/link.styl +80 -0
- package/source/css/_widgets/_tags/note.styl +101 -0
- package/source/css/_widgets/_tags/span.styl +61 -0
- package/source/css/_widgets/_tags/tabs.styl +105 -0
- package/source/css/_widgets/_tags/timeline.styl +80 -0
- package/source/css/_widgets/index.styl +50 -1
- package/source/css/index.styl +0 -25
- package/source/js/{commentBarrage.js → extend/comment/twikoo/commentBarrage.js} +0 -4
- package/source/js/extend/comment/{twikoo.js → twikoo/twikoo.js} +12 -40
- package/source/js/extend/comment/waline/commentBarrage.js +155 -0
- package/source/js/extend/comment/{waline.js → waline/waline.js} +10 -11
- package/source/js/extend/search/algolia-search.js +1 -5
- package/source/js/extend/search/local-search.js +33 -13
- package/source/js/main.js +144 -163
- package/source/js/music.js +129 -0
- package/source/js/utils.js +4 -7
- package/source/lib/cover-color.min.js +7 -0
- package/source/lib/rightside.min.js +1 -0
- package/source/lib/sco-ai.min.js +8 -0
- package/source/lib/snackbar.min.css +1 -1
- package/source/lib/txmap.min.js +1 -0
- package/source/lib/view-image.min.js +1 -1
- package/layout/includes/widgets/aside/asidePower.pug +0 -19
- package/layout/includes/widgets/home/rencentPost.pug +0 -26
- package/source/css/_extra/rightmenu.styl +0 -83
- package/source/css/_layout/articleSort.styl +0 -199
- package/source/css/_layout/footer.styl +0 -359
- package/source/css/_layout/sidebar.styl +0 -226
- package/source/css/_page/homeTop.styl +0 -1035
- package/source/css/_page/link.styl +0 -433
- package/source/css/_post/commentBarrage.styl +0 -149
- package/source/css/_post/externalTags.styl +0 -694
- package/source/css/_post/highlight.styl +0 -96
- package/source/css/_post/index.styl +0 -935
- package/source/css/_post/pagination.styl +0 -467
- package/source/css/_post/postContent.styl +0 -957
- package/source/css/_post/reward.styl +0 -217
- package/source/css/_widgets/aside/index.styl +0 -156
- package/source/css/_widgets/aside/power.styl +0 -90
- package/source/img/logo-horizontal_version.png +0 -0
- package/source/img/pwa/16.png +0 -0
- package/source/img/pwa/180.png +0 -0
- package/source/img/pwa/192.png +0 -0
- package/source/img/pwa/32.png +0 -0
- package/source/img/pwa/512.png +0 -0
- package/source/img/pwa/logo.png +0 -0
- package/source/img/pwa/siteicon/splash-1125x2436.png +0 -0
- package/source/img/pwa/siteicon/splash-1136x640.png +0 -0
- package/source/img/pwa/siteicon/splash-1170x2532.png +0 -0
- package/source/img/pwa/siteicon/splash-1179x2556.png +0 -0
- package/source/img/pwa/siteicon/splash-1242x2208.png +0 -0
- package/source/img/pwa/siteicon/splash-1242x2688.png +0 -0
- package/source/img/pwa/siteicon/splash-1248x2778.png +0 -0
- package/source/img/pwa/siteicon/splash-1290x2796.png +0 -0
- package/source/img/pwa/siteicon/splash-1334x750.png +0 -0
- package/source/img/pwa/siteicon/splash-1536x2048.png +0 -0
- package/source/img/pwa/siteicon/splash-1620x2160.png +0 -0
- package/source/img/pwa/siteicon/splash-1668x2224.png +0 -0
- package/source/img/pwa/siteicon/splash-1668x2388.png +0 -0
- package/source/img/pwa/siteicon/splash-1792x828.png +0 -0
- package/source/img/pwa/siteicon/splash-2048x1536.png +0 -0
- package/source/img/pwa/siteicon/splash-2048x2732.png +0 -0
- package/source/img/pwa/siteicon/splash-2160x1620.png +0 -0
- package/source/img/pwa/siteicon/splash-2208x1242.png +0 -0
- package/source/img/pwa/siteicon/splash-2224x1668.png +0 -0
- package/source/img/pwa/siteicon/splash-2388x1668.png +0 -0
- package/source/img/pwa/siteicon/splash-2436x1125.png +0 -0
- package/source/img/pwa/siteicon/splash-2532x1170.png +0 -0
- package/source/img/pwa/siteicon/splash-2556x1179.png +0 -0
- package/source/img/pwa/siteicon/splash-2688x1242.png +0 -0
- package/source/img/pwa/siteicon/splash-2732x2048.png +0 -0
- package/source/img/pwa/siteicon/splash-2778x1248.png +0 -0
- package/source/img/pwa/siteicon/splash-2796x1290.png +0 -0
- package/source/img/pwa/siteicon/splash-640x1136.png +0 -0
- package/source/img/pwa/siteicon/splash-750x1334.png +0 -0
- package/source/img/pwa/siteicon/splash-828x1792.png +0 -0
- package/source/img/solitude-show.jpg +0 -0
- package/source/js/extend/covercolor/local.js +0 -160
- package/source/js/rightside.js +0 -402
- package/source/js/txmap.js +0 -236
- package/source/lib/chuckle-post-ai.js +0 -1
- /package/source/css/_widgets/{aside → _aside}/allinfo.styl +0 -0
- /package/source/css/_widgets/{aside → _aside}/welcome.styl +0 -0
- /package/source/img/{theme/avatar.png → avatar.png} +0 -0
@@ -31,7 +31,7 @@
|
|
31
31
|
left: 0
|
32
32
|
width: 100%
|
33
33
|
height: 100%
|
34
|
-
background: url(
|
34
|
+
background: url(error_img) 50%
|
35
35
|
background-size: cover
|
36
36
|
|
37
37
|
.content
|
@@ -66,6 +66,9 @@
|
|
66
66
|
a
|
67
67
|
font-weight: 400
|
68
68
|
|
69
|
+
&:hover
|
70
|
+
color var(--sco-lighttext)
|
71
|
+
|
69
72
|
&-link
|
70
73
|
display: block
|
71
74
|
justify-content: space-between
|
@@ -0,0 +1,249 @@
|
|
1
|
+
#post
|
2
|
+
.post-tools
|
3
|
+
display flex
|
4
|
+
width 100%
|
5
|
+
justify-content center
|
6
|
+
margin-top 8px
|
7
|
+
flex-wrap wrap
|
8
|
+
-webkit-user-select none
|
9
|
+
|
10
|
+
.post-tools-left
|
11
|
+
white-space nowrap
|
12
|
+
display flex
|
13
|
+
text-overflow ellipsis
|
14
|
+
justify-content center
|
15
|
+
flex-wrap wrap
|
16
|
+
|
17
|
+
#quit-box
|
18
|
+
position fixed
|
19
|
+
width 100vw
|
20
|
+
height 100vh
|
21
|
+
background rgba(0, 0, 0, .2)
|
22
|
+
top 0
|
23
|
+
left 0
|
24
|
+
opacity .01
|
25
|
+
display none
|
26
|
+
z-index 101
|
27
|
+
margin 0
|
28
|
+
|
29
|
+
+maxWidth768()
|
30
|
+
height calc(100vh - 380px)
|
31
|
+
|
32
|
+
// reward
|
33
|
+
/.post-reward
|
34
|
+
position relative
|
35
|
+
text-align center
|
36
|
+
display flex
|
37
|
+
justify-content center
|
38
|
+
|
39
|
+
&:hover
|
40
|
+
> .reward-main
|
41
|
+
display block
|
42
|
+
|
43
|
+
+minWidth768()
|
44
|
+
> .reward-main
|
45
|
+
display: flex
|
46
|
+
justify-content: left
|
47
|
+
|
48
|
+
.reward-button
|
49
|
+
color var(--sco-white)
|
50
|
+
background var(--sco-theme)
|
51
|
+
box-shadow none
|
52
|
+
|
53
|
+
.reward-button
|
54
|
+
background var(--sco-red)
|
55
|
+
color var(--sco-white)
|
56
|
+
padding 0 16px
|
57
|
+
height 40px
|
58
|
+
border-radius 8px
|
59
|
+
line-height 39px
|
60
|
+
box-shadow var(--sco-shadow-red)
|
61
|
+
display inline-block
|
62
|
+
cursor pointer
|
63
|
+
transition all .4s ease 0s
|
64
|
+
|
65
|
+
&:hover
|
66
|
+
background-color var(--sco-theme)
|
67
|
+
|
68
|
+
.reward-main
|
69
|
+
animation .3s ease .1s 1 normal both running donate_effcet
|
70
|
+
position absolute
|
71
|
+
bottom 40px
|
72
|
+
left -96px
|
73
|
+
z-index 100
|
74
|
+
display none
|
75
|
+
padding 0 0 15px
|
76
|
+
width fit-content
|
77
|
+
|
78
|
+
+maxWidth768()
|
79
|
+
justify-content center !important
|
80
|
+
position fixed
|
81
|
+
bottom 0
|
82
|
+
left 0
|
83
|
+
right 0
|
84
|
+
z-index 1003
|
85
|
+
width 100%
|
86
|
+
margin auto
|
87
|
+
padding 0
|
88
|
+
|
89
|
+
.reward-all
|
90
|
+
margin: 0
|
91
|
+
padding: .8rem
|
92
|
+
border-radius: 12px
|
93
|
+
background: var(--sco-card-bg)
|
94
|
+
border: var(--style-border-always)
|
95
|
+
display: flex
|
96
|
+
box-shadow: var(--sco-shadow-border)
|
97
|
+
flex-direction: column
|
98
|
+
align-items: center
|
99
|
+
|
100
|
+
+maxWidth768()
|
101
|
+
width 100%
|
102
|
+
display flex
|
103
|
+
flex-wrap wrap
|
104
|
+
justify-content space-around
|
105
|
+
padding 30px 10px 60px
|
106
|
+
border-radius 12px 12px 0 0
|
107
|
+
|
108
|
+
.reward-title
|
109
|
+
font-weight 700
|
110
|
+
color var(--sco-red)
|
111
|
+
|
112
|
+
.reward-group
|
113
|
+
display flex
|
114
|
+
margin-top .5rem
|
115
|
+
|
116
|
+
.reward-item
|
117
|
+
display inline-block
|
118
|
+
padding 0 8px
|
119
|
+
list-style-type none
|
120
|
+
vertical-align top
|
121
|
+
|
122
|
+
&:first-child
|
123
|
+
img
|
124
|
+
border-color var(--sco-green)
|
125
|
+
|
126
|
+
&:last-child
|
127
|
+
img
|
128
|
+
border-color var(--sco-blue)
|
129
|
+
|
130
|
+
img
|
131
|
+
width 130px
|
132
|
+
height 130px
|
133
|
+
|
134
|
+
.post-qr-code-desc
|
135
|
+
padding-top .4rem
|
136
|
+
width 130px
|
137
|
+
color var(--sco-gray)
|
138
|
+
margin-top -8px
|
139
|
+
margin-bottom 8px
|
140
|
+
|
141
|
+
.post-qr-code-img
|
142
|
+
box-shadow var(--sco-shadow-lightblack)
|
143
|
+
border-radius 12px
|
144
|
+
border var(--style-border-always)
|
145
|
+
|
146
|
+
.reward-main-btn
|
147
|
+
background var(--sco-secondbg)
|
148
|
+
color var(--sco-fontcolor)
|
149
|
+
display flex
|
150
|
+
flex-direction column
|
151
|
+
border-radius 12px
|
152
|
+
padding 4px 0
|
153
|
+
border var(--style-border-always)
|
154
|
+
width 100%
|
155
|
+
|
156
|
+
&:hover
|
157
|
+
color var(--sco-white)
|
158
|
+
background var(--sco-red)
|
159
|
+
background-image url(https://bu.dusays.com/2023/11/01/6541f7aeb5752.gif)
|
160
|
+
box-shadow var(--sco-shadow-red)
|
161
|
+
|
162
|
+
.reward-text
|
163
|
+
margin-bottom 0
|
164
|
+
font-weight 700
|
165
|
+
|
166
|
+
.reward-dec
|
167
|
+
font-size .6rem
|
168
|
+
|
169
|
+
// rss
|
170
|
+
|
171
|
+
.reward-link.mode
|
172
|
+
background var(--sco-green)
|
173
|
+
color var(--sco-white)
|
174
|
+
padding 0 16px
|
175
|
+
height 40px
|
176
|
+
line-height 39px
|
177
|
+
box-shadow var(--sco-shadow-green)
|
178
|
+
border-radius 8px
|
179
|
+
margin-left .5rem
|
180
|
+
cursor pointer
|
181
|
+
text-align center
|
182
|
+
transition .3s
|
183
|
+
|
184
|
+
a
|
185
|
+
color var(--sco-white)
|
186
|
+
|
187
|
+
i
|
188
|
+
margin-right 4px
|
189
|
+
|
190
|
+
&:hover
|
191
|
+
background var(--sco-theme)
|
192
|
+
box-shadow none
|
193
|
+
|
194
|
+
|
195
|
+
.post-tools-right
|
196
|
+
padding-right 0
|
197
|
+
display flex
|
198
|
+
align-items center
|
199
|
+
flex-direction row
|
200
|
+
flex-wrap wrap
|
201
|
+
|
202
|
+
.tag_share
|
203
|
+
.post-meta__tag-list
|
204
|
+
display flex
|
205
|
+
padding 0
|
206
|
+
width 100%
|
207
|
+
flex-wrap wrap
|
208
|
+
flex-direction row
|
209
|
+
|
210
|
+
a
|
211
|
+
margin-bottom 8px
|
212
|
+
margin-right 8px
|
213
|
+
|
214
|
+
.post-meta__tags
|
215
|
+
background var(--sco-card-bg)
|
216
|
+
border var(--style-border-always)
|
217
|
+
color var(--sco-fontcolor)
|
218
|
+
border-radius 8px
|
219
|
+
display flex
|
220
|
+
align-items center
|
221
|
+
white-space nowrap
|
222
|
+
height 40px
|
223
|
+
padding 0 .6rem
|
224
|
+
width fit-content
|
225
|
+
font-size .85em
|
226
|
+
transition all .2s ease-in-out 0s
|
227
|
+
|
228
|
+
&:hover
|
229
|
+
background var(--sco-lighttext)
|
230
|
+
box-shadow var(--sco-shadow-main)
|
231
|
+
color var(--sco-white)
|
232
|
+
|
233
|
+
span.tags-punctuation
|
234
|
+
font-size 12px
|
235
|
+
margin-right 1px
|
236
|
+
display flex
|
237
|
+
align-items center
|
238
|
+
|
239
|
+
.tagsPageCount, / #tag-page-tags .tagsPageCount
|
240
|
+
padding 2px
|
241
|
+
background var(--sco-card-bg)
|
242
|
+
border var(--style-border-always)
|
243
|
+
min-width 22.5px
|
244
|
+
display inline-block
|
245
|
+
border-radius 4px
|
246
|
+
text-align center
|
247
|
+
font-size .6rem
|
248
|
+
color var(--sco-fontcolor)
|
249
|
+
margin-left 4px
|
@@ -122,6 +122,7 @@
|
|
122
122
|
line-height 1.2rem
|
123
123
|
|
124
124
|
.search-dialog__title
|
125
|
+
font-weight 700
|
125
126
|
padding 0 0 0.7rem
|
126
127
|
color var(--sco-main)
|
127
128
|
font-size 1.4em
|
@@ -139,6 +140,9 @@
|
|
139
140
|
font-size .8rem
|
140
141
|
font-weight bold
|
141
142
|
|
143
|
+
.algolia-tips-text
|
144
|
+
margin-left .4rem
|
145
|
+
|
142
146
|
#algolia-search-results
|
143
147
|
padding-top 8px
|
144
148
|
|
@@ -49,15 +49,24 @@
|
|
49
49
|
overflow-y auto
|
50
50
|
margin-top 8px
|
51
51
|
|
52
|
-
.search-result-
|
52
|
+
.search-result-item
|
53
|
+
padding-left 0
|
54
|
+
font-weight 700
|
55
|
+
|
53
56
|
.search-result-title
|
54
|
-
padding-left 0
|
55
|
-
font-weight 700
|
56
57
|
position relative
|
57
58
|
transition color .2s ease-in-out 0s
|
59
|
+
white-space nowrap
|
60
|
+
text-overflow ellipsis
|
61
|
+
overflow hidden
|
62
|
+
display block
|
58
63
|
|
59
64
|
&:hover
|
60
|
-
color var(--sco-
|
65
|
+
color var(--sco-hovertext)
|
66
|
+
|
67
|
+
em
|
68
|
+
color var(--sco-theme)
|
69
|
+
font-style normal
|
61
70
|
|
62
71
|
+maxWidth768()
|
63
72
|
max-height 80vh !important
|
@@ -117,7 +126,8 @@
|
|
117
126
|
padding 0.25rem 0.7rem;
|
118
127
|
outline 0
|
119
128
|
background var(--sco-secondbg)
|
120
|
-
color var(--
|
129
|
+
color var(--sco-fontcolor)
|
130
|
+
caret-color var(--sco-theme)
|
121
131
|
|
122
132
|
#search-mask
|
123
133
|
position fixed
|
@@ -0,0 +1,60 @@
|
|
1
|
+
#article-container
|
2
|
+
.btn-center
|
3
|
+
margin: 0 0 20px
|
4
|
+
text-align: center
|
5
|
+
|
6
|
+
.btn-sco
|
7
|
+
position relative
|
8
|
+
transition all 0.3s ease-in-out
|
9
|
+
padding-block 0.5rem
|
10
|
+
padding-inline 1.25rem
|
11
|
+
border-radius 20px
|
12
|
+
margin 0 4px 6px
|
13
|
+
font-weight bold
|
14
|
+
border 1px solid var(--sco-main-op)
|
15
|
+
overflow hidden
|
16
|
+
font-size 15px
|
17
|
+
|
18
|
+
&:hover
|
19
|
+
transform scale(1.05)
|
20
|
+
|
21
|
+
&:before
|
22
|
+
animation shine 1.5s ease-out infinite
|
23
|
+
|
24
|
+
&.larger
|
25
|
+
padding 8px 20px
|
26
|
+
font-size 16px
|
27
|
+
|
28
|
+
&.block
|
29
|
+
display block
|
30
|
+
margin 0 0 20px
|
31
|
+
width fit-content
|
32
|
+
|
33
|
+
&.center
|
34
|
+
margin 0 auto 20px
|
35
|
+
|
36
|
+
&.right
|
37
|
+
margin 0 0 20px auto
|
38
|
+
|
39
|
+
&::before
|
40
|
+
content ""
|
41
|
+
position absolute
|
42
|
+
width 100px
|
43
|
+
height 100%
|
44
|
+
background-image linear-gradient(
|
45
|
+
120deg,
|
46
|
+
rgba(255, 255, 255, 0) 30%,
|
47
|
+
rgba(255, 255, 255, 0.8),
|
48
|
+
rgba(255, 255, 255, 0) 70%
|
49
|
+
)
|
50
|
+
top 0
|
51
|
+
left -100px
|
52
|
+
opacity 0.6
|
53
|
+
|
54
|
+
@keyframes shine
|
55
|
+
0%
|
56
|
+
left -100px
|
57
|
+
60%
|
58
|
+
left 100%
|
59
|
+
to
|
60
|
+
left 100%
|
@@ -0,0 +1,52 @@
|
|
1
|
+
#article-container
|
2
|
+
.card
|
3
|
+
width 100%
|
4
|
+
height auto
|
5
|
+
display flex
|
6
|
+
flex-direction column
|
7
|
+
padding .5rem 1rem
|
8
|
+
border-radius 0.375rem
|
9
|
+
margin .5rem 0
|
10
|
+
|
11
|
+
.card-title
|
12
|
+
display flex
|
13
|
+
align-items center
|
14
|
+
font-size 1.8rem
|
15
|
+
font-weight bold
|
16
|
+
|
17
|
+
i
|
18
|
+
margin-right 8px
|
19
|
+
font-size 20px
|
20
|
+
|
21
|
+
p
|
22
|
+
margin 0 0 0 1.5rem
|
23
|
+
|
24
|
+
&.card-red
|
25
|
+
background rgba(238, 125, 121, 0.1)
|
26
|
+
border 1px solid var(--sco-red)
|
27
|
+
color var(--sco-red)
|
28
|
+
|
29
|
+
&.card-green
|
30
|
+
background rgb(240 253 244)
|
31
|
+
border 1px solid var(--sco-green)
|
32
|
+
color var(--sco-green)
|
33
|
+
|
34
|
+
&.card-blue
|
35
|
+
background rgb(240 248 253)
|
36
|
+
border 1px solid var(--sco-blue)
|
37
|
+
color var(--sco-blue)
|
38
|
+
|
39
|
+
&.card-yellow
|
40
|
+
background rgb(255 251 240)
|
41
|
+
border 1px solid var(--sco-yellow)
|
42
|
+
color var(--sco-yellow)
|
43
|
+
|
44
|
+
&.card-purple
|
45
|
+
background rgb(243 240 253)
|
46
|
+
border 1px solid var(--sco-purple)
|
47
|
+
color var(--sco-purple)
|
48
|
+
|
49
|
+
&.card-cyan
|
50
|
+
background rgb(240 253 253)
|
51
|
+
border 1px solid var(--sco-cyan)
|
52
|
+
color var(--sco-cyan)
|
@@ -0,0 +1,85 @@
|
|
1
|
+
$border-colors = {
|
2
|
+
red: #fe5f58,
|
3
|
+
green: #3dc550,
|
4
|
+
yellow: #ffbd2b,
|
5
|
+
cyan: #1bcdfc,
|
6
|
+
blue: #2196f3
|
7
|
+
}
|
8
|
+
|
9
|
+
.checkbox
|
10
|
+
display flex
|
11
|
+
align-items center
|
12
|
+
p
|
13
|
+
display inline-block
|
14
|
+
margin 2px 0 0 !important
|
15
|
+
input
|
16
|
+
appearance none
|
17
|
+
position relative
|
18
|
+
height 16px
|
19
|
+
width 16px
|
20
|
+
transition all 0.15s ease-out 0s
|
21
|
+
cursor pointer
|
22
|
+
display inline-block
|
23
|
+
outline none
|
24
|
+
flex-shrink 0
|
25
|
+
margin-right 8px
|
26
|
+
border 2px solid #2196f3
|
27
|
+
pointer-events none
|
28
|
+
border-radius 16px
|
29
|
+
&:before, &:after
|
30
|
+
position absolute
|
31
|
+
content ""
|
32
|
+
background #fff
|
33
|
+
&:checked
|
34
|
+
background #2196f3
|
35
|
+
[type="checkbox"]
|
36
|
+
&:before
|
37
|
+
left 1px
|
38
|
+
top 5px
|
39
|
+
width 0
|
40
|
+
height 2px
|
41
|
+
transition all 0.2s ease-in
|
42
|
+
transform rotate(45deg)
|
43
|
+
&:after
|
44
|
+
right 7px
|
45
|
+
bottom 3px
|
46
|
+
width 2px
|
47
|
+
height 0
|
48
|
+
transition all 0.2s ease-out
|
49
|
+
transform rotate(40deg)
|
50
|
+
transition-delay 0.25s
|
51
|
+
&:checked
|
52
|
+
&:before
|
53
|
+
left 0
|
54
|
+
top 7px
|
55
|
+
width 6px
|
56
|
+
height 2px
|
57
|
+
&:after
|
58
|
+
right 3px
|
59
|
+
bottom 1px
|
60
|
+
width 2px
|
61
|
+
height 10px
|
62
|
+
[type="radio"]
|
63
|
+
border-radius 50%
|
64
|
+
&:before
|
65
|
+
content ""
|
66
|
+
display block
|
67
|
+
width 8px
|
68
|
+
height 8px
|
69
|
+
border-radius 50%
|
70
|
+
margin 2px
|
71
|
+
transform scale(0)
|
72
|
+
transition all 0.25s ease-out
|
73
|
+
&:checked
|
74
|
+
&:before
|
75
|
+
transform scale(1)
|
76
|
+
background var(--text-bg-hover)
|
77
|
+
for color, value in $border-colors
|
78
|
+
&.{color}
|
79
|
+
input
|
80
|
+
border-color value
|
81
|
+
[type="checkbox"]:checked
|
82
|
+
background value
|
83
|
+
[type="radio"]:checked
|
84
|
+
&:before
|
85
|
+
background value
|
@@ -0,0 +1,79 @@
|
|
1
|
+
details:not(.tk-admin-config-group)
|
2
|
+
display block
|
3
|
+
position relative
|
4
|
+
margin-bottom 1rem
|
5
|
+
min-height 54px
|
6
|
+
overflow hidden
|
7
|
+
border-radius 12px
|
8
|
+
border var(--style-border)
|
9
|
+
transition border .3s
|
10
|
+
|
11
|
+
&:hover
|
12
|
+
border var(--style-border-hover-always)
|
13
|
+
|
14
|
+
summary
|
15
|
+
position absolute
|
16
|
+
padding .5rem 1rem
|
17
|
+
background var(--sco-card-bg)
|
18
|
+
margin 0
|
19
|
+
transition .3s
|
20
|
+
box-shadow var(--sco-shadow-border)
|
21
|
+
left 0
|
22
|
+
width 100%
|
23
|
+
font-weight 700
|
24
|
+
white-space nowrap
|
25
|
+
overflow hidden
|
26
|
+
text-overflow ellipsis
|
27
|
+
|
28
|
+
&::before
|
29
|
+
content ''
|
30
|
+
padding 4px
|
31
|
+
|
32
|
+
&:hover
|
33
|
+
cursor pointer
|
34
|
+
background var(--sco-main)
|
35
|
+
color var(--sco-white)
|
36
|
+
transition .3s
|
37
|
+
box-shadow var(--sco-shadow-main)
|
38
|
+
|
39
|
+
&:focus
|
40
|
+
outline 0
|
41
|
+
|
42
|
+
&::marker
|
43
|
+
color var(--sco-main)
|
44
|
+
transition .3s
|
45
|
+
|
46
|
+
&:hover::marker
|
47
|
+
color var(--sco-white)
|
48
|
+
|
49
|
+
&:hover:after
|
50
|
+
position absolute
|
51
|
+
content '+'
|
52
|
+
text-align center
|
53
|
+
top calc(50% - 2px)
|
54
|
+
transform translateY(-50%)
|
55
|
+
right 16px
|
56
|
+
line-height 1
|
57
|
+
|
58
|
+
> :nth-child(2)
|
59
|
+
margin-top calc(54px + 1rem) !important
|
60
|
+
|
61
|
+
&[open]
|
62
|
+
border-radius 12px
|
63
|
+
border var(--style-border-hover-always)
|
64
|
+
padding 0 1.5rem
|
65
|
+
background var(--sco-card-bg)
|
66
|
+
|
67
|
+
summary
|
68
|
+
background var(--sco-main)
|
69
|
+
color var(--sco-white)
|
70
|
+
|
71
|
+
&::marker
|
72
|
+
color var(--sco-white)
|
73
|
+
|
74
|
+
&:hover:after
|
75
|
+
content '-'
|
76
|
+
|
77
|
+
+maxWidth768()
|
78
|
+
details[open]:not(.tk-admin-config-group)
|
79
|
+
padding 0 16px
|
@@ -0,0 +1,61 @@
|
|
1
|
+
.bg-red
|
2
|
+
background-color var(--sco-red)
|
3
|
+
color var(--sco-white)
|
4
|
+
|
5
|
+
.bg-green
|
6
|
+
background-color var(--sco-green)
|
7
|
+
color var(--sco-white)
|
8
|
+
|
9
|
+
.bg-blue
|
10
|
+
background-color var(--sco-blue)
|
11
|
+
color var(--sco-white)
|
12
|
+
|
13
|
+
.bg-yellow
|
14
|
+
background-color var(--sco-yellow)
|
15
|
+
|
16
|
+
.bg-pink
|
17
|
+
background-color var(--sco-pink)
|
18
|
+
color var(--sco-white)
|
19
|
+
|
20
|
+
.bg-purple
|
21
|
+
background-color var(--sco-purple)
|
22
|
+
color var(--sco-white)
|
23
|
+
|
24
|
+
.bg-orange
|
25
|
+
background-color var(--sco-orange)
|
26
|
+
color var(--sco-white)
|
27
|
+
|
28
|
+
.bg-cyan
|
29
|
+
background-color var(--sco-cyan)
|
30
|
+
color var(--sco-white)
|
31
|
+
|
32
|
+
.bg-gray
|
33
|
+
background-color var(--sco-gray)
|
34
|
+
color var(--sco-white)
|
35
|
+
|
36
|
+
.red
|
37
|
+
color var(--sco-red)
|
38
|
+
|
39
|
+
.green
|
40
|
+
color var(--sco-green)
|
41
|
+
|
42
|
+
.blue
|
43
|
+
color var(--sco-blue)
|
44
|
+
|
45
|
+
.yellow
|
46
|
+
color var(--sco-yellow)
|
47
|
+
|
48
|
+
.pink
|
49
|
+
color var(--sco-pink)
|
50
|
+
|
51
|
+
.purple
|
52
|
+
color var(--sco-purple)
|
53
|
+
|
54
|
+
.orange
|
55
|
+
color var(--sco-orange)
|
56
|
+
|
57
|
+
.cyan
|
58
|
+
color var(--sco-cyan)
|
59
|
+
|
60
|
+
.gray
|
61
|
+
color var(--sco-gray)
|