@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
@@ -1,24 +1,26 @@
1
1
  // for alert message
2
2
  .ac-notification {
3
- background: #dee7f5;
3
+ background-color: #dee7f5;
4
4
  font-size: $font-size-small;
5
5
  color: $ac-primary;
6
6
  min-height: 36px;
7
7
  display: flex;
8
8
  align-items: center;
9
- padding: 5px 30px;
9
+ padding: 8px 16px;
10
10
  overflow: hidden;
11
11
  border: 1px solid $ac-primary;
12
12
  border-radius: 4px;
13
- justify-content: center;
13
+ justify-content: flex-start;
14
14
  position: relative;
15
15
  z-index: 1;
16
+ min-width: 280px;
16
17
 
17
18
  p {
18
19
  color: $ac-primary;
19
20
 
20
- i.fa {
21
+ .close-icon {
21
22
  padding-right: 10px;
23
+ font-size: 15px;
22
24
  }
23
25
 
24
26
  a {
@@ -26,7 +28,12 @@
26
28
  color: $ac-primary;
27
29
 
28
30
  &:hover {
29
- color: darken($color: $ac-primary, $amount: 10%);
31
+ color: hsla(
32
+ var(--hsl-hue),
33
+ var(--hsl-saturation),
34
+ calc(var(--hsl-lightness) - 10%),
35
+ 1
36
+ );
30
37
  }
31
38
  }
32
39
  }
@@ -40,14 +47,39 @@
40
47
  border: none;
41
48
  font-size: 14px;
42
49
  color: $ac-danger;
43
- width: 30px;
50
+ width: 40px;
44
51
  height: 100%;
52
+ display: flex;
53
+ align-items: center;
54
+ justify-content: center;
55
+ }
56
+ }
57
+
58
+
59
+ .toast {
60
+ box-shadow: $ac-shadow-sm;
61
+ border: 1px solid $ac-white-light;
62
+ width: 350px;
63
+
64
+ .toast-header {
65
+ padding: 8px 12px;
66
+ border-bottom: 1px solid $ac-white-light;
67
+
68
+ .button {
69
+ &:hover {
70
+ color: #000000;
71
+ }
72
+ }
73
+ }
74
+
75
+ .toast-body {
76
+ padding: 8px 12px;
45
77
  }
46
78
  }
47
79
 
48
80
  // mixin for .ac-notification
49
81
  @mixin acNotification($colorName) {
50
- background: scale-color($color: $colorName, $lightness: 80%);
82
+ background-color: scale-color($color: $colorName, $lightness: 80%);
51
83
  color: $ac-white;
52
84
  border-color: $colorName;
53
85
 
@@ -64,10 +96,33 @@
64
96
  }
65
97
  }
66
98
  }
99
+ @mixin acPrimaryNotification() {
100
+ background-color: hsla(
101
+ var(--hsl-hue),
102
+ var(--hsl-saturation),
103
+ var(--hsl-lightness),
104
+ 0.2
105
+ );
106
+ color: $ac-white;
107
+ border-color: $ac-primary;
108
+
109
+ p {
110
+ color: $ac-primary;
111
+
112
+ a {
113
+ color: $ac-primary;
114
+
115
+ &:hover {
116
+ color: $ac-primary;
117
+ opacity: 0.8;
118
+ }
119
+ }
120
+ }
121
+ }
67
122
 
68
123
  // is-primary
69
124
  .ac-notification.is-primary {
70
- @include acNotification($ac-primary);
125
+ @include acPrimaryNotification();
71
126
  }
72
127
 
73
128
  // is.info
@@ -93,40 +148,61 @@
93
148
  /*====================================
94
149
  AC Toast
95
150
  =====================================*/
