@appscode/design-system 1.0.43-alpha.9 → 1.0.43-alpha.93
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 +281 -20
- package/base/utilities/_derived-variables.scss +0 -13
- package/base/utilities/_initial-variables.scss +78 -56
- package/base/utilities/_mixin.scss +10 -17
- package/base/utilities/_typography.scss +23 -7
- package/base/utilities/dark-theme.scss +25 -0
- package/components/_ac-accordion.scss +1 -0
- package/components/_ac-alert-box.scss +18 -10
- package/components/_ac-card.scss +55 -20
- package/components/_ac-code-highlight.scss +7 -1
- package/components/_ac-content-layout.scss +4 -4
- package/components/_ac-drag.scss +6 -6
- package/components/_ac-input.scss +80 -39
- package/components/_ac-modal.scss +5 -4
- package/components/_ac-multi-select.scss +196 -14
- package/components/_ac-options.scss +30 -16
- package/components/_ac-select-box.scss +15 -5
- package/components/_ac-table.scss +42 -33
- package/components/_ac-tabs.scss +72 -23
- package/components/_ac-tags.scss +2 -2
- package/components/_ac-terminal.scss +248 -0
- package/components/_app-drawer.scss +6 -6
- package/components/_breadcumb.scss +7 -2
- package/components/_buttons.scss +56 -27
- package/components/_card-body-wrapper.scss +3 -3
- package/components/_dashboard-header.scss +1 -1
- package/components/_direct-deploy.scss +69 -0
- package/components/_go-to-top.scss +1 -1
- package/components/_graph.scss +45 -0
- package/components/_image-upload.scss +6 -4
- package/components/_left-sidebar-menu.scss +200 -46
- package/components/_monaco-editor.scss +1 -1
- package/components/_navbar.scss +103 -26
- package/components/_overview-info.scss +4 -4
- package/components/_overview-page.scss +1 -2
- package/components/_pagination.scss +10 -2
- package/components/_payment-card.scss +28 -12
- package/components/_preview-modal.scss +8 -8
- package/components/_pricing-table.scss +1 -1
- package/components/_progress-bar.scss +5 -5
- package/components/_subscription-card.scss +15 -8
- package/components/_table-of-content.scss +1 -1
- package/components/_tfa.scss +69 -0
- package/components/_widget-menu.scss +9 -9
- package/components/_wizard.scss +32 -20
- package/components/ac-toaster/_ac-toasted.scss +5 -5
- package/components/bbum/_card-team.scss +18 -10
- package/components/bbum/_information-center.scss +19 -5
- package/components/bbum/_mobile-desktop.scss +6 -6
- package/components/bbum/_post.scss +5 -4
- package/components/bbum/_sign-up-notification.scss +6 -6
- package/components/bbum/_single-post-preview.scss +9 -9
- package/components/bbum/_user-profile.scss +97 -90
- package/components/ui-builder/_ui-builder.scss +29 -10
- package/components/ui-builder/_vue-open-api.scss +98 -0
- package/layouts/_404.scss +2 -1
- package/layouts/_code-preview.scss +14 -7
- package/main.scss +4 -0
- package/package.json +2 -7
- package/plugins/theme.js +142 -0
- package/vue-components/v2/card/PaymentCards.vue +11 -2
- package/vue-components/v2/editor/Editor.vue +37 -17
- package/vue-components/v2/modal/Modal.vue +10 -1
- package/vue-components/v2/navbar/Appdrawer.vue +10 -9
- package/vue-components/v2/navbar/ThemeMode.vue +120 -0
- package/vue-components/v2/preloader/Preloader.vue +5 -5
- package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
- package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
- package/vue-components/v2/table/TableRow.vue +1 -1
- package/vue-components/v2/table/table-cell/CellValue.vue +10 -1
- package/vue-components/v2/tabs/EditorTabs.vue +1 -1
- package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
- package/vue-components/v3/editor/Editor.vue +39 -19
- package/vue-components/v3/modal/Modal.vue +10 -1
- package/vue-components/v3/navbar/Appdrawer.vue +12 -7
- package/vue-components/v3/navbar/ThemeMode.vue +128 -0
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
- package/vue-components/v3/table/TableRow.vue +1 -1
- package/vue-components/v3/table/table-cell/CellValue.vue +9 -0
- package/vue-components/v3/tabs/EditorTabs.vue +1 -1
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
// Typography
|
|
2
|
-
@import url("https://fonts.googleapis.com/css2?family=
|
|
3
|
-
// font rubik
|
|
4
|
-
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,800&display=swap");
|
|
2
|
+
@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;400;500;600;700&family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700&display=swap");
|
|
5
3
|
|
|
6
4
|
$ac-family-heading: "Roboto", sans-serif;
|
|
7
5
|
$ac-family-paragraph: "Roboto", sans-serif;
|
|
@@ -22,34 +20,27 @@ $font-size-small: 13px;
|
|
|
22
20
|
$font-size-extra-small: 12px;
|
|
23
21
|
$font-size-tiny: 11px;
|
|
24
22
|
|
|
25
|
-
//
|
|
26
|
-
$ac-weight-light: 300;
|
|
27
|
-
$ac-weight-normal: 400;
|
|
28
|
-
$ac-weight-medium: 500;
|
|
29
|
-
$ac-weight-semibold: 600;
|
|
30
|
-
$ac-weight-bold: 700;
|
|
31
|
-
$ac-weight-extra: 800;
|
|
32
|
-
$ac-weight-black: 900;
|
|
33
|
-
|
|
34
|
-
// Miscellaneous
|
|
35
|
-
$ac-easing: ease-out;
|
|
36
|
-
$ac-radius-small: 2px;
|
|
37
|
-
$ac-radius: 4px;
|
|
38
|
-
$ac-radius-large: 6px;
|
|
39
|
-
$ac-radius-rounded: 290486px;
|
|
40
|
-
$ac-speed: 86ms;
|
|
41
|
-
|
|
42
|
-
// Color Base
|
|
23
|
+
// Base Color
|
|
43
24
|
$ac-orange: #ff8000;
|
|
44
25
|
$ac-yellow: #f7ad2a;
|
|
45
|
-
$ac-green: #
|
|
26
|
+
$ac-green: #158748;
|
|
46
27
|
$ac-blue: #0aafff;
|
|
47
28
|
$ac-purple: #791e94;
|
|
48
|
-
$ac-red: #
|
|
29
|
+
$ac-red: #ff3729;
|
|
49
30
|
|
|
50
|
-
// Color
|
|
51
|
-
$
|
|
52
|
-
$
|
|
31
|
+
// Products Color
|
|
32
|
+
$voyager-primary: #2d2a78;
|
|
33
|
+
$guard-primary: #d84e27;
|
|
34
|
+
$kubeci-primary: #2c3e50;
|
|
35
|
+
$kubed-primary: #1c7bd4;
|
|
36
|
+
$kubedb-primary: #4d4dcb;
|
|
37
|
+
$kubesheild-primary: #2516c7;
|
|
38
|
+
$kubevault-primary: #326ce5;
|
|
39
|
+
$pharmer-primary: #326de6;
|
|
40
|
+
$searchlight-primary: #111738;
|
|
41
|
+
$servicebroker-primary: #29b4a2;
|
|
42
|
+
$stash-primary: #5e2dea;
|
|
43
|
+
$swift-primary: #3f51b6;
|
|
53
44
|
|
|
54
45
|
// Colors Primary
|
|
55
46
|
// root colors
|
|
@@ -58,8 +49,31 @@ $ac-border-hover: #54657e;
|
|
|
58
49
|
--hsl-saturation: 77%;
|
|
59
50
|
--hsl-lightness: 42%;
|
|
60
51
|
--contrast-threshold: 60%;
|
|
61
|
-
|
|
62
|
-
--
|
|
52
|
+
--ac-bg: #ffffff;
|
|
53
|
+
--ac-white: #ffffff;
|
|
54
|
+
--ac-full-white: #ffffff;
|
|
55
|
+
--ac-gray-dark: #5f5f5f;
|
|
56
|
+
--ac-gray-light: #8d8d8d;
|
|
57
|
+
--ac-gray-lightest: #d1d1d1;
|
|
58
|
+
--ac-white-light: #e7e7e7;
|
|
59
|
+
--ac-white-lighter: #f1f1f1;
|
|
60
|
+
|
|
61
|
+
--ac-black: #000000;
|
|
62
|
+
--ac-color-text-90: #323232;
|
|
63
|
+
--ac-link-black: #32325d;
|
|
64
|
+
--ac-gray-darker: #494949;
|
|
65
|
+
--ac-gray: #767676;
|
|
66
|
+
--ac-gray-lighter: #a4a4a4;
|
|
67
|
+
--ac-white-text: #b4c0cc;
|
|
68
|
+
|
|
69
|
+
// theme color
|
|
70
|
+
--dark-bg: #21272e;
|
|
71
|
+
--dark-bg-light: #2e323c;
|
|
72
|
+
|
|
73
|
+
--ac-blue-light: #eceff4;
|
|
74
|
+
--ac-bg-light-gray: #f4f6f9;
|
|
75
|
+
--table-header: #e4e8ef;
|
|
76
|
+
--ac-label-text: #a6abbd;
|
|
63
77
|
|
|
64
78
|
--font-hsl-hue: 0;
|
|
65
79
|
--font-hsl-saturation: 0%;
|
|
@@ -71,6 +85,7 @@ $ac-border-hover: #54657e;
|
|
|
71
85
|
var(--hsl-lightness),
|
|
72
86
|
1
|
|
73
87
|
);
|
|
88
|
+
|
|
74
89
|
--ac-text: hsla(
|
|
75
90
|
var(--font-hsl-hue),
|
|
76
91
|
calc(var(--font-hsl-saturation) + 10%),
|
|
@@ -83,42 +98,47 @@ $ac-border-hover: #54657e;
|
|
|
83
98
|
var(--font-hsl-lightness),
|
|
84
99
|
1
|
|
85
100
|
);
|
|
101
|
+
--ac-color-value: hsl(
|
|
102
|
+
var(--font-hsl-hue),
|
|
103
|
+
var(--font-hsl-saturation),
|
|
104
|
+
calc(var(--font-hsl-lightness) + 25%)
|
|
105
|
+
);
|
|
86
106
|
}
|
|
87
|
-
$ac-bg: var(--bg-color);
|
|
88
|
-
$ac-primary: var(--ac-primary);
|
|
89
107
|
|
|
90
|
-
|
|
91
|
-
$ac-
|
|
92
|
-
$ac-color-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
$ac-
|
|
96
|
-
$ac-
|
|
97
|
-
$ac-
|
|
98
|
-
$ac-
|
|
99
|
-
$ac-
|
|
100
|
-
$ac-
|
|
101
|
-
$ac-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
$
|
|
105
|
-
$
|
|
106
|
-
$
|
|
107
|
-
$
|
|
108
|
-
|
|
109
|
-
$
|
|
110
|
-
$
|
|
111
|
-
$
|
|
112
|
-
$
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
$
|
|
108
|
+
$ac-bg: var(--ac-bg);
|
|
109
|
+
$ac-primary: var(--ac-primary);
|
|
110
|
+
$ac-color-value: var(--ac-color-value);
|
|
111
|
+
|
|
112
|
+
// Colors
|
|
113
|
+
$ac-black: var(--ac-black);
|
|
114
|
+
$ac-color-text-90: var(--ac-color-text-90);
|
|
115
|
+
$ac-link-black: var(--ac-link-black);
|
|
116
|
+
$ac-gray-darker: var(--ac-gray-darker);
|
|
117
|
+
$ac-gray-dark: var(--ac-gray-dark);
|
|
118
|
+
$ac-gray: var(--ac-gray);
|
|
119
|
+
$ac-gray-light: var(--ac-gray-light);
|
|
120
|
+
$ac-gray-lighter: var(--ac-gray-lighter);
|
|
121
|
+
$ac-gray-lightest: var(--ac-gray-lightest);
|
|
122
|
+
$ac-white-light: var(--ac-white-light);
|
|
123
|
+
$ac-white-lighter: var(--ac-white-lighter);
|
|
124
|
+
$ac-white: var(--ac-white);
|
|
125
|
+
$ac-full-white: var(--ac-full-white);
|
|
126
|
+
|
|
127
|
+
$ac-blue-light: var(--ac-blue-light);
|
|
128
|
+
$ac-bg-light-gray: var(--ac-bg-light-gray);
|
|
129
|
+
$table-header: var(--table-header);
|
|
130
|
+
$ac-label-text: var(--ac-label-text);
|
|
131
|
+
|
|
132
|
+
// for dark theme CSS
|
|
133
|
+
$dark-bg: var(--dark-bg);
|
|
134
|
+
$dark-bg-light: var(--dark-bg-light);
|
|
116
135
|
|
|
117
136
|
/* Deafult Margin & Padding view-height & view-width */
|
|
118
137
|
@for $i from 0 through 100 {
|
|
119
138
|
.m-#{$i} {
|
|
120
139
|
margin: #{$i}px !important;
|
|
121
140
|
}
|
|
141
|
+
|
|
122
142
|
.mt-#{$i} {
|
|
123
143
|
margin-top: #{$i}px !important;
|
|
124
144
|
}
|
|
@@ -134,9 +154,11 @@ $swift-primary: #3f51b6;
|
|
|
134
154
|
.mr-#{$i} {
|
|
135
155
|
margin-right: #{$i}px !important;
|
|
136
156
|
}
|
|
157
|
+
|
|
137
158
|
.p-#{$i} {
|
|
138
159
|
padding: #{$i}px !important;
|
|
139
160
|
}
|
|
161
|
+
|
|
140
162
|
.pt-#{$i} {
|
|
141
163
|
padding-top: #{$i}px !important;
|
|
142
164
|
}
|
|
@@ -15,11 +15,14 @@
|
|
|
15
15
|
1
|
|
16
16
|
);
|
|
17
17
|
}
|
|
18
|
+
|
|
18
19
|
// box-shadow: 0px 6px 12px scale-color($color: $colorName, $lightness: 70%);
|
|
19
20
|
}
|
|
21
|
+
|
|
20
22
|
&:focus-visible {
|
|
21
23
|
outline: none;
|
|
22
24
|
}
|
|
25
|
+
|
|
23
26
|
&.is-light {
|
|
24
27
|
@if (type_of($colorName) == "color") {
|
|
25
28
|
background-color: scale-color($colorName, $lightness: 90%);
|
|
@@ -31,7 +34,9 @@
|
|
|
31
34
|
0.1
|
|
32
35
|
);
|
|
33
36
|
}
|
|
37
|
+
|
|
34
38
|
color: $colorName;
|
|
39
|
+
|
|
35
40
|
&.is-border {
|
|
36
41
|
border: 1px solid $colorName;
|
|
37
42
|
}
|
|
@@ -72,28 +77,14 @@
|
|
|
72
77
|
0.2
|
|
73
78
|
);
|
|
74
79
|
}
|
|
80
|
+
|
|
75
81
|
color: $colorName;
|
|
76
82
|
|
|
77
83
|
&:hover {
|
|
78
84
|
background-color: $colorName;
|
|
79
85
|
color: $ac-white;
|
|
86
|
+
box-shadow: none;
|
|
80
87
|
|
|
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
|
-
}
|
|
97
88
|
img {
|
|
98
89
|
filter: brightness(100) !important;
|
|
99
90
|
}
|
|
@@ -123,7 +114,7 @@
|
|
|
123
114
|
color: $ac-white;
|
|
124
115
|
|
|
125
116
|
&:hover {
|
|
126
|
-
background: $ac-white;
|
|
117
|
+
background-color: $ac-white;
|
|
127
118
|
color: $colorName;
|
|
128
119
|
}
|
|
129
120
|
}
|
|
@@ -154,6 +145,7 @@
|
|
|
154
145
|
z-index: 1;
|
|
155
146
|
overflow: hidden;
|
|
156
147
|
border: 1px solid $colorName;
|
|
148
|
+
|
|
157
149
|
@if (type_of($colorName) == "color") {
|
|
158
150
|
background-color: scale-color($colorName, $lightness: 80%);
|
|
159
151
|
} @else {
|
|
@@ -211,6 +203,7 @@
|
|
|
211
203
|
0.15
|
|
212
204
|
);
|
|
213
205
|
}
|
|
206
|
+
|
|
214
207
|
border-color: $colorName;
|
|
215
208
|
color: $colorName;
|
|
216
209
|
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
html,
|
|
2
|
+
body {
|
|
3
3
|
background-color: $ac-bg;
|
|
4
4
|
font-family: $ac-family-paragraph;
|
|
5
|
-
font-weight:
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
font-size: 13px;
|
|
7
|
+
color: $ac-color-text;
|
|
8
|
+
}
|
|
9
|
+
p {
|
|
10
|
+
font-size: 13px;
|
|
6
11
|
}
|
|
7
|
-
|
|
8
12
|
h1,
|
|
9
13
|
h2,
|
|
10
14
|
h3,
|
|
@@ -12,7 +16,7 @@ h4,
|
|
|
12
16
|
h5,
|
|
13
17
|
h6 {
|
|
14
18
|
font-family: $ac-family-heading;
|
|
15
|
-
font-weight:
|
|
19
|
+
font-weight: 500;
|
|
16
20
|
color: $ac-color-heading;
|
|
17
21
|
}
|
|
18
22
|
|
|
@@ -51,22 +55,27 @@ h6 {
|
|
|
51
55
|
font-size: $font-size-tiny;
|
|
52
56
|
line-height: $font-size-tiny + 10;
|
|
53
57
|
}
|
|
58
|
+
|
|
54
59
|
&.is-extra-small {
|
|
55
60
|
font-size: $font-size-extra-small;
|
|
56
61
|
line-height: $font-size-extra-small + 10;
|
|
57
62
|
}
|
|
63
|
+
|
|
58
64
|
&.is-small {
|
|
59
65
|
font-size: $font-size-small;
|
|
60
66
|
line-height: $font-size-small + 10;
|
|
61
67
|
}
|
|
68
|
+
|
|
62
69
|
&.is-normal {
|
|
63
70
|
font-size: $font-size-normal;
|
|
64
71
|
line-height: $font-size-normal + 10;
|
|
65
72
|
}
|
|
73
|
+
|
|
66
74
|
&.is-semi-normal {
|
|
67
75
|
font-size: $font-size-semi-normal;
|
|
68
76
|
line-height: $font-size-semi-normal + 10;
|
|
69
77
|
}
|
|
78
|
+
|
|
70
79
|
&.is-medium {
|
|
71
80
|
font-size: $font-size-medium;
|
|
72
81
|
line-height: $font-size-medium + 10;
|
|
@@ -86,10 +95,17 @@ hr {
|
|
|
86
95
|
margin: 15px 0;
|
|
87
96
|
}
|
|
88
97
|
|
|
98
|
+
strong {
|
|
99
|
+
color: $ac-color-value;
|
|
100
|
+
}
|
|
101
|
+
|
|
89
102
|
.is-font-medium {
|
|
90
|
-
font-weight:
|
|
103
|
+
font-weight: 500;
|
|
91
104
|
}
|
|
92
105
|
|
|
93
106
|
.is-font-bold {
|
|
94
|
-
font-weight:
|
|
107
|
+
font-weight: 700;
|
|
95
108
|
}
|
|
109
|
+
.material-icons{
|
|
110
|
+
font-size: 1em;
|
|
111
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
$dark-bg: var(--dark-bg);
|
|
2
|
+
$dark-bg-light: var(--dark-bg-light);
|
|
3
|
+
|
|
4
|
+
.is-dark-theme {
|
|
5
|
+
--ac-bg: var(--dark-bg);
|
|
6
|
+
--ac-white: #21272e;
|
|
7
|
+
--ac-link-black: #6969c0;
|
|
8
|
+
--ac-black: var(--ac-white-text);
|
|
9
|
+
--ac-text-heading: var(--ac-white-text);
|
|
10
|
+
--ac-text: #98a6b4;
|
|
11
|
+
--ac-blue-light: #2e323c;
|
|
12
|
+
--ac-gray-darker: #a6a6a6;
|
|
13
|
+
--ac-gray-light: #424242;
|
|
14
|
+
--ac-gray-lightest: #777777;
|
|
15
|
+
--ac-white-light: #3f3f3f;
|
|
16
|
+
--ac-white-lighter: #2e323c;
|
|
17
|
+
--ac-label-text: #8c8c8c;
|
|
18
|
+
--ac-bg-light-gray: #252830;
|
|
19
|
+
|
|
20
|
+
--ac-color-value: hsl(
|
|
21
|
+
var(--font-hsl-hue),
|
|
22
|
+
var(--font-hsl-saturation),
|
|
23
|
+
calc(var(--font-hsl-lightness) + 60%)
|
|
24
|
+
);
|
|
25
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// for alert message
|
|
2
2
|
.ac-notification {
|
|
3
|
-
background: #dee7f5;
|
|
3
|
+
background-color: #dee7f5;
|
|
4
4
|
font-size: $font-size-small;
|
|
5
5
|
color: $ac-primary;
|
|
6
6
|
min-height: 36px;
|
|
@@ -17,8 +17,9 @@
|
|
|
17
17
|
p {
|
|
18
18
|
color: $ac-primary;
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
.close-icon {
|
|
21
21
|
padding-right: 10px;
|
|
22
|
+
font-size: 15px;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
a {
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
|
|
53
54
|
// mixin for .ac-notification
|
|
54
55
|
@mixin acNotification($colorName) {
|
|
55
|
-
background: scale-color($color: $colorName, $lightness: 80%);
|
|
56
|
+
background-color: scale-color($color: $colorName, $lightness: 80%);
|
|
56
57
|
color: $ac-white;
|
|
57
58
|
border-color: $colorName;
|
|
58
59
|
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
@mixin acPrimaryNotification() {
|
|
73
|
-
background: hsla(
|
|
74
|
+
background-color: hsla(
|
|
74
75
|
var(--hsl-hue),
|
|
75
76
|
var(--hsl-saturation),
|
|
76
77
|
var(--hsl-lightness),
|
|
@@ -134,7 +135,7 @@ AC Toast
|
|
|
134
135
|
margin-bottom: 10px;
|
|
135
136
|
|
|
136
137
|
* {
|
|
137
|
-
color:
|
|
138
|
+
color: $ac-white;
|
|
138
139
|
}
|
|
139
140
|
|
|
140
141
|
p {
|
|
@@ -151,16 +152,16 @@ AC Toast
|
|
|
151
152
|
padding: 0 15px;
|
|
152
153
|
|
|
153
154
|
&:hover {
|
|
154
|
-
color:
|
|
155
|
+
color: $ac-white-lighter;
|
|
155
156
|
}
|
|
156
157
|
}
|
|
157
158
|
|
|
158
159
|
button.close-button {
|
|
159
160
|
border-radius: 0px;
|
|
160
|
-
border-left: 1px solid
|
|
161
|
+
border-left: 1px solid $ac-white;
|
|
161
162
|
background-color: transparent;
|
|
162
163
|
border: none;
|
|
163
|
-
color:
|
|
164
|
+
color: $ac-white;
|
|
164
165
|
position: absolute;
|
|
165
166
|
right: 0;
|
|
166
167
|
top: 0;
|
|
@@ -169,13 +170,13 @@ AC Toast
|
|
|
169
170
|
width: 30px;
|
|
170
171
|
z-index: 1;
|
|
171
172
|
cursor: pointer;
|
|
172
|
-
border-left: 1px solid
|
|
173
|
+
border-left: 1px solid $ac-white;
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
// mixin for .ac-toast
|
|
177
178
|
@mixin acToast($colorName) {
|
|
178
|
-
background: $colorName;
|
|
179
|
+
background-color: $colorName;
|
|
179
180
|
color: $ac-white;
|
|
180
181
|
border-color: $colorName;
|
|
181
182
|
}
|
|
@@ -205,6 +206,13 @@ AC Toast
|
|
|
205
206
|
@include acToast($ac-warning);
|
|
206
207
|
}
|
|
207
208
|
|
|
209
|
+
// dark theme start
|
|
210
|
+
.is-dark-theme {
|
|
211
|
+
.ac-notification.is-error {
|
|
212
|
+
background-color: $dark-bg-light;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
// dark theme end
|
|
208
216
|
/****************************************
|
|
209
217
|
Responsive Classes
|
|
210
218
|
*****************************************/
|
package/components/_ac-card.scss
CHANGED
|
@@ -8,8 +8,14 @@
|
|
|
8
8
|
display: block;
|
|
9
9
|
padding: 20px;
|
|
10
10
|
border-radius: 4px;
|
|
11
|
+
border: 1px solid $ac-white-light;
|
|
11
12
|
overflow: hidden;
|
|
12
|
-
background-color:
|
|
13
|
+
background-color: hsla(
|
|
14
|
+
var(--hsl-hue),
|
|
15
|
+
var(--hsl-saturation),
|
|
16
|
+
var(--hsl-lightness),
|
|
17
|
+
0.03
|
|
18
|
+
);
|
|
13
19
|
transition: 0.3s ease-in-out;
|
|
14
20
|
|
|
15
21
|
&.is-selected {
|
|
@@ -36,7 +42,7 @@
|
|
|
36
42
|
.card-status {
|
|
37
43
|
position: absolute;
|
|
38
44
|
content: "";
|
|
39
|
-
background: #27ae60;
|
|
45
|
+
background-color: #27ae60;
|
|
40
46
|
border: 2px solid $ac-white;
|
|
41
47
|
box-sizing: border-box;
|
|
42
48
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
|
|
@@ -44,6 +50,7 @@
|
|
|
44
50
|
height: 10px;
|
|
45
51
|
border-radius: 50%;
|
|
46
52
|
right: 0;
|
|
53
|
+
top: 5px;
|
|
47
54
|
}
|
|
48
55
|
}
|
|
49
56
|
|
|
@@ -70,7 +77,7 @@
|
|
|
70
77
|
}
|
|
71
78
|
|
|
72
79
|
&.style-three {
|
|
73
|
-
background-color: $ac-
|
|
80
|
+
background-color: $ac-blue-light;
|
|
74
81
|
width: 190px;
|
|
75
82
|
margin-bottom: 20px;
|
|
76
83
|
margin-right: 20px;
|
|
@@ -92,7 +99,7 @@
|
|
|
92
99
|
.ac-card-name {
|
|
93
100
|
p {
|
|
94
101
|
font-size: $font-size-small;
|
|
95
|
-
color: $ac-
|
|
102
|
+
color: $ac-color-text;
|
|
96
103
|
line-height: 1;
|
|
97
104
|
|
|
98
105
|
&.free {
|
|
@@ -112,7 +119,7 @@
|
|
|
112
119
|
justify-content: space-between;
|
|
113
120
|
align-items: center;
|
|
114
121
|
box-shadow: none;
|
|
115
|
-
background: transparent;
|
|
122
|
+
background-color: transparent;
|
|
116
123
|
margin-bottom: 60px;
|
|
117
124
|
|
|
118
125
|
h3 {
|
|
@@ -129,7 +136,7 @@
|
|
|
129
136
|
font-size: 36px;
|
|
130
137
|
line-height: 1;
|
|
131
138
|
font-weight: 600;
|
|
132
|
-
color:
|
|
139
|
+
color: $ac-color-heading;
|
|
133
140
|
display: inline-block;
|
|
134
141
|
position: relative;
|
|
135
142
|
z-index: 1;
|
|
@@ -137,7 +144,7 @@
|
|
|
137
144
|
&:after {
|
|
138
145
|
position: absolute;
|
|
139
146
|
content: "";
|
|
140
|
-
left:
|
|
147
|
+
left: 0;
|
|
141
148
|
bottom: 0;
|
|
142
149
|
width: 100%;
|
|
143
150
|
height: 5px;
|
|
@@ -166,7 +173,7 @@
|
|
|
166
173
|
}
|
|
167
174
|
|
|
168
175
|
&:hover {
|
|
169
|
-
|
|
176
|
+
border: 1px solid $ac-primary;
|
|
170
177
|
|
|
171
178
|
.ac-card-title {
|
|
172
179
|
h4 {
|
|
@@ -201,14 +208,14 @@
|
|
|
201
208
|
|
|
202
209
|
p {
|
|
203
210
|
font-size: $font-size-small;
|
|
204
|
-
color: $ac-
|
|
211
|
+
color: $ac-gray-lightest;
|
|
205
212
|
}
|
|
206
213
|
}
|
|
207
214
|
}
|
|
208
215
|
|
|
209
216
|
.ac-card-body {
|
|
210
217
|
p {
|
|
211
|
-
color: $ac-
|
|
218
|
+
color: $ac-gray-dark;
|
|
212
219
|
font-size: $font-size-small;
|
|
213
220
|
line-height: 140%;
|
|
214
221
|
}
|
|
@@ -222,7 +229,7 @@
|
|
|
222
229
|
.card-status {
|
|
223
230
|
position: absolute;
|
|
224
231
|
content: "";
|
|
225
|
-
background: #27ae60;
|
|
232
|
+
background-color: #27ae60;
|
|
226
233
|
border: 2px solid $ac-white;
|
|
227
234
|
box-sizing: border-box;
|
|
228
235
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
|
|
@@ -230,13 +237,14 @@
|
|
|
230
237
|
height: 10px;
|
|
231
238
|
border-radius: 50%;
|
|
232
239
|
right: 0;
|
|
240
|
+
top: 5px;
|
|
233
241
|
}
|
|
234
242
|
}
|
|
235
243
|
|
|
236
244
|
// offer card scss start
|
|
237
245
|
.pricing-card-wrpper {
|
|
238
246
|
&.offer-card {
|
|
239
|
-
background:
|
|
247
|
+
background-color: $ac-white-lighter;
|
|
240
248
|
border: 1px solid $ac-white-light;
|
|
241
249
|
border-radius: 4px;
|
|
242
250
|
display: flex;
|
|
@@ -245,7 +253,7 @@
|
|
|
245
253
|
|
|
246
254
|
&:after {
|
|
247
255
|
@include absulate-shape($ac-primary, 100%, 4px);
|
|
248
|
-
background
|
|
256
|
+
background: linear-gradient(90deg, #f99a00 0%, #3f19ad 98.84%);
|
|
249
257
|
}
|
|
250
258
|
|
|
251
259
|
.offer-highlight {
|
|
@@ -342,12 +350,12 @@
|
|
|
342
350
|
|
|
343
351
|
a.inline-button {
|
|
344
352
|
font-size: 12px;
|
|
345
|
-
color: $ac-
|
|
353
|
+
color: $ac-color-text;
|
|
346
354
|
text-decoration: underline;
|
|
347
355
|
}
|
|
348
356
|
|
|
349
357
|
span {
|
|
350
|
-
color: $ac-
|
|
358
|
+
color: $ac-color-text;
|
|
351
359
|
font-size: 12px;
|
|
352
360
|
font-weight: 600;
|
|
353
361
|
}
|
|
@@ -355,7 +363,7 @@
|
|
|
355
363
|
p {
|
|
356
364
|
font-weight: 500;
|
|
357
365
|
font-size: $font-size-small;
|
|
358
|
-
color: $ac-
|
|
366
|
+
color: $ac-color-text;
|
|
359
367
|
|
|
360
368
|
span {
|
|
361
369
|
font-size: 12px;
|
|
@@ -374,7 +382,7 @@
|
|
|
374
382
|
letter-spacing: 0;
|
|
375
383
|
font-size: 12px;
|
|
376
384
|
border: none;
|
|
377
|
-
background: #f99a00;
|
|
385
|
+
background-color: #f99a00;
|
|
378
386
|
/* Old browsers */
|
|
379
387
|
background: -moz-linear-gradient(left, #f99a00 0%, #3f19ad 100%);
|
|
380
388
|
/* FF3.6-15 */
|
|
@@ -407,7 +415,7 @@
|
|
|
407
415
|
}
|
|
408
416
|
|
|
409
417
|
&.style-three {
|
|
410
|
-
background:
|
|
418
|
+
background-color: $ac-white-lighter;
|
|
411
419
|
width: 183px;
|
|
412
420
|
padding: 15px 15px 20px;
|
|
413
421
|
height: 115px;
|
|
@@ -431,7 +439,7 @@
|
|
|
431
439
|
font-size: 12px;
|
|
432
440
|
line-height: 14px;
|
|
433
441
|
text-align: center;
|
|
434
|
-
color: $ac-
|
|
442
|
+
color: $ac-color-text;
|
|
435
443
|
}
|
|
436
444
|
}
|
|
437
445
|
}
|
|
@@ -482,7 +490,7 @@
|
|
|
482
490
|
font-weight: 500;
|
|
483
491
|
font-size: $font-size-small;
|
|
484
492
|
line-height: 16px;
|
|
485
|
-
color: $ac-
|
|
493
|
+
color: $ac-color-text;
|
|
486
494
|
margin-bottom: 10px;
|
|
487
495
|
}
|
|
488
496
|
}
|
|
@@ -506,7 +514,33 @@
|
|
|
506
514
|
}
|
|
507
515
|
|
|
508
516
|
// features card end
|
|
517
|
+
// dark theme start
|
|
518
|
+
.is-dark-theme {
|
|
519
|
+
.ac-single-card {
|
|
520
|
+
background-color: var(--dark-bg-light);
|
|
509
521
|
|
|
522
|
+
&.style-three {
|
|
523
|
+
background-color: var(--dark-bg-light);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.ac-card-body {
|
|
527
|
+
p {
|
|
528
|
+
color: $ac-label-text;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.pricing-card-wrpper {
|
|
534
|
+
&.offer-card {
|
|
535
|
+
background-color: var(--dark-bg-light);
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.ac-card {
|
|
539
|
+
background-color: var(--dark-bg-light);
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
// dark theme end
|
|
510
544
|
/****************************************
|
|
511
545
|
Responsive Classes
|
|
512
546
|
*****************************************/
|
|
@@ -540,6 +574,7 @@ Responsive Classes
|
|
|
540
574
|
}
|
|
541
575
|
}
|
|
542
576
|
}
|
|
577
|
+
|
|
543
578
|
.ac-single-card {
|
|
544
579
|
&.card-counter {
|
|
545
580
|
.card-header {
|