@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.
- package/base/utilities/_initial-variables.scss +1 -1
- package/base/utilities/dark-theme.scss +1 -0
- package/components/_ac-card.scss +2 -2
- package/components/_ac-input.scss +11 -11
- package/components/_ac-table.scss +1 -1
- package/components/_buttons.scss +2 -6
- package/components/_image-upload.scss +2 -0
- package/components/_left-sidebar-menu.scss +8 -56
- package/components/_navbar.scss +38 -5
- package/components/_pricing-table.scss +1 -1
- package/package.json +1 -1
- package/vue-components/v2/navbar/ThemeMode.vue +17 -8
package/components/_ac-card.scss
CHANGED
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
// offer card scss start
|
|
245
245
|
.pricing-card-wrpper {
|
|
246
246
|
&.offer-card {
|
|
247
|
-
background-color:
|
|
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:
|
|
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-
|
|
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:
|
|
383
|
+
border: 1px solid $ac-label-text;
|
|
383
384
|
background-color: transparent;
|
|
384
|
-
padding
|
|
385
|
-
|
|
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:
|
|
393
|
+
border: 1px solid $ac-primary;
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
396
|
}
|
package/components/_buttons.scss
CHANGED
|
@@ -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;
|
package/components/_navbar.scss
CHANGED
|
@@ -131,8 +131,35 @@
|
|
|
131
131
|
.ac-menu-content {
|
|
132
132
|
opacity: 1;
|
|
133
133
|
visibility: visible;
|
|
134
|
-
top:
|
|
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
|
|
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
|
-
|
|
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 {
|
package/package.json
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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>
|