151
+
96
152
  .ac-toast {
97
- background: #dee7f5;
98
- font-size: $font-size-small;
99
- color: $ac-primary;
100
- min-height: 46px;
101
- display: inline-flex;
153
+ width: 350px;
154
+ display: flex;
102
155
  align-items: center;
103
- padding: 5px 30px;
104
- overflow: hidden;
105
- border: 1px solid $ac-primary;
156
+ justify-content: space-between;
157
+ font-size: 13px;
106
158
  border-radius: 4px;
107
- justify-content: center;
159
+ position: relative;
160
+ padding-right: 30px;
161
+ margin-bottom: 10px;
108
162
 
109
- p {
163
+ * {
110
164
  color: $ac-white;
165
+ }
166
+
167
+ p {
168
+ padding-left: 16px;
111
169
 
112
170
  i.fa {
113
- padding-right: 10px;
171
+ padding-right: 0 !important;
172
+ margin-right: 4px;
114
173
  }
174
+ }
115
175
 
116
- a {
117
- text-decoration: underline;
118
- color: darken($color: $ac-white, $amount: 10%);
176
+ a {
177
+ font-weight: 500;
178
+ text-decoration: underline;
179
+ padding: 0 15px;
119
180
 
120
- &:hover {
121
- color: darken($color: $ac-white, $amount: 0%);
122
- }
181
+ &:hover {
182
+ color: $ac-white-lighter;
123
183
  }
124
184
  }
185
+
186
+ button.close-button {
187
+ border-radius: 0px;
188
+ background-color: transparent;
189
+ border: none;
190
+ color: $ac-white;
191
+ position: absolute;
192
+ right: 0;
193
+ top: 0;
194
+ padding: 5px;
195
+ height: 100%;
196
+ width: 30px;
197
+ z-index: 1;
198
+ cursor: pointer;
199
+ border-left: 1px solid #dddddd;
200
+ }
125
201
  }
126
202
 
127
203
  // mixin for .ac-toast
128
204
  @mixin acToast($colorName) {
129
- background: $colorName;
205
+ background-color: $colorName;
130
206
  color: $ac-white;
131
207
  border-color: $colorName;
132
208
  }
@@ -156,6 +232,13 @@ AC Toast
156
232
  @include acToast($ac-warning);
157
233
  }
158
234
 
235
+ // dark theme start
236
+ .is-dark-theme {
237
+ .ac-notification.is-error {
238
+ background-color: $dark-bg-light;
239
+ }
240
+ }
241
+ // dark theme end
159
242
  /****************************************
160
243
  Responsive Classes
161
244
  *****************************************/
@@ -8,8 +8,14 @@
8
8
  display: block;
9
9
  padding: 20px;
10
10
  border-radius: 4px;
11
+ border: 1px solid $ac-white-light;
11
12
  overflow: hidden;
12
- background-color: $ac-white;
13
+ background-color: hsla(
14
+ var(--hsl-hue),
15
+ var(--hsl-saturation),
16
+ var(--hsl-lightness),
17
+ 0.03
18
+ );
13
19
  transition: 0.3s ease-in-out;
14
20
 
15
21
  &.is-selected {
@@ -23,8 +29,6 @@
23
29
  margin-bottom: 13px;
24
30
 
25
31
  .ac-card-logo {
26
- min-width: 30px;
27
- max-width: 30px;
28
32
  margin-right: 10px;
29
33
  position: relative;
30
34
  z-index: 1;
@@ -36,7 +40,7 @@
36
40
  .card-status {
37
41
  position: absolute;
38
42
  content: "";
39
- background: #27ae60;
43
+ background-color: #27ae60;
40
44
  border: 2px solid $ac-white;
41
45
  box-sizing: border-box;
42
46
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
@@ -44,6 +48,7 @@
44
48
  height: 10px;
45
49
  border-radius: 50%;
46
50
  right: 0;
51
+ top: 5px;
47
52
  }
48
53
  }
49
54
 
@@ -70,12 +75,13 @@
70
75
  }
71
76
 
72
77
  &.style-three {
73
- background-color: $ac-input-bg-color;
78
+ background-color: $ac-blue-light;
74
79
  width: 190px;
75
80
  margin-bottom: 20px;
76
81
  margin-right: 20px;
77
82
  padding: 30px 20px 20px;
78
83
  height: 140px;
84
+ cursor: pointer;
79
85
 
80
86
  .ac-card-logo {
81
87
  max-width: 50px;
@@ -92,7 +98,7 @@
92
98
  .ac-card-name {
93
99
  p {
94
100
  font-size: $font-size-small;
95
- color: $ac-link-black;
101
+ color: $ac-color-text;
96
102
  line-height: 1;
97
103
 
98
104
  &.free {
@@ -102,7 +108,7 @@
102
108
  }
103
109
 
104
110
  &:hover {
105
- background-color: $ac-white;
111
+ background-color: $ac-bg-light-gray;
106
112
  }
107
113
  }
108
114
 
@@ -112,7 +118,7 @@
112
118
  justify-content: space-between;
113
119
  align-items: center;
114
120
  box-shadow: none;
115
- background: transparent;
121
+ background-color: transparent;
116
122
  margin-bottom: 60px;
117
123
 
118
124
  h3 {
@@ -129,7 +135,7 @@
129
135
  font-size: 36px;
130
136
  line-height: 1;
131
137
  font-weight: 600;
132
- color: #003466;
138
+ color: $ac-color-heading;
133
139
  display: inline-block;
134
140
  position: relative;
135
141
  z-index: 1;
@@ -137,7 +143,7 @@
137
143
  &:after {
138
144
  position: absolute;
139
145
  content: "";
140
- left: 10px;
146
+ left: 0;
141
147
  bottom: 0;
142
148
  width: 100%;
143
149
  height: 5px;
@@ -165,8 +171,13 @@
165
171
  }
166
172
  }
167
173
 
174
+ &.is-disabled {
175
+ opacity: 0.5;
176
+ cursor: not-allowed;
177
+ }
178
+
168
179
  &:hover {
169
- box-shadow: 0px 8px 57px rgba(0, 0, 0, 0.16);
180
+ border: 1px solid $ac-primary;
170
181
 
171
182
  .ac-card-title {
172
183
  h4 {
@@ -180,15 +191,23 @@
180
191
  .ac-card-header {
181
192
  display: flex;
182
193
  align-items: center;
183
- margin-bottom: 20px;
194
+ margin-bottom: 16px;
184
195
 
185
196
  .ac-card-logo {
186
197
  width: 40px;
187
198
  overflow: hidden;
188
199
  margin-right: 15px;
200
+ background: $ac-white;
201
+ padding: 8px;
202
+ height: 40px;
203
+ border-radius: 50%;
204
+ display: flex;
205
+ align-items: center;
206
+ border: 1px solid $ac-white-light;
189
207
  }
190
208
 
191
209
  .ac-card-title {
210
+ width: calc(100% - 55px);
192
211
  h4 {
193
212
  a {
194
213
  color: $ac-color-heading;
@@ -201,14 +220,14 @@
201
220
 
202
221
  p {
203
222
  font-size: $font-size-small;
204
- color: $ac-border-hover;
223
+ color: $ac-gray;
205
224
  }
206
225
  }
207
226
  }
208
227
 
209
228
  .ac-card-body {
210
229
  p {
211
- color: $ac-border-hover;
230
+ color: $ac-gray-dark;
212
231
  font-size: $font-size-small;
213
232
  line-height: 140%;
214
233
  }
@@ -222,7 +241,7 @@
222
241
  .card-status {
223
242
  position: absolute;
224
243
  content: "";
225
- background: #27ae60;
244
+ background-color: #27ae60;
226
245
  border: 2px solid $ac-white;
227
246
  box-sizing: border-box;
228
247
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
@@ -230,13 +249,14 @@
230
249
  height: 10px;
231
250
  border-radius: 50%;
232
251
  right: 0;
252
+ top: 5px;
233
253
  }
234
254
  }
235
255
 
236
256
  // offer card scss start
237
257
  .pricing-card-wrpper {
238
258
  &.offer-card {
239
- background: #fafafa;
259
+ background-color: $ac-white-lighter;
240
260
  border: 1px solid $ac-white-light;
241
261
  border-radius: 4px;
242
262
  display: flex;
@@ -245,7 +265,7 @@
245
265
 
246
266
  &:after {
247
267
  @include absulate-shape($ac-primary, 100%, 4px);
248
- background-color: linear-gradient(90deg, #f99a00 0%, #3f19ad 98.84%);
268
+ background: linear-gradient(90deg, #f99a00 0%, #3f19ad 98.84%);
249
269
  }
250
270
 
251
271
  .offer-highlight {
@@ -342,12 +362,12 @@
342
362
 
343
363
  a.inline-button {
344
364
  font-size: 12px;
345
- color: $ac-link-black;
365
+ color: $ac-color-text;
346
366
  text-decoration: underline;
347
367
  }
348
368
 
349
369
  span {
350
- color: $ac-link-black;
370
+ color: $ac-color-text;
351
371
  font-size: 12px;
352
372
  font-weight: 600;
353
373
  }
@@ -355,7 +375,7 @@
355
375
  p {
356
376
  font-weight: 500;
357
377
  font-size: $font-size-small;
358
- color: $ac-link-black;
378
+ color: $ac-color-text;
359
379
 
360
380
  span {
361
381
  font-size: 12px;
@@ -374,7 +394,7 @@
374
394
  letter-spacing: 0;
375
395
  font-size: 12px;
376
396
  border: none;
377
- background: #f99a00;
397
+ background-color: #f99a00;
378
398
  /* Old browsers */
379
399
  background: -moz-linear-gradient(left, #f99a00 0%, #3f19ad 100%);
380
400
  /* FF3.6-15 */
@@ -407,7 +427,7 @@
407
427
  }
408
428
 
409
429
  &.style-three {
410
- background: #fafafa;
430
+ background-color: $ac-white-lighter;
411
431
  width: 183px;
412
432
  padding: 15px 15px 20px;
413
433
  height: 115px;
@@ -431,7 +451,7 @@
431
451
  font-size: 12px;
432
452
  line-height: 14px;
433
453
  text-align: center;
434
- color: $ac-link-black;
454
+ color: $ac-color-text;
435
455
  }
436
456
  }
437
457
  }
@@ -482,7 +502,7 @@
482
502
  font-weight: 500;
483
503
  font-size: $font-size-small;
484
504
  line-height: 16px;
485
- color: $ac-link-black;
505
+ color: $ac-color-text;
486
506
  margin-bottom: 10px;
487
507
  }
488
508
  }
@@ -506,7 +526,33 @@
506
526
  }
507
527
 
508
528
  // features card end
529
+ // dark theme start
530
+ .is-dark-theme {
531
+ .ac-single-card {
532
+ background-color: var(--dark-bg-light);
509
533
 
534
+ &.style-three {
535
+ background-color: var(--dark-bg-light);
536
+ }
537
+
538
+ .ac-card-body {
539
+ p {
540
+ color: $ac-label-text;
541
+ }
542
+ }
543
+ }
544
+
545
+ .pricing-card-wrpper {
546
+ &.offer-card {
547
+ background-color: var(--dark-bg-light);
548
+ }
549
+
550
+ .ac-card {
551
+ background-color: var(--dark-bg-light);
552
+ }
553
+ }
554
+ }
555
+ // dark theme end
510
556
  /****************************************
511
557
  Responsive Classes
512
558
  *****************************************/
@@ -540,6 +586,7 @@ Responsive Classes
540
586
  }
541
587
  }
542
588
  }
589
+
543
590
  .ac-single-card {
544
591
  &.card-counter {
545
592
  .card-header {
@@ -1,6 +1,8 @@
1
1
  .ac-code-highlight {
2
2
  pre {
3
3
  font-size: $font-size-small;
4
+ color: $ac-color-text;
5
+ background-color: $ac-white-lighter;
4
6
  }
5
7
  &.is-dark {
6
8
  pre {
@@ -9,11 +11,15 @@
9
11
  }
10
12
  }
11
13
  }
14
+ code[class*="language-"],
15
+ pre[class*="language-"] {
16
+ font-size: 14px !important;
17
+ }
12
18
 
13
19
  .editor-writable {
14
20
  width: 100%;
15
21
  border-radius: 4px !important;
16
- border: 1px solid #f1f1f1 !important;
22
+ border: 1px solid $ac-white-light !important;
17
23
  }
18
24
 
19
25
  .monaco-editor {
@@ -1,18 +1,18 @@
1
1
  .ac-content-layout {
2
- background: transparent;
2
+ background-color: transparent;
3
3
  padding: 0;
4
4
  border-radius: 0;
5
5
  height: 100%;
6
6
  border: none;
7
7
 
8
8
  &.style-2 {
9
- border: 1px solid $table-header;
9
+ border: 1px solid $ac-white-light;
10
10
  box-shadow: none;
11
11
  padding: 0;
12
12
  border-radius: 4px;
13
13
 
14
14
  .ac-content-header {
15
- background: $table-header;
15
+ background-color: $ac-white-light;
16
16
 
17
17
  &.is-bg-white {
18
18
  .ac-cheader-left {
@@ -36,7 +36,7 @@
36
36
  }
37
37
 
38
38
  &.is-dark {
39
- background-color: $ac-bg-dark;
39
+ background-color: $ac-color-heading;
40
40
 
41
41
  .ac-content-header {
42
42
  &.drag-n-drop {
@@ -78,7 +78,7 @@
78
78
 
79
79
  p {
80
80
  margin-top: 0;
81
- font-size: 14px;
81
+ font-size: 13px;
82
82
  color: $ac-color-text;
83
83
  }
84
84
  }
@@ -19,13 +19,13 @@
19
19
  }
20
20
 
21
21
  .dragable-list-items {
22
- background: $ac-bg-light-gray;
22
+ background-color: $ac-white-lighter;
23
23
  border-radius: 4px;
24
24
  max-height: 400px;
25
25
 
26
26
  .is-highlight {
27
27
  background-color: $ac-white;
28
- border: 1px dashed $ac-border-hover;
28
+ border: 1px dashed $ac-gray-lightest;
29
29
  border-radius: 4px;
30
30
  margin: 4px 0;
31
31
  overflow: hidden;
@@ -34,9 +34,11 @@
34
34
  ul {
35
35
  li {
36
36
  padding-left: 40px;
37
+ padding-top: 4px;
38
+ padding-bottom: 4px;
37
39
 
38
40
  &.is-not-change {
39
- background-color: $ac-bg-light-gray;
41
+ background-color: $ac-white-lighter;
40
42
  margin-left: -40px !important;
41
43
  padding-left: 80px;
42
44
  }
@@ -66,7 +68,7 @@
66
68
  margin-left: -35px;
67
69
 
68
70
  &:hover {
69
- background: $ac-white;
71
+ background-color: $ac-white;
70
72
  box-shadow: $ac-shadow-1;
71
73
  cursor: move;
72
74
 
@@ -82,7 +84,7 @@
82
84
  }
83
85
 
84
86
  input[type="text"] {
85
- background: $ac-white-light;
87
+ background-color: $ac-white-light;
86
88
  border: none;
87
89
  font-weight: 500;
88
90
  padding: 4px 5px;
@@ -113,7 +115,7 @@
113
115
 
114
116
  button {
115
117
  border: none;
116
- background: transparent;
118
+ background-color: transparent;
117
119
  display: block;
118
120
  cursor: pointer;
119
121
  padding: 0 5px;