@appscode/design-system 1.0.43-alpha.12 → 1.0.43-alpha.16

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 (52) hide show
  1. package/base/utilities/_default.scss +16 -17
  2. package/base/utilities/_derived-variables.scss +0 -12
  3. package/base/utilities/_initial-variables.scss +228 -47
  4. package/base/utilities/_mixin.scss +10 -1
  5. package/base/utilities/_typography.scss +10 -4
  6. package/components/_ac-accordion.scss +1 -0
  7. package/components/_ac-alert-box.scss +5 -5
  8. package/components/_ac-card.scss +16 -16
  9. package/components/_ac-code-highlight.scss +2 -0
  10. package/components/_ac-content-layout.scss +3 -3
  11. package/components/_ac-drag.scss +6 -6
  12. package/components/_ac-input.scss +20 -18
  13. package/components/_ac-modal.scss +5 -4
  14. package/components/_ac-multi-select.scss +9 -9
  15. package/components/_ac-options.scss +8 -8
  16. package/components/_ac-select-box.scss +2 -2
  17. package/components/_ac-table.scss +37 -33
  18. package/components/_ac-tabs.scss +33 -20
  19. package/components/_ac-tags.scss +2 -2
  20. package/components/_app-drawer.scss +4 -4
  21. package/components/_breadcumb.scss +5 -2
  22. package/components/_buttons.scss +21 -20
  23. package/components/_card-body-wrapper.scss +2 -2
  24. package/components/_dashboard-header.scss +1 -1
  25. package/components/_go-to-top.scss +1 -1
  26. package/components/_image-upload.scss +1 -1
  27. package/components/_left-sidebar-menu.scss +11 -11
  28. package/components/_monaco-editor.scss +1 -1
  29. package/components/_navbar.scss +21 -19
  30. package/components/_overview-page.scss +1 -2
  31. package/components/_pagination.scss +2 -2
  32. package/components/_payment-card.scss +18 -11
  33. package/components/_preview-modal.scss +6 -6
  34. package/components/_progress-bar.scss +1 -1
  35. package/components/_subscription-card.scss +4 -4
  36. package/components/_table-of-content.scss +1 -1
  37. package/components/_widget-menu.scss +9 -9
  38. package/components/_wizard.scss +17 -17
  39. package/components/ac-toaster/_ac-toasted.scss +4 -4
  40. package/components/bbum/_card-team.scss +4 -4
  41. package/components/bbum/_information-center.scss +2 -2
  42. package/components/bbum/_mobile-desktop.scss +5 -5
  43. package/components/bbum/_post.scss +5 -4
  44. package/components/bbum/_sign-up-notification.scss +3 -3
  45. package/components/bbum/_single-post-preview.scss +8 -8
  46. package/components/bbum/_user-profile.scss +2 -2
  47. package/components/ui-builder/_ui-builder.scss +10 -8
  48. package/layouts/_404.scss +2 -1
  49. package/layouts/_code-preview.scss +14 -7
  50. package/package.json +1 -1
  51. package/plugins/theme.js +138 -0
  52. package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
@@ -12,20 +12,21 @@
12
12
 
13
13
  /* Handle */
14
14
  &::-webkit-scrollbar-thumb {
15
- background: #8392a5;
15
+ background-color: $ac-gray-light;
16
16
  border-radius: 10px;
17
17
  }
18
18
 
19
19
  /* Handle on hover */
20
20
  &::-webkit-scrollbar-thumb:hover {
21
- background: #8392a5;
21
+ background-color: $ac-gray-light;
22
22
  }
23
23
  }
24
24
  }
25
25
 
26
26
  // INFO TABLE START
