hdoc-tools 0.1.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.
Files changed (79) hide show
  1. package/custom_modules/tips.js +69 -0
  2. package/hdoc-build.js +5 -0
  3. package/hdoc-serve.js +366 -0
  4. package/hdoc.js +86 -0
  5. package/package.json +29 -0
  6. package/ui/css/images/hornbill-logo-full.svg +92 -0
  7. package/ui/css/theme-default/fonts/inter-cyrillic-ext.woff2 +0 -0
  8. package/ui/css/theme-default/fonts/inter-cyrillic.woff2 +0 -0
  9. package/ui/css/theme-default/fonts/inter-greek-ext.woff2 +0 -0
  10. package/ui/css/theme-default/fonts/inter-greek.woff2 +0 -0
  11. package/ui/css/theme-default/fonts/inter-italic-cyrillic-ext.woff2 +0 -0
  12. package/ui/css/theme-default/fonts/inter-italic-cyrillic.woff2 +0 -0
  13. package/ui/css/theme-default/fonts/inter-italic-greek-ext.woff2 +0 -0
  14. package/ui/css/theme-default/fonts/inter-italic-greek.woff2 +0 -0
  15. package/ui/css/theme-default/fonts/inter-italic-latin-ext.woff2 +0 -0
  16. package/ui/css/theme-default/fonts/inter-italic-latin.woff2 +0 -0
  17. package/ui/css/theme-default/fonts/inter-italic-vietnamese.woff2 +0 -0
  18. package/ui/css/theme-default/fonts/inter-latin-ext.woff2 +0 -0
  19. package/ui/css/theme-default/fonts/inter-latin.woff2 +0 -0
  20. package/ui/css/theme-default/fonts/inter-roman-cyrillic-ext.woff2 +0 -0
  21. package/ui/css/theme-default/fonts/inter-roman-cyrillic.woff2 +0 -0
  22. package/ui/css/theme-default/fonts/inter-roman-greek-ext.woff2 +0 -0
  23. package/ui/css/theme-default/fonts/inter-roman-greek.woff2 +0 -0
  24. package/ui/css/theme-default/fonts/inter-roman-latin-ext.woff2 +0 -0
  25. package/ui/css/theme-default/fonts/inter-roman-latin.woff2 +0 -0
  26. package/ui/css/theme-default/fonts/inter-roman-vietnamese.woff2 +0 -0
  27. package/ui/css/theme-default/fonts/inter-vietnamese.woff2 +0 -0
  28. package/ui/css/theme-default/styles/base.css +225 -0
  29. package/ui/css/theme-default/styles/components/content.css +82 -0
  30. package/ui/css/theme-default/styles/components/custom-block.css +90 -0
  31. package/ui/css/theme-default/styles/components/htl-doc.css +711 -0
  32. package/ui/css/theme-default/styles/components/sidebar.css +178 -0
  33. package/ui/css/theme-default/styles/fonts.css +221 -0
  34. package/ui/css/theme-default/styles/htldoc.layouts.css +244 -0
  35. package/ui/css/theme-default/styles/vars.css +393 -0
  36. package/ui/index.html +230 -0
  37. package/ui/js/doc.hornbill.js +485 -0
  38. package/ui/js/highlightjs/LICENSE +24 -0
  39. package/ui/js/highlightjs/highlight.pack.js +2 -0
  40. package/ui/js/highlightjs/styles/brown-paper.css +64 -0
  41. package/ui/js/highlightjs/styles/brown-papersq.png +0 -0
  42. package/ui/js/highlightjs/styles/codepen-embed.css +60 -0
  43. package/ui/js/highlightjs/styles/color-brewer.css +71 -0
  44. package/ui/js/highlightjs/styles/darcula.css +77 -0
  45. package/ui/js/highlightjs/styles/dark.css +63 -0
  46. package/ui/js/highlightjs/styles/darkula.css +6 -0
  47. package/ui/js/highlightjs/styles/default.css +99 -0
  48. package/ui/js/highlightjs/styles/dracula.css +76 -0
  49. package/ui/js/highlightjs/styles/far.css +71 -0
  50. package/ui/js/highlightjs/styles/foundation.css +88 -0
  51. package/ui/js/highlightjs/styles/github-gist.css +71 -0
  52. package/ui/js/highlightjs/styles/github-mm.css +71 -0
  53. package/ui/js/highlightjs/styles/github.css +99 -0
  54. package/ui/js/highlightjs/styles/googlecode.css +89 -0
  55. package/ui/js/highlightjs/styles/grayscale.css +101 -0
  56. package/ui/js/highlightjs/styles/idea.css +97 -0
  57. package/ui/js/highlightjs/styles/ir-black.css +73 -0
  58. package/ui/js/highlightjs/styles/kavadocs.css +71 -0
  59. package/ui/js/highlightjs/styles/kavadocsdark.css +120 -0
  60. package/ui/js/highlightjs/styles/kimbie.dark.css +74 -0
  61. package/ui/js/highlightjs/styles/kimbie.light.css +74 -0
  62. package/ui/js/highlightjs/styles/magula.css +70 -0
  63. package/ui/js/highlightjs/styles/mono-blue.css +59 -0
  64. package/ui/js/highlightjs/styles/monokai-sublime.css +83 -0
  65. package/ui/js/highlightjs/styles/monokai.css +70 -0
  66. package/ui/js/highlightjs/styles/obsidian.css +88 -0
  67. package/ui/js/highlightjs/styles/paraiso-dark.css +72 -0
  68. package/ui/js/highlightjs/styles/paraiso-light.css +72 -0
  69. package/ui/js/highlightjs/styles/railscasts.css +106 -0
  70. package/ui/js/highlightjs/styles/rainbow.css +85 -0
  71. package/ui/js/highlightjs/styles/solarized-dark.css +84 -0
  72. package/ui/js/highlightjs/styles/solarized-light.css +84 -0
  73. package/ui/js/highlightjs/styles/sunburst.css +102 -0
  74. package/ui/js/highlightjs/styles/twilight.css +97 -0
  75. package/ui/js/highlightjs/styles/vs.css +68 -0
  76. package/ui/js/highlightjs/styles/vs2015.css +117 -0
  77. package/ui/js/highlightjs/styles/xcode.css +104 -0
  78. package/ui/js/highlightjs/styles/zenburn.css +80 -0
  79. package/ui/js/highlightjs-badge.js +443 -0
