@appscode/design-system 0.0.21-alpha.3 → 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 +191 -37
  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
@@ -4,8 +4,9 @@
4
4
  grid-gap: 0px;
5
5
  grid-template-columns: 270px calc(100% - 270px);
6
6
  padding-top: 50px;
7
+
7
8
  &.is-fullwidth {
8
- grid-template-columns: auto;
9
+ grid-template-columns: auto !important;
9
10
 
10
11
  &.has-info-content {
11
12
  grid-template-columns: 270px calc(100% - 540px) 270px;
@@ -22,23 +23,36 @@
22
23
  }
23
24
  }
24
25
 
26
+ &.in-ui-builder {
27
+ grid-template-columns: calc(100% - 270px) 270px !important;
28
+ }
29
+
25
30
  &.has-ui-builder {
26
31
  grid-template-columns: 70px calc(100% - 70px);
27
32
  grid-gap: 0;
33
+
28
34
  .inner-header {
29
35
  position: sticky;
30
36
  top: 100px;
31
- background-color: #fff;
32
- z-index: 9;
37
+ background-color: $ac-white;
38
+ z-index: 997;
33
39
  }
40
+
34
41
  .ac-system-content {
35
42
  &.pr-15 {
36
43
  padding-right: 0 !important;
37
44
  }
45
+
46
+ .ac-terminal {
47
+ width: calc(100% - 290px);
48
+ left: 289px;
49
+ }
38
50
  }
51
+
39
52
  .ac-system-left-sidebar.is-expanded {
40
- z-index: 99;
53
+ z-index: 998;
41
54
  }
55
+
42
56
  &.expanded-sidebar {
43
57
  grid-gap: 0px;
44
58
  z-index: 9;
@@ -66,15 +80,18 @@
66
80
  .ac-system-body {
67
81
  padding-top: 0;
68
82
  grid-template-columns: 220px calc(100% - 440px) 220px;
83
+
69
84
  .ac-system-left-sidebar {
70
85
  border-right: none !important;
71
86
  height: calc(100vh - 60px);
87
+
72
88
  .ac-left-sidebar-wrapper {
73
89
  position: fixed;
74
90
  top: 140px;
75
91
  width: 219px;
76
- border-right: 1px solid #e7e7e7;
92
+ border-right: 1px solid $ac-white-light;
77
93
  height: 100%;
94
+
78
95
  ul.menu-list-wrapper {
79
96
  padding-top: 10px;
80
97
  }
@@ -88,11 +105,11 @@
88
105
  }
89
106
 
90
107
  .ac-system-left-sidebar {
91
- background-color: $ac-white;
92
108
  border-right: 1px solid $ac-white-light;
93
109
  box-shadow: none;
110
+
94
111
  &.is-expanded {
95
- z-index: 9;
112
+ z-index: 998;
96
113
 
97
114
  .ac-product-logo {
98
115
  width: 270px !important;
@@ -126,9 +143,73 @@
126
143
  }
127
144
  }
128
145
  }
146
+
147
+ .ac-system-body {
148
+ &.is-preview-step {
149
+ grid-template-columns: calc(100% - 270px) 270px !important;
150
+ }
151
+ }
152
+
129
153
  .form-content {
130
154
  width: 720px;
131
155
  }
156
+
157
+ .dropdown-content {
158
+ background-color: $ac-white;
159
+ }
160
+
161
+ // color swatch start
162
+ input[type="color"] {
163
+ -webkit-appearance: none;
164
+ border: none;
165
+ width: 20px;
166
+ height: 20px;
167
+ border-radius: 50%;
168
+ border: 1px solid #777;
169
+ margin-left: 3px;
170
+ padding: 2px;
171
+ cursor: pointer;
172
+ }
173
+
174
+ input[type="color"]::-webkit-color-swatch-wrapper {
175
+ padding: 0;
176
+ }
177
+
178
+ // input[type="color"]::-moz-color-swatch,
179
+ input[type="color"]::-webkit-color-swatch {
180
+ border: none;
181
+ border-radius: 50%;
182
+ }
183
+
184
+ input[type="color"]::-moz-color-swatch {
185
+ border: none;
186
+ border-radius: 50%;
187
+ }
188
+
189
+ // color swatch end
190
+
191
+ .is-dark-theme {
192
+ .dropdown-content {
193
+ background-color: $dark-bg-light;
194
+ }
195
+ }
196
+
197
+ .ac-preloader {
198
+ color: $ac-color-text;
199
+ }
200
+
201
+ .section-padding {
202
+ padding: 100px 0;
203
+ }
204
+
205
+ .section-padding-60 {
206
+ padding: 60px 0;
207
+ }
208
+
209
+ .short-section-padding {
210
+ padding: 50px 0;
211
+ }
212
+
132
213
  .section-divider {
133
214
  background-color: $ac-white-light;
134
215
  }
@@ -150,45 +231,35 @@
150
231
  .is-not-fixed {
151
232
  position: inherit !important;
152
233
  }
153
- .b-1 {
154
- border: 1px solid $ac-white-light;
155
- }
156
- .b-t-1 {
157
- border-top: 1px solid $ac-white-light;
158
- }
159
- .b-b-1 {
160
- border-bottom: 1px solid $ac-white-light;
161
- }
162
- .b-l-1 {
163
- border-left: 1px solid $ac-white-light;
164
- }
165
- .b-r-1 {
166
- border-right: 1px solid $ac-white-light;
167
- }
234
+
168
235
  // border none
169
236
  .is-border-none {
170
237
  border: none !important;
171
238
  }
172
239
 
173
- .b-b-n {
174
- border-bottom: none !important;
175
- }
176
-
177
- .b-t-n {
178
- border-top: none !important;
240
+ .b-1 {
241
+ border: 1px solid $ac-white-light;
179
242
  }
180
243
 
181
- .b-l-n {
182
- border-left: none !important;
183
- }
244
+ // border left, right, top, bottom none
245
+ $positions: (
246
+ "b": "bottom",
247
+ "t": "top",
248
+ "l": "left",
249
+ "r": "right",
250
+ );
184
251
 
185
- .b-r-n {
186
- border-right: none !important;
252
+ @each $key, $position in $positions {
253
+ .b-#{$key}-n {
254
+ border-#{$position}: none !important;
255
+ }
187
256
  }
188
257
 
189
- .is-disabled {
190
- opacity: 0.5;
191
- cursor: not-allowed;
258
+ // border 1px
259
+ @each $key, $position in $positions {
260
+ .b-#{$key}-1 {
261
+ border-#{$position}: 1px solid $ac-white-light;
262
+ }
192
263
  }
193
264
 
194
265
  // for ellipsis
@@ -204,6 +275,39 @@
204
275
  }
205
276
  }
206
277
 
278
+ .is-disabled {
279
+ opacity: 0.5;
280
+ cursor: not-allowed;
281
+ }
282
+
283
+ .no-data-image {
284
+ img {
285
+ width: 250px;
286
+ height: auto;
287
+ padding: 20px;
288
+ }
289
+ }
290
+
291
+ // toast css third-party
292
+
293
+ .toasted-container {
294
+ .ac-toast-action.mr-10 {
295
+ text-decoration: underline !important;
296
+ }
297
+
298
+ .has-report-issue {
299
+ padding-right: 140px !important;
300
+ }
301
+ }
302
+
303
+ .is-dark-theme {
304
+ .toasted-container {
305
+ i.fa {
306
+ color: #ffffff !important;
307
+ }
308
+ }
309
+ }
310
+
207
311
  // flex start
208
312
  .is-middle-alignment {
209
313
  display: flex;
@@ -244,13 +348,13 @@
244
348
  }
245
349
 
246
350
  &::-webkit-scrollbar-thumb {
247
- background-color: #929292;
351
+ background-color: $ac-gray-lightest;
248
352
  border-radius: 50px;
249
353
  height: 2px !important;
250
354
  }
251
355
 
252
356
  &::-webkit-scrollbar-thumb:hover {
253
- background-color: #929292;
357
+ background-color: $ac-gray-lightest;
254
358
  }
255
359
 
256
360
  &:hover::-webkit-scrollbar-corner {
@@ -291,33 +395,33 @@
291
395
  }
292
396
 
293
397
  &::-webkit-scrollbar-thumb {
294
- background-color: #929292;
398
+ background-color: $ac-gray-lightest;
295
399
  border-radius: 50px;
296
400
  height: 2px !important;
297
401
  }
298
402
 
299
403
  &::-moz-scrollbar-thumb {
300
- background-color: #929292;
404
+ background-color: $ac-gray-lightest;
301
405
  border-radius: 50px;
302
406
  height: 2px !important;
303
407
  }
304
408
 
305
409
  &::-ms-scrollbar-thumb {
306
- background-color: #929292;
410
+ background-color: $ac-gray-lightest;
307
411
  border-radius: 50px;
308
412
  height: 2px !important;
309
413
  }
310
414
 
311
415
  &::-webkit-scrollbar-thumb:hover {
312
- background-color: #929292;
416
+ background-color: $ac-gray-lightest;
313
417
  }
314
418
 
315
419
  &::-moz-scrollbar-thumb:hover {
316
- background-color: #929292;
420
+ background-color: $ac-gray-lightest;
317
421
  }
318
422
 
319
423
  &::-ms-scrollbar-thumb:hover {
320
- background-color: #929292;
424
+ background-color: $ac-gray-lightest;
321
425
  }
322
426
 
323
427
  &:hover::-webkit-scrollbar-corner {
@@ -348,13 +452,13 @@
348
452
  }
349
453
 
350
454
  &::-webkit-scrollbar-thumb {
351
- background-color: #929292;
455
+ background-color: $ac-gray-lightest;
352
456
  border-radius: 50px;
353
457
  width: 2px !important;
354
458
  }
355
459
 
356
460
  &::-webkit-scrollbar-thumb:hover {
357
- background-color: #929292;
461
+ background-color: $ac-gray-lightest;
358
462
  }
359
463
 
360
464
  &:hover::-webkit-scrollbar-corner {
@@ -377,7 +481,7 @@
377
481
 
378
482
  .is-transparent {
379
483
  border: none;
380
- background: transparent;
484
+ background-color: transparent;
381
485
  }
382
486
 
383
487
  .is-error {
@@ -385,15 +489,24 @@
385
489
  line-height: 22px;
386
490
  color: $ac-red;
387
491
  text-align: left;
492
+ }
388
493
 
389
- i.fa {
390
- padding-right: 4px;
391
- }
494
+ p.is-error {
495
+ color: $ac-red;
392
496
  }
497
+
393
498
  code {
394
499
  color: $ac-color-heading;
395
500
  }
396
- .is-danger:not(.ac-button) {
501
+
502
+ .is-dark-theme {
503
+ code {
504
+ background-color: $dark-bg-light;
505
+ color: $ac-full-white;
506
+ }
507
+ }
508
+
509
+ .has-text-danger{
397
510
  color: $ac-danger !important;
398
511
  }
399
512
 
@@ -408,61 +521,6 @@ button {
408
521
  }
409
522
  }
410
523
 
411
- .tag:not(body) {
412
- background-color: #e5e9f2;
413
- font-size: 11px;
414
- height: 18px;
415
- letter-spacing: 0.1px;
416
- color: $ac-color-heading;
417
- &.is-available {
418
- background-color: #27b064;
419
- color: $ac-white;
420
- }
421
- &.is-success {
422
- background-color: $ac-green;
423
- color: $ac-white;
424
- &.is-light {
425
- background-color: rgba(39, 176, 100, 0.2);
426
- color: $ac-green;
427
- }
428
- }
429
- &.is-primary {
430
- background-color: $ac-primary;
431
- color: $ac-white;
432
- &.is-light {
433
- background-color: rgba(25, 113, 189, 0.2);
434
- color: $ac-primary;
435
- }
436
- }
437
- &.is-gray {
438
- background-color: #e5e9f2;
439
- color: #666;
440
- }
441
- &.is-warning {
442
- background-color: $ac-warning;
443
- color: $ac-white !important;
444
- }
445
- &.is-danger {
446
- background-color: $ac-red;
447
- color: $ac-white !important;
448
- &.is-light {
449
- background-color: rgba(234, 61, 47, 0.2);
450
- color: $ac-red !important;
451
- }
452
- }
453
- }
454
-
455
- .tags {
456
- .icon {
457
- margin-bottom: 0.5rem;
458
- }
459
- .tag {
460
- a {
461
- font-weight: 500;
462
- }
463
- }
464
- }
465
-
466
524
  // line title global start
467
525
  .ac-line-title {
468
526
  position: relative;
@@ -476,12 +534,12 @@ button {
476
534
  top: 12px;
477
535
  width: 100%;
478
536
  height: 1px;
479
- background: $ac-white-light;
537
+ background-color: $ac-white-light;
480
538
  }
481
539
 
482
540
  h5 {
483
541
  color: $ac-color-text;
484
- background: $ac-white;
542
+ background-color: $ac-white;
485
543
  z-index: 2;
486
544
  display: inline-block;
487
545
  position: relative;
@@ -634,13 +692,155 @@ $border_color_4: transparent transparent #585d6e transparent;
634
692
  }
635
693
  }
636
694
 
695
+ // tooltip in vue-open-api
696
+ .tooltip {
697
+ display: block !important;
698
+ z-index: 10000;
699
+
700
+ &.is-button-info {
701
+ .tooltip-inner {
702
+ background: $ac-white;
703
+ color: $ac-primary;
704
+ border-radius: 4px;
705
+ padding: 5px 20px 4px;
706
+ box-shadow: $ac-shadow-1;
707
+ font-weight: 500;
708
+ font-size: 13px;
709
+ }
710
+
711
+ .tooltip-arrow {
712
+ width: 0;
713
+ height: 0;
714
+ border-style: solid;
715
+ position: absolute;
716
+ margin: 5px;
717
+ border-color: $ac-white;
718
+ }
719
+ }
720
+
721
+ &.is-errors-tooltip {
722
+ .tooltip-inner {
723
+ background: $ac-white;
724
+ color: $ac-danger;
725
+ border-radius: 4px;
726
+ padding: 5px 20px 4px;
727
+ box-shadow: $ac-shadow-1;
728
+ font-weight: 500;
729
+ font-size: 13px;
730
+
731
+ .errors-wrapper {
732
+ .error-element {
733
+ padding: 5px 0;
734
+ }
735
+ }
736
+ }
737
+
738
+ .tooltip-arrow {
739
+ width: 0;
740
+ height: 0;
741
+ border-style: solid;
742
+ position: absolute;
743
+ margin: 5px;
744
+ border-color: $ac-white;
745
+ }
746
+ }
747
+
748
+ &[x-placement^="top"] {
749
+ margin-bottom: 5px;
750
+
751
+ .tooltip-arrow {
752
+ border-width: 5px 5px 0 5px;
753
+ border-left-color: transparent !important;
754
+ border-right-color: transparent !important;
755
+ border-bottom-color: transparent !important;
756
+ bottom: -5px;
757
+ left: calc(50% - 5px);
758
+ margin-top: 0;
759
+ margin-bottom: 0;
760
+ }
761
+ }
762
+
763
+ &[x-placement^="bottom"] {
764
+ margin-top: 5px;
765
+
766
+ .tooltip-arrow {
767
+ border-width: 0 5px 5px 5px;
768
+ border-left-color: transparent !important;
769
+ border-right-color: transparent !important;
770
+ border-top-color: transparent !important;
771
+ top: -5px;
772
+ left: calc(50% - 5px);
773
+ margin-top: 0;
774
+ margin-bottom: 0;
775
+ }
776
+ }
777
+
778
+ &[x-placement^="right"] {
779
+ margin-left: 5px;
780
+
781
+ .tooltip-arrow {
782
+ border-width: 5px 5px 5px 0;
783
+ border-left-color: transparent !important;
784
+ border-top-color: transparent !important;
785
+ border-bottom-color: transparent !important;
786
+ left: -5px;
787
+ top: calc(50% - 5px);
788
+ margin-left: 0;
789
+ margin-right: 0;
790
+ }
791
+ }
792
+
793
+ &[x-placement^="left"] {
794
+ margin-right: 5px;
795
+
796
+ .tooltip-arrow {
797
+ border-width: 5px 0 5px 5px;
798
+ border-top-color: transparent !important;
799
+ border-right-color: transparent !important;
800
+ border-bottom-color: transparent !important;
801
+ right: -5px;
802
+ top: calc(50% - 5px);
803
+ margin-left: 0;
804
+ margin-right: 0;
805
+ }
806
+ }
807
+
808
+ &.popover {
809
+ $color: #f9f9f9;
810
+
811
+ .popover-inner {
812
+ background: $color;
813
+ color: black;
814
+ padding: 24px;
815
+ border-radius: 4px;
816
+ box-shadow: $ac-shadow-1;
817
+ }
818
+
819
+ .popover-arrow {
820
+ border-color: $color;
821
+ }
822
+ }
823
+
824
+ &[aria-hidden="true"] {
825
+ visibility: hidden;
826
+ opacity: 0;
827
+ transition: opacity 0.15s, visibility 0.15s;
828
+ }
829
+
830
+ &[aria-hidden="false"] {
831
+ visibility: visible;
832
+ opacity: 1;
833
+ transition: opacity 0.15s;
834
+ }
835
+ }
836
+
637
837
  // Customize tooltip end
638
838
 
639
839
  // ac-footer sticky start
640
840
  .ac-footer-action {
641
841
  margin-top: 10px;
642
842
  padding-top: 10px;
643
- background: $ac-white;
843
+ background-color: $ac-white;
644
844
  padding: 10px 20px;
645
845
  margin-left: 0;
646
846
  margin-right: 0;
@@ -666,7 +866,7 @@ $border_color_4: transparent transparent #585d6e transparent;
666
866
  height: 10px;
667
867
  width: 10px;
668
868
  border-radius: 50%;
669
- background: $ac-grey-lightest;
869
+ background-color: $ac-gray-lightest;
670
870
  border: 2px solid $ac-white;
671
871
  display: inline-flex;
672
872
 
@@ -682,6 +882,15 @@ $border_color_4: transparent transparent #585d6e transparent;
682
882
  // Status css
683
883
  // ac-footer sticky end
684
884
 
885
+ // terminal scss end
886
+ .is-dark-theme {
887
+ a {
888
+ &:hover {
889
+ color: #485fc7;
890
+ }
891
+ }
892
+ }
893
+
685
894
  /****************************************
686
895
  Responsive Classes
687
896
  *****************************************/
@@ -1,28 +1,15 @@
1
- // Typography
2
- $ac-size-small: $ac-size-7;
3
- $ac-size-normal: $ac-size-6;
4
- $ac-size-medium: $ac-size-5;
5
- $ac-size-large: $ac-size-4;
6
-
7
1
  // color
8
2
  $ac-info: $ac-blue;
9
3
  $ac-success: $ac-primary;
10
4
  $ac-warning: $ac-yellow;
11
5
  $ac-danger: $ac-red;
12
6
 
13
- // bg-color
14
- $ac-bg-dark: #2c2e42;
15
- $ac-modal-header-bg: #e8e8e8;
16
- $ac-input-bg-color: #eceff4;
17
- $ac-bg-light-gray: #f4f6f9;
18
- $table-header: #e4e8ef;
19
7
  // Text colors
20
- $ac-color-text: #393e46;
21
- $ac-color-heading: #1c1c1c;
8
+ $ac-color-text: var(--ac-text);
9
+ $ac-color-heading: var(--ac-text-heading);
22
10
 
23
11
  // Link colors
24
12
  $ac-link: $ac-blue;
25
- $ac-link-black: #32325d;
26
13
  $ac-link-visited: $ac-purple;
27
14
 
28
15
  // Box Shadow
@@ -30,3 +17,9 @@ $ac-shadow-1: 0 1px 4px rgba(26, 80, 151, 0.16);
30
17
  $ac-shadow-2: 0px 8px 57px rgba(0, 0, 0, 0.16);
31
18
  $ac-shadow-3: 0 3px 4px 0 rgba(0, 0, 0, 0.18),
32
19
  0 3px 3px -2px rgba(0, 0, 0, 0.16), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
20
+
21
+ $ac-shadow-sm: 0 1px 4px rgba(26, 80, 151, 0.16);
22
+ $ac-shadow-xl: 0px 8px 57px rgba(0, 0, 0, 0.16);
23
+ $ac-shadow-lg: 0 3px 4px 0 rgba(0, 0, 0, 0.18),
24
+ 0 3px 3px -2px rgba(0, 0, 0, 0.16), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
25
+
@@ -0,0 +1,29 @@
1
+ .grid {
2
+ display: grid;
3
+ }
4
+
5
+ @for $i from 1 through 12 {
6
+ .grid-cols-#{$i} {
7
+ grid-template-columns: repeat(#{$i}, minmax(0, 1fr));
8
+ }
9
+ }
10
+
11
+ .grid-cols-none {
12
+ grid-template-columns: none;
13
+ }
14
+
15
+ @for $i from 1 through 12 {
16
+ .col-span-#{$i} {
17
+ grid-column: span #{$i} / span #{$i};
18
+ }
19
+ }
20
+
21
+ .col-auto {
22
+ grid-column: auto;
23
+ }
24
+
25
+ @for $i from 0 through 30 {
26
+ .gap-#{$i} {
27
+ gap: #{$i}px;
28
+ }
29
+ }