@appscode/design-system 0.0.21-alpha.2 → 0.4.27

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 (165) 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 +319 -110
  4. package/base/utilities/_derived-variables.scss +8 -15
  5. package/base/utilities/_grid.scss +29 -0
  6. package/base/utilities/_initial-variables.scss +111 -72
  7. package/base/utilities/_mixin.scss +90 -10
  8. package/base/utilities/_typography.scss +29 -19
  9. package/base/utilities/dark-theme.scss +26 -0
  10. package/components/_ac-accordion.scss +15 -5
  11. package/components/_ac-alert-box.scss +109 -26
  12. package/components/_ac-card.scss +71 -24
  13. package/components/_ac-code-highlight.scss +7 -1
  14. package/components/_ac-content-layout.scss +5 -5
  15. package/components/_ac-drag.scss +8 -6
  16. package/components/_ac-input.scss +196 -38
  17. package/components/_ac-modal.scss +6 -5
  18. package/components/_ac-multi-select.scss +281 -23
  19. package/components/_ac-options.scss +31 -16
  20. package/components/_ac-report.scss +53 -0
  21. package/components/_ac-select-box.scss +15 -5
  22. package/components/_ac-table.scss +160 -39
  23. package/components/_ac-tabs.scss +86 -23
  24. package/components/_ac-tags.scss +87 -2
  25. package/components/_ac-terminal.scss +270 -0
  26. package/components/_all.scss +28 -0
  27. package/components/_app-drawer.scss +134 -0
  28. package/components/_breadcumb.scss +8 -3
  29. package/components/_buttons.scss +96 -62
  30. package/components/_card-body-wrapper.scss +3 -3
  31. package/components/_dashboard-header.scss +33 -1
  32. package/components/_direct-deploy.scss +69 -0
  33. package/components/_go-to-top.scss +1 -1
  34. package/components/_graph.scss +45 -0
  35. package/components/_image-upload.scss +6 -4
  36. package/components/_left-sidebar-menu.scss +212 -52
  37. package/components/_monaco-editor.scss +1 -1
  38. package/components/_navbar.scss +193 -31
  39. package/components/_overview-info.scss +4 -4
  40. package/components/_overview-page.scss +1 -2
  41. package/components/_pagination.scss +45 -7
  42. package/components/_payment-card.scss +28 -12
  43. package/components/_preloader.scss +1 -1
  44. package/components/_preview-modal.scss +22 -9
  45. package/components/_pricing-table.scss +1 -1
  46. package/components/_progress-bar.scss +5 -5
  47. package/components/_subscription-card.scss +15 -8
  48. package/components/_table-of-content.scss +1 -1
  49. package/components/_tfa.scss +69 -0
  50. package/components/_transitions.scss +261 -0
  51. package/components/_widget-menu.scss +9 -9
  52. package/components/_wizard.scss +33 -20
  53. package/components/ac-toaster/_ac-toasted.scss +40 -8
  54. package/components/bbum/_all.scss +9 -0
  55. package/components/bbum/_card-team.scss +18 -10
  56. package/components/bbum/_information-center.scss +19 -5
  57. package/components/bbum/_mobile-desktop.scss +6 -6
  58. package/components/bbum/_post.scss +5 -4
  59. package/components/bbum/_sign-up-notification.scss +6 -6
  60. package/components/bbum/_single-post-preview.scss +10 -10
  61. package/components/bbum/_user-profile.scss +97 -90
  62. package/components/ui-builder/_ui-builder.scss +98 -21
  63. package/components/ui-builder/_vue-open-api.scss +104 -0
  64. package/layouts/_404.scss +159 -0
  65. package/layouts/_all.scss +2 -0
  66. package/layouts/_code-preview.scss +19 -8
  67. package/main.scss +6 -53
  68. package/package.json +4 -7
  69. package/plugins/caching.ts +243 -0
  70. package/plugins/theme.js +142 -0
  71. package/plugins/time-convert.js +49 -0
  72. package/plugins/vue-toaster.js +10 -6
  73. package/vue-components/v2/banner/Banner.vue +2 -2
  74. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  75. package/vue-components/v2/button/Button.vue +10 -1
  76. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  77. package/vue-components/v2/card/Card.vue +1 -0
  78. package/vue-components/v2/card/CardContent.vue +5 -0
  79. package/vue-components/v2/card/CardHeader.vue +12 -0
  80. package/vue-components/v2/card/OverviewCard.vue +10 -0
  81. package/vue-components/v2/card/OverviewCards.vue +5 -0
  82. package/vue-components/v2/card/PaymentCard.vue +69 -0
  83. package/vue-components/v2/card/PaymentCardOptionButtons.vue +35 -0
  84. package/vue-components/v2/card/PaymentCards.vue +44 -0
  85. package/vue-components/v2/content/ContentHeader.vue +9 -5
  86. package/vue-components/v2/content/ContentTable.vue +12 -7
  87. package/vue-components/v2/editor/Editor.vue +38 -5
  88. package/vue-components/v2/editor/FilteredFileEditor.vue +189 -0
  89. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  90. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  91. package/vue-components/v2/form/Form.vue +12 -7
  92. package/vue-components/v2/form-fields/Input.vue +1 -1
  93. package/vue-components/v2/header/Header.vue +0 -1
  94. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  95. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  96. package/vue-components/v2/modal/Modal.vue +40 -7
  97. package/vue-components/v2/modals/DeleteConfirmationModal.vue +79 -0
  98. package/vue-components/v2/modals/JsonShowModal.vue +12 -3
  99. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  100. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  101. package/vue-components/v2/navbar/User.vue +229 -17
  102. package/vue-components/v2/notification/Notification.vue +101 -0
  103. package/vue-components/v2/notification/NotificationItem.vue +44 -0
  104. package/vue-components/v2/pagination/Pagination.vue +24 -4
  105. package/vue-components/v2/preloader/Preloader.vue +5 -5
  106. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  107. package/vue-components/v2/sidebar/SidebarItem.vue +24 -2
  108. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  109. package/vue-components/v2/tab/TabItem.vue +1 -1
  110. package/vue-components/v2/table/FakeTableCell.vue +36 -0
  111. package/vue-components/v2/table/InfoTable.vue +13 -3
  112. package/vue-components/v2/table/NarrowTable.vue +0 -2
  113. package/vue-components/v2/table/Table.vue +170 -10
  114. package/vue-components/v2/table/TableRow.vue +29 -2
  115. package/vue-components/v2/table/table-cell/CellValue.vue +33 -4
  116. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  117. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  118. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  119. package/vue-components/v3/button/Button.vue +78 -0
  120. package/vue-components/v3/content/ContentHeader.vue +55 -0
  121. package/vue-components/v3/content/ContentTable.vue +83 -0
  122. package/vue-components/v3/dropdown/DropdownDivider.vue +3 -0
  123. package/vue-components/v3/dropdown/DropdownItem.vue +5 -0
  124. package/vue-components/v3/dropdown/DropdownMenu.vue +111 -0
  125. package/vue-components/v3/editor/Editor.vue +160 -0
  126. package/vue-components/v3/editor/FilteredFileEditor.vue +186 -0
  127. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  128. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +125 -0
  129. package/vue-components/v3/form/Form.vue +63 -0
  130. package/vue-components/v3/form-fields/Input.vue +22 -0
  131. package/vue-components/v3/header/Header.vue +45 -0
  132. package/vue-components/v3/header/HeaderItem.vue +5 -0
  133. package/vue-components/v3/header/HeaderItems.vue +5 -0
  134. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  135. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  136. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +92 -0
  137. package/vue-components/v3/modal/Modal.vue +158 -0
  138. package/vue-components/v3/modals/DeleteConfirmationModal.vue +85 -0
  139. package/vue-components/v3/modals/JsonShowModal.vue +96 -0
  140. package/vue-components/v3/modals/LongRunningTasksModal.vue +373 -0
  141. package/vue-components/v3/navbar/Appdrawer.vue +63 -0
  142. package/vue-components/v3/navbar/ThemeMode.vue +120 -0
  143. package/vue-components/v3/navbar/User.vue +288 -0
  144. package/vue-components/v3/notification/Notification.vue +98 -0
  145. package/vue-components/v3/notification/NotificationItem.vue +52 -0
  146. package/vue-components/v3/pagination/Pagination.vue +172 -0
  147. package/vue-components/v3/searchbars/SearchBar.vue +47 -0
  148. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  149. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  150. package/vue-components/v3/tab/TabItem.vue +17 -0
  151. package/vue-components/v3/table/FakeTableCell.vue +39 -0
  152. package/vue-components/v3/table/InfoTable.vue +105 -0
  153. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  154. package/vue-components/v3/table/Table.vue +272 -0
  155. package/vue-components/v3/table/TableCell.vue +28 -0
  156. package/vue-components/v3/table/TableContainer.vue +34 -0
  157. package/vue-components/v3/table/TableRow.vue +147 -0
  158. package/vue-components/v3/table/table-cell/ArrayCell.vue +111 -0
  159. package/vue-components/v3/table/table-cell/CellValue.vue +133 -0
  160. package/vue-components/v3/table/table-cell/GenericCell.vue +75 -0
  161. package/vue-components/v3/table/table-cell/ObjectCell.vue +110 -0
  162. package/vue-components/v3/table/table-cell/ValueWithModal.vue +43 -0
  163. package/vue-components/v3/tabs/EditorTabs.vue +36 -0
  164. package/vue-components/v3/tag/Tag.vue +17 -0
  165. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +148 -0
