hexo-theme-shokax 0.0.1-alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. package/LICENSE +21 -0
  2. package/LICENSE-shoka +21 -0
  3. package/README.md +47 -0
  4. package/_config.yml +353 -0
  5. package/_images.yml +99 -0
  6. package/languages/README.md +19 -0
  7. package/languages/default.yml +1 -0
  8. package/languages/en.yml +151 -0
  9. package/languages/ja.yml +146 -0
  10. package/languages/zh-CN.yml +154 -0
  11. package/languages/zh-HK.yml +146 -0
  12. package/languages/zh-TW.yml +146 -0
  13. package/layout/_alternate/atom.ejs +30 -0
  14. package/layout/_alternate/json.ejs +16 -0
  15. package/layout/_alternate/rss.ejs +34 -0
  16. package/layout/_mixin/breadcrumb.pug +33 -0
  17. package/layout/_mixin/card.pug +37 -0
  18. package/layout/_mixin/comment.pug +10 -0
  19. package/layout/_mixin/postmeta.pug +30 -0
  20. package/layout/_mixin/segment.pug +32 -0
  21. package/layout/_mixin/sidebar.pug +36 -0
  22. package/layout/_mixin/widgets.pug +29 -0
  23. package/layout/_partials/footer.pug +61 -0
  24. package/layout/_partials/head/head.pug +54 -0
  25. package/layout/_partials/head/head_com.pug +17 -0
  26. package/layout/_partials/head/pwa.pug +17 -0
  27. package/layout/_partials/header.pug +19 -0
  28. package/layout/_partials/layout.pug +143 -0
  29. package/layout/_partials/loading.pug +13 -0
  30. package/layout/_partials/pagination.pug +4 -0
  31. package/layout/_partials/post/copyright.pug +20 -0
  32. package/layout/_partials/post/footer.pug +13 -0
  33. package/layout/_partials/post/nav.pug +13 -0
  34. package/layout/_partials/post/post.pug +26 -0
  35. package/layout/_partials/post/reward.pug +18 -0
  36. package/layout/_partials/sidebar/menu.pug +37 -0
  37. package/layout/_partials/sidebar/overview.pug +40 -0
  38. package/layout/_partials/third-party/baidu-analytics.pug +11 -0
  39. package/layout/_partials/third-party/clarity.pug +8 -0
  40. package/layout/_partials/third-party/qweather.pug +35 -0
  41. package/layout/archive.pug +31 -0
  42. package/layout/category.pug +66 -0
  43. package/layout/index.pug +33 -0
  44. package/layout/page.pug +56 -0
  45. package/layout/post.pug +35 -0
  46. package/layout/tag.pug +43 -0
  47. package/package.json +35 -0
  48. package/scripts/filters/locals.js +57 -0
  49. package/scripts/filters/post.js +23 -0
  50. package/scripts/generaters/archive.js +141 -0
  51. package/scripts/generaters/config.js +43 -0
  52. package/scripts/generaters/images.js +26 -0
  53. package/scripts/generaters/index.js +110 -0
  54. package/scripts/generaters/pages.js +19 -0
  55. package/scripts/generaters/script.js +81 -0
  56. package/scripts/helpers/asset.js +237 -0
  57. package/scripts/helpers/engine.js +183 -0
  58. package/scripts/helpers/list_categories.js +140 -0
  59. package/scripts/helpers/symbols_count_time.js +76 -0
  60. package/scripts/tags/links.js +86 -0
  61. package/scripts/tags/media.js +19 -0
  62. package/source/assets/404.png +0 -0
  63. package/source/assets/algolia_logo.svg +9 -0
  64. package/source/assets/apple-touch-icon.png +0 -0
  65. package/source/assets/beian.webp +0 -0
  66. package/source/assets/failure.ico +0 -0
  67. package/source/assets/favicon.ico +0 -0
  68. package/source/assets/logo.svg +16 -0
  69. package/source/assets/play_disc.png +0 -0
  70. package/source/assets/play_needle.png +0 -0
  71. package/source/assets/search.png +0 -0
  72. package/source/css/_colors.styl +207 -0
  73. package/source/css/_common/components/components.styl +6 -0
  74. package/source/css/_common/components/highlight/highlight.styl +353 -0
  75. package/source/css/_common/components/highlight/operation.styl +21 -0
  76. package/source/css/_common/components/pages/collapse.styl +119 -0
  77. package/source/css/_common/components/pages/home.styl +385 -0
  78. package/source/css/_common/components/pages/pages.styl +56 -0
  79. package/source/css/_common/components/pages/tag-cloud.styl +12 -0
  80. package/source/css/_common/components/post/breadcrumb.styl +39 -0
  81. package/source/css/_common/components/post/copyright.styl +41 -0
  82. package/source/css/_common/components/post/expand.styl +264 -0
  83. package/source/css/_common/components/post/footer.styl +11 -0
  84. package/source/css/_common/components/post/header.styl +79 -0
  85. package/source/css/_common/components/post/nav.styl +63 -0
  86. package/source/css/_common/components/post/post.styl +29 -0
  87. package/source/css/_common/components/post/reward.styl +50 -0
  88. package/source/css/_common/components/post/rtl.styl +12 -0
  89. package/source/css/_common/components/post/tags.styl +39 -0
  90. package/source/css/_common/components/tags/collapse.styl +72 -0
  91. package/source/css/_common/components/tags/container.styl +49 -0
  92. package/source/css/_common/components/tags/label.styl +12 -0
  93. package/source/css/_common/components/tags/links.styl +77 -0
  94. package/source/css/_common/components/tags/list.styl +131 -0
  95. package/source/css/_common/components/tags/note.styl +70 -0
  96. package/source/css/_common/components/tags/player.styl +361 -0
  97. package/source/css/_common/components/tags/quiz.styl +200 -0
  98. package/source/css/_common/components/tags/tabs.styl +83 -0
  99. package/source/css/_common/components/tags/tags.styl +9 -0
  100. package/source/css/_common/components/third-party/loading.styl +222 -0
  101. package/source/css/_common/components/third-party/mermaid/class.styl +90 -0
  102. package/source/css/_common/components/third-party/mermaid/flowchart.styl +72 -0
  103. package/source/css/_common/components/third-party/mermaid/gantt.styl +251 -0
  104. package/source/css/_common/components/third-party/mermaid/git.styl +7 -0
  105. package/source/css/_common/components/third-party/mermaid/mermaid.styl +37 -0
  106. package/source/css/_common/components/third-party/mermaid/pie.styl +9 -0
  107. package/source/css/_common/components/third-party/mermaid/sequence.styl +95 -0
  108. package/source/css/_common/components/third-party/mermaid/state.styl +130 -0
  109. package/source/css/_common/components/third-party/pace.styl +18 -0
  110. package/source/css/_common/components/third-party/search.styl +167 -0
  111. package/source/css/_common/components/third-party/theme.styl +151 -0
  112. package/source/css/_common/components/third-party/third-party.styl +22 -0
  113. package/source/css/_common/components/third-party/valine.styl +548 -0
  114. package/source/css/_common/components/third-party/widgets.styl +57 -0
  115. package/source/css/_common/outline/footer/footer.styl +69 -0
  116. package/source/css/_common/outline/header/brand.styl +77 -0
  117. package/source/css/_common/outline/header/header.styl +20 -0
  118. package/source/css/_common/outline/header/image.styl +79 -0
  119. package/source/css/_common/outline/header/menu.styl +117 -0
  120. package/source/css/_common/outline/header/nav.styl +81 -0
  121. package/source/css/_common/outline/header/right.styl +15 -0
  122. package/source/css/_common/outline/header/tool.styl +207 -0
  123. package/source/css/_common/outline/header/waves.styl +50 -0
  124. package/source/css/_common/outline/mobile.styl +46 -0
  125. package/source/css/_common/outline/outline.styl +78 -0
  126. package/source/css/_common/outline/sidebar/author.styl +59 -0
  127. package/source/css/_common/outline/sidebar/dimmer.styl +23 -0
  128. package/source/css/_common/outline/sidebar/menu.styl +63 -0
  129. package/source/css/_common/outline/sidebar/quick.styl +43 -0
  130. package/source/css/_common/outline/sidebar/related.styl +56 -0
  131. package/source/css/_common/outline/sidebar/sidebar.styl +75 -0
  132. package/source/css/_common/outline/sidebar/social.styl +69 -0
  133. package/source/css/_common/outline/sidebar/state.styl +37 -0
  134. package/source/css/_common/outline/sidebar/tab.styl +71 -0
  135. package/source/css/_common/outline/sidebar/toc.styl +47 -0
  136. package/source/css/_common/scaffolding/animate.styl +318 -0
  137. package/source/css/_common/scaffolding/base.styl +172 -0
  138. package/source/css/_common/scaffolding/buttons.styl +48 -0
  139. package/source/css/_common/scaffolding/divider.styl +36 -0
  140. package/source/css/_common/scaffolding/iconfont.styl +443 -0
  141. package/source/css/_common/scaffolding/normalize.styl +289 -0
  142. package/source/css/_common/scaffolding/pagination.styl +81 -0
  143. package/source/css/_common/scaffolding/ribbon.styl +38 -0
  144. package/source/css/_common/scaffolding/scaffolding.styl +14 -0
  145. package/source/css/_common/scaffolding/scrollbar.styl +37 -0
  146. package/source/css/_common/scaffolding/tables.styl +50 -0
  147. package/source/css/_common/scaffolding/tip.styl +19 -0
  148. package/source/css/_common/scaffolding/toggles.styl +59 -0
  149. package/source/css/_iconfont.styl +451 -0
  150. package/source/css/_mixins.styl +146 -0
  151. package/source/css/_variables.styl +89 -0
  152. package/source/css/app.styl +27 -0
  153. package/source/css/comment.styl +5 -0
  154. package/source/css/mermaid.styl +5 -0
  155. package/source/css/plugin.styl +174 -0
  156. package/source/css/twikoo.css +2002 -0
  157. package/source/js/_app/components.js +330 -0
  158. package/source/js/_app/global.js +317 -0
  159. package/source/js/_app/library.js +302 -0
  160. package/source/js/_app/page.js +623 -0
  161. package/source/js/_app/player.js +748 -0
  162. package/source/js/_app/vue.js +43 -0
