@appscode/design-system 1.0.43-alpha.76 → 1.0.43-alpha.77
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.
|
@@ -735,6 +735,147 @@ $border_color_4: transparent transparent #585d6e transparent;
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
|
+
// tooltip in vue-open-api
|
|
739
|
+
.tooltip {
|
|
740
|
+
display: block !important;
|
|
741
|
+
z-index: 10000;
|
|
742
|
+
|
|
743
|
+
&.is-button-info {
|
|
744
|
+
.tooltip-inner {
|
|
745
|
+
background: $ac-white;
|
|
746
|
+
color: $ac-primary;
|
|
747
|
+
border-radius: 4px;
|
|
748
|
+
padding: 5px 20px 4px;
|
|
749
|
+
box-shadow: $ac-shadow-1;
|
|
750
|
+
font-weight: 500;
|
|
751
|
+
font-size: 13px;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.tooltip-arrow {
|
|
755
|
+
width: 0;
|
|
756
|
+
height: 0;
|
|
757
|
+
border-style: solid;
|
|
758
|
+
position: absolute;
|
|
759
|
+
margin: 5px;
|
|
760
|
+
border-color: $ac-white;
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
&.is-errors-tooltip {
|
|
765
|
+
.tooltip-inner {
|
|
766
|
+
background: $ac-white;
|
|
767
|
+
color: $ac-danger;
|
|
768
|
+
border-radius: 4px;
|
|
769
|
+
padding: 5px 20px 4px;
|
|
770
|
+
box-shadow: $ac-shadow-1;
|
|
771
|
+
font-weight: 500;
|
|
772
|
+
font-size: 13px;
|
|
773
|
+
|
|
774
|
+
.errors-wrapper {
|
|
775
|
+
.error-element {
|
|
776
|
+
padding: 5px 0;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
.tooltip-arrow {
|
|
782
|
+
width: 0;
|
|
783
|
+
height: 0;
|
|
784
|
+
border-style: solid;
|
|
785
|
+
position: absolute;
|
|
786
|
+
margin: 5px;
|
|
787
|
+
border-color: $ac-white;
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
&[x-placement^="top"] {
|
|
792
|
+
margin-bottom: 5px;
|
|
793
|
+
|
|
794
|
+
.tooltip-arrow {
|
|
795
|
+
border-width: 5px 5px 0 5px;
|
|
796
|
+
border-left-color: transparent !important;
|
|
797
|
+
border-right-color: transparent !important;
|
|
798
|
+
border-bottom-color: transparent !important;
|
|
799
|
+
bottom: -5px;
|
|
800
|
+
left: calc(50% - 5px);
|
|
801
|
+
margin-top: 0;
|
|
802
|
+
margin-bottom: 0;
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
&[x-placement^="bottom"] {
|
|
807
|
+
margin-top: 5px;
|
|
808
|
+
|
|
809
|
+
.tooltip-arrow {
|
|
810
|
+
border-width: 0 5px 5px 5px;
|
|
811
|
+
border-left-color: transparent !important;
|
|
812
|
+
border-right-color: transparent !important;
|
|
813
|
+
border-top-color: transparent !important;
|
|
814
|
+
top: -5px;
|
|
815
|
+
left: calc(50% - 5px);
|
|
816
|
+
margin-top: 0;
|
|
817
|
+
margin-bottom: 0;
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
&[x-placement^="right"] {
|
|
822
|
+
margin-left: 5px;
|
|
823
|
+
|
|
824
|
+
.tooltip-arrow {
|
|
825
|
+
border-width: 5px 5px 5px 0;
|
|
826
|
+
border-left-color: transparent !important;
|
|
827
|
+
border-top-color: transparent !important;
|
|
828
|
+
border-bottom-color: transparent !important;
|
|
829
|
+
left: -5px;
|
|
830
|
+
top: calc(50% - 5px);
|
|
831
|
+
margin-left: 0;
|
|
832
|
+
margin-right: 0;
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
&[x-placement^="left"] {
|
|
837
|
+
margin-right: 5px;
|
|
838
|
+
|
|
839
|
+
.tooltip-arrow {
|
|
840
|
+
border-width: 5px 0 5px 5px;
|
|
841
|
+
border-top-color: transparent !important;
|
|
842
|
+
border-right-color: transparent !important;
|
|
843
|
+
border-bottom-color: transparent !important;
|
|
844
|
+
right: -5px;
|
|
845
|
+
top: calc(50% - 5px);
|
|
846
|
+
margin-left: 0;
|
|
847
|
+
margin-right: 0;
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
&.popover {
|
|
852
|
+
$color: #f9f9f9;
|
|
853
|
+
|
|
854
|
+
.popover-inner {
|
|
855
|
+
background: $color;
|
|
856
|
+
color: black;
|
|
857
|
+
padding: 24px;
|
|
858
|
+
border-radius: 4px;
|
|
859
|
+
box-shadow: $ac-shadow-1;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
.popover-arrow {
|
|
863
|
+
border-color: $color;
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
&[aria-hidden="true"] {
|
|
868
|
+
visibility: hidden;
|
|
869
|
+
opacity: 0;
|
|
870
|
+
transition: opacity 0.15s, visibility 0.15s;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
&[aria-hidden="false"] {
|
|
874
|
+
visibility: visible;
|
|
875
|
+
opacity: 1;
|
|
876
|
+
transition: opacity 0.15s;
|
|
877
|
+
}
|
|
878
|
+
}
|
|
738
879
|
|
|
739
880
|
// Customize tooltip end
|
|
740
881
|
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
.vue-schema-form-array {
|
|
2
|
+
.nested-body {
|
|
3
|
+
// margin-bottom: 15px;
|
|
4
|
+
display: flex;
|
|
5
|
+
|
|
6
|
+
.form-left-item {
|
|
7
|
+
margin-right: 10px;
|
|
8
|
+
width: calc(100% - 92px);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.nested-header {
|
|
14
|
+
.tabs.ac-tabs {
|
|
15
|
+
margin-bottom: 0;
|
|
16
|
+
opacity: 0;
|
|
17
|
+
visibility: hidden;
|
|
18
|
+
transition: 0.3s ease-in-out;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
.tabs.ac-tabs {
|
|
23
|
+
opacity: 1;
|
|
24
|
+
visibility: visible;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.vue-openapi-form {
|
|
30
|
+
.ac-nested-elements {
|
|
31
|
+
&:first-child {
|
|
32
|
+
margin-left: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.nested-body {
|
|
36
|
+
padding-left: 0px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.nested-header {
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ac-single-switch {
|
|
45
|
+
margin-left: -15px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ac-single-input {
|
|
49
|
+
margin-left: 25px;
|
|
50
|
+
|
|
51
|
+
&:last-child {
|
|
52
|
+
margin-bottom: 15px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.vue-form-scema-body {
|
|
58
|
+
.left-content {
|
|
59
|
+
width: 650px;
|
|
60
|
+
background-color: $ac-white-lighter;
|
|
61
|
+
padding: 30px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.right-content {
|
|
65
|
+
width: 100%;
|
|
66
|
+
margin-top: 30px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.vue-openapi-form .is-warning {
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
color: #ea3d2f;
|
|
73
|
+
font-family: Roboto, sans-serif;
|
|
74
|
+
padding-left: 10px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.v-tooltip-open {
|
|
78
|
+
background-color: $ac-white;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.ac-nested-elements::after {
|
|
82
|
+
top: 25px;
|
|
83
|
+
width: 1px;
|
|
84
|
+
height: calc(100% - 50px);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.ac-nested-elements::before {
|
|
88
|
+
bottom: 12px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.is-collapsed {
|
|
92
|
+
&.ac-nested-elements::before,
|
|
93
|
+
&.ac-nested-elements::after {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// for vue-tooltip
|