@appscode/design-system 1.0.43-alpha.15 → 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 (50) 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
@@ -92,7 +92,6 @@
92
92
  }
93
93
 
94
94
  .ac-system-left-sidebar {
95
- background-color: $ac-white;
96
95
  border-right: 1px solid $ac-white-light;
97
96
  box-shadow: none;
98
97
  &.is-expanded {
@@ -268,13 +267,13 @@
268
267
  }
269
268
 
270
269
  &::-webkit-scrollbar-thumb {
271
- background-color: #929292;
270
+ background-color: $ac-gray-light;
272
271
  border-radius: 50px;
273
272
  height: 2px !important;
274
273
  }
275
274
 
276
275
  &::-webkit-scrollbar-thumb:hover {
277
- background-color: #929292;
276
+ background-color: $ac-gray-light;
278
277
  }
279
278
 
280
279
  &:hover::-webkit-scrollbar-corner {
@@ -315,33 +314,33 @@
315
314
  }
316
315
 
317
316
  &::-webkit-scrollbar-thumb {
318
- background-color: #929292;
317
+ background-color: $ac-gray-light;
319
318
  border-radius: 50px;
320
319
  height: 2px !important;
321
320
  }
322
321
 
323
322
  &::-moz-scrollbar-thumb {
324
- background-color: #929292;
323
+ background-color: $ac-gray-light;
325
324
  border-radius: 50px;
326
325
  height: 2px !important;
327
326
  }
328
327
 
329
328
  &::-ms-scrollbar-thumb {
330
- background-color: #929292;
329
+ background-color: $ac-gray-light;
331
330
  border-radius: 50px;
332
331
  height: 2px !important;
333
332
  }
334
333
 
335
334
  &::-webkit-scrollbar-thumb:hover {
336
- background-color: #929292;
335
+ background-color: $ac-gray-light;
337
336
  }
338
337
 
339
338
  &::-moz-scrollbar-thumb:hover {
340
- background-color: #929292;
339
+ background-color: $ac-gray-light;
341
340
  }
342
341
 
343
342
  &::-ms-scrollbar-thumb:hover {
344
- background-color: #929292;
343
+ background-color: $ac-gray-light;
345
344
  }
346
345
 
347
346
  &:hover::-webkit-scrollbar-corner {
@@ -372,13 +371,13 @@
372
371
  }
373
372
 
374
373
  &::-webkit-scrollbar-thumb {
375
- background-color: #929292;
374
+ background-color: $ac-gray-light;
376
375
  border-radius: 50px;
377
376
  width: 2px !important;
378
377
  }
379
378
 
380
379
  &::-webkit-scrollbar-thumb:hover {
381
- background-color: #929292;
380
+ background-color: $ac-gray-light;
382
381
  }
383
382
 
384
383
  &:hover::-webkit-scrollbar-corner {
@@ -401,7 +400,7 @@
401
400
 
402
401
  .is-transparent {
403
402
  border: none;
404
- background: transparent;
403
+ background-color: transparent;
405
404
  }
406
405
 
407
406
  .is-error {
@@ -429,7 +428,7 @@ button {
429
428
  }
430
429
 
431
430
  .tag:not(body) {
432
- background-color: #e5e9f2;
431
+ background-color: $ac-white-light;
433
432
  font-size: 11px;
434
433
  height: 18px;
435
434
  letter-spacing: 0.1px;
@@ -496,12 +495,12 @@ button {
496
495
  top: 12px;
497
496
  width: 100%;
498
497
  height: 1px;
499
- background: $ac-white-light;
498
+ background-color: $ac-white-light;
500
499
  }
501
500
 
502
501
  h5 {
503
502
  color: $ac-color-text;
504
- background: $ac-white;
503
+ background-color: $ac-white;
505
504
  z-index: 2;
506
505
  display: inline-block;
507
506
  position: relative;
@@ -660,7 +659,7 @@ $border_color_4: transparent transparent #585d6e transparent;
660
659
  .ac-footer-action {
661
660
  margin-top: 10px;
662
661
  padding-top: 10px;
663
- background: $ac-white;
662
+ background-color: $ac-white;
664
663
  padding: 10px 20px;
665
664
  margin-left: 0;
666
665
  margin-right: 0;
@@ -686,7 +685,7 @@ $border_color_4: transparent transparent #585d6e transparent;
686
685
  height: 10px;
687
686
  width: 10px;
688
687
  border-radius: 50%;
689
- background: $ac-gray-lightest;
688
+ background-color: $ac-gray-lightest;
690
689
  border: 2px solid $ac-white;
691
690
  display: inline-flex;
692
691
 
@@ -1,21 +1,9 @@
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
8
  $ac-color-text: var(--ac-text);
21
9
  $ac-color-heading: var(--ac-text-heading);
@@ -22,24 +22,7 @@ $font-size-small: 13px;
22
22
  $font-size-extra-small: 12px;
23
23
  $font-size-tiny: 11px;
24
24
 
25
- // Font weight
26
- $ac-weight-light: 300;
27
- $ac-weight-normal: 400;
28
- $ac-weight-medium: 500;
29
- $ac-weight-semibold: 600;
30
- $ac-weight-bold: 700;
31
- $ac-weight-extra: 800;
32
- $ac-weight-black: 900;
33
-
34
- // Miscellaneous
35
- $ac-easing: ease-out;
36
- $ac-radius-small: 2px;
37
- $ac-radius: 4px;
38
- $ac-radius-large: 6px;
39
- $ac-radius-rounded: 290486px;
40
- $ac-speed: 86ms;
41
-
42
- // Color Base
25
+ // Base Color
43
26
  $ac-orange: #ff8000;
44
27
  $ac-yellow: #f7ad2a;
45
28
  $ac-green: #27b064;
@@ -47,9 +30,19 @@ $ac-blue: #0aafff;
47
30
  $ac-purple: #791e94;
48
31
  $ac-red: #ea3d2f;
49
32
 
50
- // Color Border
51
- $ac-border: #a6abbd;
52
- $ac-border-hover: #54657e;
33
+ // Products Color
34
+ $voyager-primary: #2d2a78;
35
+ $guard-primary: #d84e27;
36
+ $kubeci-primary: #2c3e50;
37
+ $kubed-primary: #1c7bd4;
38
+ $kubedb-primary: #4d4dcb;
39
+ $kubesheild-primary: #2516c7;
40
+ $kubevault-primary: #326ce5;
41
+ $pharmer-primary: #326de6;
42
+ $searchlight-primary: #111738;
43
+ $servicebroker-primary: #29b4a2;
44
+ $stash-primary: #5e2dea;
45
+ $swift-primary: #3f51b6;
53
46
 
54
47
  // Colors Primary
55
48
  // root colors
@@ -60,6 +53,26 @@ $ac-border-hover: #54657e;
60
53
  --contrast-threshold: 60%;
61
54
 
62
55
  --bg-color: #ffffff;
56
+ --ac-white: #ffffff;
57
+ --ac-gray-dark: #5f5f5f;
58
+ --ac-gray-light: #8d8d8d;
59
+ --ac-gray-lightest: #d1d1d1;
60
+ --ac-white-light: #e7e7e7;
61
+ --ac-white-lighter: #f1f1f1;
62
+
63
+ --ac-black: #000000;
64
+ --ac-color-text-90: #323232;
65
+ --ac-gray-darker: #494949;
66
+ --ac-gray: #767676;
67
+ --ac-gray-lighter: #a4a4a4;
68
+ // theme color
69
+ --dark-bg: #21272e;
70
+ --dark-bg-light: #2e323c;
71
+
72
+ --ac-input-bg-color: #eceff4;
73
+ --ac-bg-light-gray: #f4f6f9;
74
+ --table-header: #e4e8ef;
75
+ --ac-border: #a6abbd;
63
76
 
64
77
  --font-hsl-hue: 0;
65
78
  --font-hsl-saturation: 0%;
@@ -83,42 +96,208 @@ $ac-border-hover: #54657e;
83
96
  var(--font-hsl-lightness),
84
97
  1
85
98
  );
99
+ --ac-color-value: hsl(
100
+ var(--font-hsl-hue),
101
+ var(--font-hsl-saturation),
102
+ calc(var(--font-hsl-lightness) + 25%)
103
+ );
86
104
  }
105
+
87
106
  $ac-bg: var(--bg-color);
88
107
  $ac-primary: var(--ac-primary);
108
+ $ac-color-value: var(--ac-color-value);
89
109
 
90
- // Colors black
91
- $ac-black: #000000;
92
- $ac-color-text-90: #323232;
93
- $ac-gray-darker: #494949;
94
- $ac-gray-dark: #5f5f5f;
95
- $ac-gray: #767676;
96
- $ac-gray-light: #8d8d8d;
97
- $ac-gray-lighter: #a4a4a4;
98
- $ac-gray-lightest: #d1d1d1;
99
- $ac-white-light: #e7e7e7;
100
- $ac-white-lighter: #f1f1f1;
101
- $ac-white: #ffffff;
102
-
103
- // Color Products
104
- $voyager-primary: #2d2a78;
105
- $guard-primary: #d84e27;
106
- $kubeci-primary: #2c3e50;
107
- $kubed-primary: #1c7bd4;
108
- $kubedb-primary: #4d4dcb;
109
- $kubesheild-primary: #2516c7;
110
- $kubevault-primary: #326ce5;
111
- $pharmer-primary: #326de6;
112
- $searchlight-primary: #111738;
113
- $servicebroker-primary: #29b4a2;
114
- $stash-primary: #5e2dea;
115
- $swift-primary: #3f51b6;
110
+ // Colors
111
+ $ac-black: var(--ac-black);
112
+ $ac-color-text-90: var(ac-color-text-90);
113
+ $ac-gray-darker: var(--ac-gray-darker);
114
+ $ac-gray-dark: var(--ac-gray-dark);
115
+ $ac-gray: var(--ac-gray);
116
+ $ac-gray-light: var(--ac-gray-light);
117
+ $ac-gray-lighter: var(--ac-gray-lighter);
118
+ $ac-gray-lightest: var(--ac-gray-lightest);
119
+ $ac-white-light: var(--ac-white-light);
120
+ $ac-white-lighter: var(--ac-white-lighter);
121
+ $ac-white: var(--ac-white);
122
+
123
+ $ac-input-bg-color: var(--ac-input-bg-color);
124
+ $ac-bg-light-gray: var(--ac-bg-light-gray);
125
+ $table-header: var(--table-header);
126
+ $ac-border: var(--ac-border);
127
+
128
+ // for dark theme CSS
129
+ $dark-bg: var(--dark-bg);
130
+ $dark-bg-light: var(--dark-bg-light);
131
+
132
+ .is-dark-theme {
133
+ --ac-white: #21272e;
134
+ --ac-black: #b4c0cc;
135
+ --ac-text-heading: #b4c0cc;
136
+ --ac-text: #98a6b4;
137
+ --ac-gray-light: #424242;
138
+ --ac-gray-lightest: #777777;
139
+ --ac-white-light: #3f3f3f;
140
+ --ac-white-lighter: #2e323c;
141
+ --ac-color-value: hsl(
142
+ var(--font-hsl-hue),
143
+ var(--font-hsl-saturation),
144
+ calc(var(--font-hsl-lightness) + 60%)
145
+ );
146
+ }
147
+
148
+ .is-dark-theme {
149
+ --ac-border: #404040;
150
+
151
+ body {
152
+ background-color: $dark-bg;
153
+
154
+ .ac-navbar-area {
155
+ background-color: $dark-bg-light;
156
+ --ac-white: #ffffff;
157
+ --ac-white-lighter: #f1f1f1;
158
+
159
+ .ac-navbar {
160
+ .search-item {
161
+ background-color: rgba(0, 0, 0, 0.2);
162
+ }
163
+
164
+ .ac-navbar-menu {
165
+ .ac-menu-item {
166
+ .quick-access {
167
+ --ac-white: $dark-bg-light;
168
+ }
169
+
170
+ .ac-menu-content {
171
+ background-color: $dark-bg-light;
172
+
173
+ &::after {
174
+ --ac-white: $dark-bg-light;
175
+ }
176
+
177
+ .user-profile-wrapper {
178
+ --ac-white: $dark-bg-light;
179
+ }
180
+ }
181
+ }
182
+ }
183
+ }
184
+ }
185
+
186
+ .ac-options {
187
+ .options-items {
188
+ --ac-white: $dark-bg-light;
189
+ }
190
+ }
191
+
192
+ h6.wizard-title.has-line:after {
193
+ --ac-input-bg-color: #555;
194
+ }
195
+
196
+ .ac-payment-card,
197
+ .ac-single-card,
198
+ .button.ac-button,
199
+ .option-dots {
200
+ --ac-white: #b4c0cc;
201
+ }
202
+
203
+ .tabs {
204
+ a {
205
+ border-bottom: 1px solid $ac-white-lighter;
206
+ }
207
+ }
208
+
209
+ .nested-body {
210
+ code {
211
+ background-color: $dark-bg-light;
212
+ }
213
+ }
214
+
215
+ .ac-single-input {
216
+ input,
217
+ .file-input,
218
+ .ac-dropdown-content {
219
+ background-color: transparent;
220
+ }
221
+
222
+ label {
223
+ color: #999999;
224
+ }
225
+ }
226
+
227
+ .ac-single-card {
228
+ background-color: $dark-bg-light;
229
+
230
+ &.style-three {
231
+ background-color: $dark-bg-light;
232
+ }
233
+
234
+ .ac-card-body {
235
+ p {
236
+ color: #999999;
237
+ }
238
+ }
239
+ }
240
+
241
+ .information-center {
242
+ .information-center-inner {
243
+ .info-body {
244
+ .block-list {
245
+ background-color: $dark-bg-light;
246
+ }
247
+ }
248
+ }
249
+ }
250
+
251
+ .single-subscription-card {
252
+ background-color: $dark-bg-light;
253
+ }
254
+
255
+ .pricing-card-wrpper {
256
+ &.offer-card {
257
+ background-color: $dark-bg-light;
258
+ }
259
+
260
+ .ac-card {
261
+ background-color: $dark-bg-light;
262
+ }
263
+ }
264
+
265
+ .ac-certificate-info {
266
+ --ac-bg-light-gray: $dark-bg-light;
267
+ }
268
+
269
+ // multiselect
270
+ .multi-select-wrapper {
271
+ // .multiselect .multiselect__tags {
272
+ // --ac-border: #404040;
273
+ // }
274
+ .multiselect__content-wrapper {
275
+ background-color: $dark-bg-light;
276
+
277
+ .multiselect__content .multiselect__element .multiselect__option {
278
+ color: #b4c0cc;
279
+ }
280
+
281
+ .multiselect__option--group {
282
+ color: #b4c0cc;
283
+ background-color: $dark-bg-light;
284
+ }
285
+
286
+ .multiselect__option--selected {
287
+ color: #b4c0cc;
288
+ background-color: $dark-bg-light;
289
+ }
290
+ }
291
+ }
292
+ }
293
+ }
116
294
 
117
295
  /* Deafult Margin & Padding view-height & view-width */
118
296
  @for $i from 0 through 100 {
119
297
  .m-#{$i} {
120
298
  margin: #{$i}px !important;
121
299
  }
300
+
122
301
  .mt-#{$i} {
123
302
  margin-top: #{$i}px !important;
124
303
  }
@@ -134,9 +313,11 @@ $swift-primary: #3f51b6;
134
313
  .mr-#{$i} {
135
314
  margin-right: #{$i}px !important;
136
315
  }
316
+
137
317
  .p-#{$i} {
138
318
  padding: #{$i}px !important;
139
319
  }
320
+
140
321
  .pt-#{$i} {
141
322
  padding-top: #{$i}px !important;
142
323
  }
