@appscode/design-system 1.0.43-alpha.212 → 1.0.43-alpha.214
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/_default.scss +0 -81
- package/components/_ac-table.scss +8 -0
- package/components/_ac-tags.scss +82 -0
- package/components/_all.scss +2 -1
- package/package.json +1 -1
- package/vue-components/v3/content/ContentHeader.vue +2 -1
- package/vue-components/v3/content/ContentTable.vue +3 -0
- package/vue-components/v3/table/TableRow.vue +1 -1
|
@@ -521,87 +521,6 @@ button {
|
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
.tag:not(body) {
|
|
525
|
-
background-color: $ac-white-light;
|
|
526
|
-
font-size: 11px;
|
|
527
|
-
height: 18px;
|
|
528
|
-
line-height: 1;
|
|
529
|
-
letter-spacing: 0.1px;
|
|
530
|
-
color: $ac-color-heading;
|
|
531
|
-
&.is-outlined {
|
|
532
|
-
border: 1px solid;
|
|
533
|
-
background-color: transparent;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
a {
|
|
537
|
-
&:hover {
|
|
538
|
-
color: $ac-color-text;
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
&.is-available {
|
|
543
|
-
background-color: #27b064;
|
|
544
|
-
color: $ac-white;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
&.is-success {
|
|
548
|
-
background-color: $ac-green;
|
|
549
|
-
color: $ac-white;
|
|
550
|
-
|
|
551
|
-
&.is-light {
|
|
552
|
-
background-color: rgba(39, 176, 100, 0.2);
|
|
553
|
-
color: $ac-green;
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
&.is-primary {
|
|
558
|
-
background-color: $ac-primary;
|
|
559
|
-
color: $ac-white;
|
|
560
|
-
|
|
561
|
-
&.is-light {
|
|
562
|
-
background-color: rgba(25, 113, 189, 0.2);
|
|
563
|
-
color: $ac-primary;
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
&.is-gray {
|
|
568
|
-
background-color: #e5e9f2;
|
|
569
|
-
color: $ac-gray-darker;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
&.is-warning {
|
|
573
|
-
background-color: $ac-warning;
|
|
574
|
-
color: $ac-white;
|
|
575
|
-
|
|
576
|
-
&.is-light {
|
|
577
|
-
background-color: #ffd58b42;
|
|
578
|
-
color: #c88b21;
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
&.is-danger {
|
|
583
|
-
background-color: $ac-red;
|
|
584
|
-
color: $ac-white !important;
|
|
585
|
-
|
|
586
|
-
&.is-light {
|
|
587
|
-
background-color: rgba(234, 61, 47, 0.2);
|
|
588
|
-
color: $ac-red !important;
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
.tags {
|
|
594
|
-
.icon {
|
|
595
|
-
margin-bottom: 0.5rem;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
.tag {
|
|
599
|
-
a {
|
|
600
|
-
font-weight: 500;
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
|
|
605
524
|
// line title global start
|
|
606
525
|
.ac-line-title {
|
|
607
526
|
position: relative;
|
|
@@ -418,6 +418,14 @@
|
|
|
418
418
|
color: $ac-primary;
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
+
// table inner shadow
|
|
422
|
+
.table-inner-shadow {
|
|
423
|
+
border-radius: 0px;
|
|
424
|
+
background: $ac-white-lighter;
|
|
425
|
+
box-shadow: inset 5px 5px 10px #e3e6e9,
|
|
426
|
+
inset -5px -5px 10px #ffffff;
|
|
427
|
+
}
|
|
428
|
+
|
|
421
429
|
// GENERAL TABLE END
|
|
422
430
|
|
|
423
431
|
/****************************************
|
package/components/_ac-tags.scss
CHANGED
|
@@ -1,3 +1,85 @@
|
|
|
1
|
+
.tag:not(body) {
|
|
2
|
+
background-color: $ac-white-light;
|
|
3
|
+
font-size: 10px;
|
|
4
|
+
height: 18px;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
line-height: 1;
|
|
7
|
+
letter-spacing: 0px;
|
|
8
|
+
color: $ac-color-heading;
|
|
9
|
+
&.is-outlined {
|
|
10
|
+
border: 1px solid;
|
|
11
|
+
background-color: transparent;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
a {
|
|
15
|
+
&:hover {
|
|
16
|
+
color: $ac-color-text;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.is-available {
|
|
21
|
+
background-color: #27b064;
|
|
22
|
+
color: $ac-white;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.is-success {
|
|
26
|
+
background-color: $ac-green;
|
|
27
|
+
color: $ac-white;
|
|
28
|
+
|
|
29
|
+
&.is-light {
|
|
30
|
+
background-color: rgba(39, 176, 100, 0.2);
|
|
31
|
+
color: $ac-green;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.is-primary {
|
|
36
|
+
background-color: $ac-primary;
|
|
37
|
+
color: $ac-white;
|
|
38
|
+
|
|
39
|
+
&.is-light {
|
|
40
|
+
background-color: rgba(25, 113, 189, 0.2);
|
|
41
|
+
color: $ac-primary;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.is-gray {
|
|
46
|
+
background-color: #e5e9f2;
|
|
47
|
+
color: $ac-gray-darker;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.is-warning {
|
|
51
|
+
background-color: $ac-warning;
|
|
52
|
+
color: $ac-white;
|
|
53
|
+
|
|
54
|
+
&.is-light {
|
|
55
|
+
background-color: #ffd58b42;
|
|
56
|
+
color: #c88b21;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.is-danger {
|
|
61
|
+
background-color: $ac-red;
|
|
62
|
+
color: $ac-white !important;
|
|
63
|
+
|
|
64
|
+
&.is-light {
|
|
65
|
+
background-color: rgba(234, 61, 47, 0.2);
|
|
66
|
+
color: $ac-red !important;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.tags {
|
|
72
|
+
.icon {
|
|
73
|
+
margin-bottom: 0.5rem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.tag {
|
|
77
|
+
a {
|
|
78
|
+
font-weight: 500;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
1
83
|
.has-tags {
|
|
2
84
|
display: flex;
|
|
3
85
|
align-items: center;
|
package/components/_all.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@import "ac-alert-box";
|
|
2
2
|
@import "ac-accordion";
|
|
3
3
|
@import "buttons";
|
|
4
|
-
@import "ac-card";
|
|
5
4
|
@import "breadcumb";
|
|
5
|
+
@import "ac-card";
|
|
6
6
|
@import "ac-multi-select";
|
|
7
7
|
@import "ac-code-highlight";
|
|
8
8
|
@import "navbar";
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
@import "image-upload";
|
|
21
21
|
@import "ac-alert-box";
|
|
22
22
|
@import "dashboard-header";
|
|
23
|
+
@import "ac-tags";
|
|
23
24
|
@import "go-to-top";
|
|
24
25
|
@import "ac-toaster/ac-toasted";
|
|
25
26
|
@import "preview-modal";
|
package/package.json
CHANGED
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
<div class="ac-cheader-left">
|
|
5
5
|
<!-- title -->
|
|
6
6
|
<div class="ac-content-title">
|
|
7
|
-
<h6>
|
|
7
|
+
<h6 class="is-flex">
|
|
8
8
|
<slot name="header-icon" />
|
|
9
9
|
{{ headerTitle }}
|
|
10
|
+
<slot name="title-right-actions" />
|
|
10
11
|
</h6>
|
|
11
12
|
<p v-if="headerSubTitle">{{ headerSubTitle }}</p>
|
|
12
13
|
</div>
|
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
:header-sub-title="tableSubTitle"
|
|
8
8
|
:class="{ 'pl-0 pr-0': removeTableHeaderPadding }"
|
|
9
9
|
>
|
|
10
|
+
<template #title-right-actions>
|
|
11
|
+
<slot name="title-right-actions" />
|
|
12
|
+
</template>
|
|
10
13
|
<slot name="content-left-controls" />
|
|
11
14
|
<header-item>
|
|
12
15
|
<search-bar v-if="searchable" @search="updateSearchText" />
|