@@ -1,10 +1,11 @@
1
1
  .ac-navbar-area {
2
- background: $ac-primary;
2
+ background-color: $ac-primary;
3
3
  box-shadow: $ac-shadow-3;
4
4
  position: fixed;
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
- fill: #333 !important;
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,14 +34,16 @@
31
34
  font-weight: 600;
32
35
  color: $ac-white;
33
36
  }
37
+
34
38
  img {
35
- height: 40px;
39
+ height: 30px;
36
40
  }
37
41
  }
42
+
38
43
  .search-item {
39
44
  display: flex;
40
45
  align-items: center;
41
- background: rgba(255, 255, 255, 0.2);
46
+ background-color: rgba(255, 255, 255, 0.2);
42
47
  padding: 5px 20px;
43
48
  border-radius: 4px;
44
49
 
@@ -47,12 +52,12 @@
47
52
  }
48
53
 
49
54
  input {
50
- background: transparent;
55
+ background-color: transparent;
51
56
  border: none;
52
57
  color: $ac-white;
53
58
  font-size: $font-size-small;
54
59
  font-weight: 600;
55
- font-family: raleway;
60
+ font-family: $ac-family-heading;
56
61
  width: 100%;
57
62
  padding-left: 15px;
58
63
 
@@ -107,7 +112,7 @@
107
112
  top: 0;
108
113
  width: 100%;
109
114
  height: 100%;
110
- background-color: #000;
115
+ background-color: $ac-black;
111
116
  opacity: 0.2;
112
117
  z-index: 1;
113
118
  }
