@appscode/design-system 1.0.3-alpha.9 → 1.0.43-alpha.14
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 +11 -4
- package/base/utilities/_derived-variables.scss +2 -2
- package/base/utilities/_initial-variables.scss +35 -22
- package/base/utilities/_mixin.scss +96 -9
- package/components/_ac-alert-box.scss +30 -2
- package/components/_ac-input.scss +70 -3
- package/components/_ac-multi-select.scss +25 -5
- package/components/_ac-table.scss +52 -17
- package/components/_ac-tags.scss +1 -1
- package/components/_breadcumb.scss +2 -2
- package/components/_buttons.scss +26 -6
- package/components/_left-sidebar-menu.scss +8 -2
- package/components/_navbar.scss +1 -1
- package/components/_pagination.scss +36 -6
- package/components/_preloader.scss +1 -1
- package/components/_wizard.scss +1 -1
- package/components/ac-toaster/_ac-toasted.scss +36 -4
- package/components/bbum/_information-center.scss +2 -2
- package/components/bbum/_user-profile.scss +1 -1
- package/components/ui-builder/_ui-builder.scss +2 -2
- package/layouts/_code-preview.scss +1 -0
- package/package.json +1 -1
- package/plugins/theme.js +138 -0
- package/plugins/vue-toaster.js +7 -6
- package/vue-components/v2/card/CardContent.vue +5 -0
- package/vue-components/v2/card/CardHeader.vue +12 -0
- package/vue-components/v2/card/OverviewCard.vue +10 -0
- package/vue-components/v2/card/OverviewCards.vue +5 -0
- package/vue-components/v2/card/PaymentCards.vue +6 -9
- package/vue-components/v2/content/ContentHeader.vue +1 -1
- package/vue-components/v2/header/Header.vue +0 -1
- package/vue-components/v2/modal/Modal.vue +2 -3
- package/vue-components/v2/modals/JsonShowModal.vue +0 -1
- package/vue-components/v2/navbar/Appdrawer.vue +8 -6
- package/vue-components/v2/pagination/Pagination.vue +8 -1
- package/vue-components/v2/sidebar/SidebarItem.vue +1 -1
- package/vue-components/v2/table/InfoTable.vue +13 -3
- package/vue-components/v2/table/Table.vue +75 -5
- package/vue-components/v3/button/Button.vue +73 -0
- package/vue-components/v3/content/ContentHeader.vue +54 -0
- package/vue-components/v3/content/ContentTable.vue +65 -0
- package/vue-components/v3/dropdown/DropdownDivider.vue +3 -0
- package/vue-components/v3/dropdown/DropdownItem.vue +5 -0
- package/vue-components/v3/dropdown/DropdownMenu.vue +111 -0
- package/vue-components/v3/editor/Editor.vue +137 -0
- package/vue-components/v3/form-fields/Input.vue +21 -0
- package/vue-components/v3/header/Header.vue +45 -0
- package/vue-components/v3/modal/Modal.vue +126 -0
- package/vue-components/v3/modals/JsonShowModal.vue +87 -0
- package/vue-components/v3/navbar/Appdrawer.vue +58 -0
- package/vue-components/v3/navbar/User.vue +64 -0
- package/vue-components/v3/pagination/Pagination.vue +159 -0
- package/vue-components/v3/searchbars/SearchBar.vue +47 -0
- package/vue-components/v3/tab/TabItem.vue +17 -0
- package/vue-components/v3/table/FakeTableCell.vue +39 -0
- package/vue-components/v3/table/InfoTable.vue +105 -0
- package/vue-components/v3/table/Table.vue +238 -0
- package/vue-components/v3/table/TableCell.vue +28 -0
- package/vue-components/v3/table/TableRow.vue +60 -0
- package/vue-components/v3/table/table-cell/ArrayCell.vue +111 -0
- package/vue-components/v3/table/table-cell/CellValue.vue +108 -0
- package/vue-components/v3/table/table-cell/ObjectCell.vue +105 -0
- package/vue-components/v3/table/table-cell/ValueWithModal.vue +43 -0
- package/vue-components/v3/tabs/EditorTabs.vue +36 -0
- package/vue-components/v3/tag/Tag.vue +17 -0
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
position: sticky;
|
|
30
30
|
top: 100px;
|
|
31
31
|
background-color: #fff;
|
|
32
|
-
z-index:
|
|
32
|
+
z-index: 997;
|
|
33
33
|
}
|
|
34
34
|
.ac-system-content {
|
|
35
35
|
&.pr-15 {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
.ac-system-left-sidebar.is-expanded {
|
|
44
|
-
z-index:
|
|
44
|
+
z-index: 998;
|
|
45
45
|
}
|
|
46
46
|
&.expanded-sidebar {
|
|
47
47
|
grid-gap: 0px;
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
border-right: 1px solid $ac-white-light;
|
|
97
97
|
box-shadow: none;
|
|
98
98
|
&.is-expanded {
|
|
99
|
-
z-index:
|
|
99
|
+
z-index: 998;
|
|
100
100
|
|
|
101
101
|
.ac-product-logo {
|
|
102
102
|
width: 270px !important;
|
|
@@ -207,6 +207,13 @@
|
|
|
207
207
|
opacity: 0.5;
|
|
208
208
|
cursor: not-allowed;
|
|
209
209
|
}
|
|
210
|
+
.no-data-image {
|
|
211
|
+
img {
|
|
212
|
+
width: 250px;
|
|
213
|
+
height: auto;
|
|
214
|
+
padding: 20px;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
210
217
|
|
|
211
218
|
// for ellipsis
|
|
212
219
|
@for $i from 0 through 10 {
|
|
@@ -679,7 +686,7 @@ $border_color_4: transparent transparent #585d6e transparent;
|
|
|
679
686
|
height: 10px;
|
|
680
687
|
width: 10px;
|
|
681
688
|
border-radius: 50%;
|
|
682
|
-
background: $ac-
|
|
689
|
+
background: $ac-gray-lightest;
|
|
683
690
|
border: 2px solid $ac-white;
|
|
684
691
|
display: inline-flex;
|
|
685
692
|
|
|
@@ -17,8 +17,8 @@ $ac-input-bg-color: #eceff4;
|
|
|
17
17
|
$ac-bg-light-gray: #f4f6f9;
|
|
18
18
|
$table-header: #e4e8ef;
|
|
19
19
|
// Text colors
|
|
20
|
-
$ac-color-text:
|
|
21
|
-
$ac-color-heading:
|
|
20
|
+
$ac-color-text: var(--ac-text);
|
|
21
|
+
$ac-color-heading: var(--ac-text-heading);
|
|
22
22
|
|
|
23
23
|
// Link colors
|
|
24
24
|
$ac-link: $ac-blue;
|
|
@@ -46,33 +46,46 @@ $ac-green: #27b064;
|
|
|
46
46
|
$ac-blue: #0aafff;
|
|
47
47
|
$ac-purple: #791e94;
|
|
48
48
|
$ac-red: #ea3d2f;
|
|
49
|
-
$ac-bg: #fff;
|
|
50
49
|
|
|
51
50
|
// Color Border
|
|
52
51
|
$ac-border: #a6abbd;
|
|
53
52
|
$ac-border-hover: #54657e;
|
|
54
53
|
|
|
55
54
|
// Colors Primary
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
55
|
+
// root colors
|
|
56
|
+
:root {
|
|
57
|
+
--hsl-hue: 208;
|
|
58
|
+
--hsl-saturation: 77%;
|
|
59
|
+
--hsl-lightness: 42%;
|
|
60
|
+
--contrast-threshold: 60%;
|
|
61
|
+
|
|
62
|
+
--bg-color: #ffffff;
|
|
63
|
+
|
|
64
|
+
--font-hsl-hue: 0;
|
|
65
|
+
--font-hsl-saturation: 0%;
|
|
66
|
+
--font-hsl-lightness: 11%;
|
|
67
|
+
|
|
68
|
+
--ac-primary: hsla(
|
|
69
|
+
var(--hsl-hue),
|
|
70
|
+
var(--hsl-saturation),
|
|
71
|
+
var(--hsl-lightness),
|
|
72
|
+
1
|
|
73
|
+
);
|
|
74
|
+
--ac-text: hsla(
|
|
75
|
+
var(--font-hsl-hue),
|
|
76
|
+
calc(var(--font-hsl-saturation) + 10%),
|
|
77
|
+
calc(var(--font-hsl-lightness) + 10%),
|
|
78
|
+
1
|
|
79
|
+
);
|
|
80
|
+
--ac-text-heading: hsla(
|
|
81
|
+
var(--font-hsl-hue),
|
|
82
|
+
var(--font-hsl-saturation),
|
|
83
|
+
var(--font-hsl-lightness),
|
|
84
|
+
1
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
$ac-bg: var(--bg-color);
|
|
88
|
+
$ac-primary: var(--ac-primary);
|
|
76
89
|
|
|
77
90
|
// Colors black
|
|
78
91
|
$ac-black: #000000;
|
|
@@ -82,7 +95,7 @@ $ac-gray-dark: #5f5f5f;
|
|
|
82
95
|
$ac-gray: #767676;
|
|
83
96
|
$ac-gray-light: #8d8d8d;
|
|
84
97
|
$ac-gray-lighter: #a4a4a4;
|
|
85
|
-
$ac-
|
|
98
|
+
$ac-gray-lightest: #d1d1d1;
|
|
86
99
|
$ac-white-light: #e7e7e7;
|
|
87
100
|
$ac-white-lighter: #f1f1f1;
|
|
88
101
|
$ac-white: #ffffff;
|
|
@@ -5,21 +5,48 @@
|
|
|
5
5
|
border: none;
|
|
6
6
|
|
|
7
7
|
&:hover {
|
|
8
|
-
|
|
8
|
+
@if (type_of($colorName) == "color") {
|
|
9
|
+
background-color: darken($colorName, 9);
|
|
10
|
+
} @else {
|
|
11
|
+
background-color: hsla(
|
|
12
|
+
var(--hsl-hue),
|
|
13
|
+
var(--hsl-saturation),
|
|
14
|
+
calc(var(--hsl-lightness) - 9%),
|
|
15
|
+
1
|
|
16
|
+
);
|
|
17
|
+
}
|
|
9
18
|
// box-shadow: 0px 6px 12px scale-color($color: $colorName, $lightness: 70%);
|
|
10
19
|
}
|
|
11
20
|
&:focus-visible {
|
|
12
21
|
outline: none;
|
|
13
22
|
}
|
|
14
23
|
&.is-light {
|
|
15
|
-
|
|
24
|
+
@if (type_of($colorName) == "color") {
|
|
25
|
+
background-color: scale-color($colorName, $lightness: 90%);
|
|
26
|
+
} @else {
|
|
27
|
+
background-color: hsla(
|
|
28
|
+
var(--hsl-hue),
|
|
29
|
+
var(--hsl-saturation),
|
|
30
|
+
var(--hsl-lightness),
|
|
31
|
+
0.1
|
|
32
|
+
);
|
|
33
|
+
}
|
|
16
34
|
color: $colorName;
|
|
17
35
|
&.is-border {
|
|
18
36
|
border: 1px solid $colorName;
|
|
19
37
|
}
|
|
20
38
|
|
|
21
39
|
&:hover {
|
|
22
|
-
|
|
40
|
+
@if (type_of($colorName) == "color") {
|
|
41
|
+
background-color: scale-color($colorName, $lightness: 80%);
|
|
42
|
+
} @else {
|
|
43
|
+
background-color: hsla(
|
|
44
|
+
var(--hsl-hue),
|
|
45
|
+
var(--hsl-saturation),
|
|
46
|
+
var(--hsl-lightness),
|
|
47
|
+
0.2
|
|
48
|
+
);
|
|
49
|
+
}
|
|
23
50
|
}
|
|
24
51
|
}
|
|
25
52
|
|
|
@@ -35,13 +62,38 @@
|
|
|
35
62
|
}
|
|
36
63
|
|
|
37
64
|
&.is-square {
|
|
38
|
-
|
|
65
|
+
@if (type_of($colorName) == "color") {
|
|
66
|
+
background-color: scale-color($colorName, $lightness: 80%);
|
|
67
|
+
} @else {
|
|
68
|
+
background-color: hsla(
|
|
69
|
+
var(--hsl-hue),
|
|
70
|
+
var(--hsl-saturation),
|
|
71
|
+
var(--hsl-lightness),
|
|
72
|
+
0.2
|
|
73
|
+
);
|
|
74
|
+
}
|
|
39
75
|
color: $colorName;
|
|
40
76
|
|
|
41
77
|
&:hover {
|
|
42
78
|
background-color: $colorName;
|
|
43
79
|
color: $ac-white;
|
|
44
|
-
|
|
80
|
+
|
|
81
|
+
@if (type_of($colorName) == "color") {
|
|
82
|
+
box-shadow: 0px
|
|
83
|
+
6px
|
|
84
|
+
12px
|
|
85
|
+
scale-color($color: $colorName, $lightness: 70%);
|
|
86
|
+
} @else {
|
|
87
|
+
box-shadow: 0px
|
|
88
|
+
6px
|
|
89
|
+
12px
|
|
90
|
+
hsla(
|
|
91
|
+
var(--hsl-hue),
|
|
92
|
+
var(--hsl-saturation),
|
|
93
|
+
var(--hsl-lightness),
|
|
94
|
+
0.3
|
|
95
|
+
);
|
|
96
|
+
}
|
|
45
97
|
img {
|
|
46
98
|
filter: brightness(100) !important;
|
|
47
99
|
}
|
|
@@ -53,7 +105,16 @@
|
|
|
53
105
|
color: $colorName;
|
|
54
106
|
|
|
55
107
|
&:hover {
|
|
56
|
-
|
|
108
|
+
@if (type_of($colorName) == "color") {
|
|
109
|
+
background-color: scale-color($colorName, $lightness: 80%);
|
|
110
|
+
} @else {
|
|
111
|
+
background-color: hsla(
|
|
112
|
+
var(--hsl-hue),
|
|
113
|
+
var(--hsl-saturation),
|
|
114
|
+
var(--hsl-lightness),
|
|
115
|
+
0.2
|
|
116
|
+
);
|
|
117
|
+
}
|
|
57
118
|
}
|
|
58
119
|
|
|
59
120
|
&.is-outlined {
|
|
@@ -77,7 +138,15 @@
|
|
|
77
138
|
&:hover {
|
|
78
139
|
background-color: $colorName;
|
|
79
140
|
color: $ac-white;
|
|
80
|
-
|
|
141
|
+
|
|
142
|
+
@if (type_of($colorName) == "color") {
|
|
143
|
+
box-shadow: 0px 6px 12px scale-color($color: $colorName, $lightness: 70%);
|
|
144
|
+
} @else {
|
|
145
|
+
box-shadow: 0px
|
|
146
|
+
6px
|
|
147
|
+
12px
|
|
148
|
+
hsla(var(--hsl-hue), var(--hsl-saturation), var(--hsl-lightness), 0.3);
|
|
149
|
+
}
|
|
81
150
|
}
|
|
82
151
|
|
|
83
152
|
&.is-large {
|
|
@@ -85,7 +154,16 @@
|
|
|
85
154
|
z-index: 1;
|
|
86
155
|
overflow: hidden;
|
|
87
156
|
border: 1px solid $colorName;
|
|
88
|
-
|
|
157
|
+
@if (type_of($colorName) == "color") {
|
|
158
|
+
background-color: scale-color($colorName, $lightness: 80%);
|
|
159
|
+
} @else {
|
|
160
|
+
background-color: hsla(
|
|
161
|
+
var(--hsl-hue),
|
|
162
|
+
var(--hsl-saturation),
|
|
163
|
+
var(--hsl-lightness),
|
|
164
|
+
0.2
|
|
165
|
+
);
|
|
166
|
+
}
|
|
89
167
|
|
|
90
168
|
span {
|
|
91
169
|
color: $colorName;
|
|
@@ -123,7 +201,16 @@
|
|
|
123
201
|
}
|
|
124
202
|
|
|
125
203
|
@mixin ac-tags($colorName) {
|
|
126
|
-
|
|
204
|
+
@if (type_of($colorName) == "color") {
|
|
205
|
+
background-color: scale-color($colorName, $lightness: 85%);
|
|
206
|
+
} @else {
|
|
207
|
+
background-color: hsla(
|
|
208
|
+
var(--hsl-hue),
|
|
209
|
+
var(--hsl-saturation),
|
|
210
|
+
var(--hsl-lightness),
|
|
211
|
+
0.15
|
|
212
|
+
);
|
|
213
|
+
}
|
|
127
214
|
border-color: $colorName;
|
|
128
215
|
color: $colorName;
|
|
129
216
|
}
|
|
@@ -26,7 +26,12 @@
|
|
|
26
26
|
color: $ac-primary;
|
|
27
27
|
|
|
28
28
|
&:hover {
|
|
29
|
-
color:
|
|
29
|
+
color: hsla(
|
|
30
|
+
var(--hsl-hue),
|
|
31
|
+
var(--hsl-saturation),
|
|
32
|
+
calc(var(--hsl-lightness) - 10%),
|
|
33
|
+
1
|
|
34
|
+
);
|
|
30
35
|
}
|
|
31
36
|
}
|
|
32
37
|
}
|
|
@@ -64,10 +69,33 @@
|
|
|
64
69
|
}
|
|
65
70
|
}
|
|
66
71
|
}
|
|
72
|
+
@mixin acPrimaryNotification() {
|
|
73
|
+
background: hsla(
|
|
74
|
+
var(--hsl-hue),
|
|
75
|
+
var(--hsl-saturation),
|
|
76
|
+
var(--hsl-lightness),
|
|
77
|
+
0.2
|
|
78
|
+
);
|
|
79
|
+
color: $ac-white;
|
|
80
|
+
border-color: $ac-primary;
|
|
81
|
+
|
|
82
|
+
p {
|
|
83
|
+
color: $ac-primary;
|
|
84
|
+
|
|
85
|
+
a {
|
|
86
|
+
color: $ac-primary;
|
|
87
|
+
|
|
88
|
+
&:hover {
|
|
89
|
+
color: $ac-primary;
|
|
90
|
+
opacity: 0.8;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
67
95
|
|
|
68
96
|
// is-primary
|
|
69
97
|
.ac-notification.is-primary {
|
|
70
|
-
@include
|
|
98
|
+
@include acPrimaryNotification();
|
|
71
99
|
}
|
|
72
100
|
|
|
73
101
|
// is.info
|
|
@@ -92,6 +92,7 @@
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
+
|
|
95
96
|
&.is-normal {
|
|
96
97
|
input {
|
|
97
98
|
height: 45px;
|
|
@@ -109,7 +110,7 @@
|
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
span.eye i.fa {
|
|
112
|
-
padding: 10px;
|
|
113
|
+
padding: 14px 10px;
|
|
113
114
|
}
|
|
114
115
|
|
|
115
116
|
.ac-search-button {
|
|
@@ -117,7 +118,7 @@
|
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
label {
|
|
120
|
-
top:
|
|
121
|
+
top: 13px;
|
|
121
122
|
font-size: $font-size-small;
|
|
122
123
|
|
|
123
124
|
&.show-label {
|
|
@@ -137,6 +138,7 @@
|
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
}
|
|
141
|
+
|
|
140
142
|
&.is-small {
|
|
141
143
|
input {
|
|
142
144
|
height: 36px;
|
|
@@ -164,6 +166,9 @@
|
|
|
164
166
|
label {
|
|
165
167
|
top: 8px;
|
|
166
168
|
font-size: $font-size-small;
|
|
169
|
+
&.switch-label {
|
|
170
|
+
top: 0;
|
|
171
|
+
}
|
|
167
172
|
|
|
168
173
|
&.show-label {
|
|
169
174
|
font-size: 12px;
|
|
@@ -182,6 +187,7 @@
|
|
|
182
187
|
}
|
|
183
188
|
}
|
|
184
189
|
}
|
|
190
|
+
|
|
185
191
|
&.is-extra-small {
|
|
186
192
|
input {
|
|
187
193
|
height: 32px;
|
|
@@ -209,6 +215,9 @@
|
|
|
209
215
|
label {
|
|
210
216
|
top: 8px;
|
|
211
217
|
font-size: $font-size-small;
|
|
218
|
+
&.switch-label {
|
|
219
|
+
top: 0;
|
|
220
|
+
}
|
|
212
221
|
|
|
213
222
|
&.show-label {
|
|
214
223
|
font-size: 12px;
|
|
@@ -226,6 +235,7 @@
|
|
|
226
235
|
}
|
|
227
236
|
}
|
|
228
237
|
}
|
|
238
|
+
|
|
229
239
|
&:last-child {
|
|
230
240
|
margin-bottom: 0;
|
|
231
241
|
}
|
|
@@ -346,7 +356,12 @@
|
|
|
346
356
|
transition: 0.3s;
|
|
347
357
|
|
|
348
358
|
&:hover {
|
|
349
|
-
background:
|
|
359
|
+
background: hsla(
|
|
360
|
+
var(--hsl-hue),
|
|
361
|
+
var(--hsl-saturation),
|
|
362
|
+
var(--hsl-lightness),
|
|
363
|
+
0.2
|
|
364
|
+
);
|
|
350
365
|
color: $ac-primary;
|
|
351
366
|
}
|
|
352
367
|
}
|
|
@@ -521,6 +536,23 @@
|
|
|
521
536
|
}
|
|
522
537
|
}
|
|
523
538
|
|
|
539
|
+
input#captcha {
|
|
540
|
+
background-color: #ffffff;
|
|
541
|
+
height: 36px;
|
|
542
|
+
font-weight: 400;
|
|
543
|
+
width: 100%;
|
|
544
|
+
border-radius: 4px;
|
|
545
|
+
border: 1px solid #a6abbd;
|
|
546
|
+
padding: 8px 15px;
|
|
547
|
+
font-size: 13px;
|
|
548
|
+
transition: background-color 0.3s ease-in-out;
|
|
549
|
+
|
|
550
|
+
&:focus {
|
|
551
|
+
outline: none;
|
|
552
|
+
border-bottom: 1px solid $ac-border;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
|
|
524
556
|
// AC-Checkbox
|
|
525
557
|
.ac-single-checkbox {
|
|
526
558
|
.is-checkradio {
|
|
@@ -556,20 +588,24 @@
|
|
|
556
588
|
padding-left: 25px;
|
|
557
589
|
user-select: none;
|
|
558
590
|
}
|
|
591
|
+
|
|
559
592
|
.is-checkradio[type="checkbox"].ac-checkbox:checked + label {
|
|
560
593
|
color: $ac-primary !important;
|
|
561
594
|
}
|
|
595
|
+
|
|
562
596
|
.is-checkradio[type="checkbox"].ac-checkbox + label {
|
|
563
597
|
color: $ac-link-black;
|
|
564
598
|
font-size: 13px;
|
|
565
599
|
padding-left: 25px;
|
|
566
600
|
user-select: none;
|
|
567
601
|
}
|
|
602
|
+
|
|
568
603
|
.is-checkradio[type="checkbox"],
|
|
569
604
|
.is-checkradio[type="radio"] {
|
|
570
605
|
display: none;
|
|
571
606
|
}
|
|
572
607
|
}
|
|
608
|
+
|
|
573
609
|
.ac-single-radio {
|
|
574
610
|
&.is-selected {
|
|
575
611
|
.is-checkradio[type="radio"].ac-radio + label {
|
|
@@ -582,6 +618,7 @@
|
|
|
582
618
|
.is-checkradio[type="checkbox"] + label:before {
|
|
583
619
|
top: 3px;
|
|
584
620
|
}
|
|
621
|
+
|
|
585
622
|
// AC-Switch
|
|
586
623
|
.ac-single-switch {
|
|
587
624
|
label {
|
|
@@ -598,6 +635,35 @@
|
|
|
598
635
|
margin-top: 6px;
|
|
599
636
|
}
|
|
600
637
|
|
|
638
|
+
&.is-small {
|
|
639
|
+
label {
|
|
640
|
+
font-size: 13px !important;
|
|
641
|
+
}
|
|
642
|
+
.switch[type="checkbox"] + label {
|
|
643
|
+
font-size: 13px;
|
|
644
|
+
padding-top: 0;
|
|
645
|
+
padding-left: 40px;
|
|
646
|
+
|
|
647
|
+
&::before {
|
|
648
|
+
width: 30px;
|
|
649
|
+
height: 16.2px;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
&::after {
|
|
653
|
+
top: 2px;
|
|
654
|
+
left: 2px;
|
|
655
|
+
width: 12px;
|
|
656
|
+
height: 12px;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.switch[type="checkbox"]:checked + label {
|
|
661
|
+
&::after {
|
|
662
|
+
left: 15px;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
|
|
601
667
|
.switch {
|
|
602
668
|
&[type="checkbox"] + label {
|
|
603
669
|
padding-top: 3px;
|
|
@@ -665,6 +731,7 @@
|
|
|
665
731
|
padding-left: 25px;
|
|
666
732
|
font-size: 13px;
|
|
667
733
|
padding: 0.3rem 0.5rem 0.2rem 1.5rem;
|
|
734
|
+
|
|
668
735
|
&::after {
|
|
669
736
|
background-color: $ac-primary;
|
|
670
737
|
width: 16px;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// margin-top: 3px;
|
|
3
3
|
&.cluster-select {
|
|
4
4
|
.multiselect__tags {
|
|
5
|
-
border: 1px solid $ac-
|
|
5
|
+
border: 1px solid $ac-gray-lightest;
|
|
6
6
|
background-color: $table-header;
|
|
7
7
|
|
|
8
8
|
.multiselect__input {
|
|
@@ -47,7 +47,12 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
&:hover {
|
|
50
|
-
background-color:
|
|
50
|
+
background-color: hsla(
|
|
51
|
+
var(--hsl-hue),
|
|
52
|
+
var(--hsl-saturation),
|
|
53
|
+
calc(var(--hsl-lightness) - 9%),
|
|
54
|
+
1
|
|
55
|
+
);
|
|
51
56
|
}
|
|
52
57
|
}
|
|
53
58
|
}
|
|
@@ -91,16 +96,31 @@
|
|
|
91
96
|
}
|
|
92
97
|
|
|
93
98
|
&:hover {
|
|
94
|
-
background-color:
|
|
99
|
+
background-color: hsla(
|
|
100
|
+
var(--hsl-hue),
|
|
101
|
+
var(--hsl-saturation),
|
|
102
|
+
var(--hsl-lightness),
|
|
103
|
+
0.2
|
|
104
|
+
);
|
|
95
105
|
color: $ac-primary;
|
|
96
106
|
}
|
|
97
107
|
|
|
98
108
|
&.multiselect__option--highlight {
|
|
99
|
-
background-color:
|
|
109
|
+
background-color: hsla(
|
|
110
|
+
var(--hsl-hue),
|
|
111
|
+
var(--hsl-saturation),
|
|
112
|
+
var(--hsl-lightness),
|
|
113
|
+
0.2
|
|
114
|
+
);
|
|
100
115
|
color: $ac-primary;
|
|
101
116
|
|
|
102
117
|
&:after {
|
|
103
|
-
background-color:
|
|
118
|
+
background-color: hsla(
|
|
119
|
+
var(--hsl-hue),
|
|
120
|
+
var(--hsl-saturation),
|
|
121
|
+
var(--hsl-lightness),
|
|
122
|
+
0.2
|
|
123
|
+
);
|
|
104
124
|
color: $ac-primary;
|
|
105
125
|
}
|
|
106
126
|
}
|
|
@@ -49,13 +49,16 @@
|
|
|
49
49
|
td {
|
|
50
50
|
border: none;
|
|
51
51
|
font-size: $font-size-small;
|
|
52
|
-
color:
|
|
52
|
+
color: hsl(
|
|
53
|
+
var(--font-hsl-hue),
|
|
54
|
+
var(--font-hsl-saturation),
|
|
55
|
+
calc(var(--font-hsl-lightness) + 25%)
|
|
56
|
+
);
|
|
53
57
|
font-weight: 400;
|
|
54
58
|
padding: 3px 0px;
|
|
55
59
|
min-width: 230px;
|
|
56
60
|
|
|
57
61
|
&:first-child {
|
|
58
|
-
color: $ac-black;
|
|
59
62
|
font-weight: 400;
|
|
60
63
|
padding-right: 10px;
|
|
61
64
|
color: $ac-color-heading;
|
|
@@ -86,6 +89,40 @@
|
|
|
86
89
|
color: $ac-color-heading;
|
|
87
90
|
border: none;
|
|
88
91
|
font-weight: 500;
|
|
92
|
+
|
|
93
|
+
&.sorting {
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
position: relative;
|
|
96
|
+
|
|
97
|
+
&.sorting-asc {
|
|
98
|
+
&::before {
|
|
99
|
+
color: $ac-color-heading;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
&.sorting-desc {
|
|
103
|
+
&::after {
|
|
104
|
+
color: $ac-color-heading;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&:after,
|
|
109
|
+
&::before {
|
|
110
|
+
position: absolute;
|
|
111
|
+
color: #808998;
|
|
112
|
+
top: 0.4em;
|
|
113
|
+
font-size: 13px;
|
|
114
|
+
font-weight: 1000;
|
|
115
|
+
display: block;
|
|
116
|
+
}
|
|
117
|
+
&:before {
|
|
118
|
+
right: 1em;
|
|
119
|
+
content: "\2191";
|
|
120
|
+
}
|
|
121
|
+
&:after {
|
|
122
|
+
right: 0.5em;
|
|
123
|
+
content: "\2193";
|
|
124
|
+
}
|
|
125
|
+
}
|
|
89
126
|
}
|
|
90
127
|
}
|
|
91
128
|
}
|
|
@@ -224,26 +261,20 @@
|
|
|
224
261
|
}
|
|
225
262
|
&.ac-bordered {
|
|
226
263
|
thead {
|
|
227
|
-
td {
|
|
228
|
-
border-top: 1px solid $ac-white-light;
|
|
229
|
-
border-bottom: 1px solid $ac-white-light;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
tbody {
|
|
234
264
|
tr {
|
|
235
|
-
border-bottom: 1px solid $ac-white-light;
|
|
236
|
-
|
|
237
265
|
th {
|
|
266
|
+
border-top: 1px solid $ac-white-light;
|
|
267
|
+
border-bottom: 1px solid $ac-white-light;
|
|
268
|
+
border-right: 1px solid $ac-white-light;
|
|
238
269
|
&:first-child {
|
|
239
|
-
border-
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
&:last-child {
|
|
243
|
-
border-radius: 0;
|
|
270
|
+
border-left: 1px solid $ac-white-light;
|
|
244
271
|
}
|
|
245
272
|
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
246
275
|
|
|
276
|
+
tbody {
|
|
277
|
+
tr {
|
|
247
278
|
&:hover {
|
|
248
279
|
box-shadow: none;
|
|
249
280
|
}
|
|
@@ -252,7 +283,11 @@
|
|
|
252
283
|
font-size: $font-size-small;
|
|
253
284
|
color: $ac-gray-dark;
|
|
254
285
|
background-color: $ac-white;
|
|
255
|
-
|
|
286
|
+
border-bottom: 1px solid $ac-white-light;
|
|
287
|
+
border-right: 1px solid $ac-white-light;
|
|
288
|
+
&:first-child {
|
|
289
|
+
border-left: 1px solid $ac-white-light;
|
|
290
|
+
}
|
|
256
291
|
&:first-child {
|
|
257
292
|
color: $ac-color-heading;
|
|
258
293
|
border-radius: 0;
|