@solidstarters/solid-core-ui 1.1.77 → 1.1.79

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 (122) hide show
  1. package/dist/components/core/chatter/SolidChatter.js +7 -3
  2. package/dist/components/core/chatter/SolidChatter.js.map +1 -1
  3. package/dist/components/core/form/SolidFormActionHeader.js +47 -3
  4. package/dist/components/core/form/SolidFormActionHeader.js.map +1 -1
  5. package/dist/components/core/form/SolidFormView.js +2 -1
  6. package/dist/components/core/form/SolidFormView.js.map +1 -1
  7. package/dist/components/core/form/fields/SolidIntegerField.js +29 -0
  8. package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
  9. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +93 -24
  10. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -1
  11. package/dist/components/core/list/SolidListView.js +2 -2
  12. package/dist/components/core/list/SolidListView.js.map +1 -1
  13. package/dist/helpers/registry.js +2 -1
  14. package/dist/helpers/registry.js.map +1 -1
  15. package/package.json +1 -1
  16. package/tsconfig.json +1 -1
  17. package/dist/components/core/common/SolidConfigureLayoutElement.d.ts +0 -2
  18. package/dist/components/core/common/SolidConfigureLayoutElement.d.ts.map +0 -1
  19. package/dist/components/core/common/SolidConfigureLayoutElement.js +0 -77
  20. package/dist/components/core/common/SolidConfigureLayoutElement.js.map +0 -1
  21. package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyAutocompleteWidget.d.ts +0 -3
  22. package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyAutocompleteWidget.d.ts.map +0 -1
  23. package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyAutocompleteWidget.js +0 -38
  24. package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyAutocompleteWidget.js.map +0 -1
  25. package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyCheckboxWidget.d.ts +0 -3
  26. package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyCheckboxWidget.d.ts.map +0 -1
  27. package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyCheckboxWidget.js +0 -48
  28. package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyCheckboxWidget.js.map +0 -1
  29. package/dist/components/core/form/fields/widgets/SolidBooleanCheckboxFieldWidget.d.ts +0 -3
  30. package/dist/components/core/form/fields/widgets/SolidBooleanCheckboxFieldWidget.d.ts.map +0 -1
  31. package/dist/components/core/form/fields/widgets/SolidBooleanCheckboxFieldWidget.js +0 -57
  32. package/dist/components/core/form/fields/widgets/SolidBooleanCheckboxFieldWidget.js.map +0 -1
  33. package/dist/components/core/form/fields/widgets/SolidBooleanSelectFieldWidget.d.ts +0 -3
  34. package/dist/components/core/form/fields/widgets/SolidBooleanSelectFieldWidget.d.ts.map +0 -1
  35. package/dist/components/core/form/fields/widgets/SolidBooleanSelectFieldWidget.js +0 -30
  36. package/dist/components/core/form/fields/widgets/SolidBooleanSelectFieldWidget.js.map +0 -1
  37. package/dist/components/core/form/fields/widgets/SolidFormFieldJsonViewModeWidget.d.ts +0 -2
  38. package/dist/components/core/form/fields/widgets/SolidFormFieldJsonViewModeWidget.d.ts.map +0 -1
  39. package/dist/components/core/form/fields/widgets/SolidFormFieldJsonViewModeWidget.js +0 -9
  40. package/dist/components/core/form/fields/widgets/SolidFormFieldJsonViewModeWidget.js.map +0 -1
  41. package/dist/components/core/form/fields/widgets/SolidFormFieldMediaViewModeWidget.d.ts +0 -2
  42. package/dist/components/core/form/fields/widgets/SolidFormFieldMediaViewModeWidget.d.ts.map +0 -1
  43. package/dist/components/core/form/fields/widgets/SolidFormFieldMediaViewModeWidget.js +0 -8
  44. package/dist/components/core/form/fields/widgets/SolidFormFieldMediaViewModeWidget.js.map +0 -1
  45. package/dist/components/core/form/fields/widgets/SolidFormFieldPasswordViewModeWidget.d.ts +0 -2
  46. package/dist/components/core/form/fields/widgets/SolidFormFieldPasswordViewModeWidget.d.ts.map +0 -1
  47. package/dist/components/core/form/fields/widgets/SolidFormFieldPasswordViewModeWidget.js +0 -9
  48. package/dist/components/core/form/fields/widgets/SolidFormFieldPasswordViewModeWidget.js.map +0 -1
  49. package/dist/components/core/form/fields/widgets/SolidFormFieldRelationViewModeWidget.d.ts +0 -2
  50. package/dist/components/core/form/fields/widgets/SolidFormFieldRelationViewModeWidget.d.ts.map +0 -1
  51. package/dist/components/core/form/fields/widgets/SolidFormFieldRelationViewModeWidget.js +0 -20
  52. package/dist/components/core/form/fields/widgets/SolidFormFieldRelationViewModeWidget.js.map +0 -1
  53. package/dist/components/core/form/fields/widgets/SolidFormFieldRichTextViewModeWidget.d.ts +0 -2
  54. package/dist/components/core/form/fields/widgets/SolidFormFieldRichTextViewModeWidget.d.ts.map +0 -1
  55. package/dist/components/core/form/fields/widgets/SolidFormFieldRichTextViewModeWidget.js +0 -7
  56. package/dist/components/core/form/fields/widgets/SolidFormFieldRichTextViewModeWidget.js.map +0 -1
  57. package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultipleWidget.d.ts +0 -3
  58. package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultipleWidget.d.ts.map +0 -1
  59. package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultipleWidget.js +0 -90
  60. package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultipleWidget.js.map +0 -1
  61. package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaSingleWidget.d.ts +0 -3
  62. package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaSingleWidget.d.ts.map +0 -1
  63. package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaSingleWidget.js +0 -74
  64. package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaSingleWidget.js.map +0 -1
  65. package/dist/components/core/form/fields/widgets/SolidFormFieldViewModeWidget.d.ts +0 -2
  66. package/dist/components/core/form/fields/widgets/SolidFormFieldViewModeWidget.d.ts.map +0 -1
  67. package/dist/components/core/form/fields/widgets/SolidFormFieldViewModeWidget.js +0 -6
  68. package/dist/components/core/form/fields/widgets/SolidFormFieldViewModeWidget.js.map +0 -1
  69. package/dist/components/core/form/fields/widgets/SolidSelectionStaticAutocompleteFieldWidget.d.ts +0 -3
  70. package/dist/components/core/form/fields/widgets/SolidSelectionStaticAutocompleteFieldWidget.d.ts.map +0 -1
  71. package/dist/components/core/form/fields/widgets/SolidSelectionStaticAutocompleteFieldWidget.js +0 -50
  72. package/dist/components/core/form/fields/widgets/SolidSelectionStaticAutocompleteFieldWidget.js.map +0 -1
  73. package/dist/components/core/form/fields/widgets/SolidSelectionStaticRadioFieldWidget.d.ts +0 -3
  74. package/dist/components/core/form/fields/widgets/SolidSelectionStaticRadioFieldWidget.d.ts.map +0 -1
  75. package/dist/components/core/form/fields/widgets/SolidSelectionStaticRadioFieldWidget.js +0 -34
  76. package/dist/components/core/form/fields/widgets/SolidSelectionStaticRadioFieldWidget.js.map +0 -1
  77. package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.d.ts +0 -2
  78. package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.d.ts.map +0 -1
  79. package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.js +0 -7
  80. package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.js.map +0 -1
  81. package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget.d.ts +0 -2
  82. package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget.d.ts.map +0 -1
  83. package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget.js +0 -7
  84. package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget.js.map +0 -1
  85. package/dist/components/core/list/widgets/SolidUserNameAvatarWidget.d.ts +0 -2
  86. package/dist/components/core/list/widgets/SolidUserNameAvatarWidget.d.ts.map +0 -1
  87. package/dist/components/core/list/widgets/SolidUserNameAvatarWidget.js +0 -36
  88. package/dist/components/core/list/widgets/SolidUserNameAvatarWidget.js.map +0 -1
  89. package/dist/stylesheets/globals.css +0 -2476
  90. package/dist/stylesheets/styles/SF-Pro-Display-Regular.otf +0 -0
  91. package/dist/stylesheets/styles/layout/_config.scss +0 -54
  92. package/dist/stylesheets/styles/layout/_content.scss +0 -77
  93. package/dist/stylesheets/styles/layout/_footer.scss +0 -8
  94. package/dist/stylesheets/styles/layout/_main.scss +0 -47
  95. package/dist/stylesheets/styles/layout/_menu.scss +0 -185
  96. package/dist/stylesheets/styles/layout/_mixins.scss +0 -13
  97. package/dist/stylesheets/styles/layout/_responsive.scss +0 -99
  98. package/dist/stylesheets/styles/layout/_topbar.scss +0 -149
  99. package/dist/stylesheets/styles/layout/_typography.scss +0 -63
  100. package/dist/stylesheets/styles/layout/_utils.scss +0 -27
  101. package/dist/stylesheets/styles/layout/_variables.scss +0 -3
  102. package/dist/stylesheets/styles/layout/layout.scss +0 -11
  103. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Black.otf +0 -0
  104. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Bold.otf +0 -0
  105. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Heavy.otf +0 -0
  106. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Light.otf +0 -0
  107. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Medium.otf +0 -0
  108. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Regular.otf +0 -0
  109. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Semibold.otf +0 -0
  110. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Thin.otf +0 -0
  111. package/dist/stylesheets/themes/solid-dark-purple/fonts/SF-Pro-Display-Ultralight.otf +0 -0
  112. package/dist/stylesheets/themes/solid-dark-purple/theme.css +0 -9051
  113. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Black.otf +0 -0
  114. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Bold.otf +0 -0
  115. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Heavy.otf +0 -0
  116. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Light.otf +0 -0
  117. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Medium.otf +0 -0
  118. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Regular.otf +0 -0
  119. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Semibold.otf +0 -0
  120. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Thin.otf +0 -0
  121. package/dist/stylesheets/themes/solid-light-purple/fonts/SF-Pro-Display-Ultralight.otf +0 -0
  122. package/dist/stylesheets/themes/solid-light-purple/theme.css +0 -9077
@@ -1,54 +0,0 @@
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
- }
@@ -1,77 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
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
- }
@@ -1,47 +0,0 @@
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
- }
@@ -1,185 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,99 +0,0 @@
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
- }
@@ -1,149 +0,0 @@
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
- }
@@ -1,63 +0,0 @@
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
- }