@@ -0,0 +1,251 @@
1
+ /** Section styling */
2
+
3
+ .mermaid-main-font {
4
+ font-family: var(--mermaid-font-family);
5
+ }
6
+
7
+ .section {
8
+ stroke: none;
9
+ opacity: .2;
10
+ }
11
+
12
+ .section0 {
13
+ fill: var(--grey-1);
14
+ }
15
+
16
+ .section2 {
17
+ fill: var(--grey-1);
18
+ }
19
+
20
+ .section1,
21
+ .section3 {
22
+ fill: var(--grey-0);
23
+ opacity: .2;
24
+ }
25
+
26
+ .sectionTitle0 {
27
+ fill: var(--text-color);
28
+ }
29
+
30
+ .sectionTitle1 {
31
+ fill: var(--text-color);
32
+ }
33
+
34
+ .sectionTitle2 {
35
+ fill: var(--text-color);
36
+ }
37
+
38
+ .sectionTitle3 {
39
+ fill: var(--text-color);
40
+ }
41
+
42
+ .sectionTitle {
43
+ text-anchor: start;
44
+ font-size: .6875rem;
45
+ text-height: .875rem;
46
+ font-family: var(--mermaid-font-family);
47
+ }
48
+
49
+
50
+ /* Grid and axis */
51
+
52
+ .grid .tick {
53
+ stroke: var(--text-color);
54
+ opacity: .8;
55
+ shape-rendering: crispEdges;
56
+ text {
57
+ font-family: var(--mermaid-font-family);
58
+ }
59
+ }
60
+
61
+ .grid path {
62
+ stroke-width: 0;
63
+ }
64
+
65
+
66
+ /* Today line */
67
+
68
+ .today {
69
+ fill: none;
70
+ stroke: var(--primary-color);
71
+ stroke-width: .125rem;
72
+ }
73
+
74
+
75
+ /* Task styling */
76
+
77
+ /* Default task */
78
+
79
+ .task {
80
+ stroke-width: 2;
81
+ }
82
+
83
+ .taskText {
84
+ text-anchor: middle;
85
+ font-family: var(--mermaid-font-family);
86
+ }
87
+
88
+ .taskText:not([font-size]) {
89
+ font-size: .6875rem;
90
+ }
91
+
92
+ .taskTextOutsideRight {
93
+ fill: var(--text-color);
94
+ text-anchor: start;
95
+ font-size: .6875rem;
96
+ font-family: var(--mermaid-font-family);
97
+
98
+ }
99
+
100
+ .taskTextOutsideLeft {
101
+ fill: var(--text-color);
102
+ text-anchor: end;
103
+ font-size: .6875rem;
104
+ }
105
+
106
+ /* Special case clickable */
107
+ .task.clickable {
108
+ cursor: pointer;
109
+ }
110
+ .taskText.clickable {
111
+ cursor: pointer;
112
+ fill: #003163 !important;
113
+ font-weight: bold;
114
+ }
115
+
116
+ .taskTextOutsideLeft.clickable {
117
+ cursor: pointer;
118
+ fill: #003163 !important;
119
+ font-weight: bold;
120
+ }
121
+
122
+ .taskTextOutsideRight.clickable {
123
+ cursor: pointer;
124
+ fill: #003163 !important;
125
+ font-weight: bold;
126
+ }
127
+
128
+ /* Specific task settings for the sections*/
129
+
130
+ .taskText0,
131
+ .taskText1,
132
+ .taskText2,
133
+ .taskText3 {
134
+ fill: var(--grey-1);
135
+ }
136
+
137
+ .task0,
138
+ .task1,
139
+ .task2,
140
+ .task3 {
141
+ fill: var(--text-color);
142
+ stroke: var(--text-color);
143
+ }
144
+
145
+ .taskTextOutside0,
146
+ .taskTextOutside2
147
+ {
148
+ fill: var(--color-blue);
149
+ }
150
+
151
+ .taskTextOutside1,
152
+ .taskTextOutside3 {
153
+ fill: var(--color-purple);
154
+ }
155
+
156
+
157
+ /* Active task */
158
+
159
+ .active0,
160
+ .active1,
161
+ .active2,
162
+ .active3 {
163
+ fill: var(--grey-1);
164
+ stroke: var(--text-color);
165
+ }
166
+
167
+ .activeText0,
168
+ .activeText1,
169
+ .activeText2,
170
+ .activeText3 {
171
+ fill: var(--text-color) !important;
172
+ }
173
+
174
+
175
+ /* Completed task */
176
+
177
+ .done0,
178
+ .done1,
179
+ .done2,
180
+ .done3 {
181
+ stroke: var(--color-green);
182
+ fill: var(--grey-1);
183
+ stroke-width: 2;
184
+ }
185
+
186
+ .doneText0,
187
+ .doneText1,
188
+ .doneText2,
189
+ .doneText3 {
190
+ fill: var(--text-color) !important;
191
+ }
192
+
193
+
194
+ /* Tasks on the critical line */
195
+
196
+ .crit0,
197
+ .crit1,
198
+ .crit2,
199
+ .crit3 {
200
+ stroke: var(--primary-color);
201
+ fill: var(--primary-color);
202
+ stroke-width: 2;
203
+ }
204
+
205
+ .activeCrit0,
206
+ .activeCrit1,
207
+ .activeCrit2,
208
+ .activeCrit3 {
209
+ stroke: var(--primary-color);
210
+ fill: var(--grey-1);
211
+ stroke-width: 2;
212
+ }
213
+
214
+ .doneCrit0,
215
+ .doneCrit1,
216
+ .doneCrit2,
217
+ .doneCrit3 {
218
+ stroke: var(--text-color);
219
+ fill: var(--text-color);
220
+ stroke-width: 2;
221
+ cursor: pointer;
222
+ shape-rendering: crispEdges;
223
+ }
224
+
225
+ .milestone {
226
+ transform: rotate(45deg) scale(.8,.8);
227
+ }
228
+
229
+ .milestoneText {
230
+ font-style: italic;
231
+ }
232
+ .doneCritText0,
233
+ .doneCritText1,
234
+ .doneCritText2,
235
+ .doneCritText3 {
236
+ fill: var(--color-green) !important;
237
+ }
238
+
239
+ .activeCritText0,
240
+ .activeCritText1,
241
+ .activeCritText2,
242
+ .activeCritText3 {
243
+ fill: var(--text-color) !important;
244
+ }
245
+
246
+ .titleText {
247
+ text-anchor: middle;
248
+ font-size: 1.125rem;
249
+ fill: var(--text-color);
250
+ font-family: var(--mermaid-font-family);
251
+ }
@@ -0,0 +1,7 @@
1
+ .commit-id,
2
+ .commit-msg,
3
+ .branch-label {
4
+ fill: lightgrey;
5
+ color: lightgrey;
6
+ font-family: var(--mermaid-font-family);
7
+ }
@@ -0,0 +1,37 @@
1
+ pre.mermaid, pre.graphviz {
2
+ background: none;
3
+ padding: 0;
4
+ border: none;
5
+ }
6
+
7
+ pre > svg {
8
+ display: block;
9
+ margin: 0 auto;
10
+ }
11
+
12
+ pre.graphviz {
13
+ white-space: normal;
14
+ max-width: calc(100% - 3.125rem);
15
+ svg > g > polygon {
16
+ fill: var(--grey-1);
17
+ }
18
+ }
19
+
20
+ .mermaid {
21
+ &.graph svg{
22
+ max-height: 18.75rem;
23
+ }
24
+
25
+ @import 'flowchart';
26
+ @import 'sequence';
27
+ @import 'gantt';
28
+ @import 'class';
29
+ @import 'git';
30
+ @import 'pie';
31
+ @import 'state';
32
+ }
33
+
34
+ :root {
35
+ --mermaid-font-family: "trebuchet ms", verdana, arial;
36
+ }
37
+
@@ -0,0 +1,9 @@
1
+ .pieTitleText {
2
+ text-anchor: middle;
3
+ font-size: 1.5625rem;
4
+ fill: $taskTextDarkColor;
5
+ font-family: var(--mermaid-font-family);
6
+ }
7
+ .slice {
8
+ font-family: var(--mermaid-font-family);
9
+ }
@@ -0,0 +1,95 @@
1
+ .actor {
2
+ stroke: var(--text-color);
3
+ fill: var(--grey-1);
4
+ }
5
+
6
+ text.actor {
7
+ fill: var(--text-color);
8
+ stroke: none;
9
+ }
10
+
11
+ .actor-line {
12
+ stroke: var(--text-color);
13
+ }
14
+
15
+ .messageLine0 {
16
+ stroke-width: 1.5;
17
+ stroke-dasharray: '2 2';
18
+ stroke: var(--text-color);
19
+ }
20
+
21
+ .messageLine1 {
22
+ stroke-width: 1.5;
23
+ stroke-dasharray: '2 2';
24
+ stroke: var(--text-color);
25
+ }
26
+
27
+ #arrowhead {
28
+ fill: var(--text-color);
29
+ }
30
+
31
+ .sequenceNumber {
32
+ fill: white;
33
+ }
34
+
35
+ #sequencenumber {
36
+ fill: var(--text-color);
37
+ }
38
+
39
+ #crosshead path {
40
+ fill: var(--text-color) !important;
41
+ stroke: var(--text-color) !important;
42
+ }
43
+
44
+ .messageText {
45
+ fill: var(--text-color);
46
+ stroke: none;
47
+ }
48
+
49
+ .labelBox {
50
+ stroke: var(--text-color);
51
+ fill: var(--grey-3);
52
+ }
53
+
54
+ .labelText {
55
+ fill: var(--text-color);
56
+ stroke: none;
57
+ }
58
+
59
+ .loopText {
60
+ fill: var(--text-color);
61
+ stroke: none;
62
+ }
63
+
64
+ .loopLine {
65
+ stroke-width: 2;
66
+ stroke-dasharray: '2 2';
67
+ stroke: var(--text-color);
68
+ }
69
+
70
+ .note {
71
+ stroke: var(--grey-4);
72
+ fill: var(--grey-3);
73
+ }
74
+
75
+ .noteText {
76
+ fill: black;
77
+ stroke: none;
78
+ font-family: var(--mermaid-font-family);
79
+ font-size: .875rem;
80
+ }
81
+
82
+ .activation0 {
83
+ fill: #f4f4f4;
84
+ stroke: #666;
85
+ }
86
+
87
+ .activation1 {
88
+ fill: #f4f4f4;
89
+ stroke: #666;
90
+ }
91
+
92
+ .activation2 {
93
+ fill: #f4f4f4;
94
+ stroke: #666;
95
+ }
@@ -0,0 +1,130 @@
1
+ g.stateGroup text {
2
+ fill: var(--text-color);
3
+ stroke: none;
4
+ font-size: .625rem;
5
+ font-family: var(--mermaid-font-family);
6
+ }
7
+ g.stateGroup text {
8
+ fill: var(--text-color);
9
+ stroke: none;
10
+ font-size: .625rem;
11
+
12
+ }
13
+ g.stateGroup .state-title {
14
+ font-weight: bolder;
15
+ fill: black;
16
+ }
17
+
18
+ g.stateGroup rect {
19
+ fill: var(--grey-1);
20
+ stroke: var(--text-color);
21
+ }
22
+
23
+ g.stateGroup line {
24
+ stroke: var(--text-color);
25
+ stroke-width: 1;
26
+ }
27
+
28
+ .transition {
29
+ stroke: var(--text-color);
30
+ stroke-width: 1;
31
+ fill: none;
32
+ }
33
+
34
+ .stateGroup .composit {
35
+ fill: white;
36
+ border-bottom: .0625rem
37
+ }
38
+
39
+ .stateGroup .alt-composit {
40
+ fill: #e0e0e0;
41
+ border-bottom: .0625rem
42
+ }
43
+
44
+ .state-note {
45
+ stroke: var(--grey-4);
46
+ fill: var(--grey-3);
47
+
48
+ text {
49
+ fill: black;
50
+ stroke: none;
51
+ font-size: .625rem;
52
+ }
53
+ }
54
+
55
+ .stateLabel .box {
56
+ stroke: none;
57
+ stroke-width: 0;
58
+ fill: var(--grey-1);
59
+ opacity: .5;
60
+ }
61
+
62
+ .stateLabel text {
63
+ fill: black;
64
+ font-size: .625rem;
65
+ font-weight: bold;
66
+ font-family: var(--mermaid-font-family);
67
+ }
68
+
69
+ .node circle.state-start {
70
+ fill: black;
71
+ stroke: black;
72
+ }
73
+ .node circle.state-end {
74
+ fill: black;
75
+ stroke: white;
76
+ stroke-width: 1.5
77
+ }
78
+ #statediagram-barbEnd {
79
+ fill: var(--text-color)
80
+ }
81
+
82
+ .statediagram-cluster rect {
83
+ fill: var(--grey-1);
84
+ stroke: var(--text-color);
85
+ stroke-width: .0625rem;
86
+ }
87
+ .statediagram-cluster rect.outer {
88
+ rx: .3125rem;
89
+ ry: .3125rem;
90
+ }
91
+ .statediagram-state .divider {
92
+ stroke: var(--text-color);
93
+ }
94
+
95
+ .statediagram-state .title-state {
96
+ rx: .3125rem;
97
+ ry: .3125rem;
98
+ }
99
+ .statediagram-cluster.statediagram-cluster .inner {
100
+ fill: white;
101
+ }
102
+ .statediagram-cluster.statediagram-cluster-alt .inner {
103
+ fill: #e0e0e0;
104
+ }
105
+
106
+ .statediagram-cluster .inner {
107
+ rx:0;
108
+ ry:0;
109
+ }
110
+
111
+ .statediagram-state rect.basic {
112
+ rx: .3125rem;
113
+ ry: .3125rem;
114
+ }
115
+ .statediagram-state rect.divider {
116
+ stroke-dasharray: 10,10;
117
+ fill: #efefef;
118
+ }
119
+
120
+ .note-edge {
121
+ stroke-dasharray: 5;
122
+ }
123
+
124
+ .statediagram-note rect {
125
+ stroke: var(--grey-4);
126
+ fill: var(--grey-3);
127
+ stroke-width: .0625rem;
128
+ rx: 0;
129
+ ry: 0;
130
+ }
@@ -0,0 +1,18 @@
1
+ .pace {
2
+ pointer-events: none;
3
+ user-select: none;
4
+ }
5
+
6
+ .pace-inactive {
7
+ display: none;
8
+ }
9
+
10
+ .pace .pace-progress {
11
+ background: var(--primary-color);
12
+ position: fixed;
13
+ z-index: 2000;
14
+ top: 0;
15
+ right: 100%;
16
+ width: 100%;
17
+ height: .125rem;
18
+ }
@@ -0,0 +1,167 @@
1
+ #search {
2
+ position: fixed;
3
+ background: var(--nav-bg);
4
+ left: 0;
5
+ top: 0;
6
+ width: 100%;
7
+ height: 100%;
8
+ padding: 1.25rem;
9
+ z-index: $zindex-4;
10
+ display: none;
11
+
12
+ >.inner {
13
+ border-radius: 0;
14
+ height: 100%;
15
+ margin: 0 auto;
16
+ width: 43.75rem;
17
+ text-shadow: none;
18
+
19
+ +mobile() {
20
+ width: 100%;
21
+ }
22
+ .icon,
23
+ .close-btn {
24
+ color: var(--grey-5);
25
+ font-size: 1.125rem;
26
+ padding: 0 .625rem;
27
+ }
28
+
29
+ .close-btn {
30
+ cursor: pointer;
31
+
32
+ &:hover i {
33
+ color: var(--grey-7);
34
+ }
35
+ }
36
+
37
+ .header {
38
+ display: flex;
39
+ background: var(--grey-1-a5);
40
+ border-radius: 3rem;
41
+ padding: .5rem 1.5rem;
42
+ margin-bottom: 1.25rem;
43
+ border: .0625rem solid var(--grey-5);
44
+ font-size: $font-size-large;
45
+ align-items: center;
46
+ }
47
+
48
+ .search-input-container {
49
+ flex-grow: 1;
50
+
51
+ form {
52
+ padding: .125rem;
53
+ }
54
+ }
55
+
56
+ .search-input {
57
+ background: transparent;
58
+ border: 0;
59
+ outline: 0;
60
+ width: 100%;
61
+
62
+ &::-webkit-search-cancel-button {
63
+ display: none;
64
+ }
65
+ }
66
+ }
67
+
68
+
69
+ .results {
70
+ height: calc(100% - 6.25rem);
71
+ padding: 1.875rem 1.875rem .3125rem;
72
+ border-radius: .3125rem;
73
+
74
+ background: var(--grey-1-a7) url(../images/search.png) no-repeat bottom right;
75
+
76
+ color: var(--text-color);
77
+
78
+ .inner {
79
+ position: relative;
80
+ height: 100%;
81
+ overflow: hidden;
82
+ }
83
+
84
+ hr {
85
+ margin: .625rem 0;
86
+ }
87
+ }
88
+
89
+ }
90
+
91
+
92
+ .algolia-powered {
93
+ float: right;
94
+ background: url('../images/algolia_logo.svg') no-repeat;
95
+ display: inline-block;
96
+ height: 1.125rem;
97
+ width: 4.25rem;
98
+ margin: .5rem auto;
99
+ }
100
+
101
+
102
+ #search-hits {
103
+ overflow-y: scroll;
104
+ height: calc(100% - 8.125rem);
105
+
106
+ ol {
107
+ padding: 0;
108
+ }
109
+
110
+ .item {
111
+ margin: .9375rem 0;
112
+
113
+ a {
114
+ border-bottom: .0625rem dashed var(--grey-4);
115
+ display: block;
116
+ the-transition();
117
+ }
118
+
119
+ span {
120
+ font-size: 70%;
121
+ display: block;
122
+
123
+ i {
124
+ color: var(--grey-4);
125
+ margin: 0 .3125rem;
126
+ }
127
+ }
128
+ }
129
+
130
+ }
131
+
132
+
133
+ #search-pagination {
134
+ ul {
135
+ padding: 0;
136
+ margin: 1.25rem 0;
137
+ }
138
+ .pagination {
139
+ opacity: 1;
140
+ padding: 0;
141
+ }
142
+
143
+ .pagination-item {
144
+ display: inline-block;
145
+ }
146
+
147
+ .page-number {
148
+ the-transition();
149
+ }
150
+
151
+ .current .page-number {
152
+ @extend .pagination .page-number.current;
153
+ cursor: default;
154
+ }
155
+
156
+ .disabled-item {
157
+ color: var(--grey-4);
158
+ cursor: default;
159
+
160
+ .page-number:hover {
161
+ color: var(--grey-4);
162
+ background: none;
163
+ box-shadow: none;
164
+ }
165
+
166
+ }
167
+ }