@@ -15,11 +15,14 @@
15
15
  1
16
16
  );
17
17
  }
18
+
18
19
  // box-shadow: 0px 6px 12px scale-color($color: $colorName, $lightness: 70%);
19
20
  }
21
+
20
22
  &:focus-visible {
21
23
  outline: none;
22
24
  }
25
+
23
26
  &.is-light {
24
27
  @if (type_of($colorName) == "color") {
25
28
  background-color: scale-color($colorName, $lightness: 90%);
@@ -31,7 +34,9 @@
31
34
  0.1
32
35
  );
33
36
  }
37
+
34
38
  color: $colorName;
39
+
35
40
  &.is-border {
36
41
  border: 1px solid $colorName;
37
42
  }
@@ -72,6 +77,7 @@
72
77
  0.2
73
78
  );
74
79
  }
80
+
75
81
  color: $colorName;
76
82
 
77
83
  &:hover {
@@ -94,6 +100,7 @@
94
100
  0.3
95
101
  );
96
102
  }
103
+
97
104
  img {
98
105
  filter: brightness(100) !important;
99
106
  }
@@ -123,7 +130,7 @@
123
130
  color: $ac-white;
124
131
 
125
132
  &:hover {
126
- background: $ac-white;
133
+ background-color: $ac-white;
127
134
  color: $colorName;
128
135
  }
