@appscode/design-system 1.0.43-alpha.22 → 1.0.43-alpha.221

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 (134) hide show
  1. package/base/utilities/_all.scss +7 -0
  2. package/base/utilities/_customize-bulma.scss +191 -0
  3. package/base/utilities/_default.scss +286 -126
  4. package/base/utilities/_derived-variables.scss +6 -1
  5. package/base/utilities/_grid.scss +29 -0
  6. package/base/utilities/_initial-variables.scss +27 -17
  7. package/base/utilities/_mixin.scss +1 -17
  8. package/base/utilities/_typography.scss +18 -14
  9. package/base/utilities/dark-theme.scss +9 -145
  10. package/components/_ac-accordion.scss +14 -5
  11. package/components/_ac-alert-box.scss +41 -7
  12. package/components/_ac-card.scss +48 -10
  13. package/components/_ac-code-highlight.scss +5 -1
  14. package/components/_ac-content-layout.scss +2 -2
  15. package/components/_ac-drag.scss +2 -0
  16. package/components/_ac-input.scss +64 -23
  17. package/components/_ac-modal.scss +1 -1
  18. package/components/_ac-multi-select.scss +247 -9
  19. package/components/_ac-options.scss +24 -9
  20. package/components/_ac-select-box.scss +13 -3
  21. package/components/_ac-table.scss +15 -5
  22. package/components/_ac-tabs.scss +46 -5
  23. package/components/_ac-tags.scss +85 -0
  24. package/components/_ac-terminal.scss +270 -0
  25. package/components/_all.scss +28 -0
  26. package/components/_app-drawer.scss +2 -2
  27. package/components/_breadcumb.scss +2 -0
  28. package/components/_buttons.scss +50 -37
  29. package/components/_card-body-wrapper.scss +2 -2
  30. package/components/_dashboard-header.scss +32 -0
  31. package/components/_direct-deploy.scss +69 -0
  32. package/components/_go-to-top.scss +1 -1
  33. package/components/_graph.scss +45 -0
  34. package/components/_image-upload.scss +5 -3
  35. package/components/_left-sidebar-menu.scss +121 -69
  36. package/components/_monaco-editor.scss +1 -1
  37. package/components/_navbar.scss +170 -10
  38. package/components/_overview-info.scss +3 -3
  39. package/components/_pagination.scss +8 -0
  40. package/components/_payment-card.scss +10 -1
  41. package/components/_preview-modal.scss +18 -5
  42. package/components/_pricing-table.scss +1 -1
  43. package/components/_progress-bar.scss +4 -4
  44. package/components/_subscription-card.scss +11 -4
  45. package/components/_table-of-content.scss +1 -1
  46. package/components/_tfa.scss +69 -0
  47. package/components/_transitions.scss +261 -0
  48. package/components/_wizard.scss +16 -3
  49. package/components/bbum/_all.scss +9 -0
  50. package/components/bbum/_card-team.scss +1 -1
  51. package/components/bbum/_information-center.scss +15 -1
  52. package/components/bbum/_sign-up-notification.scss +1 -1
  53. package/components/bbum/_single-post-preview.scss +2 -2
  54. package/components/bbum/_user-profile.scss +2 -3
  55. package/components/ui-builder/_ui-builder.scss +76 -1
  56. package/components/ui-builder/_vue-open-api.scss +104 -0
  57. package/layouts/_all.scss +2 -0
  58. package/layouts/_code-preview.scss +5 -2
  59. package/main.scss +6 -54
  60. package/package.json +4 -7
  61. package/plugins/caching.ts +243 -0
  62. package/plugins/theme.js +4 -0
  63. package/plugins/time-convert.js +49 -0
  64. package/plugins/vue-toaster.js +3 -0
  65. package/vue-components/v2/banner/Banner.vue +2 -2
  66. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  67. package/vue-components/v2/button/Button.vue +5 -0
  68. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  69. package/vue-components/v2/card/Card.vue +1 -0
  70. package/vue-components/v2/card/PaymentCards.vue +11 -2
  71. package/vue-components/v2/content/ContentTable.vue +12 -7
  72. package/vue-components/v2/editor/Editor.vue +43 -24
  73. package/vue-components/v2/editor/FilteredFileEditor.vue +189 -0
  74. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  75. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  76. package/vue-components/v2/form-fields/Input.vue +1 -1
  77. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  78. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  79. package/vue-components/v2/modal/Modal.vue +38 -4
  80. package/vue-components/v2/modals/DeleteConfirmationModal.vue +79 -0
  81. package/vue-components/v2/modals/JsonShowModal.vue +12 -2
  82. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  83. package/vue-components/v2/navbar/ThemeMode.vue +50 -44
  84. package/vue-components/v2/navbar/User.vue +229 -17
  85. package/vue-components/v2/notification/Notification.vue +101 -0
  86. package/vue-components/v2/notification/NotificationItem.vue +44 -0
  87. package/vue-components/v2/pagination/Pagination.vue +16 -3
  88. package/vue-components/v2/preloader/Preloader.vue +5 -5
  89. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  90. package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
  91. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  92. package/vue-components/v2/tab/TabItem.vue +1 -1
  93. package/vue-components/v2/table/Table.vue +44 -8
  94. package/vue-components/v2/table/TableRow.vue +12 -2
  95. package/vue-components/v2/table/table-cell/CellValue.vue +33 -4
  96. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  97. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  98. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  99. package/vue-components/v3/button/Button.vue +6 -1
  100. package/vue-components/v3/content/ContentHeader.vue +2 -1
  101. package/vue-components/v3/content/ContentTable.vue +20 -2
  102. package/vue-components/v3/editor/Editor.vue +42 -33
  103. package/vue-components/v3/editor/FilteredFileEditor.vue +186 -0
  104. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  105. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +125 -0
  106. package/vue-components/v3/form/Form.vue +63 -0
  107. package/vue-components/v3/form-fields/Input.vue +11 -10
  108. package/vue-components/v3/header/HeaderItem.vue +5 -0
  109. package/vue-components/v3/header/HeaderItems.vue +5 -0
  110. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  111. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  112. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +92 -0
  113. package/vue-components/v3/modal/Modal.vue +38 -6
  114. package/vue-components/v3/modals/DeleteConfirmationModal.vue +85 -0
  115. package/vue-components/v3/modals/JsonShowModal.vue +25 -16
  116. package/vue-components/v3/modals/LongRunningTasksModal.vue +337 -0
  117. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  118. package/vue-components/v3/navbar/ThemeMode.vue +49 -47
  119. package/vue-components/v3/navbar/User.vue +242 -18
  120. package/vue-components/v3/notification/Notification.vue +98 -0
  121. package/vue-components/v3/notification/NotificationItem.vue +52 -0
  122. package/vue-components/v3/pagination/Pagination.vue +16 -3
  123. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  124. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  125. package/vue-components/v3/tab/TabItem.vue +1 -1
  126. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  127. package/vue-components/v3/table/Table.vue +47 -13
  128. package/vue-components/v3/table/TableContainer.vue +34 -0
  129. package/vue-components/v3/table/TableRow.vue +64 -3
  130. package/vue-components/v3/table/table-cell/CellValue.vue +28 -3
  131. package/vue-components/v3/table/table-cell/GenericCell.vue +75 -0
  132. package/vue-components/v3/table/table-cell/ObjectCell.vue +7 -2
  133. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
  134. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +148 -0
