@appscode/design-system 1.0.43-alpha.6 → 1.0.43-alpha.63

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 (70) hide show
  1. package/base/utilities/_default.scss +136 -20
  2. package/base/utilities/_derived-variables.scss +2 -15
  3. package/base/utilities/_initial-variables.scss +99 -64
  4. package/base/utilities/_mixin.scss +90 -10
  5. package/base/utilities/_typography.scss +20 -7
  6. package/base/utilities/dark-theme.scss +25 -0
  7. package/components/_ac-accordion.scss +1 -0
  8. package/components/_ac-alert-box.scss +45 -10
  9. package/components/_ac-card.scss +54 -19
  10. package/components/_ac-code-highlight.scss +6 -0
  11. package/components/_ac-content-layout.scss +4 -4
  12. package/components/_ac-drag.scss +6 -6
  13. package/components/_ac-input.scss +72 -38
  14. package/components/_ac-modal.scss +5 -4
  15. package/components/_ac-multi-select.scss +220 -18
  16. package/components/_ac-options.scss +18 -8
  17. package/components/_ac-select-box.scss +5 -5
  18. package/components/_ac-table.scss +40 -33
  19. package/components/_ac-tabs.scss +64 -23
  20. package/components/_ac-tags.scss +2 -2
  21. package/components/_ac-terminal.scss +248 -0
  22. package/components/_app-drawer.scss +6 -6
  23. package/components/_breadcumb.scss +7 -2
  24. package/components/_buttons.scss +78 -32
  25. package/components/_card-body-wrapper.scss +3 -3
  26. package/components/_dashboard-header.scss +3 -3
  27. package/components/_direct-deploy.scss +69 -0
  28. package/components/_go-to-top.scss +1 -1
  29. package/components/_image-upload.scss +6 -4
  30. package/components/_left-sidebar-menu.scss +196 -46
  31. package/components/_monaco-editor.scss +1 -1
  32. package/components/_navbar.scss +103 -26
  33. package/components/_overview-info.scss +4 -4
  34. package/components/_overview-page.scss +1 -2
  35. package/components/_pagination.scss +45 -7
  36. package/components/_payment-card.scss +28 -12
  37. package/components/_preview-modal.scss +8 -8
  38. package/components/_pricing-table.scss +1 -1
  39. package/components/_progress-bar.scss +5 -5
  40. package/components/_subscription-card.scss +15 -8
  41. package/components/_table-of-content.scss +1 -1
  42. package/components/_tfa.scss +69 -0
  43. package/components/_widget-menu.scss +9 -9
  44. package/components/_wizard.scss +32 -20
  45. package/components/ac-toaster/_ac-toasted.scss +40 -8
  46. package/components/bbum/_card-team.scss +17 -9
  47. package/components/bbum/_information-center.scss +19 -5
  48. package/components/bbum/_mobile-desktop.scss +6 -6
  49. package/components/bbum/_post.scss +5 -4
  50. package/components/bbum/_sign-up-notification.scss +6 -6
  51. package/components/bbum/_single-post-preview.scss +9 -9
  52. package/components/bbum/_user-profile.scss +98 -90
  53. package/components/ui-builder/_ui-builder.scss +19 -8
  54. package/layouts/_404.scss +2 -1
  55. package/layouts/_code-preview.scss +14 -7
  56. package/main.scss +2 -0
  57. package/package.json +1 -1
  58. package/plugins/theme.js +142 -0
  59. package/plugins/vue-toaster.js +6 -6
  60. package/vue-components/v2/card/PaymentCards.vue +11 -2
  61. package/vue-components/v2/editor/Editor.vue +31 -17
  62. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  63. package/vue-components/v2/navbar/ThemeMode.vue +124 -0
  64. package/vue-components/v2/preloader/Preloader.vue +5 -5
  65. package/vue-components/v2/table/table-cell/CellValue.vue +10 -1
  66. package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
  67. package/vue-components/v3/editor/Editor.vue +33 -19
  68. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  69. package/vue-components/v3/navbar/ThemeMode.vue +118 -0
  70. package/vue-components/v3/table/table-cell/CellValue.vue +9 -0
@@ -9,7 +9,7 @@
9
9
  user-select: none;
10
10
 
