this.gui 1.0.14 → 1.0.16

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 (259) hide show
  1. package/README.md +0 -39
  2. package/dist/style.css +1 -1
  3. package/dist/this-gui.es.js +3751 -1882
  4. package/dist/this-gui.umd.js +34 -22
  5. package/package.json +14 -12
  6. package/src/App.jsx +50 -21
  7. package/src/SiteBuilder.jsx +39 -0
  8. package/src/index.mdx +10 -0
  9. package/src/main.jsx +11 -14
  10. package/src/scripts/postinstall.js +28 -31
  11. package/src/scripts/verifyLayouts.js +175 -0
  12. package/src/scripts/verifyTemplates.js +154 -0
  13. package/src/stories/Atoms/Alert/Alert.css +196 -14
  14. package/src/stories/Atoms/Alert/Alert.jsx +43 -28
  15. package/src/stories/Atoms/Alert/Alert.stories.jsx +154 -28
  16. package/src/stories/Atoms/Audio/Audio.css +246 -16
  17. package/src/stories/Atoms/Audio/Audio.jsx +204 -29
  18. package/src/stories/Atoms/Audio/Audio.stories.jsx +178 -28
  19. package/src/stories/Atoms/Badge/Badge.css +234 -15
  20. package/src/stories/Atoms/Badge/Badge.jsx +44 -31
  21. package/src/stories/Atoms/Badge/Badge.stories.jsx +108 -29
  22. package/src/stories/Atoms/Button/Button.css +106 -45
  23. package/src/stories/Atoms/Button/Button.jsx +31 -82
  24. package/src/stories/Atoms/Button/Button.stories.jsx +170 -40
  25. package/src/stories/Atoms/Caption/Caption.css +156 -16
  26. package/src/stories/Atoms/Caption/Caption.jsx +62 -31
  27. package/src/stories/Atoms/Caption/Caption.stories.jsx +194 -28
  28. package/src/stories/Atoms/Checkbox/Checkbox.css +168 -15
  29. package/src/stories/Atoms/Checkbox/Checkbox.jsx +73 -31
  30. package/src/stories/Atoms/Checkbox/Checkbox.stories.jsx +98 -27
  31. package/src/stories/Atoms/Container/Container.css +75 -15
  32. package/src/stories/Atoms/Container/Container.jsx +41 -28
  33. package/src/stories/Atoms/Container/Container.stories.jsx +92 -29
  34. package/src/stories/Atoms/Divider/Divider.css +131 -13
  35. package/src/stories/Atoms/Divider/Divider.jsx +54 -33
  36. package/src/stories/Atoms/Divider/Divider.stories.jsx +93 -29
  37. package/src/stories/Atoms/Heading/Heading.css +99 -16
  38. package/src/stories/Atoms/Heading/Heading.jsx +57 -29
  39. package/src/stories/Atoms/Heading/Heading.stories.jsx +117 -28
  40. package/src/stories/Atoms/Icon/Icon.css +219 -27
  41. package/src/stories/Atoms/Icon/Icon.jsx +67 -38
  42. package/src/stories/Atoms/Icon/Icon.stories.jsx +156 -51
  43. package/src/stories/Atoms/Image/Image.css +231 -15
  44. package/src/stories/Atoms/Image/Image.jsx +166 -32
  45. package/src/stories/Atoms/Image/Image.stories.jsx +319 -28
  46. package/src/stories/Atoms/Label/Label.css +158 -16
  47. package/src/stories/Atoms/Label/Label.jsx +61 -31
  48. package/src/stories/Atoms/Label/Label.stories.jsx +167 -28
  49. package/src/stories/Atoms/Link/Link.css +58 -16
  50. package/src/stories/Atoms/Link/Link.jsx +73 -32
  51. package/src/stories/Atoms/Link/Link.stories.jsx +141 -29
  52. package/src/stories/Atoms/Loader/Loader.css +93 -16
  53. package/src/stories/Atoms/Loader/Loader.jsx +47 -30
  54. package/src/stories/Atoms/Loader/Loader.stories.jsx +86 -28
  55. package/src/stories/Atoms/Logo/Logo.css +94 -0
  56. package/src/stories/Atoms/Logo/Logo.jsx +53 -0
  57. package/src/stories/Atoms/Logo/Logo.stories.jsx +120 -0
  58. package/src/stories/Atoms/Paragraph/Paragraph.css +167 -16
  59. package/src/stories/Atoms/Paragraph/Paragraph.jsx +67 -31
  60. package/src/stories/Atoms/Paragraph/Paragraph.stories.jsx +130 -28
  61. package/src/stories/Atoms/ProgressBar/ProgressBar.css +115 -17
  62. package/src/stories/Atoms/ProgressBar/ProgressBar.jsx +30 -31
  63. package/src/stories/Atoms/ProgressBar/ProgressBar.stories.jsx +72 -27
  64. package/src/stories/Atoms/RadioButton/RadioButton.css +118 -17
  65. package/src/stories/Atoms/RadioButton/RadioButton.jsx +77 -31
  66. package/src/stories/Atoms/RadioButton/RadioButton.stories.jsx +99 -27
  67. package/src/stories/Atoms/Range/Range.css +169 -0
  68. package/src/stories/Atoms/Range/Range.jsx +87 -0
  69. package/src/stories/Atoms/Range/Range.stories.jsx +110 -0
  70. package/src/stories/Atoms/Select/Select.css +74 -16
  71. package/src/stories/Atoms/Select/Select.jsx +62 -30
  72. package/src/stories/Atoms/Select/Select.stories.jsx +95 -27
  73. package/src/stories/Atoms/Slider/Slider.css +77 -16
  74. package/src/stories/Atoms/Slider/Slider.jsx +119 -31
  75. package/src/stories/Atoms/Slider/Slider.stories.jsx +77 -28
  76. package/src/stories/Atoms/Snackbar/Snackbar.css +297 -13
  77. package/src/stories/Atoms/Snackbar/Snackbar.jsx +62 -31
  78. package/src/stories/Atoms/Snackbar/Snackbar.stories.jsx +63 -26
  79. package/src/stories/Atoms/Spacer/Spacer.css +101 -16
  80. package/src/stories/Atoms/Spacer/Spacer.jsx +26 -32
  81. package/src/stories/Atoms/Spacer/Spacer.stories.jsx +50 -30
  82. package/src/stories/Atoms/Spinner/Spinner.css +97 -16
  83. package/src/stories/Atoms/Spinner/Spinner.jsx +50 -26
  84. package/src/stories/Atoms/Spinner/Spinner.stories.jsx +47 -30
  85. package/src/stories/Atoms/Tag/Tag.css +97 -14
  86. package/src/stories/Atoms/Tag/Tag.jsx +58 -24
  87. package/src/stories/Atoms/Tag/Tag.stories.jsx +55 -29
  88. package/src/stories/Atoms/TextArea/TextArea.css +84 -15
  89. package/src/stories/Atoms/TextArea/TextArea.jsx +107 -31
  90. package/src/stories/Atoms/TextArea/TextArea.stories.jsx +24 -30
  91. package/src/stories/Atoms/TextInput/TextInput.css +89 -17
  92. package/src/stories/Atoms/TextInput/TextInput.jsx +118 -27
  93. package/src/stories/Atoms/TextInput/TextInput.stories.jsx +52 -25
  94. package/src/stories/Atoms/Toggle/Toggle.css +105 -17
  95. package/src/stories/Atoms/Toggle/Toggle.jsx +55 -28
  96. package/src/stories/Atoms/Toggle/Toggle.stories.jsx +23 -30
  97. package/src/stories/Atoms/Tooltip/Tooltip.css +367 -14
  98. package/src/stories/Atoms/Tooltip/Tooltip.jsx +32 -28
  99. package/src/stories/Atoms/Tooltip/Tooltip.stories.jsx +41 -31
  100. package/src/stories/Atoms/Video/Video.css +27 -18
  101. package/src/stories/Atoms/Video/Video.jsx +65 -29
  102. package/src/stories/Atoms/Video/Video.stories.jsx +29 -30
  103. package/src/stories/Atoms/index.js +5 -2
  104. package/src/stories/Atoms/meta_Atoms.js +3 -1
  105. package/src/stories/Layouts/Accordion/Accordion.css +16 -0
  106. package/src/stories/Layouts/Accordion/Accordion.jsx +31 -0
  107. package/src/stories/Layouts/Accordion/Accordion.stories.jsx +28 -0
  108. package/src/stories/Layouts/DropdownMenu/DropdownMenu.css +16 -0
  109. package/src/stories/Layouts/DropdownMenu/DropdownMenu.jsx +31 -0
  110. package/src/stories/Layouts/DropdownMenu/DropdownMenu.stories.jsx +28 -0
  111. package/src/stories/Layouts/Flexbox/Flexbox.css +16 -0
  112. package/src/stories/Layouts/Flexbox/Flexbox.jsx +11 -0
  113. package/src/stories/Layouts/Flexbox/Flexbox.stories.jsx +28 -0
  114. package/src/stories/Layouts/Footer/Footer.css +16 -0
  115. package/src/stories/Layouts/Footer/Footer.jsx +31 -0
  116. package/src/stories/Layouts/Footer/Footer.stories.jsx +28 -0
  117. package/src/stories/Layouts/Grid/Grid.jsx +2 -4
  118. package/src/stories/Layouts/Grid/Grid.stories.jsx +20 -18
  119. package/src/stories/Layouts/Header/Header.css +16 -0
  120. package/src/stories/Layouts/Header/Header.jsx +31 -0
  121. package/src/stories/Layouts/Header/Header.stories.jsx +28 -0
  122. package/src/stories/Layouts/HeroBanner/HeroBanner.css +16 -0
  123. package/src/stories/Layouts/HeroBanner/HeroBanner.jsx +31 -0
  124. package/src/stories/Layouts/HeroBanner/HeroBanner.stories.jsx +28 -0
  125. package/src/stories/Layouts/HeroImageVideo/HeroImageVideo.css +16 -0
  126. package/src/stories/Layouts/HeroImageVideo/HeroImageVideo.jsx +31 -0
  127. package/src/stories/Layouts/HeroImageVideo/HeroImageVideo.stories.jsx +28 -0
  128. package/src/stories/Layouts/Pagination/Pagination.css +16 -0
  129. package/src/stories/Layouts/Pagination/Pagination.jsx +31 -0
  130. package/src/stories/Layouts/Pagination/Pagination.stories.jsx +28 -0
  131. package/src/stories/Layouts/Section/Section.css +16 -0
  132. package/src/stories/Layouts/Section/Section.jsx +31 -0
  133. package/src/stories/Layouts/Section/Section.stories.jsx +28 -0
  134. package/src/stories/Layouts/Sidebar/Sidebar.css +16 -0
  135. package/src/stories/Layouts/Sidebar/Sidebar.jsx +71 -0
  136. package/src/stories/Layouts/Sidebar/Sidebar.stories.jsx +28 -0
  137. package/src/stories/Layouts/Tabs/Tabs.css +16 -0
  138. package/src/stories/Layouts/Tabs/Tabs.jsx +31 -0
  139. package/src/stories/Layouts/Tabs/Tabs.stories.jsx +28 -0
  140. package/src/stories/Layouts/index.js +31 -0
  141. package/src/stories/Layouts/meta_Layouts.js +31 -0
  142. package/src/stories/Molecules/Navbar/Navbar.css +63 -59
  143. package/src/stories/Molecules/Navbar/Navbar.jsx +43 -48
  144. package/src/stories/Molecules/Navbar/Navbar.stories.jsx +58 -8
  145. package/src/stories/Molecules/SearchBar/SearchBar.css +66 -1
  146. package/src/stories/Molecules/SearchBar/SearchBar.jsx +59 -11
  147. package/src/stories/Molecules/SearchBar/SearchBar.stories.jsx +16 -7
  148. package/src/stories/Molecules/SelectTheme/SelectTheme.jsx +16 -38
  149. package/src/stories/Molecules/SelectTheme/SelectTheme.stories.jsx +1 -2
  150. package/src/stories/Molecules/Sidebar/Sidebar.css +65 -2
  151. package/src/stories/Molecules/Sidebar/Sidebar.jsx +66 -11
  152. package/src/stories/Molecules/Sidebar/Sidebar.stories.jsx +20 -5
  153. package/src/stories/Templates/AdminDashboard/AdminDashboard.css +7 -0
  154. package/src/stories/Templates/AdminDashboard/AdminDashboard.jsx +24 -0
  155. package/src/stories/Templates/AdminDashboard/AdminDashboard.stories.jsx +20 -0
  156. package/src/stories/Templates/CallToAction/CallToAction.css +7 -0
  157. package/src/stories/Templates/CallToAction/CallToAction.jsx +24 -0
  158. package/src/stories/Templates/CallToAction/CallToAction.stories.jsx +20 -0
  159. package/src/stories/Templates/FeaturesList/FeaturesList.css +7 -0
  160. package/src/stories/Templates/FeaturesList/FeaturesList.jsx +24 -0
  161. package/src/stories/Templates/FeaturesList/FeaturesList.stories.jsx +20 -0
  162. package/src/stories/Templates/FormSection/FormSection.css +7 -0
  163. package/src/stories/Templates/FormSection/FormSection.jsx +24 -0
  164. package/src/stories/Templates/FormSection/FormSection.stories.jsx +20 -0
  165. package/src/stories/Templates/HeroSection/HeroSection.css +7 -0
  166. package/src/stories/Templates/HeroSection/HeroSection.jsx +24 -0
  167. package/src/stories/Templates/HeroSection/HeroSection.stories.jsx +20 -0
  168. package/src/stories/Templates/LocationInfo/LocationInfo.css +7 -0
  169. package/src/stories/Templates/LocationInfo/LocationInfo.jsx +24 -0
  170. package/src/stories/Templates/LocationInfo/LocationInfo.stories.jsx +20 -0
  171. package/src/stories/Templates/ProductPage/ProductPage.css +7 -0
  172. package/src/stories/Templates/ProductPage/ProductPage.jsx +24 -0
  173. package/src/stories/Templates/ProductPage/ProductPage.stories.jsx +20 -0
  174. package/src/stories/Templates/RegistrationPage/RegistrationPage.css +7 -0
  175. package/src/stories/Templates/RegistrationPage/RegistrationPage.jsx +24 -0
  176. package/src/stories/Templates/RegistrationPage/RegistrationPage.stories.jsx +20 -0
  177. package/src/stories/Templates/ShoppingCart/ShoppingCart.css +7 -0
  178. package/src/stories/Templates/ShoppingCart/ShoppingCart.jsx +24 -0
  179. package/src/stories/Templates/ShoppingCart/ShoppingCart.stories.jsx +20 -0
  180. package/src/stories/Templates/SidebarTopNav/SidebarTopNav.css +7 -0
  181. package/src/stories/Templates/SidebarTopNav/SidebarTopNav.jsx +24 -0
  182. package/src/stories/Templates/SidebarTopNav/SidebarTopNav.stories.jsx +20 -0
  183. package/src/stories/Templates/SignInPage/SignInPage.css +7 -0
  184. package/src/stories/Templates/SignInPage/SignInPage.jsx +24 -0
  185. package/src/stories/Templates/SignInPage/SignInPage.stories.jsx +20 -0
  186. package/src/stories/Templates/SocialMediaLinks/SocialMediaLinks.css +7 -0
  187. package/src/stories/Templates/SocialMediaLinks/SocialMediaLinks.jsx +24 -0
  188. package/src/stories/Templates/SocialMediaLinks/SocialMediaLinks.stories.jsx +20 -0
  189. package/src/stories/Templates/Testimonials/Testimonials.css +7 -0
  190. package/src/stories/Templates/Testimonials/Testimonials.jsx +24 -0
  191. package/src/stories/Templates/Testimonials/Testimonials.stories.jsx +20 -0
  192. package/src/stories/Templates/index.js +33 -0
  193. package/src/stories/Templates/{Templates.js → meta_Templates.js} +3 -1
  194. package/src/stories/assets/logo.png +0 -0
  195. package/src/stories/assets/logo.svg +106 -0
  196. package/src/stories/assets/test.svg +3 -0
  197. package/src/themes/README.md +301 -0
  198. package/src/themes/ThemeProvider.jsx +47 -22
  199. package/src/themes/styles/dracula/dark.css +0 -0
  200. package/src/themes/styles/dracula/light.css +0 -0
  201. package/src/themes/styles/github/dark.css +0 -0
  202. package/src/themes/styles/github/light.css +0 -0
  203. package/src/themes/styles/neurons/dark.css +247 -0
  204. package/src/themes/styles/neurons/light.css +280 -0
  205. package/dist/github-3688a83a.js +0 -5
  206. package/dist/gothic-94a7ecd6.js +0 -5
  207. package/dist/newsprint-32bf94d9.js +0 -5
  208. package/dist/night-4a954853.js +0 -5
  209. package/dist/pixyll-94de4610.js +0 -5
  210. package/dist/whitey-db68723e.js +0 -5
  211. package/src/MDXEditor.jsx +0 -32
  212. package/src/stories/Atoms/RangeInput/RangeInput.css +0 -29
  213. package/src/stories/Atoms/RangeInput/RangeInput.jsx +0 -41
  214. package/src/stories/Atoms/RangeInput/RangeInput.stories.jsx +0 -41
  215. package/src/stories/Components.md +0 -189
  216. package/src/stories/Layouts/Layout.js +0 -28
  217. package/src/styles/Header.modules.css +0 -32
  218. package/src/styles/global.css +0 -59
  219. package/src/themes/Themes.js +0 -44
  220. package/src/themes/dark.js +0 -22
  221. package/src/themes/light.js +0 -22
  222. package/src/themes/typ/Readme.md +0 -4
  223. package/src/themes/typ/github/open-sans-v17-latin-ext_latin-700.woff2 +0 -0
  224. package/src/themes/typ/github/open-sans-v17-latin-ext_latin-700italic.woff2 +0 -0
  225. package/src/themes/typ/github/open-sans-v17-latin-ext_latin-italic.woff2 +0 -0
  226. package/src/themes/typ/github/open-sans-v17-latin-ext_latin-regular.woff2 +0 -0
  227. package/src/themes/typ/github.css +0 -416
  228. package/src/themes/typ/gothic/GUST e-foundry License.txt +0 -29
  229. package/src/themes/typ/gothic/didact-gothic-c-ext.woff2 +0 -0
  230. package/src/themes/typ/gothic/didact-gothic-c.woff2 +0 -0
  231. package/src/themes/typ/gothic/texgyreadventor-bold.woff +0 -0
  232. package/src/themes/typ/gothic/texgyreadventor-bolditalic.woff +0 -0
  233. package/src/themes/typ/gothic/texgyreadventor-italic.woff +0 -0
  234. package/src/themes/typ/gothic/texgyreadventor-regular.woff +0 -0
  235. package/src/themes/typ/gothic.css +0 -410
  236. package/src/themes/typ/newsprint/pt-serif-v11-latin-700.woff2 +0 -0
  237. package/src/themes/typ/newsprint/pt-serif-v11-latin-700italic.woff2 +0 -0
  238. package/src/themes/typ/newsprint/pt-serif-v11-latin-italic.woff2 +0 -0
  239. package/src/themes/typ/newsprint/pt-serif-v11-latin-regular.woff2 +0 -0
  240. package/src/themes/typ/newsprint.css +0 -622
  241. package/src/themes/typ/night/codeblock.dark.css +0 -113
  242. package/src/themes/typ/night/credit.html +0 -1
  243. package/src/themes/typ/night/cursor.png +0 -0
  244. package/src/themes/typ/night/cursor@2x.png +0 -0
  245. package/src/themes/typ/night/mermaid.dark.css +0 -7
  246. package/src/themes/typ/night/sourcemode.dark.css +0 -38
  247. package/src/themes/typ/night.css +0 -1032
  248. package/src/themes/typ/pixyll/lato-v14-latin-300.woff +0 -0
  249. package/src/themes/typ/pixyll/lato-v14-latin-300italic.woff +0 -0
  250. package/src/themes/typ/pixyll/lato-v14-latin-900.woff +0 -0
  251. package/src/themes/typ/pixyll/lato-v14-latin-900italic.woff +0 -0
  252. package/src/themes/typ/pixyll/merriweather-v19-latin-300.woff +0 -0
  253. package/src/themes/typ/pixyll/merriweather-v19-latin-300italic.woff +0 -0
  254. package/src/themes/typ/pixyll/merriweather-v19-latin-700.woff +0 -0
  255. package/src/themes/typ/pixyll/merriweather-v19-latin-700italic.woff +0 -0
  256. package/src/themes/typ/pixyll.css +0 -528
  257. package/src/themes/typ/whitey.css +0 -299
  258. /package/src/stories/Molecules/{Molecules.js → meta_Molecules.js} +0 -0
  259. /package/src/stories/Organisms/{Organisms.js → meta_Organisms.js} +0 -0