@@ -0,0 +1,178 @@
1
+ .DocSidebar {
2
+ position:relative;
3
+ width: 0px;
4
+ opacity: 0;
5
+ box-shadow: var(--htl-c-shadow-3);
6
+ transform: translateX(-100%);
7
+ --transition: opacity 0.5s, transform 0.25s ease;
8
+ border-right: 1px solid var(--htl-c-divider-light);
9
+ }
10
+
11
+ .dark .DocSidebar {
12
+ box-shadow: var(--htl-shadow-1);
13
+ }
14
+
15
+ /* when screen is 1019px wide and less */
16
+ @media (max-width: 1019px) {
17
+
18
+ .DocSidebar.open {
19
+ width:100%;
20
+ height: -webkit-fill-available;
21
+ overflow: auto;
22
+ background-color: var(--htl-c-bg);
23
+ max-width:420px; /* will goto max-width above */
24
+ opacity: 1;
25
+ position:absolute;
26
+ z-index:999;
27
+ visibility: visible;
28
+ transform: translateX(0);
29
+ transition: opacity 0.25s,
30
+ transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
31
+ }
32
+ }
33
+
34
+ /* when screen is 1020px wide and more */
35
+ @media (min-width: 1020px) {
36
+ .DocSidebar {
37
+ min-width:320px;
38
+ max-width:320px;
39
+ z-index: 1;
40
+ opacity: 1;
41
+ visibility: visible;
42
+ box-shadow: none;
43
+ transform: translateX(0);
44
+ }
45
+
46
+
47
+ .toolbar-layout .mobile-menu-btn
48
+ {
49
+ display:none;
50
+ }
51
+
52
+ }
53
+
54
+ /* when screen is 1720px wide and more */
55
+ @media (min-width: 1720px) {
56
+ .DocSidebar {
57
+ min-width:420px;
58
+ }
59
+
60
+ }
61
+
62
+
63
+ .DocSidebar .nav {
64
+ background-color: var(--htl-c-bg);
65
+ outline: 0;
66
+ padding: 0 20px 20px;
67
+ }
68
+
69
+ .DocSidebar .group {
70
+ margin-top: 5px;
71
+ margin-bottom: 5px;
72
+ padding-top: 10px;
73
+ }
74
+
75
+ .DocSidebar .group + .group {
76
+ margin-top: 5px;
77
+ margin-bottom: 5px;
78
+ border-top: 1px solid var(--htl-c-divider-light);
79
+ }
80
+
81
+
82
+ /*DocSidebarGroup*/
83
+ .DocSidebarGroup
84
+ {
85
+ padding-bottom:5px;
86
+ }
87
+ .DocSidebarGroup .title {
88
+ display: flex;
89
+ justify-content: space-between;
90
+ align-items: flex-start;
91
+ z-index: 2;
92
+ }
93
+
94
+ .DocSidebarGroup .title-text {
95
+ width:100%;
96
+ display: block;
97
+ padding-top: 2px;
98
+ padding-bottom: 2px;
99
+ margin: 4px 0;
100
+ transition: color 0.5s;
101
+ line-height: 20px;
102
+ }
103
+
104
+ .DocSidebarGroup .action {
105
+ /*display: none;*/
106
+ position: relative;
107
+ margin-right: -8px;
108
+ border-radius: 4px;
109
+ width: 32px;
110
+ height: 32px;
111
+ }
112
+
113
+ .DocSidebarGroup.collapsible .action {
114
+ display: block;
115
+ }
116
+
117
+ .DocSidebarGroup.collapsible .title {
118
+ cursor: pointer;
119
+ }
120
+
121
+ .DocSidebarGroup .title:hover .action {
122
+ color: var(--htl-c-text-2);
123
+ }
124
+
125
+ .DocSidebarGroup .icon {
126
+ position: absolute;
127
+ top: 10px;
128
+ left: 0px;
129
+ width: 16px;
130
+ height: 16px;
131
+ font-size: 12px;
132
+
133
+ }
134
+
135
+ .DocSidebarGroup .items
136
+ {
137
+ padding-left: 20px;
138
+ }
139
+
140
+
141
+ /*.DocLink */
142
+ .DocLink.link {
143
+ display: block;
144
+ padding-top: 2px;
145
+ padding-bottom: 2px;
146
+ margin: 4px 0;
147
+ transition: color 0.5s;
148
+ }
149
+
150
+ .DocLink.link:hover {
151
+ color: var(--htl-c-text-1);
152
+ text-decoration: underline;
153
+ }
154
+
155
+ .DocLink.link.active {
156
+ color: var(--htl-c-brand);
157
+ }
158
+
159
+ .DocLink.link :deep(.icon) {
160
+ width: 12px;
161
+ height: 12px;
162
+ fill: currentColor;
163
+ }
164
+
165
+ .DocLink.noitems {
166
+ margin-left: 23px;
167
+ }
168
+
169
+ .DocLink .link-text {
170
+ line-height: 20px;
171
+ font-size: var(--htl-default-font-size);
172
+ }
173
+
174
+ .DocLink .link-text.light {
175
+ font-size: var(--htl-default-font-size);
176
+ font-weight: 400;
177
+ }
178
+
@@ -0,0 +1,221 @@
1
+ /* webfont-marker-begin */
2
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
3
+ /* webfont-marker-end */
4
+
5
+ @font-face {
6
+ font-family: 'Inter var';
7
+ font-weight: 100 900;
8
+ font-display: swap;
9
+ font-style: normal;
10
+ font-named-instance: 'Regular';
11
+ src: url('../fonts/inter-roman-cyrillic.woff2') format('woff2');
12
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
13
+ }
14
+
15
+ @font-face {
16
+ font-family: 'Inter var';
17
+ font-weight: 100 900;
18
+ font-display: swap;
19
+ font-style: normal;
20
+ font-named-instance: 'Regular';
21
+ src: url('../fonts/inter-roman-cyrillic-ext.woff2') format('woff2');
22
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
23
+ U+FE2E-FE2F;
24
+ }
25
+
26
+ @font-face {
27
+ font-family: 'Inter var';
28
+ font-weight: 100 900;
29
+ font-display: swap;
30
+ font-style: normal;
31
+ font-named-instance: 'Regular';
32
+ src: url('../fonts/inter-roman-greek.woff2') format('woff2');
33
+ unicode-range: U+0370-03FF;
34
+ }
35
+
36
+ @font-face {
37
+ font-family: 'Inter var';
38
+ font-weight: 100 900;
39
+ font-display: swap;
40
+ font-style: normal;
41
+ font-named-instance: 'Regular';
42
+ src: url('../fonts/inter-roman-greek-ext.woff2') format('woff2');
43
+ unicode-range: U+1F00-1FFF;
44
+ }
45
+
46
+ @font-face {
47
+ font-family: 'Inter var';
48
+ font-weight: 100 900;
49
+ font-display: swap;
50
+ font-style: normal;
51
+ font-named-instance: 'Regular';
52
+ src: url('../fonts/inter-roman-latin.woff2') format('woff2');
53
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
54
+ U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
55
+ U+FEFF, U+FFFD;
56
+ }
57
+
58
+ @font-face {
59
+ font-family: 'Inter var';
60
+ font-weight: 100 900;
61
+ font-display: swap;
62
+ font-style: normal;
63
+ font-named-instance: 'Regular';
64
+ src: url('../fonts/inter-roman-latin-ext.woff2') format('woff2');
65
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
66
+ U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
67
+ }
68
+
69
+ @font-face {
70
+ font-family: 'Inter var';
71
+ font-weight: 100 900;
72
+ font-display: swap;
73
+ font-style: normal;
74
+ font-named-instance: 'Regular';
75
+ src: url('../fonts/inter-roman-vietnamese.woff2') format('woff2');
76
+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
77
+ U+01AF-01B0, U+1EA0-1EF9, U+20AB;
78
+ }
79
+
80
+ @font-face {
81
+ font-family: 'Inter var';
82
+ font-weight: 100 900;
83
+ font-display: swap;
84
+ font-style: italic;
85
+ font-named-instance: 'Italic';
86
+ src: url('../fonts/inter-italic-cyrillic.woff2') format('woff2');
87
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
88
+ }
89
+
90
+ @font-face {
91
+ font-family: 'Inter var';
92
+ font-weight: 100 900;
93
+ font-display: swap;
94
+ font-style: italic;
95
+ font-named-instance: 'Italic';
96
+ src: url('../fonts/inter-italic-cyrillic-ext.woff2') format('woff2');
97
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
98
+ U+FE2E-FE2F;
99
+ }
100
+
101
+ @font-face {
102
+ font-family: 'Inter var';
103
+ font-weight: 100 900;
104
+ font-display: swap;
105
+ font-style: italic;
106
+ font-named-instance: 'Italic';
107
+ src: url('../fonts/inter-italic-greek.woff2') format('woff2');
108
+ unicode-range: U+0370-03FF;
109
+ }
110
+
111
+ @font-face {
112
+ font-family: 'Inter var';
113
+ font-weight: 100 900;
114
+ font-display: swap;
115
+ font-style: italic;
116
+ font-named-instance: 'Italic';
117
+ src: url('../fonts/inter-italic-greek-ext.woff2') format('woff2');
118
+ unicode-range: U+1F00-1FFF;
119
+ }
120
+
121
+ @font-face {
122
+ font-family: 'Inter var';
123
+ font-weight: 100 900;
124
+ font-display: swap;
125
+ font-style: italic;
126
+ font-named-instance: 'Italic';
127
+ src: url('../fonts/inter-italic-latin.woff2') format('woff2');
128
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
129
+ U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
130
+ U+FEFF, U+FFFD;
131
+ }
132
+
133
+ @font-face {
134
+ font-family: 'Inter var';
135
+ font-weight: 100 900;
136
+ font-display: swap;
137
+ font-style: italic;
138
+ font-named-instance: 'Italic';
139
+ src: url('../fonts/inter-italic-latin-ext.woff2') format('woff2');
140
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
141
+ U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
142
+ }
143
+
144
+ @font-face {
145
+ font-family: 'Inter var';
146
+ font-weight: 100 900;
147
+ font-display: swap;
148
+ font-style: italic;
149
+ font-named-instance: 'Italic';
150
+ src: url('../fonts/inter-italic-vietnamese.woff2') format('woff2');
151
+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
152
+ U+01AF-01B0, U+1EA0-1EF9, U+20AB;
153
+ }
154
+
155
+ @font-face {
156
+ font-family: 'Inter var experimental';
157
+ font-weight: 100 900;
158
+ font-display: swap;
159
+ font-style: oblique 0deg 10deg;
160
+ src: url('../fonts/inter-cyrillic.woff2') format('woff2');
161
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
162
+ }
163
+
164
+ @font-face {
165
+ font-family: 'Inter var experimental';
166
+ font-weight: 100 900;
167
+ font-display: swap;
168
+ font-style: oblique 0deg 10deg;
169
+ src: url('../fonts/inter-cyrillic-ext.woff2') format('woff2');
170
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
171
+ U+FE2E-FE2F;
172
+ }
173
+
174
+ @font-face {
175
+ font-family: 'Inter var experimental';
176
+ font-weight: 100 900;
177
+ font-display: swap;
178
+ font-style: oblique 0deg 10deg;
179
+ src: url('../fonts/inter-greek.woff2') format('woff2');
180
+ unicode-range: U+0370-03FF;
181
+ }
182
+
183
+ @font-face {
184
+ font-family: 'Inter var experimental';
185
+ font-weight: 100 900;
186
+ font-display: swap;
187
+ font-style: oblique 0deg 10deg;
188
+ src: url('../fonts/inter-greek-ext.woff2') format('woff2');
189
+ unicode-range: U+1F00-1FFF;
190
+ }
191
+
192
+ @font-face {
193
+ font-family: 'Inter var experimental';
194
+ font-weight: 100 900;
195
+ font-display: swap;
196
+ font-style: oblique 0deg 10deg;
197
+ src: url('../fonts/inter-latin.woff2') format('woff2');
198
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
199
+ U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
200
+ U+FEFF, U+FFFD;
201
+ }
202
+
203
+ @font-face {
204
+ font-family: 'Inter var experimental';
205
+ font-weight: 100 900;
206
+ font-display: swap;
207
+ font-style: oblique 0deg 10deg;
208
+ src: url('../fonts/inter-latin-ext.woff2') format('woff2');
209
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
210
+ U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
211
+ }
212
+
213
+ @font-face {
214
+ font-family: 'Inter var experimental';
215
+ font-weight: 100 900;
216
+ font-display: swap;
217
+ font-style: oblique 0deg 10deg;
218
+ src: url('../fonts/inter-vietnamese.woff2') format('woff2');
219
+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
220
+ U+01AF-01B0, U+1EA0-1EF9, U+20AB;
221
+ }
@@ -0,0 +1,244 @@
1
+ /* put htl styles here */
2
+
3
+ /* LAYOUT */
4
+ .hb-container-vertical,
5
+ .hb-container-horizontal{
6
+ height: 100%;
7
+ display: flex;
8
+ flex-direction: column;
9
+ }
10
+ .hb-container-horizontal{
11
+ flex-direction: row;
12
+ }
13
+ .hb-container-vertical > *,
14
+ .hb-container-horizontal > *{
15
+ flex-shrink: 1;
16
+ }
17
+ .hb-container-vertical > .hb-container-expand,
18
+ .hb-container-horizontal > .hb-container-expand{
19
+ flex-grow: 1;
20
+ overflow: auto;
21
+ }
22
+ .hb-full-height{
23
+ height: 100%;
24
+ }
25
+ .hb-min-height{
26
+ height: auto;
27
+ }
28
+ .hb-overflow-hidden{
29
+ overflow: hidden !important;
30
+ }
31
+ .hb-center-v
32
+ {
33
+ margin-top: auto;
34
+ margin-bottom: auto;
35
+ }
36
+ .hb-text-overflow
37
+ {
38
+ white-space: nowrap;
39
+ overflow: hidden;
40
+ text-overflow: ellipsis;
41
+ }
42
+
43
+ /* toolbar */
44
+ .toolbar-layout
45
+ {
46
+ height: 58px;
47
+ line-height: 58px;
48
+ border-bottom: 1px solid var(--htl-c-divider-light);
49
+ }
50
+
51
+ .toolbar-logo
52
+ {
53
+ width: 200px;
54
+ min-width: 200px;
55
+ height: 100%;
56
+ padding: 0px 20px;
57
+ }
58
+
59
+ .toolbar-logo-image
60
+ {
61
+ background: url(/css/images/hornbill-logo-full.svg) no-repeat left center;
62
+ height:100%;
63
+ }
64
+
65
+ .toolbar-split {
66
+ margin-top: auto;
67
+ margin-bottom: auto;
68
+ height: 50%;
69
+ border-left: 2px solid var(--htl-c-divider-light);
70
+ margin-left: 0.5rem;
71
+ margin-right: 0.5rem;
72
+ display: block;
73
+ }
74
+
75
+ .toolbar-middle
76
+ {
77
+ padding: 0px 20px
78
+ }
79
+
80
+ .toolbar-right
81
+ {
82
+ padding: 0px 20px;
83
+ }
84
+
85
+
86
+ /* toolbar title and desc */
87
+ .toolbar-layout .title
88
+ {
89
+ white-space: nowrap;
90
+ overflow: hidden;
91
+ text-overflow: ellipsis;
92
+ }
93
+ .toolbar-layout .description
94
+ {
95
+ white-space: nowrap;
96
+ overflow: hidden;
97
+ text-overflow: ellipsis;
98
+ }
99
+
100
+ .toolbar-layout .mobile-menu-btn
101
+ {
102
+ border-radius: 4px 4px;
103
+ margin-left:10px;
104
+ padding: 4 4;
105
+ font-size: var(--htl-massive-font-size);
106
+ border-color: var(--htl-button-brand-border);
107
+ color:var(--htl-c-brand-dark);
108
+ }
109
+
110
+ .toolbar-layout .mobile-menu-btn:hover
111
+ {
112
+ border: var(--htl-button-brand-lighter);
113
+ color:var(--htl-c-text-dark-1);
114
+ background:var(--htl-c-brand);
115
+ }
116
+
117
+ /* top nav bar */
118
+ .nav-bar-nav-list {
119
+ align-items: stretch;
120
+ display: flex;
121
+ }
122
+
123
+ .nav-bar-nav-list .nav-bar-item {
124
+ flex-shrink: 0;
125
+ align-items: center;
126
+ display: flex;
127
+
128
+ }
129
+
130
+ .nav-bar-nav-list .nav-bar-item > a{
131
+ padding:0 0.5rem;
132
+ font-size: var(--htl-default-font-size);
133
+ }
134
+
135
+ .nav-bar-nav-list .nav-bar-item:hover {
136
+ text-decoration: underline;
137
+ cursor: pointer;
138
+ }
139
+
140
+ .nav-bar-nav-list .nav-bar-item.active {
141
+ text-decoration: underline;
142
+ }
143
+
144
+ /* panel headers */
145
+ .panel-header
146
+ {
147
+ background-color: var(--htl-c-white-soft);
148
+ padding:10px;
149
+ border: 1px solid var(--htl-c-divider-light);
150
+ border-radius: 4px 4px 0 0;
151
+ }
152
+ .panel-header .icon
153
+ {
154
+ font-size: 20px;
155
+ font-weight: normal;
156
+
157
+ display: inline-block;
158
+ position: relative;
159
+ top: 3px;
160
+
161
+ margin-right:5px;
162
+
163
+
164
+ }
165
+ .panel-header .title
166
+ {
167
+ width:32px;height:32px;
168
+ font-size: var(--htl-default-font-size);
169
+ font-weight: 600;
170
+
171
+ }
172
+ .dark .panel-header
173
+ {
174
+ background-color: var(--htl-c-black);
175
+ }
176
+ .panel-content
177
+ {
178
+ padding:10px;
179
+ border: 1px solid var(--htl-c-divider-light);
180
+ border-top-width: 0px;
181
+ }
182
+
183
+
184
+ /* theme switcher */
185
+ .theme-switch {
186
+ position:relative;
187
+ display: inline-block;
188
+ width: 30px;
189
+ height: 20px;
190
+
191
+ }
192
+
193
+ .theme-switch input {
194
+ opacity: 0;
195
+ width: 0;
196
+ height: 0;
197
+ }
198
+
199
+ .slider {
200
+ position: absolute;
201
+ cursor: pointer;
202
+ top: 0;
203
+ left: 0;
204
+ right: 0;
205
+ bottom: 0;
206
+ background-color: #ccc;
207
+ -webkit-transition: .4s;
208
+ transition: .4s;
209
+ }
210
+
211
+ .slider:before {
212
+ position: absolute;
213
+ content: "";
214
+ height: 13px;
215
+ width: 13px;
216
+ left: 2px;
217
+ bottom: 4px;
218
+ background-color: white;
219
+ -webkit-transition: .4s;
220
+ transition: .4s;
221
+ }
222
+
223
+ input:checked + .slider {
224
+ background-color: #2196F3;
225
+ }
226
+
227
+ input:focus + .slider {
228
+ box-shadow: 0 0 1px #2196F3;
229
+ }
230
+
231
+ input:checked + .slider:before {
232
+ -webkit-transform: translateX(13px);
233
+ -ms-transform: translateX(13px);
234
+ transform: translateX(13px);
235
+ }
236
+
237
+ /* Rounded sliders */
238
+ .slider.round {
239
+ border-radius: 34px;
240
+ }
241
+
242
+ .slider.round:before {
243
+ border-radius: 50%;
244
+ }