@@ -1,11 +1,39 @@
1
1
  .ac-system-left-sidebar {
2
+ min-height: calc(100vh - 50px);
3
+
2
4
  &.is-expanded {
3
5
  .ac-left-sidebar-wrapper {
4
6
  &.style-2 {
5
7
  .ac-lef-sidebar-inner {
6
8
  .ac-left-sidebar {
7
9
  .ac-menu-list {
8
- background-color: transparent;
10
+ background-color: $ac-white;
11
+ }
12
+ }
13
+ }
14
+ }
15
+ }
16
+ }
17
+
18
+ &.is-close {
19
+ .ac-left-sidebar-wrapper {
20
+ .ac-lef-sidebar-inner {
21
+ .ac-left-sidebar {
22
+ .menu-list {
23
+ &.ac-menu-list {
24
+ li {
25
+ a {
26
+ &.ac-dropdown-button {
27
+ .ac-arrow-down {
28
+ right: 0px !important;
29
+ }
30
+ }
31
+
32
+ span {
33
+ margin-right: 0px;
34
+ }
35
+ }
36
+ }
9
37
  }
10
38
  }
11
39
  }
@@ -15,7 +43,7 @@
15
43
  }
16
44
 
17
45
  .ac-left-sidebar-wrapper {
18
- background-color: $ac-white;
46
+ background-color: $ac-white-lightest;
19
47
  width: 100%;
20
48
  position: sticky;
21
49
  top: 50px;
@@ -59,7 +87,7 @@
59
87
  li {
60
88
  a {
61
89
  padding: 12px 15px 12px 26px !important;
62
- font-weight: 400;
90
+ font-weight: 500;
63
91
 
64
92
  &:hover {
65
93
  &::after {
@@ -67,7 +95,7 @@
67
95
  }
68
96
 
69
97
  span {
70
- color: $ac-black;
98
+ color: $ac-link-black;
71
99
  }
72
100
  }
73
101
 
@@ -129,12 +157,17 @@
129
157
  height: calc(100vh - 100px);
130
158
  overflow-y: auto;
131
159
  padding-top: 8px;
160
+ scrollbar-color: $ac-white-light transparent;
132
161
 
133
162
  /* width */
134
163
  &::-webkit-scrollbar {
135
164
  display: none;
136
165
  }
137
166
 
167
+ &::-webkit-scrollbar {
168
+ display: none;
169
+ }
170
+
138
171
  li {
139
172
  &.is-open {
140
173
  a {
@@ -150,7 +183,7 @@
150
183
  li {
151
184
  a {
152
185
  strong {
153
- font-weight: 400;
186
+ font-weight: 500;
154
187
  }
155
188
  }
156
189
  }
@@ -159,10 +192,10 @@
159
192
 
160
193
  a {
161
194
  font-style: normal;
162
- font-weight: 400;
195
+ font-weight: 500;
163
196
  font-size: $font-size-small;
164
197
  line-height: 16px;
165
- color: $ac-black;
198
+ color: $ac-link-black;
166
199
  position: relative;
167
200
  z-index: 1;
168
201
  padding: 10px 15px 10px 24px;
@@ -185,8 +218,12 @@
185
218
 
186
219
  strong {
187
220
  max-width: calc(100% - 65px);
188
- line-break: anywhere;
189
- font-weight: 400;
221
+ // line-break: anywhere;
222
+ white-space: break-spaces;
223
+ display: flex;
224
+ align-items: center;
225
+ overflow: hidden;
226
+ font-weight: 500;
190
227
  }
191
228
 
192
229
  &.ac-dropdown-button {
@@ -210,7 +247,7 @@
210
247
  }
211
248
 
212
249
  span {
213
- color: $ac-black;
250
+ color: $ac-link-black;
214
251
 
215
252
  img {
216
253
  filter: grayscale(0);
@@ -223,6 +260,10 @@
223
260
  background-color: transparent;
224
261
 
225
262
  span {
263
+ i.fa {
264
+ color: $ac-primary;
265
+ }
266
+
226
267
  img {
227
268
  filter: grayscale(0);
228
269
  }
@@ -295,62 +336,6 @@
295
336
  }
296
337
  }
297
338
  }
298
-
299
- &.is-dark-sidebar {
300
- background-color: $ac-color-heading;
301
-
302
- .ac-lef-sidebar-inner {
303
- .ac-product-logo {
304
- .ac-product-version {
305
- color: $ac-primary;
306
- }
307
- }
308
-
309
- .menu-list {
310
- &.ac-menu-list {
311
- height: calc(100vh - 130px);
312
- overflow-y: auto;
313
- padding-top: 8px;
314
-
315
- li {
316
- a {
317
- color: $ac-white !important;
318
- background-color: $ac-color-heading;
319
-
320
- &:hover {
321
- color: $ac-white !important;
322
-
323
- span {
324
- color: $ac-black;
325
- }
326
- }
327
-
328
- &:after {
329
- background-color: $ac-color-text;
330
- }
331
- }
332
-
333
- &.is-active {
334
- color: $ac-primary !important;
335
-
336
- &:after,
337
- &::before {
338
- background: linear-gradient(
339
- 89.41deg,
340
- rgba(25, 113, 189, 0.2) 0.06%,
341
- rgba(25, 113, 189, 0) 138.7%
342
- );
343
-
344
- &::before {
345
- background-color: $ac-primary;
346
- }
347
- }
348
- }
349
- }
350
- }
351
- }
352
- }
353
- }
354
339
  }
355
340
 
356
341
  // widget menu end
@@ -359,11 +344,13 @@
359
344
  .ac-options.is-right {
360
345
  .option-dots {
361
346
  transition: 0.3s;
347
+
362
348
  i.fa {
363
349
  &.fa-angle-left {
364
350
  font-size: 18px;
365
351
  }
366
352
  }
353
+
367
354
  &:active {
368
355
  i.fa {
369
356
  background-color: $ac-white-lighter;
@@ -374,52 +361,66 @@
374
361
  border-radius: 50%;
375
362
  }
376
363
  }
364
+
377
365
  &:hover {
378
- color: #333;
366
+ color: $ac-primary !important;
379
367
  transform: scale(1.2);
380
368
  }
381
369
  }
382
370
  }
371
+
383
372
  .is-cluster-logo {
384
373
  display: flex;
385
374
  align-items: center;
386
375
  margin-left: -8px;
387
376
  padding: 5px;
388
377
  }
378
+
389
379
  .multiselect {
390
380
  height: 50px;
391
- width: 234px;
381
+
382
+ // commented out to set full width select box when right content is not present
383
+ // width: 234px;
384
+
392
385
  left: 0px;
393
386
  top: -5px;
387
+
394
388
  .multiselect__select {
395
389
  height: 50px;
396
390
  top: 4px;
397
391
  }
392
+
398
393
  .multiselect__tags {
399
394
  border: none !important;
400
395
  background-color: $ac-bg-light-gray;
401
396
  min-height: 54px;
402
397
  border-radius: 0;
398
+
403
399
  .multiselect__placeholder {
404
400
  padding-top: 12px !important;
405
401
  font-size: 14px;
406
402
  }
403
+
407
404
  .multiselect__input {
408
405
  background-color: $ac-bg-light-gray !important;
409
406
  top: 13px;
407
+
410
408
  &::placeholder {
411
409
  font-size: 12px;
412
410
  font-weight: 500;
413
411
  }
414
412
  }
415
413
  }
414
+
416
415
  .multiselect__single {
417
416
  background-color: $ac-bg-light-gray !important;
418
417
  top: 14px !important;
418
+
419
419
  img {
420
420
  width: 20px;
421
421
  margin-right: 8px;
422
422
  }
423
+
423
424
  span {
424
425
  span {
425
426
  overflow: hidden;
@@ -433,20 +434,28 @@
433
434
  }
434
435
  }
435
436
  }
437
+
436
438
  .multiselect__content-wrapper {
439
+ border: 1px solid $ac-white-light;
440
+
437
441
  .multiselect__content {
438
442
  .multiselect__element {
439
443
  .multiselect__option {
440
444
  display: flex;
441
445
  align-items: center;
442
446
  font-size: 14px;
447
+
443
448
  img {
444
449
  width: 25px;
445
450
  }
451
+
446
452
  p {
453
+ color: $ac-color-text;
447
454
  font-weight: 500;
448
455
  }
456
+
449
457
  .location {
458
+ color: $ac-color-text;
450
459
  font-weight: 400;
451
460
  opacity: 0.8;
452
461
  }
@@ -455,7 +464,50 @@
455
464
  }
456
465
  }
457
466
  }
467
+
458
468
  // cluster switcher end
469
+
470
+ // dark theme start
471
+ .is-dark-theme {
472
+ body {
473
+ .ac-system-body {
474
+ .ac-system-left-sidebar {
475
+ background-color: var(--dark-bg);
476
+ }
477
+ }
478
+
479
+ .ac-left-sidebar-wrapper {
480
+ .ac-lef-sidebar-inner {
481
+ .ac-left-sidebar {
482
+ .menu-list {
483
+ &.ac-menu-list {
484
+ li {
485
+ a {
486
+ &.is-active {
487
+ font-weight: 500;
488
+ color: $ac-full-white !important;
489
+
490
+ span {
491
+ i.fa {
492
+ color: $ac-primary;
493
+ }
494
+ }
495
+
496
+ &:after {
497
+ background: var(--dark-bg-light) !important;
498
+ }
499
+ }
500
+ }
501
+ }
502
+ }
503
+ }
504
+ }
505
+ }
506
+ }
507
+ }
508
+ }
509
+
510
+ // dark theme end
459
511
  /****************************************
460
512
  Responsive Classes
461
513
  *****************************************/
@@ -517,7 +569,7 @@ Responsive Classes
517
569
  }
518
570
 
519
571
  span {
520
- color: $ac-black;
572
+ color: $ac-link-black;
521
573
  }
522
574
  }
523
575
  }
@@ -1,6 +1,6 @@
1
1
  .editor {
2
2
  border: none;
3
- background-color: #f5f7f9 !important;
3
+ background-color: $ac-white-light !important;
4
4
  }
5
5
 
6
6
  .decorationsOverviewRuler {
@@ -5,6 +5,7 @@
5
5
  width: 100%;
6
6
  top: 0;
7
7
  z-index: 999;
8
+
8
9
  &.is-light {
9
10
  background-color: $ac-white;
10
11
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
@@ -12,10 +13,12 @@
12
13
  .ac-navbar-menu .ac-menu-item .ac-nav-button.ac-profile-button {
13
14
  color: #3a3a3a !important;
14
15
  }
16
+
15
17
  .drawer-icon svg {
16
18
  fill: $ac-color-text !important;
17
19
  }
18
20
  }
21
+
19
22
  .ac-navbar {
20
23
  display: inline-grid;
21
24
  grid-template-columns: 255px auto auto;
@@ -31,10 +34,12 @@
31
34
  font-weight: 600;
32
35
  color: $ac-white;
33
36
  }
37
+
34
38
  img {
35
39
  height: 30px;
36
40
  }
37
41
  }
42
+
38
43
  .search-item {
39
44
  display: flex;
40
45
  align-items: center;
@@ -119,10 +124,31 @@
119
124
  position: relative;
120
125
  z-index: 1;
121
126
 
127
+ // width: 30px;
128
+ // height: 30px;
129
+ // border-radius: 50%;
130
+ .ac-nav-button:not(.ac-profile-button) {
131
+ &:after {
132
+ content: "";
133
+ border-radius: 50%;
134
+ width: 30px;
135
+ height: 30px;
136
+ position: absolute;
137
+ z-index: -1;
138
+ left: 50%;
139
+ transition: 0.3s ease-in-out;
140
+ margin-left: -15px;
141
+ }
142
+
143
+ &:hover {
144
+ &:after {
145
+ background-color: rgba(255, 255, 255, 0.2) !important;
146
+ }
147
+ }
148
+ }
149
+
122
150
  &:hover {
123
151
  .ac-nav-button:not(.ac-profile-button) {
124
- background-color: $ac-primary;
125
-
126
152
  i.fa {
127
153
  color: $ac-white;
128
154
  }
@@ -131,7 +157,38 @@
131
157
  .ac-menu-content {
132
158
  opacity: 1;
133
159
  visibility: visible;
134
- top: 45px;
160
+ top: 40px;
161
+
162
+ &.theme-choice {
163
+ transition: none;
164
+ padding: 10px 10px;
165
+ min-width: 150px !important;
166
+ max-height: 150px;
167
+ overflow-y: auto;
168
+ border-radius: 4px;
169
+ left: 0;
170
+ background-color: $ac-white;
171
+
172
+ ul {
173
+ li {
174
+ width: 40px;
175
+ height: 40px;
176
+ line-height: 42px;
177
+ border-radius: 4px;
178
+ text-align: center;
179
+ cursor: pointer;
180
+
181
+ &.is-active {
182
+ color: $ac-white;
183
+ background: $ac-primary;
184
+ }
185
+ }
186
+ }
187
+
188
+ // &::after {
189
+ // right: 90px;
190
+ // }
191
+ }
135
192
 
136
193
  &::after {
137
194
  position: absolute;
@@ -189,8 +246,8 @@
189
246
  &.ac-profile-button {
190
247
  strong {
191
248
  color: $ac-white;
192
- margin-left: 45px;
193
- font-weight: 400;
249
+ margin-left: 16px;
250
+ font-weight: 500;
194
251
  font-size: $font-size-small;
195
252
  }
196
253
 
@@ -216,7 +273,11 @@
216
273
  min-width: 180px;
217
274
  opacity: 0;
218
275
  visibility: hidden;
219
- transition: 0.3s ease-in-out;
276
+ transition: 0.3s ease-in;
277
+
278
+ &.theme-choice {
279
+ left: 0;
280
+ }
220
281
 
221
282
  .user-profile-wrapper {
222
283
  background-color: $ac-white;
@@ -370,9 +431,9 @@
370
431
  background-color: $ac-gray-light;
371
432
  }
372
433
 
373
- &:last-child {
374
- right: 0;
375
- }
434
+ // &:last-child {
435
+ // right: 0;
436
+ // }
376
437
 
377
438
  &.is-notification {
378
439
  right: 0;
@@ -465,7 +526,7 @@
465
526
 
466
527
  p {
467
528
  font-size: $font-size-tiny;
468
- color: $ac-border;
529
+ color: $ac-label-text;
469
530
 
470
531
  &.is-success {
471
532
  color: $ac-success;
@@ -521,6 +582,105 @@
521
582
  }
522
583
  }
523
584
 
585
+ .ac-menu-item {
586
+ li {
587
+ &.is-close {
588
+ ul {
589
+ max-height: 0;
590
+ visibility: hidden;
591
+ transition: max-height 0.25s ease-out;
592
+ }
593
+ }
594
+
595
+ &.is-open {
596
+ ul {
597
+ max-height: 200px;
598
+ visibility: visible;
599
+ transition: max-height 0.25s ease-out;
600
+ }
601
+ }
602
+ }
603
+
604
+ .is-fullwidth {
605
+ width: 100%;
606
+ }
607
+
608
+ .navbar-dropdown-wrapper {
609
+ width: 300px;
610
+ transition: width 0.9s ease-in-out;
611
+ }
612
+ }
613
+
614
+ .theme-choicee {
615
+ border: 1px solid $ac-white-light;
616
+
617
+ li {
618
+ border-right: 1px solid $ac-white-light;
619
+ cursor: pointer;
620
+ transition: 0.3s ease-in-out;
621
+
622
+ &:last-child {
623
+ border-right: none;
624
+ }
625
+
626
+ &:hover {
627
+ color: $ac-black;
628
+ }
629
+
630
+ &.is-active {
631
+ background-color: $ac-primary;
632
+ color: $ac-white;
633
+ }
634
+ }
635
+ }
636
+
637
+ // start dark theme
638
+ .is-dark-theme {
639
+ body {
640
+ .ac-navbar-area {
641
+ background-color: var(--dark-bg-light);
642
+ --ac-white: #ffffff;
643
+ --ac-white-lighter: #f1f1f1;
644
+
645
+ .ac-navbar {
646
+ .search-item {
647
+ background-color: rgba(0, 0, 0, 0.2);
648
+ }
649
+
650
+ .ac-navbar-menu {
651
+ .ac-menu-item {
652
+ .quick-access {
653
+ --ac-white: var(--dark-bg-light);
654
+ }
655
+
656
+ .ac-menu-content {
657
+ &.theme-choice {
658
+ background-color: var(--dark-bg-light);
659
+ }
660
+
661
+ background-color: var(--dark-bg-light);
662
+
663
+ ul {
664
+ background-color: var(--dark-bg-light);
665
+ }
666
+
667
+ &::after {
668
+ --ac-white: var(--dark-bg-light);
669
+ }
670
+
671
+ .user-profile-wrapper {
672
+ --ac-white: var(--dark-bg-light);
673
+ }
674
+ }
675
+ }
676
+ }
677
+ }
678
+ }
679
+ }
680
+ }
681
+
682
+ // end dark theme code
683
+
524
684
  /****************************************
525
685
  Responsive Classes
526
686
  *****************************************/
@@ -9,7 +9,7 @@
9
9
  color: $ac-color-heading;
10
10
  font-weight: 500;
11
11
  padding: 20px;
12
- border-bottom: 1px solid $table-header;
12
+ border-bottom: 1px solid $ac-white-light;
13
13
  }
14
14
  }
15
15
 
@@ -41,13 +41,13 @@
41
41
 
42
42
  h4 {
43
43
  font-size: 12px;
44
- color: #6f6f8d;
44
+ color: $ac-color-value;
45
45
  font-weight: 500;
46
46
  opacity: 0.5;
47
47
  }
48
48
 
49
49
  .button {
50
- color: #6f6f8d;
50
+ color: $ac-color-value;
51
51
  text-decoration: underline;
52
52
  }
53
53
  }
@@ -114,3 +114,11 @@ ul > li > a.next {
114
114
  1
115
115
  );
116
116
  }
117
+
118
+ .is-dark-theme {
119
+ .pagination-filter {
120
+ label {
121
+ $ac-gray-darker: $ac-color-value;
122
+ }
123
+ }
124
+ }
@@ -34,7 +34,7 @@
34
34
  &.add-card {
35
35
  background-color: transparent;
36
36
  box-shadow: none;
37
- border: 2px dashed #caced5;
37
+ border: 2px dashed $ac-white-light;
38
38
  display: flex;
39
39
  align-items: center;
40
40
  justify-content: center;
@@ -218,6 +218,15 @@
218
218
  }
219
219
  }
220
220
 
221
+ // dark theme start
222
+ .is-dark-theme {
223
+ .ac-payment-card,
224
+ .ac-single-card,
225
+ .option-dots {
226
+ --ac-white: var(--ac-white-text);
227
+ }
228
+ }
229
+ // dark theme end
221
230
  /****************************************
222
231
  Responsive Classes
223
232
  *****************************************/