27
27
  .table.ac-info-table {
28
- // background: $ac-bg-light-gray;
28
+ background-color: transparent;
29
+
29
30
  &.is-fullwidth {
30
31
  tbody {
31
32
  tr {
@@ -49,11 +50,7 @@
49
50
  td {
50
51
  border: none;
51
52
  font-size: $font-size-small;
52
- color: hsl(
53
- var(--font-hsl-hue),
54
- var(--font-hsl-saturation),
55
- calc(var(--font-hsl-lightness) + 25%)
56
- );
53
+ color: $ac-color-value;
57
54
  font-weight: 400;
58
55
  padding: 3px 0px;
59
56
  min-width: 230px;
@@ -99,6 +96,7 @@
99
96
  color: $ac-color-heading;
100
97
  }
101
98
  }
99
+
102
100
  &.sorting-desc {
103
101
  &::after {
104
102
  color: $ac-color-heading;
@@ -114,10 +112,12 @@
114
112
  font-weight: 1000;
115
113
  display: block;
116
114
  }
115
+
117
116
  &:before {
118
117
  right: 1em;
119
118
  content: "\2191";
120
119
  }
120
+
121
121
  &:after {
122
122
  right: 0.5em;
123
123
  content: "\2193";
@@ -133,12 +133,13 @@
133
133
  box-shadow: inset 0 0 0 1px $ac-primary;
134
134
  border-radius: 4px;
135
135
  border-bottom: none;
136
- color: #000;
136
+ color: $ac-black;
137
137
  }
138
138
 
139
139
  tr {
140
140
  cursor: pointer;
141
- border-bottom: 1px solid #e7e7e7;
141
+ border-bottom: 1px solid var(--ac-white-light);
142
+
142
143
  td {
143
144
  font-size: $font-size-small;
144
145
  padding: 5px 20px;
@@ -157,12 +158,14 @@
157
158
  color: $ac-primary;
158
159
  font-weight: 500;
159
160
  transition: 0.3s ease-in-out;
161
+
160
162
  &:hover {
161
163
  color: $ac-color-heading;
162
164
  }
163
165
  }
164
166
  }
165
167
  }
168
+
166
169
  &.is-error {
167
170
  color: $ac-danger;
168
171
  }
@@ -174,12 +177,12 @@
174
177
  display: inline-flex;
175
178
 
176
179
  &.is-danger {
177
- background: $ac-danger;
180
+ background-color: $ac-danger;
178
181
  }
179
182
 
180
183
  i.fa {
181
184
  position: absolute;
182
- background: $ac-primary;
185
+ background-color: $ac-primary;
183
186
  color: $ac-white;
184
187
  font-size: $font-size-tiny;
185
188
  width: 15px;
@@ -202,15 +205,8 @@
202
205
  border-radius: 50%;
203
206
  }
204
207
  }
205
-
206
- // &:first-child {
207
- // border-radius: 4px 0 0 4px;
208
- // }
209
-
210
- // &:last-child {
211
- // border-radius: 0 4px 4px 0;
212
- // }
213
208
  }
209
+
214
210
  .options-items {
215
211
  a:hover {
216
212
  color: $ac-white;
@@ -224,7 +220,7 @@
224
220
  box-shadow: inset 0 0 0 1px $ac-primary;
225
221
  border-radius: 4px;
226
222
  border-bottom: none;
227
- color: #000;
223
+ color: $ac-black;
228
224
  }
229
225
 
230
226
  &.is-hoverless {
@@ -236,29 +232,33 @@
236
232
  transition: 0.3s ease-in-out;
237
233
  }
238
234
  }
235
+
239
236
  .increase-width {
240
237
  position: relative;
241
238
  visibility: hidden;
242
239
  width: 36px;
240
+
243
241
  .increase-innner {
244
- border-bottom: 1px solid #e7e7e7;
245
- border-top: 1px solid #e7e7e7;
242
+ border-bottom: 1px solid var(--ac-white-light);
243
+ border-top: 1px solid var(--ac-white-light);
246
244
  bottom: -1px;
247
245
  left: 0;
248
246
  position: absolute;
249
247
  right: -451px;
250
248
  top: -1px;
251
249
  visibility: visible;
252
- background: #f1f1f1;
250
+ background-color: $ac-white-lighter;
253
251
  }
254
252
  }
253
+
255
254
  td {
256
255
  &.increase-width {
257
256
  .increase-innner {
258
- background: transparent;
257
+ background-color: transparent;
259
258
  }
260
259
  }
261
260
  }
261
+
262
262
  &.ac-bordered {
263
263
  thead {
264
264
  tr {
@@ -266,6 +266,7 @@
266
266
  border-top: 1px solid $ac-white-light;
267
267
  border-bottom: 1px solid $ac-white-light;
268
268
  border-right: 1px solid $ac-white-light;
269
+
269
270
  &:first-child {
270
271
  border-left: 1px solid $ac-white-light;
271
272
  }
@@ -281,13 +282,15 @@
281
282
 
282
283
  td {
283
284
  font-size: $font-size-small;
284
- color: $ac-gray-dark;
285
- background-color: $ac-white;
285
+ color: $ac-color-value;
286
+ background-color: transparent;
286
287
  border-bottom: 1px solid $ac-white-light;
287
288
  border-right: 1px solid $ac-white-light;
289
+
288
290
  &:first-child {
289
291
  border-left: 1px solid $ac-white-light;
290
292
  }
293
+
291
294
  &:first-child {
292
295
  color: $ac-color-heading;
293
296
  border-radius: 0;
@@ -311,7 +314,7 @@
311
314
  &::after {
312
315
  top: 6px;
313
316
  left: 6px;
314
- border-color: #54657e;
317
+ border-color: $ac-gray-lightest;
315
318
  width: 0.3rem;
316
319
  height: 0.5rem;
317
320
  }
@@ -348,8 +351,7 @@
348
351
 
349
352
  tbody {
350
353
  tr {
351
- background-color: $ac-white;
352
- transition: 0.3s ease-in-out;
354
+ background-color: transparent;
353
355
  }
354
356
  }
355
357
  }
@@ -374,7 +376,7 @@
374
376
 
375
377
  &.is-dark {
376
378
  thead {
377
- background-color: $ac-bg-dark;
379
+ background-color: $ac-color-heading;
378
380
 
379
381
  tr {
380
382
  th {
@@ -390,11 +392,11 @@
390
392
  }
391
393
 
392
394
  &:nth-child(odd) {
393
- background-color: #303246;
395
+ background-color: $ac-color-value;
394
396
  }
395
397
 
396
398
  &:nth-child(even) {
397
- background-color: $ac-bg-dark;
399
+ background-color: $ac-color-heading;
398
400
  }
399
401
 
400
402
  &:hover {
@@ -408,10 +410,12 @@
408
410
  }
409
411
  }
410
412
  }
413
+
411
414
  .table.ac-table tbody tr:hover td a:not(.tag a) {
412
415
  text-decoration: underline;
413
416
  color: $ac-primary;
414
417
  }
418
+
415
419
  // GENERAL TABLE END
416
420
 
417
421
  /****************************************
@@ -1,35 +1,44 @@
1
1
  .tabs {
2
2
  &.ac-tabs {
3
- &.is-line{
4
- ul {
3
+ ul {
5
4
  border-bottom-color: $ac-white-light;
6
- li {
7
- &.is-active {
8
- a {
9
- font-weight: 500;
10
- border-bottom-color: $ac-primary;
11
- border-color: $ac-primary !important;
12
- border-width: 2px;
5
+ }
6
+
7
+ &.is-line {
8
+ ul {
9
+ border-bottom-color: $ac-white-light;
10
+
11
+ li {
12
+ &.is-active {
13
+ a {
14
+ font-weight: 500;
15
+ border-bottom-color: $ac-primary;
16
+ border-color: $ac-primary !important;
17
+ border-width: 2px;
18
+ }
13
19
  }
14
- }
15
- a {
16
- text-transform: uppercase;
17
- font-weight: 400;
18
- color: $ac-color-heading;
19
- font-size: $font-size-small;
20
- padding: 6px 20px;
21
- &:hover {
22
- border-bottom-color: $ac-primary;
20
+
21
+ a {
22
+ text-transform: uppercase;
23
+ font-weight: 400;
24
+ color: $ac-color-heading;
25
+ font-size: $font-size-small;
26
+ padding: 6px 20px;
27
+
28
+ &:hover {
29
+ border-bottom-color: $ac-primary;
30
+ }
23
31
  }
24
32
  }
25
33
  }
26
34
  }
27
- }
35
+
28
36
  &.is-boxed {
29
37
  font-size: 14px;
30
38
 
31
39
  a {
32
40
  padding: 8px 20px;
41
+ color: $ac-color-value;
33
42
 
34
43
  &:hover {
35
44
  border-bottom-color: transparent;
@@ -84,6 +93,7 @@
84
93
  border-bottom: none;
85
94
  margin-bottom: -2px;
86
95
  font-size: $font-size-small;
96
+ color: $ac-color-value;
87
97
  }
88
98
  }
89
99
  }
@@ -134,6 +144,7 @@
134
144
  padding: 8px 25px;
135
145
  line-height: 1;
136
146
  border-radius: 4px;
147
+
137
148
  &:hover {
138
149
  background-color: inherit;
139
150
  }
@@ -187,7 +198,7 @@
187
198
  li {
188
199
  &.is-active {
189
200
  a {
190
- background-color: #f1f1f1;
201
+ background-color: $ac-white-lighter;
191
202
  color: $ac-primary;
192
203
  }
193
204
  }
@@ -197,9 +208,11 @@
197
208
  }
198
209
  }
199
210
  }
211
+
200
212
  .tabs li.is-active a {
201
213
  color: $ac-primary;
202
214
  }
215
+
203
216
  .no-data-available {
204
217
  img {
205
218
  width: 250px;
@@ -3,13 +3,13 @@
3
3
  align-items: center;
4
4
 
5
5
  li {
6
- background: $ac-gray-lightest;
6
+ background-color: $ac-gray-lightest;
7
7
  list-style: none;
8
8
  padding: 2px 10px;
9
9
  border-radius: 4px;
10
10
  font-size: 12px;
11
11
  line-height: 1;
12
- border: 1px solid #333;
12
+ border: 1px solid $ac-color-value;
13
13
  margin-right: 5px;
14
14
 
15
15
  &:last-child {
@@ -29,7 +29,7 @@
29
29
  font-size: 13px;
30
30
  }
31
31
 
32
- background: #edf0f5;
32
+ background-color: #edf0f5;
33
33
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.16);
34
34
  min-width: 280px;
35
35
  }
@@ -93,14 +93,14 @@
93
93
  }
94
94
 
95
95
  &:hover {
96
- >a {
96
+ > a {
97
97
  background-color: $ac-white;
98
98
  }
99
99
  }
100
100
 
101
101
  &:first-child {
102
102
  &:hover {
103
- >a {
103
+ > a {
104
104
  border-radius: 4px 4px 0 0;
105
105
  }
106
106
  }
@@ -108,7 +108,7 @@
108
108
 
109
109
  &:last-child {
110
110
  &:hover {
111
- >a {
111
+ > a {
112
112
  border-radius: 0 0 4px 4px;
113
113
  }
114
114
  }
@@ -5,15 +5,18 @@
5
5
  position: sticky;
6
6
  top: 50px;
7
7
  height: 50px;
8
- background: $ac-white;
8
+ background-color: $ac-white;
9
9
  z-index: 998;
10
10
  }
11
11
 
12
12
  .breadcrumb {
13
13
  a {
14
- color: hsla(0, 0, var(--ac-lightness), 0.7);
14
+ color: $ac-color-value;
15
15
  font-size: 13px;
16
16
  padding: 0px 3px;
17
+ &:hover {
18
+ color: $ac-color-text;
19
+ }
17
20
  }
18
21
 
19
22
  li.is-active {
@@ -1,15 +1,15 @@
1
1
  .button {
2
- transition: $ac-speed ease-in-out;
2
+ transition: 86ms ease-in-out;
3
3
 
4
4
  // ac-button
5
5
  &.ac-button {
6
6
  border-color: $ac-primary;
7
- border-radius: $ac-radius;
7
+ border-radius: 4px;
8
8
  font-size: 14px;
9
9
  font-family: $ac-family-paragraph;
10
10
  letter-spacing: 0.2px;
11
11
  color: $ac-primary;
12
- font-weight: $ac-weight-medium;
12
+ font-weight: 500;
13
13
  height: 36px;
14
14
  padding-left: 25px;
15
15
  padding-right: 25px;
@@ -42,7 +42,7 @@
42
42
 
43
43
  &.is-primary {
44
44
  color: $ac-primary;
45
- background: transparent;
45
+ background-color: transparent;
46
46
 
47
47
  &:hover {
48
48
  background-color: unset;
@@ -56,7 +56,7 @@
56
56
 
57
57
  .ac-icon {
58
58
  margin-left: 25px;
59
- background: $ac-white;
59
+ background-color: $ac-white;
60
60
  color: $ac-primary;
61
61
  padding: 2px 6px;
62
62
  border-radius: 4px;
@@ -130,7 +130,7 @@
130
130
 
131
131
  &.is-gray {
132
132
  background-color: $ac-white-light;
133
- color: #54657e;
133
+ color: $ac-gray-lightest;
134
134
  border-color: transparent;
135
135
 
136
136
  img {
@@ -139,7 +139,7 @@
139
139
 
140
140
  i.fa {
141
141
  font-size: 18px;
142
- color: #54657e;
142
+ color: $ac-gray-lightest;
143
143
  }
144
144
 
145
145
  &:hover {
@@ -148,7 +148,7 @@
148
148
  }
149
149
 
150
150
  &.is-outlined-gray {
151
- border: 1px solid #cbe3f8;
151
+ border: 1px solid $ac-white-light;
152
152
  font-size: 15px;
153
153
  }
154
154
 
@@ -157,13 +157,13 @@
157
157
  color: #666;
158
158
 
159
159
  &:hover {
160
- background-color: #f1f1f1;
161
- color: #000;
160
+ background-color: $ac-white-lighter;
161
+ color: $ac-black;
162
162
  }
163
163
 
164
164
  &:focus {
165
- background-color: #f1f1f1;
166
- color: #000;
165
+ background-color: $ac-white-lighter;
166
+ color: $ac-black;
167
167
  }
168
168
  }
169
169
 
@@ -210,7 +210,7 @@
210
210
  border: none;
211
211
  font-size: 14px;
212
212
  font-weight: 500;
213
- color: $ac-border-hover;
213
+ color: $ac-gray-lightest;
214
214
 
215
215
  &.is-primary {
216
216
  background-color: transparent;
@@ -253,7 +253,7 @@
253
253
  border: none;
254
254
 
255
255
  &:hover {
256
- background-color: darken($ac-white-light, 9);
256
+ background-color: darken(#e7e7e7, 9);
257
257
  }
258
258
  }
259
259
 
@@ -263,7 +263,7 @@
263
263
  color: $ac-white;
264
264
 
265
265
  &:hover {
266
- background-color: darken($ac-gray-dark, 9);
266
+ background-color: $ac-color-value;
267
267
  }
268
268
  }
269
269
 
@@ -470,7 +470,7 @@
470
470
 
471
471
  // counter button start
472
472
  .ac-counter-button {
473
- background: $ac-input-bg-color;
473
+ background-color: transparent;
474
474
  border: 1px solid $ac-border;
475
475
  border-radius: 4px;
476
476
  height: 46px;
@@ -491,7 +491,8 @@
491
491
  padding: 10px;
492
492
  font-size: 15px;
493
493
  font-weight: 500;
494
- background-color: $ac-input-bg-color;
494
+ color: $ac-color-value;
495
+ background-color: transparent;
495
496
  width: 100%;
496
497
  -moz-appearance: textfield;
497
498
 
@@ -520,7 +521,7 @@
520
521
  border-left: 1px solid $ac-border;
521
522
 
522
523
  .ac-counter-arrow {
523
- background: transparent;
524
+ background-color: transparent;
524
525
  border: none;
525
526
  cursor: pointer;
526
527
  color: $ac-border;
@@ -558,7 +559,7 @@
558
559
  }
559
560
 
560
561
  .up-down-button {
561
- background: $ac-white-light;
562
+ background-color: $ac-white-light;
562
563
  border: none;
563
564
  display: block;
564
565
  cursor: pointer;
@@ -590,7 +591,7 @@
590
591
  width: 5px;
591
592
  height: 5px;
592
593
  border-radius: 50%;
593
- background: #333;
594
+ background-color: $ac-color-value;
594
595
  margin-bottom: 3px;
595
596
 
596
597
  &:last-child {
@@ -1,10 +1,10 @@
1
1
  .card-body-wrapper {
2
- background: $ac-white;
2
+ background-color: $ac-white;
3
3
  border-radius: 4px;
4
4
  box-shadow: none;
5
5
 
6
6
  .card-header {
7
- background: $table-header;
7
+ background-color: $table-header;
8
8
  border-radius: 4px 4px 0px 0px;
9
9
  padding: 10px 20px;
10
10
  box-shadow: none;
@@ -2,7 +2,7 @@
2
2
 
3
3
  .inner-header {
4
4
  padding: 6px 20px;
5
- border-bottom: 1px solid #e7e7e7;
5
+ border-bottom: 1px solid $ac-white-light;
6
6
  // display: flex;
7
7
  // align-items: center;
8
8
  }
@@ -11,7 +11,7 @@
11
11
  line-height: 40px;
12
12
  border-radius: 50%;
13
13
  color: $ac-white;
14
- background: rgba($ac-primary, 0.5);
14
+ background-color: rgba($ac-primary, 0.5);
15
15
  border: none;
16
16
  opacity: 0;
17
17
  cursor: pointer;
@@ -1,5 +1,5 @@
1
1
  .ac-upload-image {
2
- background: $ac-input-bg-color;
2
+ background-color: $ac-bg;
3
3
  border: 1px dashed $ac-border;
4
4
  border-radius: 4px;
5
5
  overflow: hidden;
@@ -5,7 +5,7 @@
5
5
  .ac-lef-sidebar-inner {
6
6
  .ac-left-sidebar {
7
7
  .ac-menu-list {
8
- background-color: $ac-white;
8
+ background-color: transparent;
9
9
  }
10
10
  }
11
11
  }
@@ -83,7 +83,7 @@
83
83
  li {
84
84
  a {
85
85
  padding-left: 25px;
86
- background: $ac-white;
86
+ background-color: $ac-white;
87
87
  }
88
88
  }
89
89
  }
@@ -109,7 +109,7 @@
109
109
  .ac-lef-sidebar-inner {
110
110
  .ac-left-sidebar {
111
111
  .ac-product-logo {
112
- background: $ac-white;
112
+ background-color: transparent;
113
113
  border-bottom: 1px solid $ac-white-light;
114
114
  height: 50px;
115
115
  display: flex;
@@ -119,7 +119,7 @@
119
119
 
120
120
  .ac-product-version {
121
121
  font-size: 12px;
122
- font-weight: $ac-weight-medium;
122
+ font-weight: 500;
123
123
  color: $ac-link-black;
124
124
  }
125
125
  }
@@ -150,7 +150,7 @@
150
150
  li {
151
151
  a {
152
152
  strong {
153
- font-weight: $ac-weight-normal;
153
+ font-weight: 400;
154
154
  }
155
155
  }
156
156
  }
@@ -159,7 +159,7 @@
159
159
 
160
160
  a {
161
161
  font-style: normal;
162
- font-weight: $ac-weight-normal;
162
+ font-weight: 400;
163
163
  font-size: $font-size-small;
164
164
  line-height: 16px;
165
165
  color: $ac-black;
@@ -177,7 +177,7 @@
177
177
  top: 0;
178
178
  width: 0;
179
179
  height: 100%;
180
- background-color: #f2f2f2;
180
+ background-color: $ac-white-lighter;
181
181
  border-radius: 0 50px 50px 0;
182
182
  z-index: -1;
183
183
  transition: 0.3s ease-in-out;
@@ -186,7 +186,7 @@
186
186
  strong {
187
187
  max-width: calc(100% - 65px);
188
188
  line-break: anywhere;
189
- font-weight: $ac-weight-normal;
189
+ font-weight: 400;
190
190
  }
191
191
 
192
192
  &.ac-dropdown-button {
@@ -251,7 +251,7 @@
251
251
  }
252
252
 
253
253
  &::before {
254
- background: $ac-primary;
254
+ background-color: $ac-primary;
255
255
  height: 100%;
256
256
  width: 4px;
257
257
  z-index: 9;
@@ -297,7 +297,7 @@
297
297
  }
298
298
 
299
299
  &.is-dark-sidebar {
300
- background-color: $ac-bg-dark;
300
+ background-color: $ac-color-heading;
301
301
 
302
302
  .ac-lef-sidebar-inner {
303
303
  .ac-product-logo {
@@ -315,7 +315,7 @@
315
315
  li {
316
316
  a {
317
317
  color: $ac-white !important;
318
- background-color: $ac-bg-dark;
318
+ background-color: $ac-color-heading;
319
319
 
320
320
  &:hover {
321
321
  color: $ac-white !important;