@appscode/design-system 1.0.43-alpha.49 → 1.0.43-alpha.52

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.
@@ -26,7 +26,7 @@ $ac-yellow: #f7ad2a;
26
26
  $ac-green: #158748;
27
27
  $ac-blue: #0aafff;
28
28
  $ac-purple: #791e94;
29
- $ac-red: #cd3328;
29
+ $ac-red: #ff3729;
30
30
 
31
31
  // Products Color
32
32
  $voyager-primary: #2d2a78;
@@ -7,6 +7,7 @@ $dark-bg-light: var(--dark-bg-light);
7
7
  --ac-black: var(--ac-white-text);
8
8
  --ac-text-heading: var(--ac-white-text);
9
9
  --ac-text: #98a6b4;
10
+ --ac-gray-darker: #a6a6a6;
10
11
  --ac-gray-light: #424242;
11
12
  --ac-gray-lightest: #777777;
12
13
  --ac-white-light: #3f3f3f;
@@ -244,7 +244,7 @@
244
244
  // offer card scss start
245
245
  .pricing-card-wrpper {
246
246
  &.offer-card {
247
- background-color: #fafafa;
247
+ background-color: $ac-white-lighter;
248
248
  border: 1px solid $ac-white-light;
249
249
  border-radius: 4px;
250
250
  display: flex;
@@ -415,7 +415,7 @@
415
415
  }
416
416
 
417
417
  &.style-three {
418
- background-color: #fafafa;
418
+ background-color: $ac-white-lighter;
419
419
  width: 183px;
420
420
  padding: 15px 15px 20px;
421
421
  height: 115px;
@@ -126,6 +126,7 @@
126
126
  color: $ac-color-value;
127
127
  top: -9px;
128
128
  font-weight: 500;
129
+ background-color: $ac-white;
129
130
  }
130
131
  }
131
132
 
@@ -285,7 +286,7 @@
285
286
  left: 10px;
286
287
  padding: 0 5px;
287
288
  font-size: $font-size-small;
288
- color: $ac-black;
289
+ color: $ac-color-value;
289
290
 
290
291
  &:after {
291
292
  position: absolute;
@@ -372,25 +373,24 @@
372
373
  }
373
374
 
374
375
  .ac-textarea {
375
- border: 1px solid $ac-label-text;
376
- border-radius: 4px;
377
- padding: 10px 0 5px 0;
378
- // background-color: $ac-input-bg-color;
379
- transition: background-color 0.3s ease-in-out;
376
+ // border: 1px solid $ac-label-text;
377
+ // border-radius: 4px;
378
+ // padding: 10px 0 5px 0;
379
+ // // background-color: $ac-input-bg-color;
380
+ // transition: background-color 0.3s ease-in-out;
380
381
 
381
382
  textarea {
382
- border: none;
383
+ border: 1px solid $ac-label-text;
383
384
  background-color: transparent;
384
- padding-top: 0;
385
- padding-bottom: 0;
386
-
385
+ padding: 10px 15px;
386
+ min-height: 50px;
387
387
  &.bg-white {
388
388
  background-color: transparent;
389
389
  }
390
390
 
391
391
  &:focus {
392
392
  outline: none;
393
- border: none;
393
+ border: 1px solid $ac-primary;
394
394
  }
395
395
  }
396
396
  }
@@ -326,7 +326,7 @@
326
326
  }
327
327
 
328
328
  &:checked + label::after {
329
- border-color: #fafafa;
329
+ border-color: $ac-white-lighter;
330
330
  }
331
331
  }
332
332
  }
@@ -610,12 +610,8 @@
610
610
  }
611
611
  .button.ac-button {
612
612
  --ac-white: #ffffff;
613
- }
614
- .button {
615
- &.ac-button {
616
- &.is-white {
617
- background-color: $dark-bg-light;
618
- }
613
+ &.is-white {
614
+ --ac-white: #2e323c;
619
615
  }
620
616
  }
621
617
  }
@@ -22,10 +22,12 @@
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
 
@@ -223,6 +223,9 @@
223
223
  background-color: transparent;
224
224
 
225
225
  span {
226
+ i.fa {
227
+ color: $ac-primary;
228
+ }
226
229
  img {
227
230
  filter: grayscale(0);
228
231
  }
@@ -295,62 +298,6 @@
295
298
  }
296
299
  }
297
300
  }
