@winchsa/ui 0.1.3 → 0.1.5

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 (184) hide show
  1. package/README.md +3 -113
  2. package/dist/components/{core/DialogCloseBtn.vue → DialogCloseBtn.vue} +1 -1
  3. package/dist/components/Drawer.vue +1 -1
  4. package/dist/components/Drawer.vue.d.ts +1 -1
  5. package/dist/components/{loading/LoadingDialog.vue → LoadingDialog.vue} +1 -1
  6. package/dist/components/Modal.vue +2 -2
  7. package/dist/components/{core/MoreBtn.vue → MoreBtn.vue} +1 -1
  8. package/dist/components/{core/MoreBtn.vue.d.ts → MoreBtn.vue.d.ts} +1 -1
  9. package/dist/components/{core/cards → cards}/AppCard.vue +1 -1
  10. package/dist/components/{core/cards → cards}/AppCard.vue.d.ts +1 -1
  11. package/dist/components/{core/cards → cards}/AppCardActions.vue +1 -1
  12. package/dist/components/{core/cards → cards}/AppCardActions.vue.d.ts +5 -5
  13. package/dist/components/cards/CheckboxesCard.vue +1 -1
  14. package/dist/components/cards/ImageCard.vue +1 -1
  15. package/dist/components/cards/ImageCard.vue.d.ts +1 -1
  16. package/dist/components/cards/InputCard.vue +1 -1
  17. package/dist/components/cards/InputCard.vue.d.ts +1 -1
  18. package/dist/components/cards/StaticCard.vue +1 -1
  19. package/dist/components/cards/StaticCard.vue.d.ts +1 -1
  20. package/dist/components/{core → forms}/AppBarSearch.vue +1 -1
  21. package/dist/components/{core → forms}/AppBarSearch.vue.d.ts +17 -17
  22. package/dist/components/forms/AppLink.vue +1 -1
  23. package/dist/components/forms/AppOtpInput.vue +1 -1
  24. package/dist/components/{core → forms}/AppSearchHeader.vue +2 -2
  25. package/dist/components/forms/AutocompleteInput.vue +1 -1
  26. package/dist/components/{core/app-form-elements → forms}/CustomCheckboxes.vue +1 -1
  27. package/dist/components/{core/app-form-elements → forms}/CustomCheckboxes.vue.d.ts +1 -1
  28. package/dist/components/{core/app-form-elements → forms}/CustomCheckboxesWithIcon.vue +1 -1
  29. package/dist/components/{core/app-form-elements → forms}/CustomCheckboxesWithIcon.vue.d.ts +1 -1
  30. package/dist/components/{core/app-form-elements → forms}/CustomCheckboxesWithImage.vue +1 -1
  31. package/dist/components/{core/app-form-elements → forms}/CustomCheckboxesWithImage.vue.d.ts +1 -1
  32. package/dist/components/{core/app-form-elements → forms}/CustomRadios.vue +1 -1
  33. package/dist/components/{core/app-form-elements → forms}/CustomRadios.vue.d.ts +1 -1
  34. package/dist/components/{core/app-form-elements → forms}/CustomRadiosWithIcon.vue.d.ts +1 -1
  35. package/dist/components/{core/app-form-elements → forms}/CustomRadiosWithImage.vue.d.ts +1 -1
  36. package/dist/components/forms/DatePickerRange.vue +1 -1
  37. package/dist/components/forms/ManualDate.vue +2 -2
  38. package/dist/components/forms/PasswordInput.vue +1 -1
  39. package/dist/components/forms/RangeInput.vue +1 -1
  40. package/dist/components/table/DataTable.vue +4 -4
  41. package/dist/components/table/EditableDataTable.vue +1 -1
  42. package/dist/components/table/EditableDataTable.vue.d.ts +1 -1
  43. package/dist/components/table/EditableDataTableRow.vue +2 -2
  44. package/dist/components/table/FilterGenerator.vue +3 -3
  45. package/dist/components/table/StaticTable.vue +1 -1
  46. package/dist/components/table/TablePagination.vue +1 -1
  47. package/dist/index.d.ts +38 -39
  48. package/dist/index.js +43 -36
  49. package/dist/index.mjs +71 -69
  50. package/dist/lang/ar.json +54 -0
  51. package/dist/lang/en.json +54 -0
  52. package/dist/types.d.ts +1 -15
  53. package/dist/utils/client.js +14 -0
  54. package/dist/utils/client.mjs +14 -0
  55. package/dist/utils/hijriDate.d.ts +58 -0
  56. package/dist/utils/hijriDate.js +168 -0
  57. package/dist/utils/hijriDate.mjs +1951 -0
  58. package/dist/utils/i18n.d.ts +8 -0
  59. package/dist/utils/i18n.js +36 -0
  60. package/dist/utils/i18n.mjs +27 -0
  61. package/dist/utils/index.d.ts +1 -0
  62. package/dist/utils/index.js +11 -0
  63. package/dist/utils/index.mjs +1 -0
  64. package/dist/utils/ruleValidator.d.ts +6 -0
  65. package/dist/utils/ruleValidator.js +32 -2
  66. package/dist/utils/ruleValidator.mjs +29 -0
  67. package/dist/utils/toaster.js +5 -8
  68. package/dist/utils/toaster.mjs +5 -6
  69. package/dist/utils/utils.d.ts +1 -0
  70. package/dist/utils/utils.js +16 -2
  71. package/dist/utils/utils.mjs +11 -0
  72. package/package.json +10 -12
  73. package/dist/components/icons/EndMarker.vue +0 -25
  74. package/dist/components/icons/EndMarker.vue.d.ts +0 -17
  75. package/dist/components/icons/RedXIcon.vue +0 -36
  76. package/dist/components/icons/RedXIcon.vue.d.ts +0 -2
  77. package/dist/components/icons/StarFillIcon.vue +0 -28
  78. package/dist/components/icons/StarFillIcon.vue.d.ts +0 -2
  79. package/dist/components/icons/StartMarker.vue +0 -25
  80. package/dist/components/icons/StartMarker.vue.d.ts +0 -17
  81. package/dist/components/icons/WorkerIcon.vue +0 -39
  82. package/dist/components/icons/WorkerIcon.vue.d.ts +0 -2
  83. package/dist/fonts/NotoSans-Medium.ttf +0 -0
  84. package/dist/fonts/NotoSansArabic-Medium.ttf +0 -0
  85. package/dist/fonts/saudi_riyal_symbol/saudi_riyal_symbol.eot +0 -0
  86. package/dist/fonts/saudi_riyal_symbol/saudi_riyal_symbol.svg +0 -9
  87. package/dist/fonts/saudi_riyal_symbol/saudi_riyal_symbol.ttf +0 -0
  88. package/dist/fonts/saudi_riyal_symbol/saudi_riyal_symbol.woff +0 -0
  89. package/dist/fonts/saudi_riyal_symbol/saudi_riyal_symbol.woff2 +0 -0
  90. package/dist/images/successful-registration.svg +0 -15
  91. package/dist/styles/@core/scss/template/libs/apex-chart.css +0 -90
  92. package/dist/styles/@core/scss/template/libs/apex-chart.scss +0 -99
  93. package/dist/styles/@core/scss/template/libs/shepherd.css +0 -82
  94. package/dist/styles/@core/scss/template/libs/shepherd.scss +0 -88
  95. package/dist/styles/assets/scss/styles.css +0 -16099
  96. package/dist/styles/assets/scss/styles.scss +0 -246
  97. package/src/styles/@core/scss/base/_components.scss +0 -164
  98. package/src/styles/@core/scss/base/_dark.scss +0 -16
  99. package/src/styles/@core/scss/base/_default-layout-w-vertical-nav.scss +0 -106
  100. package/src/styles/@core/scss/base/_default-layout.scss +0 -16
  101. package/src/styles/@core/scss/base/_index.scss +0 -47
  102. package/src/styles/@core/scss/base/_layouts.scss +0 -63
  103. package/src/styles/@core/scss/base/_misc.scss +0 -20
  104. package/src/styles/@core/scss/base/_mixins.scss +0 -84
  105. package/src/styles/@core/scss/base/_route-transitions.scss +0 -70
  106. package/src/styles/@core/scss/base/_utilities.scss +0 -418
  107. package/src/styles/@core/scss/base/_utils.scss +0 -100
  108. package/src/styles/@core/scss/base/_variables.scss +0 -190
  109. package/src/styles/@core/scss/base/_vertical-nav.scss +0 -264
  110. package/src/styles/@core/scss/base/libs/_perfect-scrollbar.scss +0 -35
  111. package/src/styles/@core/scss/base/libs/vuetify/_index.scss +0 -1
  112. package/src/styles/@core/scss/base/libs/vuetify/_overrides.scss +0 -385
  113. package/src/styles/@core/scss/base/libs/vuetify/_variables.scss +0 -48
  114. package/src/styles/@core/scss/base/placeholders/_default-layout-vertical-nav.scss +0 -48
  115. package/src/styles/@core/scss/base/placeholders/_default-layout.scss +0 -3
  116. package/src/styles/@core/scss/base/placeholders/_index.scss +0 -5
  117. package/src/styles/@core/scss/base/placeholders/_misc.scss +0 -7
  118. package/src/styles/@core/scss/base/placeholders/_nav.scss +0 -26
  119. package/src/styles/@core/scss/base/placeholders/_vertical-nav.scss +0 -84
  120. package/src/styles/@core/scss/base/skins/_bordered.scss +0 -60
  121. package/src/styles/@core/scss/base/skins/_index.scss +0 -1
  122. package/src/styles/@core/scss/template/_components.scss +0 -1035
  123. package/src/styles/@core/scss/template/_default-layout-w-vertical-nav.scss +0 -20
  124. package/src/styles/@core/scss/template/_utilities.scss +0 -20
  125. package/src/styles/@core/scss/template/_variables.scss +0 -67
  126. package/src/styles/@core/scss/template/_vertical-nav.scss +0 -41
  127. package/src/styles/@core/scss/template/index.scss +0 -15
  128. package/src/styles/@core/scss/template/libs/apex-chart.scss +0 -99
  129. package/src/styles/@core/scss/template/libs/shepherd.scss +0 -88
  130. package/src/styles/@core/scss/template/libs/vuetify/_variables.scss +0 -461
  131. package/src/styles/@core/scss/template/libs/vuetify/index.scss +0 -1
  132. package/src/styles/@core/scss/template/pages/misc.scss +0 -20
  133. package/src/styles/@core/scss/template/placeholders/_default-layout-vertical-nav.scss +0 -9
  134. package/src/styles/@core/scss/template/placeholders/_index.scss +0 -3
  135. package/src/styles/@core/scss/template/placeholders/_nav.scss +0 -15
  136. package/src/styles/@core/scss/template/placeholders/_vertical-nav.scss +0 -18
  137. package/src/styles/@core/scss/template/skins/_bordered.scss +0 -36
  138. package/src/styles/@core/scss/template/skins/_index.scss +0 -1
  139. package/src/styles/@layouts/styles/_classes.scss +0 -3
  140. package/src/styles/@layouts/styles/_dashboard-layout.scss +0 -43
  141. package/src/styles/@layouts/styles/_global.scss +0 -10
  142. package/src/styles/@layouts/styles/_mixins.scss +0 -28
  143. package/src/styles/@layouts/styles/_placeholders.scss +0 -53
  144. package/src/styles/@layouts/styles/_rtl.scss +0 -7
  145. package/src/styles/@layouts/styles/_variables.scss +0 -22
  146. package/src/styles/@layouts/styles/index.scss +0 -2
  147. package/src/styles/assets/scss/styles.scss +0 -246
  148. package/src/styles/assets/scss/variables/_template.scss +0 -1
  149. package/src/styles/assets/scss/variables/_vuetify.scss +0 -1
  150. /package/dist/components/{core/CustomizerSection.vue → CustomizerSection.vue} +0 -0
  151. /package/dist/components/{core/CustomizerSection.vue.d.ts → CustomizerSection.vue.d.ts} +0 -0
  152. /package/dist/components/{core/DialogCloseBtn.vue.d.ts → DialogCloseBtn.vue.d.ts} +0 -0
  153. /package/dist/components/{loading/LoadingBar.vue → LoadingBar.vue} +0 -0
  154. /package/dist/components/{loading/LoadingBar.vue.d.ts → LoadingBar.vue.d.ts} +0 -0
  155. /package/dist/components/{loading/LoadingDialog.vue.d.ts → LoadingDialog.vue.d.ts} +0 -0
  156. /package/dist/components/{loading/LoadingItem.vue → LoadingItem.vue} +0 -0
  157. /package/dist/components/{loading/LoadingItem.vue.d.ts → LoadingItem.vue.d.ts} +0 -0
  158. /package/dist/components/{core/ScrollToTop.vue → ScrollToTop.vue} +0 -0
  159. /package/dist/components/{core/ScrollToTop.vue.d.ts → ScrollToTop.vue.d.ts} +0 -0
  160. /package/dist/components/{core/cards → cards}/CardStatisticsHorizontal.vue +0 -0
  161. /package/dist/components/{core/cards → cards}/CardStatisticsHorizontal.vue.d.ts +0 -0
  162. /package/dist/components/{core/app-form-elements → forms}/AppCombobox.vue +0 -0
  163. /package/dist/components/{core/app-form-elements → forms}/AppCombobox.vue.d.ts +0 -0
  164. /package/dist/components/{core → forms}/AppDrawerHeaderSection.vue +0 -0
  165. /package/dist/components/{core → forms}/AppDrawerHeaderSection.vue.d.ts +0 -0
  166. /package/dist/components/{core → forms}/AppSearchHeader.vue.d.ts +0 -0
  167. /package/dist/components/{core/app-form-elements → forms}/AppSelect.vue +0 -0
  168. /package/dist/components/{core/app-form-elements → forms}/AppSelect.vue.d.ts +0 -0
  169. /package/dist/components/{core → forms}/AppStepper.vue +0 -0
  170. /package/dist/components/{core → forms}/AppStepper.vue.d.ts +0 -0
  171. /package/dist/components/{core/app-form-elements → forms}/AppSwitch.vue +0 -0
  172. /package/dist/components/{core/app-form-elements → forms}/AppSwitch.vue.d.ts +0 -0
  173. /package/dist/components/{core/app-form-elements → forms}/AppTextField.vue +0 -0
  174. /package/dist/components/{core/app-form-elements → forms}/AppTextField.vue.d.ts +0 -0
  175. /package/dist/components/{core/app-form-elements → forms}/AppTextarea.vue +0 -0
  176. /package/dist/components/{core/app-form-elements → forms}/AppTextarea.vue.d.ts +0 -0
  177. /package/dist/components/{core/app-form-elements → forms}/CustomRadiosWithIcon.vue +0 -0
  178. /package/dist/components/{core/app-form-elements → forms}/CustomRadiosWithImage.vue +0 -0
  179. /package/dist/composables/{use-is-mobile.d.ts → useIsMobile.d.ts} +0 -0
  180. /package/dist/composables/{use-is-mobile.js → useIsMobile.js} +0 -0
  181. /package/dist/composables/{use-is-mobile.mjs → useIsMobile.mjs} +0 -0
  182. /package/dist/composables/{use-table-filters.d.ts → useTableFilters.d.ts} +0 -0
  183. /package/dist/composables/{use-table-filters.js → useTableFilters.js} +0 -0
  184. /package/dist/composables/{use-table-filters.mjs → useTableFilters.mjs} +0 -0
