@solidstarters/solid-core-ui 1.1.18 → 1.1.19

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 (204) hide show
  1. package/dist/components/Svg/FileSvg.d.ts +4 -0
  2. package/dist/components/Svg/FileSvg.d.ts.map +1 -0
  3. package/dist/components/Svg/FileSvg.js +15 -0
  4. package/dist/components/Svg/FileSvg.js.map +1 -0
  5. package/dist/components/auth/AuthLayout.d.ts.map +1 -1
  6. package/dist/components/auth/AuthLayout.js +6 -6
  7. package/dist/components/auth/AuthLayout.js.map +1 -1
  8. package/dist/components/auth/SolidForgotPassword.js +1 -1
  9. package/dist/components/auth/SolidForgotPassword.js.map +1 -1
  10. package/dist/components/auth/SolidInitialLoginOtp.js +1 -1
  11. package/dist/components/auth/SolidInitialLoginOtp.js.map +1 -1
  12. package/dist/components/auth/SolidInitiateRegisterOtp.js +1 -1
  13. package/dist/components/auth/SolidInitiateRegisterOtp.js.map +1 -1
  14. package/dist/components/auth/SolidResetPassword.js +1 -1
  15. package/dist/components/auth/SolidResetPassword.js.map +1 -1
  16. package/dist/components/common/DropzonePlaceholder.d.ts +6 -1
  17. package/dist/components/common/DropzonePlaceholder.d.ts.map +1 -1
  18. package/dist/components/common/DropzonePlaceholder.js +8 -2
  19. package/dist/components/common/DropzonePlaceholder.js.map +1 -1
  20. package/dist/components/common/FileReaderExt.d.ts.map +1 -1
  21. package/dist/components/common/FileReaderExt.js +2 -1
  22. package/dist/components/common/FileReaderExt.js.map +1 -1
  23. package/dist/components/core/common/SolidConfigureLayoutElement.d.ts.map +1 -1
  24. package/dist/components/core/common/SolidConfigureLayoutElement.js +28 -6
  25. package/dist/components/core/common/SolidConfigureLayoutElement.js.map +1 -1
  26. package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
  27. package/dist/components/core/common/SolidGlobalSearchElement.js +3 -3
  28. package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
  29. package/dist/components/core/form/SolidFormView.js +3 -5
  30. package/dist/components/core/form/SolidFormView.js.map +1 -1
  31. package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
  32. package/dist/components/core/form/fields/SolidMediaMultipleField.js +66 -64
  33. package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
  34. package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
  35. package/dist/components/core/form/fields/SolidMediaSingleField.js +72 -91
  36. package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
  37. package/dist/components/core/model/CreateModel.js +3 -4
  38. package/dist/components/core/model/CreateModel.js.map +1 -1
  39. package/dist/components/core/module/CreateModule.js +3 -4
  40. package/dist/components/core/module/CreateModule.js.map +1 -1
  41. package/dist/components/core/users/CreateUser.js +1 -2
  42. package/dist/components/core/users/CreateUser.js.map +1 -1
  43. package/dist/components/layout/AppConfig.js +1 -1
  44. package/dist/components/layout/navbar-two-menu.js +1 -1
  45. package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
  46. package/dist/components/layout/user-profile-menu.js +1 -1
  47. package/dist/components/layout/user-profile-menu.js.map +1 -1
  48. package/dist/helpers/downloadMediaFile.d.ts +2 -0
  49. package/dist/helpers/downloadMediaFile.d.ts.map +1 -0
  50. package/dist/helpers/downloadMediaFile.js +66 -0
  51. package/dist/helpers/downloadMediaFile.js.map +1 -0
  52. package/dist/helpers/getAcceptedFileTypes.d.ts +4 -0
  53. package/dist/helpers/getAcceptedFileTypes.d.ts.map +1 -0
  54. package/dist/helpers/getAcceptedFileTypes.js +20 -0
  55. package/dist/helpers/getAcceptedFileTypes.js.map +1 -0
  56. package/dist/index.js +2 -2
  57. package/dist/nextAuth/authProviders.d.ts.map +1 -1
  58. package/dist/nextAuth/authProviders.js +15 -10
  59. package/dist/nextAuth/authProviders.js.map +1 -1
  60. package/dist/stylesheets/globals.css +2476 -0
  61. package/dist/stylesheets/styles/SF-Pro-Display-Regular.otf +0 -0
  62. package/dist/stylesheets/styles/layout/_config.scss +54 -0
  63. package/dist/stylesheets/styles/layout/_content.scss +77 -0
  64. package/dist/stylesheets/styles/layout/_footer.scss +8 -0
  65. package/dist/stylesheets/styles/layout/_main.scss +47 -0
  66. package/dist/stylesheets/styles/layout/_menu.scss +185 -0
  67. package/dist/stylesheets/styles/layout/_mixins.scss +13 -0
  68. package/dist/stylesheets/styles/layout/_responsive.scss +99 -0
  69. package/dist/stylesheets/styles/layout/_topbar.scss +149 -0
  70. package/dist/stylesheets/styles/layout/_typography.scss +63 -0
  71. package/dist/stylesheets/styles/layout/_utils.scss +27 -0
  72. package/dist/stylesheets/styles/layout/_variables.scss +3 -0
  73. package/dist/stylesheets/styles/layout/layout.scss +11 -0
  74. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Black.otf +0 -0
  75. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Bold.otf +0 -0
  76. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Heavy.otf +0 -0
  77. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Light.otf +0 -0
  78. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Medium.otf +0 -0
  79. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Regular.otf +0 -0
  80. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Semibold.otf +0 -0
  81. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Thin.otf +0 -0
  82. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Ultralight.otf +0 -0
  83. package/dist/stylesheets/themes/solid-dark-purple/theme.css +9051 -0
  84. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Black.otf +0 -0
  85. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Bold.otf +0 -0
  86. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Heavy.otf +0 -0
  87. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Light.otf +0 -0
  88. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Medium.otf +0 -0
  89. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Regular.otf +0 -0
  90. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Semibold.otf +0 -0
  91. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Thin.otf +0 -0
  92. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Ultralight.otf +0 -0
  93. package/dist/stylesheets/themes/solid-light-purple/theme.css +9077 -0
  94. package/package.json +1 -1
  95. package/src/components/Svg/FileSvg.tsx +18 -0
  96. package/src/components/auth/AuthLayout.tsx +7 -5
  97. package/src/components/auth/SolidForgotPassword.tsx +1 -1
  98. package/src/components/auth/SolidInitialLoginOtp.tsx +1 -1
  99. package/src/components/auth/SolidInitiateRegisterOtp.tsx +1 -1
  100. package/src/components/auth/SolidResetPassword.tsx +1 -1
  101. package/src/components/common/DropzonePlaceholder.tsx +22 -9
  102. package/src/components/common/FileReaderExt.tsx +5 -3
  103. package/src/components/core/common/SolidConfigureLayoutElement.tsx +72 -31
  104. package/src/components/core/common/SolidGlobalSearchElement.tsx +4 -3
  105. package/src/components/core/form/SolidFormView.tsx +4 -4
  106. package/src/components/core/form/fields/SolidMediaMultipleField.tsx +116 -95
  107. package/src/components/core/form/fields/SolidMediaSingleField.tsx +109 -123
  108. package/src/components/core/model/CreateModel.tsx +4 -4
  109. package/src/components/core/module/CreateModule.tsx +4 -4
  110. package/src/components/core/users/CreateUser.tsx +2 -2
  111. package/src/components/layout/AppConfig.tsx +1 -1
  112. package/src/components/layout/navbar-two-menu.tsx +1 -1
  113. package/src/components/layout/user-profile-menu.tsx +7 -8
  114. package/src/helpers/downloadMediaFile.tsx +19 -0
  115. package/src/helpers/getAcceptedFileTypes.tsx +22 -0
  116. package/src/nextAuth/authProviders.tsx +3 -2
  117. package/dist/components/common/FilterComponent.d.ts +0 -3
  118. package/dist/components/common/FilterComponent.d.ts.map +0 -1
  119. package/dist/components/common/FilterComponent.js +0 -214
  120. package/dist/components/common/FilterComponent.js.map +0 -1
  121. package/dist/components/core/filter/columns/SolidBigintField.d.ts +0 -4
  122. package/dist/components/core/filter/columns/SolidBigintField.d.ts.map +0 -1
  123. package/dist/components/core/filter/columns/SolidBigintField.js +0 -8
  124. package/dist/components/core/filter/columns/SolidBigintField.js.map +0 -1
  125. package/dist/components/core/filter/columns/SolidBooleanField.d.ts +0 -4
  126. package/dist/components/core/filter/columns/SolidBooleanField.d.ts.map +0 -1
  127. package/dist/components/core/filter/columns/SolidBooleanField.js +0 -27
  128. package/dist/components/core/filter/columns/SolidBooleanField.js.map +0 -1
  129. package/dist/components/core/filter/columns/SolidComputedField.d.ts +0 -4
  130. package/dist/components/core/filter/columns/SolidComputedField.d.ts.map +0 -1
  131. package/dist/components/core/filter/columns/SolidComputedField.js +0 -22
  132. package/dist/components/core/filter/columns/SolidComputedField.js.map +0 -1
  133. package/dist/components/core/filter/columns/SolidDateField.d.ts +0 -9
  134. package/dist/components/core/filter/columns/SolidDateField.d.ts.map +0 -1
  135. package/dist/components/core/filter/columns/SolidDateField.js +0 -35
  136. package/dist/components/core/filter/columns/SolidDateField.js.map +0 -1
  137. package/dist/components/core/filter/columns/SolidDatetimeField.d.ts +0 -4
  138. package/dist/components/core/filter/columns/SolidDatetimeField.d.ts.map +0 -1
  139. package/dist/components/core/filter/columns/SolidDatetimeField.js +0 -24
  140. package/dist/components/core/filter/columns/SolidDatetimeField.js.map +0 -1
  141. package/dist/components/core/filter/columns/SolidDecimalField.d.ts +0 -4
  142. package/dist/components/core/filter/columns/SolidDecimalField.d.ts.map +0 -1
  143. package/dist/components/core/filter/columns/SolidDecimalField.js +0 -8
  144. package/dist/components/core/filter/columns/SolidDecimalField.js.map +0 -1
  145. package/dist/components/core/filter/columns/SolidExternalIdField.d.ts +0 -4
  146. package/dist/components/core/filter/columns/SolidExternalIdField.d.ts.map +0 -1
  147. package/dist/components/core/filter/columns/SolidExternalIdField.js +0 -25
  148. package/dist/components/core/filter/columns/SolidExternalIdField.js.map +0 -1
  149. package/dist/components/core/filter/columns/SolidFloatField.d.ts +0 -4
  150. package/dist/components/core/filter/columns/SolidFloatField.d.ts.map +0 -1
  151. package/dist/components/core/filter/columns/SolidFloatField.js +0 -8
  152. package/dist/components/core/filter/columns/SolidFloatField.js.map +0 -1
  153. package/dist/components/core/filter/columns/SolidIdField.d.ts +0 -4
  154. package/dist/components/core/filter/columns/SolidIdField.d.ts.map +0 -1
  155. package/dist/components/core/filter/columns/SolidIdField.js +0 -25
  156. package/dist/components/core/filter/columns/SolidIdField.js.map +0 -1
  157. package/dist/components/core/filter/columns/SolidIntField.d.ts +0 -4
  158. package/dist/components/core/filter/columns/SolidIntField.d.ts.map +0 -1
  159. package/dist/components/core/filter/columns/SolidIntField.js +0 -34
  160. package/dist/components/core/filter/columns/SolidIntField.js.map +0 -1
  161. package/dist/components/core/filter/columns/SolidLongTextField.d.ts +0 -4
  162. package/dist/components/core/filter/columns/SolidLongTextField.d.ts.map +0 -1
  163. package/dist/components/core/filter/columns/SolidLongTextField.js +0 -8
  164. package/dist/components/core/filter/columns/SolidLongTextField.js.map +0 -1
  165. package/dist/components/core/filter/columns/SolidMediaMultipleField.d.ts +0 -4
  166. package/dist/components/core/filter/columns/SolidMediaMultipleField.d.ts.map +0 -1
  167. package/dist/components/core/filter/columns/SolidMediaMultipleField.js +0 -35
  168. package/dist/components/core/filter/columns/SolidMediaMultipleField.js.map +0 -1
  169. package/dist/components/core/filter/columns/SolidMediaSingleField.d.ts +0 -4
  170. package/dist/components/core/filter/columns/SolidMediaSingleField.d.ts.map +0 -1
  171. package/dist/components/core/filter/columns/SolidMediaSingleField.js +0 -35
  172. package/dist/components/core/filter/columns/SolidMediaSingleField.js.map +0 -1
  173. package/dist/components/core/filter/columns/SolidRelationField.d.ts +0 -4
  174. package/dist/components/core/filter/columns/SolidRelationField.d.ts.map +0 -1
  175. package/dist/components/core/filter/columns/SolidRelationField.js +0 -12
  176. package/dist/components/core/filter/columns/SolidRelationField.js.map +0 -1
  177. package/dist/components/core/filter/columns/SolidRichTextField.d.ts +0 -4
  178. package/dist/components/core/filter/columns/SolidRichTextField.d.ts.map +0 -1
  179. package/dist/components/core/filter/columns/SolidRichTextField.js +0 -8
  180. package/dist/components/core/filter/columns/SolidRichTextField.js.map +0 -1
  181. package/dist/components/core/filter/columns/SolidSelectionDynamicField.d.ts +0 -4
  182. package/dist/components/core/filter/columns/SolidSelectionDynamicField.d.ts.map +0 -1
  183. package/dist/components/core/filter/columns/SolidSelectionDynamicField.js +0 -25
  184. package/dist/components/core/filter/columns/SolidSelectionDynamicField.js.map +0 -1
  185. package/dist/components/core/filter/columns/SolidSelectionStaticField.d.ts +0 -4
  186. package/dist/components/core/filter/columns/SolidSelectionStaticField.d.ts.map +0 -1
  187. package/dist/components/core/filter/columns/SolidSelectionStaticField.js +0 -26
  188. package/dist/components/core/filter/columns/SolidSelectionStaticField.js.map +0 -1
  189. package/dist/components/core/filter/columns/SolidShortTextField.d.ts +0 -4
  190. package/dist/components/core/filter/columns/SolidShortTextField.d.ts.map +0 -1
  191. package/dist/components/core/filter/columns/SolidShortTextField.js +0 -33
  192. package/dist/components/core/filter/columns/SolidShortTextField.js.map +0 -1
  193. package/dist/components/core/filter/columns/SolidTimeField.d.ts +0 -4
  194. package/dist/components/core/filter/columns/SolidTimeField.d.ts.map +0 -1
  195. package/dist/components/core/filter/columns/SolidTimeField.js +0 -24
  196. package/dist/components/core/filter/columns/SolidTimeField.js.map +0 -1
  197. package/dist/components/core/filter/columns/SolidUuidField.d.ts +0 -4
  198. package/dist/components/core/filter/columns/SolidUuidField.d.ts.map +0 -1
  199. package/dist/components/core/filter/columns/SolidUuidField.js +0 -25
  200. package/dist/components/core/filter/columns/SolidUuidField.js.map +0 -1
  201. package/dist/components/core/filter/columns/relations/SolidRelationManyToOneField.d.ts +0 -4
  202. package/dist/components/core/filter/columns/relations/SolidRelationManyToOneField.d.ts.map +0 -1
  203. package/dist/components/core/filter/columns/relations/SolidRelationManyToOneField.js +0 -54
  204. package/dist/components/core/filter/columns/relations/SolidRelationManyToOneField.js.map +0 -1