@@ -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,14 +157,45 @@
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;
138
195
  content: "";
139
196
  right: 15px;
140
197
  top: -6px;
141
- background: $ac-white;
198
+ background-color: $ac-white;
142
199
  width: 15px;
143
200
  height: 15px;
144
201
  transform: rotate(45deg);
@@ -153,7 +210,7 @@
153
210
  }
154
211
 
155
212
  .ac-nav-button {
156
- background: transparent;
213
+ background-color: transparent;
157
214
  border: none;
158
215
  color: $ac-white-lighter;
159
216
  padding: 0 14px;
@@ -173,7 +230,7 @@
173
230
  right: 5px;
174
231
  width: 15px;
175
232
  height: 15px;
176
- background: $ac-white;
233
+ background-color: $ac-white;
177
234
  font-size: 12px;
178
235
  line-height: 15px;
179
236
  border-radius: 50%;
@@ -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;
@@ -226,7 +287,7 @@
226
287
  .profile-area {
227
288
  display: flex;
228
289
  align-items: center;
229
- border-bottom: 1px solid #e5e9f2;
290
+ border-bottom: 1px solid $ac-white-light;
230
291
  padding-bottom: 10px;
231
292
  margin-bottom: 10px;
232
293
 
@@ -255,6 +316,7 @@
255
316
 
256
317
  .profile-info {
257
318
  p {
319
+ color: $ac-color-text;
258
320
  font-size: $font-size-small;
259
321
  font-weight: 500;
260
322
  line-height: 1.3;
@@ -283,7 +345,7 @@
283
345
  }
284
346
 
285
347
  &.quick-access {
286
- background: $ac-white;
348
+ background-color: $ac-white;
287
349
  padding: 20px;
288
350
  min-width: 260px !important;
289
351
  max-height: 250px;
@@ -294,19 +356,19 @@
294
356
  display: flex;
295
357
  justify-content: space-between;
296
358
  align-items: center;
297
- border-bottom: 1px solid #e5e9f2;
359
+ border-bottom: 1px solid $ac-white-light;
298
360
  padding-bottom: 20px;
299
361
 
300
362
  p {
301
363
  font-size: $font-size-small;
302
- color: #3c4858;
364
+ color: $ac-color-text;
303
365
  }
304
366
 
305
367
  button {
306
- background: transparent;
368
+ background-color: transparent;
307
369
  border: none;
308
370
  cursor: pointer;
309
- color: #8392a5;
371
+ color: $ac-color-value;
310
372
  }
311
373
  }
312
374
 
@@ -315,7 +377,7 @@
315
377
 
316
378
  p {
317
379
  font-size: $font-size-small;
318
- color: #3c4858;
380
+ color: $ac-color-text;
319
381
  }
320
382
 
321
383
  .organizations {
@@ -341,6 +403,7 @@
341
403
  padding: 0;
342
404
  font-size: $font-size-tiny;
343
405
  color: #eb5757;
406
+ background-color: transparent;
344
407
  }
345
408
  }
346
409
  }
@@ -359,22 +422,22 @@
359
422
 
360
423
  /* Handle */
361
424
  &::-webkit-scrollbar-thumb {
362
- background: #8392a5;
425
+ background-color: $ac-gray-light;
363
426
  border-radius: 10px;
364
427
  }
365
428
 
366
429
  /* Handle on hover */
367
430
  &::-webkit-scrollbar-thumb:hover {
368
- background: #8392a5;
431
+ background-color: $ac-gray-light;
369
432
  }
370
433
 
371
- &:last-child {
372
- right: 0;
373
- }
434
+ // &:last-child {
435
+ // right: 0;
436
+ // }
374
437
 
375
438
  &.is-notification {
376
439
  right: 0;
377
- background: $ac-white;
440
+ background-color: $ac-white;
378
441
  box-shadow: 0px 4px 8px rgba(84, 101, 126, 0.2);
379
442
  border-radius: 4px;
380
443
  min-width: 330px;
@@ -463,7 +526,7 @@
463
526
 
464
527
  p {
465
528
  font-size: $font-size-tiny;
466
- color: $ac-border;
529
+ color: $ac-label-text;
467
530
 
468
531
  &.is-success {
469
532
  color: $ac-success;
@@ -493,7 +556,7 @@
493
556
  }
494
557
 
495
558
  ul {
496
- background: $ac-white;
559
+ background-color: $ac-white;
497
560
  padding: 0;
498
561
  border-radius: 4px;
499
562
  overflow: hidden;
@@ -519,6 +582,105 @@
519
582
  }
520
583
  }
521
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
+
522
684
  /****************************************
523
685
  Responsive Classes
524
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
  }
@@ -70,7 +70,7 @@
70
70
  font-size: 16px;
71
71
  color: #f99a00;
72
72
  font-weight: 500;
73
- font-family: Raleway;
73
+ font-family: $ac-family-heading;
74
74
  }
75
75
  }
76
76
  }
@@ -25,7 +25,7 @@
25
25
  // single charge
26
26
  .single-charge-inner {
27
27
  padding: 10px 0;
28
- border-bottom: 1px solid $ac-modal-header-bg;
28
+ border-bottom: 1px solid $ac-white-light;
29
29
 
30
30
  &:last-child {
31
31
  border-bottom: none;
@@ -80,4 +80,3 @@
80
80
  padding: 20px 30px;
81
81
  max-width: 450px;
82
82
  }
83
-
@@ -18,7 +18,13 @@
18
18
  &:hover {
19
19
  background-color: $ac-primary;
20
20
  color: $ac-white;
21
- border: 1px solid darken($ac-primary, 5%);
21
+ border: 1px solid
22
+ hsla(
23
+ var(--hsl-hue),
24
+ var(--hsl-saturation),
25
+ calc(var(--hsl-lightness) - 5%),
26
+ 1
27
+ );
22
28
  }
23
29
  }
24
30
 
@@ -28,7 +34,7 @@
28
34
  }
29
35
 
30
36
  .counting-page {
31
- color: lighten($ac-color-text, 30%);
37
+ color: $ac-color-value;
32
38
  font-size: 12px;
33
39
 
34
40
  span {
@@ -40,12 +46,18 @@
40
46
 
41
47
  .pagination-filter {
42
48
  select {
43
- border: 1px solid darken($ac-primary, 5%);
49
+ border: 1px solid
50
+ hsla(
51
+ var(--hsl-hue),
52
+ var(--hsl-saturation),
53
+ calc(var(--hsl-lightness) - 5%),
54
+ 1
55
+ );
44
56
  border-radius: 4px;
45
57
  height: 20px;
46
58
  font-size: 11px;
47
59
  background-color: $ac-white;
48
- color: darken($ac-gray-lighter, 50%);
60
+ color: $ac-color-value;
49
61
  &:focus-visible {
50
62
  outline: none;
51
63
  }
@@ -60,7 +72,13 @@
60
72
  }
61
73
 
62
74
  ul > li > a.previous {
63
- border: 1px solid darken($ac-primary, 5%);
75
+ border: 1px solid
76
+ hsla(
77
+ var(--hsl-hue),
78
+ var(--hsl-saturation),
79
+ calc(var(--hsl-lightness) - 5%),
80
+ 1
81
+ );
64
82
  background-color: $ac-primary;
65
83
  color: $ac-white;
66
84
 
@@ -71,7 +89,13 @@ ul > li > a.previous {
71
89
  }
72
90
 
73
91
  ul > li > a.next {
74
- border: 1px solid darken($ac-primary, 5%);
92
+ border: 1px solid
93
+ hsla(
94
+ var(--hsl-hue),
95
+ var(--hsl-saturation),
96
+ calc(var(--hsl-lightness) - 5%),
97
+ 1
98
+ );
75
99
  background-color: $ac-primary;
76
100
  color: $ac-white;
77
101
 
@@ -82,5 +106,19 @@ ul > li > a.next {
82
106
  }
83
107
 
84
108
  .is-current {
85
- border: 1px solid darken($ac-primary, 5%);
109
+ border: 1px solid
110
+ hsla(
111
+ var(--hsl-hue),
112
+ var(--hsl-saturation),
113
+ calc(var(--hsl-lightness) - 5%),
114
+ 1
115
+ );
116
+ }
117
+
118
+ .is-dark-theme {
119
+ .pagination-filter {
120
+ label {
121
+ $ac-gray-darker: $ac-color-value;
122
+ }
123
+ }
86
124
  }
@@ -13,11 +13,13 @@
13
13
  .ac-payment-card {
14
14
  margin-right: 15px;
15
15
  margin-bottom: 15px;
16
+
16
17
  &:last-child {
17
18
  margin-right: 0;
18
19
  }
19
20
  }
20
21
  }
22
+
21
23
  .ac-payment-card {
22
24
  --card-width: 307px;
23
25
  width: var(--card-width);
@@ -28,10 +30,22 @@
28
30
  padding: 20px;
29
31
  border-radius: 14px;
30
32
  display: block;
33
+
34
+ &.add-card {
35
+ background-color: transparent;
36
+ box-shadow: none;
37
+ border: 2px dashed $ac-white-light;
38
+ display: flex;
39
+ align-items: center;
40
+ justify-content: center;
41
+ cursor: pointer;
42
+ }
43
+
31
44
  &.is-active {
32
45
  position: relative;
33
46
  z-index: 1;
34
47
  box-shadow: $ac-shadow-2;
48
+
35
49
  &::after,
36
50
  &:before {
37
51
  position: absolute;
@@ -40,15 +54,16 @@
40
54
  top: 5px;
41
55
  width: 14px;
42
56
  height: 14px;
43
- background: $ac-white;
57
+ background-color: $ac-white;
44
58
  border: 1px solid $ac-primary;
45
59
  z-index: 1;
46
60
  border-radius: 50%;
47
61
  }
62
+
48
63
  &::before {
49
64
  width: 6px;
50
65
  height: 6px;
51
- background: $ac-primary;
66
+ background-color: $ac-primary;
52
67
  border: none;
53
68
  left: 9px;
54
69
  top: 9px;
@@ -56,15 +71,6 @@
56
71
  }
57
72
  }
58
73
 
59
- &.add-card {
60
- display: flex;
61
- align-items: center;
62
- justify-content: center;
63
- background: transparent;
64
- border: 1px dashed #caced5;
65
- border-width: 2px;
66
- }
67
-
68
74
  .expired-notice {
69
75
  position: relative;
70
76
  z-index: 1;
@@ -141,6 +147,7 @@
141
147
 
142
148
  .card-right {
143
149
  min-height: 27px;
150
+
144
151
  .ac-options {
145
152
  .option-dots {
146
153
  span {
@@ -186,7 +193,7 @@
186
193
  span {
187
194
  width: 7px;
188
195
  height: 7px;
189
- background: $ac-white;
196
+ background-color: $ac-white;
190
197
  display: inline-block;
191
198
  margin: 2px;
192
199
  border-radius: 50%;
@@ -211,6 +218,15 @@
211
218
  }
212
219
  }
213
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
214
230
  /****************************************
215
231
  Responsive Classes
216
232
  *****************************************/
@@ -14,7 +14,7 @@
14
14
  animation: spinner 2.5s cubic-bezier(0.75, 0, 0.5, 1) infinite normal;
15
15
  width: 2em;
16
16
  height: 2em;
17
- background-color: #1971bd;
17
+ background-color: $ac-primary;
18
18
  }
19
19
 
20
20
  .spinner:after {