@@ -1,246 +0,0 @@
1
- $font-family-custom: 'Saudi Riyal Symbol', 'Noto Sans English', 'Noto Sans Arabic', 'SA', --apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
2
-
3
- @use 'vuetify/styles' as * with ($body-font-family: $font-family-custom);
4
-
5
- @font-face {
6
- font-family: 'Noto Sans English';
7
- src: url('../../../fonts/NotoSans-Medium.ttf') format('woff2');
8
- font-display: swap;
9
- font-weight: normal;
10
- letter-spacing: 0 !important;
11
- unicode-range: U+0020-007E, U+00A0-00FF, U+0100-017F, U+0180-024F, U+1E00-1EFF;
12
- }
13
-
14
- @font-face {
15
- font-family: 'Noto Sans Arabic';
16
- src: url('../../../fonts/NotoSansArabic-Medium.ttf') format('woff2');
17
- font-display: swap;
18
- font-weight: normal;
19
- unicode-range: U+0600-06FF;
20
- }
21
-
22
- @font-face {
23
- font-family: 'Saudi Riyal Symbol';
24
- src: url('../../../fonts/saudi_riyal_symbol/saudi_riyal_symbol.eot');
25
- src: url('../../../fonts/saudi_riyal_symbol/saudi_riyal_symbol.eot') format('embedded-opentype'),
26
- url('../../../fonts/saudi_riyal_symbol/saudi_riyal_symbol.woff') format('woff'),
27
- url('../../../fonts/saudi_riyal_symbol/saudi_riyal_symbol.ttf') format('truetype'),
28
- url('../../../fonts/saudi_riyal_symbol/saudi_riyal_symbol.svg') format('svg');
29
- font-weight: normal;
30
- font-style: normal;
31
- font-display: swap;
32
- }
33
-
34
- .v-application {
35
-
36
- &,
37
- * {
38
- [dir='ltr'] & {
39
- font-family: 'Saudi Riyal Symbol', 'Noto Sans English', 'Noto Sans Arabic', sans-serif;
40
- }
41
-
42
- [dir='rtl'] & {
43
- font-family: 'Saudi Riyal Symbol', 'Noto Sans Arabic', 'Noto Sans English', sans-serif;
44
- }
45
- }
46
-
47
- .v-slide-group__next,
48
- .v-tab-login .v-slide-group__prev {
49
- display: none;
50
- }
51
-
52
- .v-tabs--grow .v-btn {
53
- flex: 1 1 0 !important;
54
- padding: 10px 0;
55
- height: auto;
56
- }
57
-
58
- .app-text-field {
59
- input {
60
- font-size: 13px;
61
- color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity));
62
- margin: 0;
63
- }
64
-
65
- .v-field--active.v-field--focused {
66
- box-shadow: none !important;
67
- }
68
- }
69
-
70
- .v-overlay__content {
71
-
72
- .v-list-item:not(.v-list-item--active):hover,
73
- .v-list-item:not(.v-list-item--active):focus-visible {
74
- color: #000;
75
- background-color: rgba(255, 194, 15, 1);
76
- }
77
-
78
- .v-list-item--variant-text .v-list-item__overlay {
79
- background-color: rgba(255, 194, 15, 1);
80
- }
81
- }
82
-
83
- .v-input--disabled {
84
- .v-field {
85
- pointer-events: none;
86
- background: rgb(var(--v-disabled-background)) !important;
87
- border: none !important;
88
-
89
- &--disabled {
90
- opacity: 1 !important;
91
- }
92
- }
93
-
94
- .v-field__outline {
95
- color: rgb(var(--v-disabled-border)) !important;
96
- }
97
- }
98
- }
99
-
100
- .v-field--active.v-field--focused {
101
- box-shadow: none !important;
102
- }
103
-
104
- .v-breadcrumbs,
105
- .v-card-title {
106
- font-weight: 600 !important;
107
- }
108
-
109
- .v-label,
110
- .nav-item-title,
111
- .v-input__details,
112
- .v-list-item-title,
113
- .v-list-item__content,
114
- .v-list-item-title,
115
- .v-card-item__content,
116
- .v-card-title,
117
- .v-card-text {
118
- overflow: initial !important;
119
- }
120
-
121
- .v-window {
122
- padding: 12px 0;
123
- }
124
-
125
- .text-pre-line {
126
- white-space: pre-line !important;
127
- }
128
-
129
- .v-input__prepend,
130
- .v-input__append {
131
- padding-top: 0 !important;
132
- }
133
-
134
- .hover-underline,
135
- %hover-underline {
136
- position: relative;
137
- display: inline-block;
138
- cursor: pointer;
139
-
140
- &::after {
141
- content: '';
142
- position: absolute;
143
- bottom: -3px;
144
- inset-inline-start: 0;
145
- width: 0;
146
- height: 2px;
147
- background-color: rgba(var(--v-theme-primary));
148
- transition: width 0.3s ease;
149
- }
150
-
151
- &:hover {
152
- &::after {
153
- width: 100%;
154
- }
155
- }
156
- }
157
-
158
- .outline-none {
159
- outline: none !important;
160
- }
161
-
162
- .v-breadcrumbs-item--link {
163
- text-decoration: none !important;
164
- @extend %hover-underline;
165
-
166
- &:hover {
167
- text-decoration: none;
168
- }
169
- }
170
-
171
- .back-btn {
172
- position: absolute;
173
- top: 50%;
174
- inset-inline-start: 0;
175
- transform: translateY(-50%);
176
- background: rgb(var(--v-theme-gray-200)) !important;
177
-
178
- &:hover {
179
- background: rgb(var(--v-theme-secondary)) !important;
180
- color: rgb(var(--v-theme-on-secondary)) !important;
181
- }
182
-
183
- .v-btn__overlay {
184
- display: none !important;
185
- }
186
-
187
- &:active {
188
- transform: translateY(-50%) !important;
189
- }
190
- }
191
-
192
- .v-chip {
193
- min-width: 96px !important;
194
- text-align: center;
195
- justify-content: center;
196
- letter-spacing: 0 !important;
197
- }
198
-
199
- .v-autocomplete__selection {
200
- .v-chip {
201
- max-width: 100% !important;
202
- }
203
- }
204
-
205
- .v-input__control {
206
- .v-field {
207
- position: relative !important;
208
-
209
- .v-field__clearable {
210
- position: absolute !important;
211
- inset-inline-start: -20px !important;
212
- z-index: 999 !important;
213
- width: 20px !important;
214
- background-color: rgb(var(--v-theme-surface));
215
- top: 50% !important;
216
- transform: translateY(-50%);
217
- }
218
- }
219
- }
220
-
221
- .v-input--disabled {
222
- .v-field {
223
- .v-field__clearable {
224
- background-color: rgb(var(--v-disabled-background));
225
- }
226
- }
227
- }
228
-
229
- .v-input--disabled .v-input__control .v-field__field {
230
- border: none !important;
231
- }
232
-
233
- .v-input--disabled .v-field .v-field__overlay {
234
- border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
235
- }
236
-
237
- .v-breadcrumbs-item {
238
- padding: 0px !important;
239
- }
240
-
241
- .multiselect__tags {
242
- padding-top: 10px !important;
243
- padding-inline-start: 8px !important;
244
- padding-bottom: 0 !important;
245
- padding-inline-end: 40px !important;
246
- }
@@ -1,164 +0,0 @@
1
- @use 'mixins';
2
- @use '../../../@layouts/styles/placeholders';
3
- @use '../../../assets/scss/variables/template' as variables;
4
-
5
- // Avatar group
6
- .v-avatar-group {
7
- display: flex;
8
- align-items: center;
9
-
10
- > * {
11
- &:not(:first-child) {
12
- margin-inline-start: -0.8rem;
13
- }
14
-
15
- transition: transform 0.25s ease, box-shadow 0.15s ease;
16
-
17
- &:hover {
18
- z-index: 2;
19
- transform: translateY(-5px) scale(1.05);
20
-
21
- @include mixins.elevation(3);
22
- }
23
- }
24
-
25
- > .v-avatar {
26
- border: 2px solid rgb(var(--v-theme-surface));
27
- transition: transform 0.15s ease;
28
- }
29
- }
30
-
31
- // Button outline with default color border color
32
- .v-alert--variant-outlined,
33
- .v-avatar--variant-outlined,
34
- .v-btn.v-btn--variant-outlined,
35
- .v-card--variant-outlined,
36
- .v-chip--variant-outlined,
37
- .v-list-item--variant-outlined {
38
- &:not([class*='text-']) {
39
- border-color: rgba(var(--v-border-color), var(--v-border-opacity));
40
- }
41
-
42
- &.text-default {
43
- border-color: rgba(var(--v-border-color), var(--v-border-opacity));
44
- }
45
- }
46
-
47
- // Custom Input
48
- .v-label.custom-input {
49
- padding: 1rem;
50
- border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
51
- opacity: 1;
52
- white-space: normal;
53
- height: auto;
54
-
55
- &:hover {
56
- border-color: rgba(var(--v-border-color), 0.25);
57
- }
58
-
59
- &.active {
60
- border-color: rgb(var(--v-theme-primary));
61
-
62
- .v-icon {
63
- color: rgb(var(--v-theme-primary)) !important;
64
- }
65
- }
66
- }
67
-
68
- // Dialog responsive width
69
- .v-dialog {
70
- // dialog custom close btn
71
- .v-dialog-close-btn {
72
- position: absolute;
73
- z-index: 1;
74
- color: rgba(var(--v-theme-on-surface), var(--v-disabled-opacity)) !important;
75
- inset-block-start: 0.9375rem;
76
- inset-inline-end: 0.9375rem;
77
-
78
- .v-btn__overlay {
79
- display: none;
80
- }
81
- }
82
-
83
- .v-card {
84
- @extend %style-scroll-bar;
85
- }
86
- }
87
-
88
- @media (min-width: 600px) {
89
- .v-dialog {
90
- &.v-dialog-sm,
91
- &.v-dialog-lg,
92
- &.v-dialog-xl {
93
- .v-overlay__content {
94
- inline-size: 565px !important;
95
- }
96
- }
97
- }
98
- }
99
-
100
- @media (min-width: 960px) {
101
- .v-dialog {
102
- &.v-dialog-lg,
103
- &.v-dialog-xl {
104
- .v-overlay__content {
105
- inline-size: 865px !important;
106
- }
107
- }
108
- }
109
- }
110
-
111
- @media (min-width: 1264px) {
112
- .v-dialog.v-dialog-xl {
113
- .v-overlay__content {
114
- inline-size: 1165px !important;
115
- }
116
- }
117
- }
118
-
119
- // v-tab with pill support
120
-
121
- .v-tabs.v-tabs-pill {
122
- .v-tab.v-btn {
123
- border-radius: 6px !important;
124
- transition: none;
125
-
126
- &:not(.v-tab--selected):hover {
127
- background-color: rgb(var(--v-theme-gray-200));
128
- }
129
-
130
- .v-tab__slider {
131
- visibility: hidden;
132
- }
133
- }
134
- }
135
-
136
- // loop for all colors bg
137
- @each $color-name in variables.$theme-colors-name {
138
- .v-tabs.v-tabs-pill {
139
- .v-slide-group-item--active.v-tab--selected.text-#{$color-name} {
140
- background-color: rgb(var(--v-theme-#{$color-name}));
141
- color: rgb(var(--v-theme-on-#{$color-name})) !important;
142
- }
143
-
144
- &:not(.v-tab--selected) {
145
- button {
146
- background-color: rgb(var(--v-theme-#{gray-100}));
147
- color: rgb(var(--v-theme-on-#{gray-100})) !important;
148
- }
149
- }
150
- }
151
- }
152
-
153
- .v-tabs.v-tabs-pill .v-slide-group-item--active.v-tab--selected.text-primary {
154
- color: rgb(var(--v-theme-button-on-primary)) !important;
155
- }
156
-
157
- // ℹ️ We are make even width of all v-timeline body
158
- .v-timeline--vertical.v-timeline {
159
- .v-timeline-item {
160
- .v-timeline-item__body {
161
- justify-self: stretch !important;
162
- }
163
- }
164
- }
@@ -1,16 +0,0 @@
1
- @use '../../../assets/scss/variables/template' as variables;
2
-
3
- // ————————————————————————————————————
4
- // * ——— Perfect Scrollbar
5
- // ————————————————————————————————————
6
-
7
- .v-application.v-theme--dark {
8
- .ps__rail-y,
9
- .ps__rail-x {
10
- background-color: transparent !important;
11
- }
12
-
13
- .ps__thumb-y {
14
- background-color: variables.$plugin-ps-thumb-y-dark;
15
- }
16
- }
@@ -1,106 +0,0 @@
1
- @use '../../../assets/scss/variables/template' as variables;
2
- @use 'placeholders' as *;
3
- @use '../template/placeholders' as *;
4
- @use 'misc';
5
- @use 'mixins';
6
-
7
- $header: '.layout-navbar';
8
-
9
- @if variables.$layout-vertical-nav-navbar-is-contained {
10
- $header: '.layout-navbar .navbar-content-container';
11
- }
12
-
13
- .layout-wrapper.layout-nav-type-vertical {
14
- // SECTION Layout Navbar
15
- // Elevated navbar
16
- @if variables.$vertical-nav-navbar-style == 'elevated' {
17
- // Add transition
18
- #{$header} {
19
- transition: padding 0.2s ease, background-color 0.18s ease;
20
- }
21
-
22
- // If navbar is contained => Add border radius to header
23
- @if variables.$layout-vertical-nav-navbar-is-contained {
24
- #{$header} {
25
- border-radius: 0
26
- 0
27
- variables.$default-layout-with-vertical-nav-navbar-footer-roundness
28
- variables.$default-layout-with-vertical-nav-navbar-footer-roundness;
29
- }
30
- }
31
-
32
- // Scrolled styles for sticky navbar
33
- @at-root {
34
- /* ℹ️ This html selector with not selector is required when:
35
- dialog is opened and window don't have any scroll. This removes window-scrolled class from layout and out style broke
36
- */
37
- html.v-overlay-scroll-blocked:not([style*='--v-body-scroll-y:0px;']) .layout-navbar-sticky,
38
- &.window-scrolled.layout-navbar-sticky {
39
- #{$header} {
40
- @extend %default-layout-vertical-nav-scrolled-sticky-elevated-nav;
41
- @extend %default-layout-vertical-nav-floating-navbar-and-sticky-elevated-navbar-scrolled;
42
- }
43
-
44
- .navbar-blur#{$header} {
45
- @extend %blurry-bg;
46
- }
47
- }
48
- }
49
- }
50
-
51
- // Floating navbar
52
- @else if variables.$vertical-nav-navbar-style == 'floating' {
53
- // ℹ️ Regardless of navbar is contained or not => Apply overlay to .layout-navbar
54
- .layout-navbar {
55
- &.navbar-blur {
56
- @extend %default-layout-vertical-nav-floating-navbar-overlay;
57
- }
58
- }
59
-
60
- &:not(.layout-navbar-sticky) {
61
- #{$header} {
62
- margin-block-start: variables.$vertical-nav-floating-navbar-top;
63
- }
64
- }
65
-
66
- #{$header} {
67
- @if variables.$layout-vertical-nav-navbar-is-contained {
68
- border-radius: variables.$default-layout-with-vertical-nav-navbar-footer-roundness;
69
- }
70
-
71
- background-color: rgb(var(--v-theme-surface));
72
-
73
- @extend %default-layout-vertical-nav-floating-navbar-and-sticky-elevated-navbar-scrolled;
74
- }
75
-
76
- .navbar-blur#{$header} {
77
- @extend %blurry-bg;
78
- }
79
- }
80
-
81
- // !SECTION
82
-
83
- // Layout footer
84
- .layout-footer {
85
- $ele-layout-footer: &;
86
-
87
- .footer-content-container {
88
- border-radius: variables.$default-layout-with-vertical-nav-navbar-footer-roundness
89
- variables.$default-layout-with-vertical-nav-navbar-footer-roundness 0 0;
90
-
91
- // Sticky footer
92
- @at-root {
93
- // ℹ️ .layout-footer-sticky#{$ele-layout-footer} => .layout-footer-sticky.layout-wrapper.layout-nav-type-vertical .layout-footer
94
- .layout-footer-sticky#{$ele-layout-footer} {
95
- .footer-content-container {
96
- background-color: rgb(var(--v-theme-surface));
97
- padding-block: 0;
98
- padding-inline: 1.2rem;
99
-
100
- @include mixins.elevation(3);
101
- }
102
- }
103
- }
104
- }
105
- }
106
- }
@@ -1,16 +0,0 @@
1
- @use 'placeholders';
2
- @use 'variables';
3
-
4
- .layout-vertical-nav,
5
- .layout-horizontal-nav {
6
- ol,
7
- ul {
8
- list-style: none;
9
- }
10
- }
11
-
12
- .layout-navbar {
13
- @if variables.$navbar-high-emphasis-text {
14
- @extend %layout-navbar;
15
- }
16
- }
@@ -1,47 +0,0 @@
1
- @use 'sass:map';
2
-
3
- // Layout
4
- @use 'vertical-nav';
5
- @use 'default-layout';
6
- @use 'default-layout-w-vertical-nav';
7
-
8
- // Layouts package
9
- @use 'layouts';
10
-
11
- // Skins
12
- @use 'skins';
13
-
14
- // Components
15
- @use 'components';
16
-
17
- // Utilities
18
- @use 'utilities';
19
-
20
- // Route Transitions
21
- @use 'route-transitions';
22
-
23
- // Misc
24
- @use 'misc';
25
-
26
- // Dark
27
- @use 'dark';
28
-
29
- // libs
30
- @use 'libs/perfect-scrollbar';
31
-
32
- a {
33
- color: rgb(var(--v-theme-blue));
34
- text-decoration: none;
35
- cursor: pointer;
36
- }
37
-
38
- // Vuetify 3 don't provide margin bottom style like vuetify 2
39
- p {
40
- margin-block-end: 1rem;
41
- }
42
-
43
- // Iconify icon size
44
- svg.iconify {
45
- block-size: 1em;
46
- inline-size: 1em;
47
- }
@@ -1,63 +0,0 @@
1
- @use '../../../assets/scss/variables/template' as variables;
2
-
3
- /* ℹ️ This styles extends the existing layout package's styles for handling cases that aren't related to layouts package */
4
-
5
- /*
6
- ℹ️ When we use v-layout as immediate first child of `.page-content-container`, it adds display:flex and page doesn't get contained height
7
- */
8
- // .layout-wrapper.layout-nav-type-vertical {
9
- // &.layout-content-height-fixed {
10
- // .page-content-container {
11
- // > .v-layout:first-child > :not(.v-navigation-drawer):first-child {
12
- // flex-grow: 1;
13
- // block-size: 100%;
14
- // }
15
- // }
16
- // }
17
- // }
18
- .layout-wrapper.layout-nav-type-vertical {
19
- &.layout-content-height-fixed {
20
- .page-content-container {
21
- > .v-layout:first-child {
22
- overflow: hidden;
23
- min-block-size: 100%;
24
-
25
- > .v-main {
26
- // overflow-y: auto;
27
-
28
- .v-main__wrap > :first-child {
29
- block-size: 100%;
30
- overflow-y: auto;
31
- }
32
- }
33
- }
34
- }
35
- }
36
- }
37
-
38
- // ℹ️ Let div/v-layout take full height. E.g. Email App
39
- .layout-wrapper.layout-nav-type-horizontal {
40
- &.layout-content-height-fixed {
41
- > .layout-page-content {
42
- display: flex;
43
- }
44
- }
45
- }
46
-
47
- // Floating navbar styles
48
- @if variables.$vertical-nav-navbar-style == 'floating' {
49
- // ℹ️ Add spacing above navbar if navbar is floating (was in %layout-navbar-sticky placeholder)
50
- .layout-wrapper.layout-nav-type-vertical.layout-navbar-sticky {
51
- .layout-navbar {
52
- inset-block-start: variables.$vertical-nav-floating-navbar-top;
53
- }
54
-
55
- /*
56
- ℹ️ If it's floating navbar
57
- Add `vertical-nav-floating-navbar-top` as margin top to .layout-page-content
58
- */
59
- .layout-page-content {
60
- margin-block-start: variables.$vertical-nav-floating-navbar-top;
61
- }
62
- }
63
- }
@@ -1,20 +0,0 @@
1
- // ℹ️ scrollable-content allows creating fixed header and scrollable content for VNavigationDrawer (Used when perfect scrollbar is used)
2
- .scrollable-content {
3
- &.v-navigation-drawer {
4
- .v-navigation-drawer__content {
5
- display: flex;
6
- overflow: hidden;
7
- flex-direction: column;
8
- }
9
- }
10
- }
11
-
12
- // ℹ️ adding styling for code tag
13
- code {
14
- border-radius: 3px;
15
- color: rgb(var(--v-code-color));
16
- font-size: 90%;
17
- font-weight: 400;
18
- padding-block: 0.2em;
19
- padding-inline: 0.4em;
20
- }