@@ -0,0 +1,54 @@
1
+ .layout-config-button {
2
+ display: block;
3
+ position: fixed;
4
+ width: 3rem;
5
+ height: 3rem;
6
+ line-height: 3rem;
7
+ background: var(--primary-color);
8
+ color: var(--primary-color-text);
9
+ text-align: center;
10
+ top: 50%;
11
+ right: 0;
12
+ margin-top: -1.5rem;
13
+ border-top-left-radius: var(--border-radius);
14
+ border-bottom-left-radius: var(--border-radius);
15
+ border-top-right-radius: 0;
16
+ border-bottom-right-radius: 0;
17
+ transition: background-color var(--transition-duration);
18
+ overflow: hidden;
19
+ cursor: pointer;
20
+ z-index: 999;
21
+ box-shadow: -.25rem 0 1rem rgba(0,0,0,.15);
22
+
23
+
24
+ &.config-link {
25
+ font-size: 1rem;
26
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
27
+ border: none;
28
+ }
29
+ .config-link:focus {
30
+ outline: 0 none;
31
+ outline-offset: 0;
32
+ box-shadow: 0 0 0 1px var(--focus-ring);
33
+ }
34
+
35
+ i {
36
+ font-size: 2rem;
37
+ line-height: inherit;
38
+ transform: rotate(0deg);
39
+ transition: transform 1s;
40
+ }
41
+
42
+ &:hover {
43
+ background: var(--primary-400);
44
+ }
45
+ }
46
+
47
+ .layout-config-sidebar {
48
+ &.p-sidebar {
49
+ .p-sidebar-content {
50
+ padding-left: 2rem;
51
+ padding-right: 2rem;
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,77 @@
1
+ /* Parent layout styles */
2
+ .layout-wrapper {
3
+ display: flex;
4
+ /* Enables side-by-side layout */
5
+ height: 100vh;
6
+ width: 100vw;
7
+ /* Ensures layout takes full height */
8
+ overflow-y: hidden;
9
+ }
10
+
11
+ .sidebar-left {
12
+ width: 70px;
13
+ background-color: var(--surface-a);
14
+ color: white;
15
+ position: fixed;
16
+ height: 100vh;
17
+ overflow: hidden;
18
+ display: flex;
19
+ flex-direction: column;
20
+ align-items: center;
21
+ justify-content: space-between;
22
+ border-right: 1px solid var(--primary-light-color);
23
+ }
24
+
25
+ .sidebar-right {
26
+ width: 0;
27
+ transition: width 0.3s ease;
28
+ overflow-x: hidden;
29
+ position: fixed;
30
+ left: 70px;
31
+ height: 100%;
32
+ // background-color: #fff;
33
+ background-color: var(--surface-a);
34
+ overflow-y: hidden;
35
+ }
36
+
37
+ .sidebar-right.open {
38
+ width: 250px;
39
+ border-right: 1px solid var(--primary-light-color)
40
+ }
41
+
42
+ .sidebar-toggle-button {
43
+ position: absolute;
44
+ z-index: 999;
45
+ left: 306px;
46
+ top: 18px;
47
+ padding: 0;
48
+ border: 0;
49
+ }
50
+
51
+ .sidebar-toggle-button svg{
52
+ fill: var(--surface-a);
53
+ }
54
+
55
+ .sidebar-toggle-button.s-collapsed {
56
+ position: absolute;
57
+ left: 58px;
58
+ top: 18px;
59
+ z-index: 999;
60
+ }
61
+
62
+ .sidebar-toggle-button.s-collapsed svg{
63
+ transform: rotate(180deg);
64
+ }
65
+
66
+ .main-content {
67
+ margin-left: 70px;
68
+ // transition: margin-left 0.3s ease;
69
+ width: calc(100vw - 70px); /* Restrict width to prevent overflow */
70
+ transition: margin-left 0.3s ease-in-out;
71
+ overflow: hidden;
72
+ }
73
+
74
+ .main-content.shifted {
75
+ margin-left: 320px; /* 70px + 250px */
76
+ // width: calc(100vw - 320px);
77
+ }
@@ -0,0 +1,8 @@
1
+ .layout-footer {
2
+ transition: margin-left $transitionDuration;
3
+ display: flex;
4
+ align-items: center;
5
+ justify-content: center;
6
+ padding-top: 1rem;
7
+ border-top: 1px solid var(--surface-border);
8
+ }
@@ -0,0 +1,47 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ }
4
+
5
+ html {
6
+ height: 100%;
7
+ }
8
+
9
+ body {
10
+ font-family: var(--font-family);
11
+ color: var(--text-color);
12
+ background-color: var(--surface-ground);
13
+ margin: 0;
14
+ padding: 0;
15
+ min-height: 100%;
16
+ -webkit-font-smoothing: antialiased;
17
+ -moz-osx-font-smoothing: grayscale;
18
+ overflow: hidden;
19
+ }
20
+
21
+ a {
22
+ // text-decoration: none;
23
+ color: var(--primary-color);
24
+ }
25
+
26
+ /* width */
27
+ ::-webkit-scrollbar {
28
+ width: 4px;
29
+ height: 4px; /* For horizontal scrollbar */
30
+ }
31
+
32
+ /* Track */
33
+ ::-webkit-scrollbar-track {
34
+ box-shadow: inset 0 0 5px #EFEFEF;
35
+ border-radius: 10px;
36
+ }
37
+
38
+ /* Handle */
39
+ ::-webkit-scrollbar-thumb {
40
+ background: #ADADAD;
41
+ border-radius: 10px;
42
+ }
43
+
44
+ /* Handle on hover */
45
+ ::-webkit-scrollbar-thumb:hover {
46
+ background: #c7c6c6;
47
+ }
@@ -0,0 +1,185 @@
1
+ .layout-sidebar {
2
+ position: fixed;
3
+ // width: 70px;
4
+ height: 100vh;
5
+ z-index: 999;
6
+ // overflow-y: auto;
7
+ user-select: none;
8
+ // top: 7rem;
9
+ // left: 2rem;
10
+ transition: transform $transitionDuration, left $transitionDuration;
11
+ background-color: var(--surface-overlay);
12
+ // border-radius: $borderRadius;
13
+ padding: 0.5rem 1.5rem;
14
+ box-shadow: 0px 3px 5px rgba(0, 0, 0, .02), 0px 0px 2px rgba(0, 0, 0, .05), 0px 1px 4px rgba(0, 0, 0, .08);
15
+ }
16
+
17
+ .layout-menu {
18
+ margin: 0;
19
+ padding: 0;
20
+ list-style-type: none;
21
+ user-select: none;
22
+
23
+ .layout-root-menuitem {
24
+ >.layout-menuitem-root-text {
25
+ font-size: .857rem;
26
+ text-transform: uppercase;
27
+ font-weight: 700;
28
+ color: var(--surface-900);
29
+ margin: .75rem 0;
30
+ }
31
+
32
+ >a {
33
+ display: none;
34
+ }
35
+ }
36
+
37
+ li.active-menuitem {
38
+ >a {
39
+ .layout-submenu-toggler {
40
+ transform: rotate(-180deg);
41
+ }
42
+ }
43
+
44
+ >ul {
45
+ max-height: auto;
46
+ }
47
+ }
48
+
49
+ ul {
50
+ margin: 0;
51
+ padding: 0;
52
+ list-style-type: none;
53
+
54
+ a {
55
+ display: flex;
56
+ align-items: center;
57
+ position: relative;
58
+ outline: 0 none;
59
+ color: var(--text-color);
60
+ cursor: pointer;
61
+ padding: .75rem 1rem;
62
+ border-radius: $borderRadius;
63
+ transition: background-color $transitionDuration, box-shadow $transitionDuration;
64
+
65
+ .layout-menuitem-icon {
66
+ margin-right: .5rem;
67
+ }
68
+
69
+ .layout-submenu-toggler {
70
+ font-size: 75%;
71
+ margin-left: auto;
72
+ transition: transform $transitionDuration;
73
+ }
74
+
75
+ &.rotated-icon {
76
+ .layout-menuitem-icon {
77
+ transform: rotate(90deg);
78
+ }
79
+ }
80
+
81
+ &.active-route {
82
+ font-weight: 700;
83
+ color: var(--primary-color);
84
+ }
85
+
86
+ &:hover {
87
+ background-color: var(--surface-hover);
88
+ }
89
+
90
+ &:focus {
91
+ @include focused-inset();
92
+ }
93
+ }
94
+
95
+ ul {
96
+ overflow: hidden;
97
+ max-height: 0;
98
+ border-radius: $borderRadius;
99
+
100
+ li {
101
+ a {
102
+ margin-left: 1rem;
103
+ }
104
+
105
+ li {
106
+ a {
107
+ margin-left: 2rem;
108
+ }
109
+
110
+ li {
111
+ a {
112
+ margin-left: 2.5rem;
113
+ }
114
+
115
+ li {
116
+ a {
117
+ margin-left: 3rem;
118
+ }
119
+
120
+ li {
121
+ a {
122
+ margin-left: 3.5rem;
123
+ }
124
+
125
+ li {
126
+ a {
127
+ margin-left: 4rem;
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ .layout-submenu-enter-active {
140
+ max-height: 1000px !important;
141
+ transition: max-height 1s ease-in-out;
142
+ }
143
+
144
+ .layout-submenu-enter-done {
145
+ max-height: 1000px !important;
146
+ }
147
+
148
+ .layout-submenu-exit {
149
+ max-height: 1000px !important;
150
+ }
151
+
152
+ .layout-submenu-exit-active {
153
+ overflow: hidden;
154
+ max-height: 0 !important;
155
+ transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
156
+ }
157
+
158
+
159
+ // Solid Menu
160
+ .navbar-menu{
161
+ display: flex;
162
+ flex-direction: column;
163
+ gap: 16px;
164
+ margin-top: 16px;
165
+ }
166
+
167
+ .menu-item {
168
+ height: 40px;
169
+ width: 40px;
170
+ display: flex;
171
+ align-items: center;
172
+ justify-content: center;
173
+ padding: 10px;
174
+ }
175
+
176
+ .menu-item a img{
177
+ object-fit: contain;
178
+ height: 30px;
179
+ width: 30px;
180
+ }
181
+
182
+ .active-menu-image {
183
+ background-color: #EFF1F4;
184
+ border-radius: 4px;
185
+ }
@@ -0,0 +1,13 @@
1
+ @mixin focused() {
2
+ outline: 0 none;
3
+ outline-offset: 0;
4
+ transition: box-shadow .2s;
5
+ box-shadow: var(--focus-ring);
6
+ }
7
+
8
+ @mixin focused-inset() {
9
+ outline: 0 none;
10
+ outline-offset: 0;
11
+ transition: box-shadow .2s;
12
+ box-shadow: inset var(--focus-ring);
13
+ }
@@ -0,0 +1,99 @@
1
+ @media screen and (min-width: 1960px) {
2
+ .layout-main, .landing-wrapper {
3
+ width: 1504px;
4
+ margin-left: auto !important;
5
+ margin-right: auto !important;
6
+ }
7
+ }
8
+
9
+ @media (min-width: 992px) {
10
+ .layout-wrapper {
11
+ &.layout-overlay {
12
+ .layout-main-container {
13
+ margin-left: 0;
14
+ padding-left: 2rem;
15
+ }
16
+
17
+ .layout-sidebar {
18
+ transform: translateX(-100%);
19
+ left: 0;
20
+ top: 0;
21
+ height: 100vh;
22
+ border-top-left-radius: 0;
23
+ border-bottom-left-radius: 0;
24
+ }
25
+
26
+ &.layout-overlay-active {
27
+ .layout-sidebar {
28
+ transform: translateX(0);
29
+ }
30
+ }
31
+ }
32
+
33
+ &.layout-static {
34
+ .layout-main-container {
35
+ margin-left: 300px;
36
+ }
37
+
38
+ &.layout-static-inactive {
39
+ .layout-sidebar {
40
+ transform: translateX(-100%);
41
+ left: 0;
42
+ }
43
+
44
+ .layout-main-container {
45
+ margin-left: 0;
46
+ padding-left: 2rem;
47
+ }
48
+ }
49
+ }
50
+
51
+ .layout-mask {
52
+ display: none;
53
+ }
54
+ }
55
+ }
56
+
57
+ @media (max-width: 991px) {
58
+ .blocked-scroll {
59
+ overflow: hidden;
60
+ }
61
+
62
+ .layout-wrapper {
63
+ .layout-main-container {
64
+ margin-left: 0;
65
+ padding-left: 2rem;
66
+ }
67
+
68
+ .layout-sidebar {
69
+ transform: translateX(-100%);
70
+ left: 0;
71
+ top: 0;
72
+ height: 100vh;
73
+ border-top-left-radius: 0;
74
+ border-bottom-left-radius: 0;
75
+ }
76
+
77
+ .layout-mask {
78
+ display: none;
79
+ position: fixed;
80
+ top: 0;
81
+ left: 0;
82
+ z-index: 998;
83
+ width: 100%;
84
+ height: 100%;
85
+ background-color: var(--maskbg);
86
+ }
87
+
88
+ &.layout-mobile-active {
89
+ .layout-sidebar {
90
+ transform: translateX(0);
91
+ }
92
+
93
+ .layout-mask {
94
+ display: block;
95
+ animation: fadein $transitionDuration;
96
+ }
97
+ }
98
+ }
99
+ }
@@ -0,0 +1,149 @@
1
+ .layout-topbar {
2
+ position: fixed;
3
+ height: 5rem;
4
+ z-index: 997;
5
+ left: 0;
6
+ top: 0;
7
+ width: 100%;
8
+ padding: 0 2rem;
9
+ background-color: var(--surface-card);
10
+ transition: left $transitionDuration;
11
+ display: flex;
12
+ align-items: center;
13
+ box-shadow: 0px 3px 5px rgba(0,0,0,.02), 0px 0px 2px rgba(0,0,0,.05), 0px 1px 4px rgba(0,0,0,.08);
14
+
15
+ .layout-topbar-logo {
16
+ display: flex;
17
+ align-items: center;
18
+ color: var(--surface-900);
19
+ font-size: 1.5rem;
20
+ font-weight: 500;
21
+ width: 300px;
22
+ border-radius: 12px;
23
+
24
+ img {
25
+ height: 2.5rem;
26
+ margin-right: .5rem;
27
+ }
28
+
29
+ &:focus {
30
+ @include focused();
31
+ }
32
+ }
33
+
34
+ .layout-topbar-button {
35
+ display: inline-flex;
36
+ justify-content: center;
37
+ align-items: center;
38
+ position: relative;
39
+ color: var(--text-color-secondary);
40
+ border-radius: 50%;
41
+ width: 3rem;
42
+ height: 3rem;
43
+ cursor: pointer;
44
+ transition: background-color $transitionDuration;
45
+
46
+ &:hover {
47
+ color: var(--text-color);
48
+ background-color: var(--surface-hover);
49
+ }
50
+
51
+ &:focus {
52
+ @include focused();
53
+ }
54
+
55
+ i {
56
+ font-size: 1.5rem;
57
+ }
58
+
59
+ span {
60
+ font-size: 1rem;
61
+ display: none;
62
+ }
63
+ }
64
+
65
+ .layout-menu-button {
66
+ margin-left: 2rem;
67
+ }
68
+
69
+ .layout-topbar-menu-button {
70
+ display: none;
71
+
72
+ i {
73
+ font-size: 1.25rem;
74
+ }
75
+ }
76
+
77
+ .layout-topbar-menu {
78
+ margin: 0 0 0 auto;
79
+ padding: 0;
80
+ list-style: none;
81
+ display: flex;
82
+
83
+ .layout-topbar-button {
84
+ margin-left: 1rem;
85
+ }
86
+ }
87
+ }
88
+
89
+ @media (max-width: 991px) {
90
+ .layout-topbar {
91
+ justify-content: space-between;
92
+
93
+ .layout-topbar-logo {
94
+ width: auto;
95
+ order: 2;
96
+ }
97
+
98
+ .layout-menu-button {
99
+ margin-left: 0;
100
+ order: 1;
101
+ }
102
+
103
+ .layout-topbar-menu-button {
104
+ display: inline-flex;
105
+ margin-left: 0;
106
+ order: 3;
107
+ }
108
+
109
+ .layout-topbar-menu {
110
+ margin-left: 0;
111
+ position: absolute;
112
+ flex-direction: column;
113
+ background-color: var(--surface-overlay);
114
+ box-shadow: 0px 3px 5px rgba(0,0,0,.02), 0px 0px 2px rgba(0,0,0,.05), 0px 1px 4px rgba(0,0,0,.08);
115
+ border-radius: 12px;
116
+ padding: 1rem;
117
+ right: 2rem;
118
+ top: 5rem;
119
+ min-width: 15rem;
120
+ display: none;
121
+ -webkit-animation: scalein 0.15s linear;
122
+ animation: scalein 0.15s linear;
123
+
124
+ &.layout-topbar-menu-mobile-active {
125
+ display: block
126
+ }
127
+
128
+ .layout-topbar-button {
129
+ margin-left: 0;
130
+ display: flex;
131
+ width: 100%;
132
+ height: auto;
133
+ justify-content: flex-start;
134
+ border-radius: 12px;
135
+ padding: 1rem;
136
+
137
+ i {
138
+ font-size: 1rem;
139
+ margin-right: .5rem;
140
+ }
141
+
142
+ span {
143
+ font-weight: medium;
144
+ display: block;
145
+ }
146
+ }
147
+ }
148
+ }
149
+ }
@@ -0,0 +1,63 @@
1
+ h1, h2, h3, h4, h5, h6 {
2
+ margin: 1.5rem 0 1rem 0;
3
+ font-family: inherit;
4
+ font-weight: 500;
5
+ line-height: 1.2;
6
+ color: var(--surface-900);
7
+
8
+ &:first-child {
9
+ margin-top: 0;
10
+ }
11
+ }
12
+
13
+ h1 {
14
+ font-size: 2.5rem;
15
+ }
16
+
17
+ h2 {
18
+ font-size: 2rem;
19
+ }
20
+
21
+ h3 {
22
+ font-size: 1.75rem;
23
+ }
24
+
25
+ h4 {
26
+ font-size: 1.5rem;
27
+ }
28
+
29
+ h5 {
30
+ font-size: 1.25rem;
31
+ }
32
+
33
+ h6 {
34
+ font-size: 1rem;
35
+ }
36
+
37
+ mark {
38
+ background: #FFF8E1;
39
+ padding: .25rem .4rem;
40
+ border-radius: $borderRadius;
41
+ font-family: monospace;
42
+ }
43
+
44
+ blockquote {
45
+ margin: 1rem 0;
46
+ padding: 0 2rem;
47
+ border-left: 4px solid #90A4AE;
48
+ }
49
+
50
+ hr {
51
+ border-top: solid var(--surface-border);
52
+ border-width: 1px 0 0 0;
53
+ margin: 1rem 0;
54
+ }
55
+
56
+ p {
57
+ margin: 0 0 1rem 0;
58
+ line-height: 1.5;
59
+
60
+ &:last-child {
61
+ margin-bottom: 0;
62
+ }
63
+ }