298
-
299
- &.is-dark-sidebar {
300
- background-color: $ac-color-heading;
301
-
302
- .ac-lef-sidebar-inner {
303
- .ac-product-logo {
304
- .ac-product-version {
305
- color: $ac-primary;
306
- }
307
- }
308
-
309
- .menu-list {
310
- &.ac-menu-list {
311
- height: calc(100vh - 130px);
312
- overflow-y: auto;
313
- padding-top: 8px;
314
-
315
- li {
316
- a {
317
- color: $ac-white !important;
318
- background-color: $ac-color-heading;
319
-
320
- &:hover {
321
- color: $ac-white !important;
322
-
323
- span {
324
- color: $ac-black;
325
- }
326
- }
327
-
328
- &:after {
329
- background-color: $ac-color-text;
330
- }
331
- }
332
-
333
- &.is-active {
334
- color: $ac-primary !important;
335
-
336
- &:after,
337
- &::before {
338
- background: linear-gradient(
339
- 89.41deg,
340
- rgba(25, 113, 189, 0.2) 0.06%,
341
- rgba(25, 113, 189, 0) 138.7%
342
- );
343
-
344
- &::before {
345
- background-color: $ac-primary;
346
- }
347
- }
348
- }
349
- }
350
- }
351
- }
352
- }
353
- }
354
301
  }
355
302
 
356
303
  // widget menu end
@@ -496,6 +443,11 @@
496
443
  &.is-active {
497
444
  font-weight: 500;
498
445
  color: $ac-full-white !important;
446
+ span {
447
+ i.fa {
448
+ color: $ac-primary;
449
+ }
450
+ }
499
451
 
500
452
  &:after {
501
453
  background: var(--dark-bg-light) !important;
@@ -131,8 +131,35 @@
131
131
  .ac-menu-content {
132
132
  opacity: 1;
133
133
  visibility: visible;
134
- top: 45px;
134
+ top: 40px;
135
+ &.theme-choice {
136
+ transition: none;
137
+ padding: 10px 10px;
138
+ min-width: 150px !important;
139
+ max-height: 150px;
140
+ overflow-y: auto;
141
+ border-radius: 4px;
142
+ left: 0;
143
+ background-color: $ac-white;
144
+ ul {
145
+ li {
146
+ width: 40px;
147
+ height: 40px;
148
+ line-height: 42px;
149
+ border-radius: 4px;
150
+ text-align: center;
151
+ cursor: pointer;
135
152
 
153
+ &.is-active {
154
+ color: $ac-white;
155
+ background: $ac-primary;
156
+ }
157
+ }
158
+ }
159
+ // &::after {
160
+ // right: 90px;
161
+ // }
162
+ }
136
163
  &::after {
137
164
  position: absolute;
138
165
  content: "";
@@ -216,7 +243,10 @@
216
243
  min-width: 180px;
217
244
  opacity: 0;
218
245
  visibility: hidden;
219
- transition: 0.3s ease-in-out;
246
+ transition: 0.3s ease-in;
247
+ &.theme-choice {
248
+ left: 0;
249
+ }
220
250
 
221
251
  .user-profile-wrapper {
222
252
  background-color: $ac-white;
@@ -370,9 +400,9 @@
370
400
  background-color: $ac-gray-light;
371
401
  }
372
402
 
373
- &:last-child {
374
- right: 0;
375
- }
403
+ // &:last-child {
404
+ // right: 0;
405
+ // }
376
406
 
377
407
  &.is-notification {
378
408
  right: 0;
@@ -541,6 +571,9 @@
541
571
  }
542
572
 
543
573
  .ac-menu-content {
574
+ &.theme-choice {
575
+ background-color: var(--dark-bg-light);
576
+ }
544
577
  background-color: var(--dark-bg-light);
545
578
 
546
579
  ul {
@@ -1,6 +1,6 @@
1
1
  .pricing-table {
2
2
  border: 1px solid $ac-white-light;
3
- background-color: #fafafa;
3
+ background-color: $ac-white-lighter;
4
4
  border-radius: 4px;
5
5
 
6
6
  .pricing-title {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "1.0.43-alpha.49",
3
+ "version": "1.0.43-alpha.52",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -1,12 +1,21 @@
1
1
  <template>
2
- <div
3
- v-if="themeMode"
4
- class="ac-menu-item app-drawer-wrapper is-flex is-justify-content-center is-align-items-center"
5
- style="color: #ffffff; font-size: 15px;"
6
- @click="toggleTheme"
7
- :title="themeModeIconTooltip"
8
- >
9
- <i :class="`fa ${themeModeIconClass}`" />
2
+ <div>
3
+ <button
4
+ v-if="themeMode"
5
+ class="button ac-nav-button"
6
+ style="color: #ffffff; font-size: 15px;"
7
+ @click="toggleTheme"
8
+ :title="themeModeIconTooltip"
9
+ >
10
+ <i :class="`fa ${themeModeIconClass}`" />
11
+ </button>
12
+ <div class="ac-menu-content theme-choice">
13
+ <ul class="is-flex is-flex-direction-row is-justify-content-space-around">
14
+ <li class="is-active"><i class="fa fa-moon-o"></i></li>
15
+ <li><i class="fa fa-desktop"></i></li>
16
+ <li><i class="fa fa-sun-o"></i></li>
17
+ </ul>
18
+ </div>
10
19
  </div>
11
20
  </template>
12
21
  <script>