11
11
  &:hover {
12
- background-color: #bcd8eb;
12
+ background-color: rgba(255, 255, 255, 0.7);
13
13
  cursor: pointer;
14
14
  }
15
15
 
@@ -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
  }
@@ -50,7 +50,7 @@
50
50
  .media-content {
51
51
  .content {
52
52
  p {
53
- color: #fff;
53
+ color: $ac-white;
54
54
  }
55
55
  }
56
56
  }
@@ -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,20 @@
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
+ display: flex;
11
+ align-items: center;
10
12
  }
11
13
 
12
14
  .breadcrumb {
13
15
  a {
14
- color: lighten($ac-color-text, 30%);
16
+ color: $ac-color-value;
15
17
  font-size: 13px;
16
18
  padding: 0px 3px;
19
+ &:hover {
20
+ color: $ac-color-text;
21
+ }
17
22
  }
18
23
 
19
24
  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;
@@ -19,8 +19,18 @@
19
19
  }
20
20
 
21
21
  &:hover {
22
- border-color: darken($ac-primary, 9);
23
- color: darken($ac-primary, 9);
22
+ border-color: hsla(
23
+ var(--hsl-hue),
24
+ var(--hsl-saturation),
25
+ calc(var(--hsl-lightness) - 9%),
26
+ 1
27
+ );
28
+ color: hsla(
29
+ var(--hsl-hue),
30
+ var(--hsl-saturation),
31
+ calc(var(--hsl-lightness) - 9%),
32
+ 1
33
+ );
24
34
  }
25
35
 