129
136
  }
@@ -154,6 +161,7 @@
154
161
  z-index: 1;
155
162
  overflow: hidden;
156
163
  border: 1px solid $colorName;
164
+
157
165
  @if (type_of($colorName) == "color") {
158
166
  background-color: scale-color($colorName, $lightness: 80%);
159
167
  } @else {
@@ -211,6 +219,7 @@
211
219
  0.15
212
220
  );
213
221
  }
222
+
214
223
  border-color: $colorName;
215
224
  color: $colorName;
216
225
  }
@@ -2,7 +2,8 @@ body,
2
2
  html {
3
3
  background-color: $ac-bg;
4
4
  font-family: $ac-family-paragraph;
5
- font-weight: $ac-weight-normal;
5
+ font-weight: 400;
6
+ font-size: 83%;
6
7
  }
7
8
 
8
9
  h1,
@@ -12,7 +13,7 @@ h4,
12
13
  h5,
13
14
  h6 {
14
15
  font-family: $ac-family-heading;
15
- font-weight: $ac-weight-medium;
16
+ font-weight: 500;
16
17
  color: $ac-color-heading;
17
18
  }
18
19
 
@@ -51,22 +52,27 @@ h6 {
51
52
  font-size: $font-size-tiny;
52
53
  line-height: $font-size-tiny + 10;
53
54
  }