@@ -1,1032 +0,0 @@
1
- @import "night/mermaid.dark.css";
2
- @import "night/codeblock.dark.css";
3
- @import "night/sourcemode.dark.css";
4
-
5
- :root {
6
- --bg-color: #363B40;
7
- --side-bar-bg-color: #2E3033;
8
- --text-color: #b8bfc6;
9
-
10
- --select-text-bg-color:#4a89dc;
11
-
12
- --item-hover-bg-color: #0a0d16;
13
- --control-text-color: #b7b7b7;
14
- --control-text-hover-color: #eee;
15
- --window-border: 1px solid #555;
16
-
17
- --active-file-bg-color: rgb(34, 34, 34);
18
- --active-file-border-color: #8d8df0;
19
-
20
- --primary-color: #a3d5fe;
21
-
22
- --active-file-text-color: white;
23
- --item-hover-bg-color: #70717d;
24
- --item-hover-text-color: white;
25
- --primary-color: #6dc1e7;
26
-
27
- --rawblock-edit-panel-bd: #333;
28
-
29
- --search-select-bg-color: #428bca;
30
- }
31
-
32
- html {
33
- font-size: 16px;
34
- -webkit-font-smoothing: antialiased;
35
- }
36
-
37
- html,
38
- body {
39
- -webkit-text-size-adjust: 100%;
40
- -ms-text-size-adjust: 100%;
41
- background: #363B40;
42
- background: var(--bg-color);
43
- fill: currentColor;
44
- line-height: 1.625rem;
45
- }
46
-
47
- #write {
48
- max-width: 914px;
49
- }
50
-
51
-
52
- @media only screen and (min-width: 1400px) {
53
- #write {
54
- max-width: 1024px;
55
- }
56
- }
57
-
58
- @media only screen and (min-width: 1800px) {
59
- #write {
60
- max-width: 1200px;
61
- }
62
- }
63
-
64
- html,
65
- body,
66
- button,
67
- input,
68
- select,
69
- textarea,
70
- div.code-tooltip-content {
71
- color: #b8bfc6;
72
- border-color: transparent;
73
- }
74
-
75
- div.code-tooltip,
76
- .md-hover-tip .md-arrow:after {
77
- background: #333;
78
- }
79
-
80
- .native-window #md-notification {
81
- border: 1px solid #70717d;
82
- }
83
-
84
- .popover.bottom > .arrow:after {
85
- border-bottom-color: #333;
86
- }
87
-
88
- html,
89
- body,
90
- button,
91
- input,
92
- select,
93
- textarea {
94
- font-family: "Helvetica Neue", Helvetica, Arial, 'Segoe UI Emoji', sans-serif;
95
- }
96
-
97
- hr {
98
- height: 2px;
99
- border: 0;
100
- margin: 24px 0 !important;
101
- }
102
-
103
- h1,
104
- h2,
105
- h3,
106
- h4,
107
- h5,
108
- h6 {
109
- font-family: "Lucida Grande", "Corbel", sans-serif;
110
- font-weight: normal;
111
- clear: both;
112
- -ms-word-wrap: break-word;
113
- word-wrap: break-word;
114
- margin: 0;
115
- padding: 0;
116
- color: #DEDEDE
117
- }
118
-
119
- h1 {
120
- font-size: 2.5rem;
121
- /* 36px */
122
- line-height: 2.75rem;
123
- /* 40px */
124
- margin-bottom: 1.5rem;
125
- /* 24px */
126
- letter-spacing: -1.5px;
127
- }
128
-
129
- h2 {
130
- font-size: 1.63rem;
131
- /* 24px */
132
- line-height: 1.875rem;
133
- /* 30px */
134
- margin-bottom: 1.5rem;
135
- /* 24px */
136
- letter-spacing: -1px;
137
- font-weight: bold;
138
- }
139
-
140
- h3 {
141
- font-size: 1.17rem;
142
- /* 18px */
143
- line-height: 1.5rem;
144
- /* 24px */
145
- margin-bottom: 1.5rem;
146
- /* 24px */
147
- letter-spacing: -1px;
148
- font-weight: bold;
149
- }
150
-
151
- h4 {
152
- font-size: 1.12rem;
153
- /* 16px */
154
- line-height: 1.375rem;
155
- /* 22px */
156
- margin-bottom: 1.5rem;
157
- /* 24px */
158
- color: white;
159
- }
160
-
161
- h5 {
162
- font-size: 0.97rem;
163
- /* 16px */
164
- line-height: 1.25rem;
165
- /* 22px */
166
- margin-bottom: 1.5rem;
167
- /* 24px */
168
- font-weight: bold;
169
- }
170
-
171
- h6 {
172
- font-size: 0.93rem;
173
- /* 16px */
174
- line-height: 1rem;
175
- /* 16px */
176
- margin-bottom: 0.75rem;
177
- color: white;
178
- }
179
-
180
- @media (min-width: 980px) {
181
- h3.md-focus:before,
182
- h4.md-focus:before,
183
- h5.md-focus:before,
184
- h6.md-focus:before {
185
- color: #ddd;
186
- border: 1px solid #ddd;
187
- border-radius: 3px;
188
- position: absolute;
189
- left: -1.642857143rem;
190
- top: .357142857rem;
191
- float: left;
192
- font-size: 9px;
193
- padding-left: 2px;
194
- padding-right: 2px;
195
- vertical-align: bottom;
196
- font-weight: normal;
197
- line-height: normal;
198
- }
199
-
200
- h3.md-focus:before {
201
- content: 'h3';
202
- }
203
-
204
- h4.md-focus:before {
205
- content: 'h4';
206
- }
207
-
208
- h5.md-focus:before {
209
- content: 'h5';
210
- top: 0px;
211
- }
212
-
213
- h6.md-focus:before {
214
- content: 'h6';
215
- top: 0px;
216
- }
217
- }
218
-
219
- a {
220
- text-decoration: none;
221
- outline: 0;
222
- }
223
-
224
- a:hover {
225
- outline: 0;
226
- }
227
-
228
- a:focus {
229
- outline: thin dotted;
230
- }
231
-
232
- sup.md-footnote {
233
- background-color: #555;
234
- color: #ddd;
235
- }
236
-
237
- p {
238
- -ms-word-wrap: break-word;
239
- word-wrap: break-word;
240
- }
241
-
242
- p,
243
- ul,
244
- dd,
245
- ol,
246
- hr,
247
- address,
248
- pre,
249
- table,
250
- iframe,
251
- .wp-caption,
252
- .wp-audio-shortcode,
253
- .wp-video-shortcode {
254
- margin-top: 0;
255
- margin-bottom: 1.5rem;
256
- /* 24px */
257
- }
258
-
259
- audio:not([controls]) {
260
- display: none;
261
- }
262
-
263
- [hidden] {
264
- display: none;
265
- }
266
-
267
- ::-moz-selection {
268
- background: #4a89dc;
269
- color: #fff;
270
- text-shadow: none;
271
- }
272
-
273
- *.in-text-selection,
274
- ::selection {
275
- background: #4a89dc;
276
- color: #fff;
277
- text-shadow: none;
278
- }
279
-
280
- ul,
281
- ol {
282
- padding: 0 0 0 1.875rem;
283
- /* 30px */
284
- }
285
-
286
- ul {
287
- list-style: square;
288
- }
289
-
290
- ol {
291
- list-style: decimal;
292
- }
293
-
294
- ul ul,
295
- ol ol,
296
- ul ol,
297
- ol ul {
298
- margin: 0;
299
- }
300
-
301
- b,
302
- th,
303
- dt,
304
- strong {
305
- font-weight: bold;
306
- }
307
-
308
- i,
309
- em,
310
- dfn,
311
- cite {
312
- font-style: italic;
313
- }
314
-
315
- blockquote {
316
- padding-left: 1.875rem;
317
- margin: 0 0 1.875rem 1.875rem;
318
- border-left: solid 2px #474d54;
319
- padding-left: 30px;
320
- margin-top: 35px;
321
- }
322
-
323
- pre,
324
- code,
325
- kbd,
326
- tt,
327
- var {
328
- font-size: 0.875em;
329
- font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
330
- }
331
-
332
- code,
333
- tt,
334
- var {
335
- background: rgba(0, 0, 0, 0.05);
336
- }
337
-
338
- kbd {
339
- padding: 2px 4px;
340
- font-size: 90%;
341
- color: #fff;
342
- background-color: #333;
343
- border-radius: 3px;
344
- box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
345
- }
346
-
347
- pre.md-fences {
348
- padding: 10px 10px 10px 30px;
349
- margin-bottom: 20px;
350
- background: #333;
351
- }
352
-
353
- .CodeMirror-gutters {
354
- background: #333;
355
- border-right: 1px solid transparent;
356
- }
357
-
358
- .enable-diagrams pre.md-fences[lang="sequence"] .code-tooltip,
359
- .enable-diagrams pre.md-fences[lang="flow"] .code-tooltip,
360
- .enable-diagrams pre.md-fences[lang="mermaid"] .code-tooltip {
361
- bottom: -2.2em;
362
- right: 4px;
363
- }
364
-
365
- code,
366
- kbd,
367
- tt,
368
- var {
369
- padding: 2px 5px;
370
- }
371
-
372
- table {
373
- max-width: 100%;
374
- width: 100%;
375
- border-collapse: collapse;
376
- border-spacing: 0;
377
- }
378
-
379
- th,
380
- td {
381
- padding: 5px 10px;
382
- vertical-align: top;
383
- }
384
-
385
- a {
386
- -webkit-transition: all .2s ease-in-out;
387
- transition: all .2s ease-in-out;
388
- }
389
-
390
- hr {
391
- background: #474d54;
392
- /* variable */
393
- }
394
-
395
- h1 {
396
- margin-top: 2em;
397
- }
398
-
399
- a {
400
- color: #e0e0e0;
401
- text-decoration: underline;
402
- }
403
-
404
- a:hover {
405
- color: #fff;
406
- }
407
-
408
- .md-inline-math script {
409
- color: #81b1db;
410
- }
411
-
412
- b,
413
- th,
414
- dt,
415
- strong {
416
- color: #DEDEDE;
417
- /* variable */
418
- }
419
-
420
- mark {
421
- background: #D3D40E;
422
- }
423
-
424
- blockquote {
425
- color: #9DA2A6;
426
- }
427
-
428
- table a {
429
- color: #DEDEDE;
430
- /* variable */
431
- }
432
-
433
- th,
434
- td {
435
- border: solid 1px #474d54;
436
- /* variable */
437
- }
438
-
439
- .task-list {
440
- padding-left: 0;
441
- }
442
-
443
- .md-task-list-item {
444
- padding-left: 1.25rem;
445
- }
446
-
447
- .md-task-list-item > input {
448
- top: auto;
449
- }
450
-
451
- .md-task-list-item > input:before {
452
- content: "";
453
- display: inline-block;
454
- width: 0.875rem;
455
- height: 0.875rem;
456
- vertical-align: middle;
457
- text-align: center;
458
- border: 1px solid #b8bfc6;
459
- background-color: #363B40;
460
- margin-top: -0.4rem;
461
- }
462
-
463
- .md-task-list-item > input:checked:before,
464
- .md-task-list-item > input[checked]:before {
465
- content: '\221A';
466
- /*◘*/
467
- font-size: 0.625rem;
468
- line-height: 0.625rem;
469
- color: #DEDEDE;
470
- }
471
-
472
- /** quick open **/
473
- .auto-suggest-container {
474
- border: 0px;
475
- background-color: #525C65;
476
- }
477
-
478
- #typora-quick-open {
479
- background-color: #525C65;
480
- }
481
-
482
- #typora-quick-open input{
483
- background-color: #525C65;
484
- border: 0;
485
- border-bottom: 1px solid grey;
486
- }
487
-
488
- .typora-quick-open-item {
489
- background-color: inherit;
490
- color: inherit;
491
- }
492
-
493
- .typora-quick-open-item.active,
494
- .typora-quick-open-item:hover {
495
- background-color: #4D8BDB;
496
- color: white;
497
- }
498
-
499
- .typora-quick-open-item:hover {
500
- background-color: rgba(77, 139, 219, 0.8);
501
- }
502
-
503
- .typora-search-spinner > div {
504
- background-color: #fff;
505
- }
506
-
507
- #write pre.md-meta-block {
508
- border-bottom: 1px dashed #ccc;
509
- background: transparent;
510
- padding-bottom: 0.6em;
511
- line-height: 1.6em;
512
- }
513
-
514
- .btn,
515
- .btn .btn-default {
516
- background: transparent;
517
- color: #b8bfc6;
518
- }
519
-
520
- .ty-table-edit {
521
- border-top: 1px solid gray;
522
- background-color: #363B40;
523
- }
524
-
525
- .popover-title {
526
- background: transparent;
527
- }
528
-
529
- .md-image>.md-meta {
530
- color: #BBBBBB;
531
- background: transparent;
532
- }
533
-
534
- .md-expand.md-image>.md-meta {
535
- color: #DDD;
536
- }
537
-
538
- #write>h3:before,
539
- #write>h4:before,
540
- #write>h5:before,
541
- #write>h6:before {
542
- border: none;
543
- border-radius: 0px;
544
- color: #888;
545
- text-decoration: underline;
546
- left: -1.4rem;
547
- top: 0.2rem;
548
- }
549
-
550
- #write>h3.md-focus:before {
551
- top: 2px;
552
- }
553
-
554
- #write>h4.md-focus:before {
555
- top: 2px;
556
- }
557
-
558
- .md-toc-item {
559
- color: #A8C2DC;
560
- }
561
-
562
- #write div.md-toc-tooltip {
563
- background-color: #363B40;
564
- }
565
-
566
- .dropdown-menu .btn:hover,
567
- .dropdown-menu .btn:focus,
568
- .md-toc .btn:hover,
569
- .md-toc .btn:focus {
570
- color: white;
571
- background: black;
572
- }
573
-
574
- #toc-dropmenu {
575
- background: rgba(50, 54, 59, 0.93);
576
- border: 1px solid rgba(253, 253, 253, 0.15);
577
- }
578
-
579
- #toc-dropmenu .divider {
580
- background-color: #9b9b9b;
581
- }
582
-
583
- .outline-expander:before {
584
- top: 2px;
585
- }
586
-
587
- #typora-sidebar {
588
- box-shadow: none;
589
- border-right: 1px dashed;
590
- border-right: none;
591
- }
592
-
593
- .sidebar-tabs {
594
- border-bottom:0;
595
- }
596
-
597
- #typora-sidebar:hover .outline-title-wrapper {
598
- border-left: 1px dashed;
599
- }
600
-
601
- .outline-title-wrapper .btn {
602
- color: inherit;
603
- }
604
-
605
- .outline-item:hover {
606
- border-color: #363B40;
607
- background-color: #363B40;
608
- color: white;
609
- }
610
-
611
- h1.md-focus .md-attr,
612
- h2.md-focus .md-attr,
613
- h3.md-focus .md-attr,
614
- h4.md-focus .md-attr,
615
- h5.md-focus .md-attr,
616
- h6.md-focus .md-attr,
617
- .md-header-span .md-attr {
618
- color: #8C8E92;
619
- display: inline;
620
- }
621
-
622
- .md-comment {
623
- color: #5a95e3;
624
- opacity: 0.8;
625
- }
626
-
627
- .md-inline-math svg {
628
- color: #b8bfc6;
629
- }
630
-
631
- #math-inline-preview .md-arrow:after {
632
- background: black;
633
- }
634
-
635
- .modal-content {
636
- background: var(--bg-color);
637
- border: 0;
638
- }
639
-
640
- .modal-title {
641
- font-size: 1.5em;
642
- }
643
-
644
- .modal-content input {
645
- background-color: rgba(26, 21, 21, 0.51);
646
- color: white;
647
- }
648
-
649
- .modal-content .input-group-addon {
650
- color: white;
651
- }
652
-
653
- .modal-backdrop {
654
- background-color: rgba(174, 174, 174, 0.7);
655
- }
656
-
657
- .modal-content .btn-primary {
658
- border-color: var(--primary-color);
659
- }
660
-
661
- .md-table-resize-popover {
662
- background-color: #333;
663
- }
664
-
665
- .form-inline .input-group .input-group-addon {
666
- color: white;
667
- }
668
-
669
- #md-searchpanel {
670
- border-bottom: 1px dashed grey;
671
- }
672
-
673
- /** UI for electron */
674
-
675
- .context-menu,
676
- #spell-check-panel,
677
- #footer-word-count-info {
678
- background-color: #42464A;
679
- }
680
-
681
- .context-menu.dropdown-menu .divider,
682
- .dropdown-menu .divider {
683
- background-color: #777777;
684
- opacity: 1;
685
- }
686
-
687
- footer {
688
- color: inherit;
689
- }
690
-
691
- @media (max-width: 1000px) {
692
- footer {
693
- border-top: none;
694
- }
695
- footer:hover {
696
- color: inherit;
697
- }
698
- }
699
-
700
- #file-info-file-path .file-info-field-value:hover {
701
- background-color: #555;
702
- color: #dedede;
703
- }
704
-
705
- .megamenu-content,
706
- .megamenu-opened header {
707
- background: var(--bg-color);
708
- }
709
-
710
- .megamenu-menu-panel h2,
711
- .megamenu-menu-panel h1,
712
- .long-btn {
713
- color: inherit;
714
- }
715
-
716
- .megamenu-menu-panel input[type='text'] {
717
- background: inherit;
718
- border: 0;
719
- border-bottom: 1px solid;
720
- }
721
-
722
- #recent-file-panel-action-btn {
723
- background: inherit;
724
- border: 1px grey solid;
725
- }
726
-
727
- .megamenu-menu-panel .dropdown-menu > li > a {
728
- color: inherit;
729
- background-color: #2F353A;
730
- text-decoration: none;
731
- }
732
-
733
- .megamenu-menu-panel table td:nth-child(1) {
734
- color: inherit;
735
- font-weight: bold;
736
- }
737
-
738
- .megamenu-menu-panel tbody tr:hover td:nth-child(1) {
739
- color: white;
740
- }
741
-
742
- .modal-footer .btn-default,
743
- .modal-footer .btn-primary,
744
- .modal-footer .btn-default:not(:hover) {
745
- border: 1px solid;
746
- border-color: transparent;
747
- }
748
-
749
- .btn-primary {
750
- color: white;
751
- }
752
-
753
- .btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default {
754
- color: white;
755
- border: 1px solid #ddd;
756
- background-color: inherit;
757
- }
758
-
759
- .modal-header {
760
- border-bottom: 0;
761
- }
762
-
763
- .modal-footer {
764
- border-top: 0;
765
- }
766
-
767
- #recent-file-panel tbody tr:nth-child(2n-1) {
768
- background-color: transparent !important;
769
- }
770
-
771
- .megamenu-menu-panel tbody tr:hover td:nth-child(2) {
772
- color: inherit;
773
- }
774
-
775
- .megamenu-menu-panel .btn {
776
- border: 1px solid #eee;
777
- background: transparent;
778
- }
779
-
780
- .mouse-hover .toolbar-icon.btn:hover,
781
- #w-full.mouse-hover,
782
- #w-pin.mouse-hover {
783
- background-color: inherit;
784
- }
785
-
786
- .typora-node::-webkit-scrollbar {
787
- width: 5px;
788
- }
789
-
790
- .typora-node::-webkit-scrollbar-thumb:vertical {
791
- background: rgba(250, 250, 250, 0.3);
792
- }
793
-
794
- .typora-node::-webkit-scrollbar-thumb:vertical:active {
795
- background: rgba(250, 250, 250, 0.5);
796
- }
797
-
798
- #w-unpin {
799
- background-color: #4182c4;
800
- }
801
-
802
- #top-titlebar, #top-titlebar * {
803
- color: var(--item-hover-text-color);
804
- }
805
-
806
- .typora-sourceview-on #toggle-sourceview-btn,
807
- #footer-word-count:hover,
808
- .ty-show-word-count #footer-word-count {
809
- background: #333333;
810
- }
811
-
812
- #toggle-sourceview-btn:hover {
813
- color: #eee;
814
- background: #333333;
815
- }
816
-
817
- /** focus mode */
818
- .on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) * {
819
- color: #686868 !important;
820
- }
821
-
822
- .on-focus-mode .md-end-block:not(.md-focus) img,
823
- .on-focus-mode .md-task-list-item:not(.md-focus-container)>input {
824
- opacity: #686868 !important;
825
- }
826
-
827
- .on-focus-mode li[cid]:not(.md-focus-container){
828
- color: #686868;
829
- }
830
-
831
- .on-focus-mode .md-fences.md-focus .CodeMirror-code>*:not(.CodeMirror-activeline) *,
832
- .on-focus-mode .CodeMirror.cm-s-inner:not(.CodeMirror-focused) * {
833
- color: #686868 !important;
834
- }
835
-
836
- .on-focus-mode .md-focus,
837
- .on-focus-mode .md-focus-container {
838
- color: #fff;
839
- }
840
-
841
- .on-focus-mode #typora-source .CodeMirror-code>*:not(.CodeMirror-activeline) * {
842
- color: #686868 !important;
843
- }
844
-
845
-
846
- /*diagrams*/
847
- #write .md-focus .md-diagram-panel {
848
- border: 1px solid #ddd;
849
- margin-left: -1px;
850
- width: calc(100% + 2px);
851
- }
852
-
853
- /*diagrams*/
854
- #write .md-focus.md-fences-with-lineno .md-diagram-panel {
855
- margin-left: auto;
856
- }
857
-
858
- .md-diagram-panel-error {
859
- color: #f1908e;
860
- }
861
-
862
- .active-tab-files #info-panel-tab-file,
863
- .active-tab-files #info-panel-tab-file:hover,
864
- .active-tab-outline #info-panel-tab-outline,
865
- .active-tab-outline #info-panel-tab-outline:hover {
866
- color: #eee;
867
- }
868
-
869
- .sidebar-footer-item:hover,
870
- .footer-item:hover {
871
- background: inherit;
872
- color: white;
873
- }
874
-
875
- .ty-side-sort-btn.active,
876
- .ty-side-sort-btn:hover,
877
- .selected-folder-menu-item a:after {
878
- color: white;
879
- }
880
-
881
- #sidebar-files-menu {
882
- border:solid 1px;
883
- box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.79);
884
- background-color: var(--bg-color);
885
- }
886
-
887
- .file-list-item {
888
- border-bottom:none;
889
- }
890
-
891
- .file-list-item-summary {
892
- opacity: 1;
893
- }
894
-
895
- .file-list-item.active:first-child {
896
- border-top: none;
897
- }
898
-
899
- .file-node-background {
900
- height: 32px;
901
- }
902
-
903
- .file-library-node.active>.file-node-content,
904
- .file-list-item.active {
905
- color: white;
906
- color: var(--active-file-text-color);
907
- }
908
-
909
- .file-library-node.active>.file-node-background{
910
- background-color: rgb(34, 34, 34);
911
- background-color: var(--active-file-bg-color);
912
- }
913
- .file-list-item.active {
914
- background-color: rgb(34, 34, 34);
915
- background-color: var(--active-file-bg-color);
916
- }
917
-
918
- #ty-tooltip {
919
- background-color: black;
920
- color: #eee;
921
- }
922
-
923
- .md-task-list-item>input {
924
- margin-left: -1.3em;
925
- margin-top: 0.3rem;
926
- -webkit-appearance: none;
927
- }
928
-
929
- .md-mathjax-midline {
930
- background-color: #57616b;
931
- border-bottom: none;
932
- }
933
-
934
- footer.ty-footer {
935
- border-color: #656565;
936
- }
937
-
938
- .ty-preferences .btn-default {
939
- background: transparent;
940
- }
941
- .ty-preferences .btn-default:hover {
942
- background: #57616b;
943
- }
944
-
945
- .ty-preferences select {
946
- border: 1px solid #989698;
947
- height: 21px;
948
- }
949
-
950
- .ty-preferences .nav-group-item.active,
951
- .export-item.active,
952
- .export-items-list-control,
953
- .export-detail {
954
- background: var(--item-hover-bg-color);
955
- }
956
-
957
- .ty-preferences input[type="search"] {
958
- border-color: #333;
959
- background: #333;
960
- line-height: 22px;
961
- border-radius: 6px;
962
- color: white;
963
- }
964
-
965
- .ty-preferences input[type="search"]:focus {
966
- box-shadow: none;
967
- }
968
-
969
- [data-is-directory="true"] .file-node-content {
970
- margin-bottom: 0;
971
- }
972
-
973
- .file-node-title {
974
- line-height: 22px;
975
- }
976
-
977
- .html-for-mac .file-node-open-state, .html-for-mac .file-node-icon {
978
- line-height: 26px;
979
- }
980
-
981
- ::-webkit-scrollbar-thumb {
982
- background: rgba(230, 230, 230, 0.30);
983
- }
984
-
985
- ::-webkit-scrollbar-thumb:active {
986
- background: rgba(230, 230, 230, 0.50);
987
- }
988
-
989
- #typora-sidebar:hover div.sidebar-content-content::-webkit-scrollbar-thumb:horizontal {
990
- background: rgba(230, 230, 230, 0.30);
991
- }
992
-
993
- .nav-group-item:active {
994
- background-color: #474d54 !important;
995
- }
996
-
997
- .md-search-hit {
998
- background: rgba(199, 140, 60, 0.81);
999
- color: #eee;
1000
- }
1001
-
1002
- .md-search-hit * {
1003
- color: #eee;
1004
- }
1005
-
1006
- #md-searchpanel input {
1007
- color: white;
1008
- }
1009
-
1010
- .modal-backdrop.in {
1011
- opacity: 1;
1012
- backdrop-filter: blur(1px);
1013
- }
1014
-
1015
- .clear-btn-icon {
1016
- top: 8px;
1017
- }
1018
-
1019
- /* try fix https://github.com/typora/typora-issues/issues/5253 */
1020
- .file-node-expanded>.file-node-children {
1021
- display: grid;
1022
- }
1023
-
1024
- .md-alert-text-note {
1025
- color: rgb(47, 129, 247);
1026
- }
1027
- .md-alert-text-important {
1028
- color: rgb(163, 113, 247);
1029
- }
1030
- .md-alert-text-warning {
1031
- color: rgb(210, 153, 34);
1032
- }