26
36
  &.underline-button {
@@ -32,7 +42,7 @@
32
42
 
33
43
  &.is-primary {
34
44
  color: $ac-primary;
35
- background: transparent;
45
+ background-color: transparent;
36
46
 
37
47
  &:hover {
38
48
  background-color: unset;
@@ -46,7 +56,7 @@
46
56
 
47
57
  .ac-icon {
48
58
  margin-left: 25px;
49
- background: $ac-white;
59
+ background-color: $ac-white;
50
60
  color: $ac-primary;
51
61
  padding: 2px 6px;
52
62
  border-radius: 4px;
@@ -120,7 +130,7 @@
120
130
 
121
131
  &.is-gray {
122
132
  background-color: $ac-white-light;
123
- color: #54657e;
133
+ color: $ac-gray-lightest;
124
134
  border-color: transparent;
125
135
 
126
136
  img {
@@ -129,37 +139,37 @@
129
139
 
130
140
  i.fa {
131
141
  font-size: 18px;
132
- color: #54657e;
142
+ color: $ac-gray-lightest;
133
143
  }
134
144
 
135
145
  &:hover {
136
- background-color: $ac-grey-lightest;
146
+ background-color: $ac-gray-lightest;
137
147
  }
138
148
  }
139
149
 
140
150
  &.is-outlined-gray {
141
- border: 1px solid #cbe3f8;
151
+ border: 1px solid $ac-white-light;
142
152
  font-size: 15px;
143
153
  }
144
154
 
145
155
  &.is-transparent {
146
156
  background-color: transparent;
147
- color: #666;
157
+ color: $ac-gray-darker;
148
158
 
149
159
  &:hover {
150
- background-color: #f1f1f1;
151
- color: #000;
160
+ background-color: $ac-white-lighter;
161
+ color: $ac-black;
152
162
  }
153
163
 
154
164
  &:focus {
155
- background-color: #f1f1f1;
156
- color: #000;
165
+ background-color: $ac-white-lighter;
166
+ color: $ac-black;
157
167
  }
158
168
  }
159
169
 
160
170
  &.transparent-bg {
161
171
  background-color: transparent;
162
- border: 1px solid $ac-border;
172
+ border: 1px solid $ac-label-text;
163
173
 
164
174
  img {
165
175
  &:hover {
@@ -200,7 +210,8 @@
200
210
  border: none;
201
211
  font-size: 14px;
202
212
  font-weight: 500;
203
- color: $ac-border-hover;
213
+ background-color: transparent;
214
+ color: $ac-gray-lightest;
204
215
 
205
216
  &.is-primary {
206
217
  background-color: transparent;
@@ -243,7 +254,7 @@
243
254
  border: none;
244
255
 
245
256
  &:hover {
246
- background-color: darken($ac-white-light, 9);
257
+ background-color: darken(#e7e7e7, 9);
247
258
  }
248
259
  }
249
260
 
@@ -253,7 +264,7 @@
253
264
  color: $ac-white;
254
265
 
255
266
  &:hover {
256
- background-color: darken($ac-gray-dark, 9);
267
+ background-color: $ac-color-value;
257
268
  }
258
269
  }
259
270
 
@@ -263,7 +274,7 @@
263
274
  color: $ac-white;
264
275
 
265
276
  &:hover {
266
- background-color: darken($ac-color-text, 9);
277
+ background-color: hsla(0, 0, calc(var(--hsl-lightness) - 9%), 1);
267
278
  }
268
279
  }
269
280
 
@@ -274,13 +285,23 @@
274
285
  &:hover {
275
286
  box-shadow: none;
276
287
  box-shadow: none;
277
- color: darken($color: $ac-primary, $amount: 10);
288
+ color: hsla(
289
+ var(--hsl-hue),
290
+ var(--hsl-saturation),
291
+ calc(var(--hsl-lightness) - 10%),
292
+ 1
293
+ );
278
294
  }
279
295
 
280
296
  &:focus {
281
297
  box-shadow: none;
282
298
  box-shadow: none;
283
- color: darken($color: $ac-primary, $amount: 10);
299
+ color: hsla(
300
+ var(--hsl-hue),
301
+ var(--hsl-saturation),
302
+ calc(var(--hsl-lightness) - 10%),
303
+ 1
304
+ );
284
305
  }
285
306
  }
286
307
 
@@ -450,8 +471,8 @@
450
471
 
451
472
  // counter button start
452
473
  .ac-counter-button {
453
- background: $ac-input-bg-color;
454
- border: 1px solid $ac-border;
474
+ background-color: transparent;
475
+ border: 1px solid $ac-label-text;
455
476
  border-radius: 4px;
456
477
  height: 46px;
457
478
  overflow: hidden;
@@ -471,7 +492,8 @@
471
492
  padding: 10px;
472
493
  font-size: 15px;
473
494
  font-weight: 500;
474
- background-color: $ac-input-bg-color;
495
+ color: $ac-color-value;
496
+ background-color: transparent;
475
497
  width: 100%;
476
498
  -moz-appearance: textfield;
477
499
 
@@ -497,13 +519,13 @@
497
519
  .ac-counter-arrow-wrapper {
498
520
  height: 100%;
499
521
  color: $ac-color-text;
500
- border-left: 1px solid $ac-border;
522
+ border-left: 1px solid $ac-label-text;
501
523
 
502
524
  .ac-counter-arrow {
503
- background: transparent;
525
+ background-color: transparent;
504
526
  border: none;
505
527
  cursor: pointer;
506
- color: $ac-border;
528
+ color: $ac-label-text;
507
529
  height: 23px;
508
530
 
509
531
  &:hover {
@@ -511,7 +533,7 @@
511
533
  }
512
534
 
513
535
  &:first-child {
514
- border-bottom: 1px solid $ac-border;
536
+ border-bottom: 1px solid $ac-label-text;
515
537
  }
516
538
  }
517
539
  }
@@ -538,7 +560,7 @@
538
560
  }
539
561
 
540
562
  .up-down-button {
541
- background: $ac-white-light;
563
+ background-color: $ac-white-light;
542
564
  border: none;
543
565
  display: block;
544
566
  cursor: pointer;
@@ -570,7 +592,7 @@
570
592
  width: 5px;
571
593
  height: 5px;
572
594
  border-radius: 50%;
573
- background: #333;
595
+ background-color: $ac-color-value;
574
596
  margin-bottom: 3px;
575
597
 
576
598
  &:last-child {
@@ -580,6 +602,30 @@
580
602
  }
581
603
  }
582
604
 
605
+ // dark theme start
606
+ .is-dark-theme {
607
+ .button.ac-button.is-primary.is-light {
608
+ background-color: $ac-primary;
609
+ color: $ac-white;
610
+ &:hover {
611
+ opacity: 0.8;
612
+ }
613
+ }
614
+ .button.ac-button.is-danger.is-light {
615
+ background-color: $ac-danger;
616
+ color: $ac-white;
617
+ &:hover {
618
+ opacity: 0.8;
619
+ }
620
+ }
621
+ .button.ac-button {
622
+ --ac-white: #ffffff;
623
+ &.is-white {
624
+ --ac-white: #2e323c;
625
+ }
626
+ }
627
+ }
628
+ // dark theme end
583
629
  /****************************************
584
630
  Responsive Classes
585
631
  *****************************************/
@@ -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: $ac-blue-light;
8
8
  border-radius: 4px 4px 0px 0px;
9
9
  padding: 10px 20px;
10
10
  box-shadow: none;
@@ -24,7 +24,7 @@
24
24
  font-weight: normal;
25
25
  font-size: 14px;
26
26
  line-height: 16px;
27
- color: #6f6f8d;
27
+ color: $ac-color-value;
28
28
  margin-top: 10px;
29
29
  }
30
30
  }
@@ -2,9 +2,9 @@
2
2
 
3
3
  .inner-header {
4
4
  padding: 6px 20px;
5
- border-bottom: 1px solid #e7e7e7;
6
- // display: flex;
7
- // align-items: center;
5
+ border-bottom: 1px solid $ac-white-light;
6
+ display: flex;
7
+ align-items: center;
8
8
  }
9
9
  // dashboard inner header end
10
10
  // .dashboard body header
@@ -0,0 +1,69 @@
1
+ .direct-deploy {
2
+ h5 {
3
+ font-weight: 500;
4
+ font-size: 18px;
5
+ line-height: 21px;
6
+ color: $ac-color-heading;
7
+ margin-bottom: 10px;
8
+ .fa {
9
+ color: $ac-primary;
10
+ }
11
+ }
12
+
13
+ p {
14
+ font-size: 14px;
15
+ line-height: 160%;
16
+ color: $ac-color-heading;
17
+ margin-bottom: 20px;
18
+ }
19
+
20
+ .check-permission {
21
+ font-weight: normal;
22
+ font-size: 14px;
23
+ line-height: 16px;
24
+ color: $ac-color-heading;
25
+ }
26
+
27
+ .button {
28
+ margin: 10px 0;
29
+ }
30
+
31
+ .msg {
32
+ font-size: 12px;
33
+ line-height: 14px;
34
+ color: $ac-color-value;
35
+ }
36
+ .buttons {
37
+ &.is-gray {
38
+ .button {
39
+ &.ac-primary {
40
+ background-color: $ac-blue-light;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+
47
+ h5 {
48
+ &.toc-title {
49
+ font-style: normal;
50
+ font-weight: 500;
51
+ font-size: 16px;
52
+ line-height: 19px;
53
+ color: $ac-color-value;
54
+ }
55
+ }
56
+ .is-gray {
57
+ .button {
58
+ border: none;
59
+ background-color: $ac-blue-light;
60
+ }
61
+ }
62
+
63
+ .card-content {
64
+ &.is-table-of-content {
65
+ display: grid;
66
+ grid-template-columns: 65% 35%;
67
+ grid-gap: 15px;
68
+ }
69
+ }
@@ -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(25, 113, 189, 0.5);
15
15
  border: none;
16
16
  opacity: 0;
17
17
  cursor: pointer;
@@ -1,6 +1,6 @@
1
1
  .ac-upload-image {
2
- background: $ac-input-bg-color;
3
- border: 1px dashed $ac-border;
2
+ background-color: $ac-bg;
3
+ border: 1px dashed $ac-label-text;
4
4
  border-radius: 4px;
5
5
  overflow: hidden;
6
6
 
@@ -22,21 +22,23 @@
22
22
  border-radius: 50%;
23
23
  overflow: hidden;
24
24
  margin: 0 auto 30px;
25
+ border: 1px solid $ac-white-light;
25
26
  }
26
27
 
27
28
  .drag-and-drop-msg {
28
29
  font-size: 13px;
30
+ color: $ac-color-value;
29
31
  font-weight: 400;
30
32
  margin-bottom: 10px;
31
33
 
32
34
  span {
33
- color: $ac-border;
35
+ color: $ac-label-text;
34
36
  }
35
37
  }
36
38
 
37
39
  .img-size-msg {
38
40
  font-size: 12px;
39
- color: $ac-border;
41
+ color: $ac-label-text;
40
42
  }
41
43
  }
42
44