55
+
54
56
  &.is-extra-small {
55
57
  font-size: $font-size-extra-small;
56
58
  line-height: $font-size-extra-small + 10;
57
59
  }
60
+
58
61
  &.is-small {
59
62
  font-size: $font-size-small;
60
63
  line-height: $font-size-small + 10;
61
64
  }
65
+
62
66
  &.is-normal {
63
67
  font-size: $font-size-normal;
64
68
  line-height: $font-size-normal + 10;
65
69
  }
70
+
66
71
  &.is-semi-normal {
67
72
  font-size: $font-size-semi-normal;
68
73
  line-height: $font-size-semi-normal + 10;
69
74
  }
75
+
70
76
  &.is-medium {
71
77
  font-size: $font-size-medium;
72
78
  line-height: $font-size-medium + 10;
@@ -87,9 +93,9 @@ hr {
87
93
  }
88
94
 
89
95
  .is-font-medium {
90
- font-weight: $ac-weight-medium;
96
+ font-weight: 500;
91
97
  }
92
98
 
93
99
  .is-font-bold {
94
- font-weight: $ac-weight-bold;
100
+ font-weight: 700;
95
101
  }
@@ -37,6 +37,7 @@
37
37
  align-items: center;
38
38
  justify-content: space-between;
39
39
  margin-bottom: 10px;
40
+
40
41
  h3 {
41
42
  cursor: pointer;
42
43
  }
@@ -1,6 +1,6 @@
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;
@@ -52,7 +52,7 @@
52
52
 
53
53
  // mixin for .ac-notification
54
54
  @mixin acNotification($colorName) {
55
- background: scale-color($color: $colorName, $lightness: 80%);
55
+ background-color: scale-color($color: $colorName, $lightness: 80%);
56
56
  color: $ac-white;
57
57
  border-color: $colorName;
58
58
 
@@ -70,7 +70,7 @@
70
70
  }
71
71
  }
72
72
  @mixin acPrimaryNotification() {
73
- background: hsla(
73
+ background-color: hsla(
74
74
  var(--hsl-hue),
75
75
  var(--hsl-saturation),
76
76
  var(--hsl-lightness),
@@ -151,7 +151,7 @@ AC Toast
151
151
  padding: 0 15px;
152
152
 
153
153
  &:hover {
154
- color: #f1f1f1;
154
+ color: $ac-white-lighter;
155
155
  }
156
156
  }
157
157
 
@@ -175,7 +175,7 @@ AC Toast
175
175
 
176
176
  // mixin for .ac-toast
177
177
  @mixin acToast($colorName) {
178
- background: $colorName;
178
+ background-color: $colorName;
179
179
  color: $ac-white;
180
180
  border-color: $colorName;
181
181
  }