@appscode/design-system 1.0.3-alpha.8 → 1.0.43-alpha.101
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 +285 -23
- package/base/utilities/_derived-variables.scss +2 -15
- package/base/utilities/_initial-variables.scss +99 -64
- package/base/utilities/_mixin.scss +90 -10
- 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 +47 -11
- 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 +140 -38
- package/components/_ac-modal.scss +5 -4
- package/components/_ac-multi-select.scss +220 -18
- package/components/_ac-options.scss +31 -16
- package/components/_ac-select-box.scss +15 -5
- package/components/_ac-table.scss +88 -47
- package/components/_ac-tabs.scss +72 -23
- package/components/_ac-tags.scss +2 -2
- package/components/_ac-terminal.scss +272 -0
- package/components/_app-drawer.scss +6 -6
- package/components/_breadcumb.scss +8 -3
- package/components/_buttons.scss +86 -33
- 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 +206 -46
- package/components/_monaco-editor.scss +1 -1
- package/components/_navbar.scss +104 -27
- package/components/_overview-info.scss +4 -4
- package/components/_overview-page.scss +1 -2
- package/components/_pagination.scss +45 -7
- package/components/_payment-card.scss +28 -12
- package/components/_preloader.scss +1 -1
- 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 +40 -8
- 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 +31 -12
- package/components/ui-builder/_vue-open-api.scss +98 -0
- package/layouts/_404.scss +2 -1
- package/layouts/_code-preview.scss +14 -6
- package/main.scss +4 -0
- package/package.json +2 -7
- package/plugins/theme.js +142 -0
- package/plugins/vue-toaster.js +7 -6
- package/vue-components/v2/breadcrumbs/Breadcrumb.vue +95 -0
- 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 +16 -10
- package/vue-components/v2/content/ContentHeader.vue +1 -1
- package/vue-components/v2/editor/Editor.vue +37 -17
- package/vue-components/v2/editor/ResourceKeyValueEditor.vue +232 -0
- package/vue-components/v2/header/Header.vue +0 -1
- package/vue-components/v2/modal/Modal.vue +32 -14
- package/vue-components/v2/modals/JsonShowModal.vue +0 -1
- package/vue-components/v2/navbar/Appdrawer.vue +9 -6
- package/vue-components/v2/navbar/ThemeMode.vue +120 -0
- package/vue-components/v2/pagination/Pagination.vue +8 -1
- 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 +24 -2
- package/vue-components/v2/table/InfoTable.vue +13 -3
- package/vue-components/v2/table/Table.vue +75 -5
- package/vue-components/v2/table/TableRow.vue +17 -8
- package/vue-components/v2/table/table-cell/CellValue.vue +10 -1
- package/vue-components/v2/tabs/EditorTabs.vue +1 -1
- 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 +157 -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 +135 -0
- package/vue-components/v3/modals/JsonShowModal.vue +87 -0
- package/vue-components/v3/navbar/Appdrawer.vue +63 -0
- package/vue-components/v3/navbar/ThemeMode.vue +128 -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/sidebar/ClusterSwitcher.vue +133 -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 +117 -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
|
@@ -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,72 +20,15 @@ $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: #
|
|
49
|
-
$ac-bg: #fff;
|
|
29
|
+
$ac-red: #ff3729;
|
|
50
30
|
|
|
51
|
-
// Color
|
|
52
|
-
$ac-border: #a6abbd;
|
|
53
|
-
$ac-border-hover: #54657e;
|
|
54
|
-
|
|
55
|
-
// Colors Primary
|
|
56
|
-
$ac-primary: #1971bd;
|
|
57
|
-
$ac-primary-90: #2f7ec3;
|
|
58
|
-
$ac-primary-80: #478dca;
|
|
59
|
-
$ac-primary-70: #5d9bd0;
|
|
60
|
-
$ac-primary-60: #75a9d7;
|
|
61
|
-
$ac-primary-50: #8bb7de;
|
|
62
|
-
$ac-primary-40: #a3c6e5;
|
|
63
|
-
$ac-primary-30: #b9d4eb;
|
|
64
|
-
$ac-primary-20: #d1e2f2;
|
|
65
|
-
$ac-primary-10: #e7f0f8;
|
|
66
|
-
|
|
67
|
-
// $ac-primary-90: scale-color($ac-primary, $lightness: 90%);
|
|
68
|
-
// $ac-primary-80: scale-color($ac-primary, $lightness: 80%);
|
|
69
|
-
// $ac-primary-70: scale-color($ac-primary, $lightness: 70%);
|
|
70
|
-
// $ac-primary-60: scale-color($ac-primary, $lightness: 60%);
|
|
71
|
-
// $ac-primary-50: scale-color($ac-primary, $lightness: 50%);
|
|
72
|
-
// $ac-primary-40: scale-color($ac-primary, $lightness: 40%);
|
|
73
|
-
// $ac-primary-30: scale-color($ac-primary, $lightness: 30%);
|
|
74
|
-
// $ac-primary-20: scale-color($ac-primary, $lightness: 20%);
|
|
75
|
-
// $ac-primary-10: scale-color($ac-primary, $lightness: 10%);
|
|
76
|
-
|
|
77
|
-
// Colors black
|
|
78
|
-
$ac-black: #000000;
|
|
79
|
-
$ac-color-text-90: #323232;
|
|
80
|
-
$ac-gray-darker: #494949;
|
|
81
|
-
$ac-gray-dark: #5f5f5f;
|
|
82
|
-
$ac-gray: #767676;
|
|
83
|
-
$ac-gray-light: #8d8d8d;
|
|
84
|
-
$ac-gray-lighter: #a4a4a4;
|
|
85
|
-
$ac-grey-lightest: #d1d1d1;
|
|
86
|
-
$ac-white-light: #e7e7e7;
|
|
87
|
-
$ac-white-lighter: #f1f1f1;
|
|
88
|
-
$ac-white: #ffffff;
|
|
89
|
-
|
|
90
|
-
// Color Products
|
|
31
|
+
// Products Color
|
|
91
32
|
$voyager-primary: #2d2a78;
|
|
92
33
|
$guard-primary: #d84e27;
|
|
93
34
|
$kubeci-primary: #2c3e50;
|
|
@@ -101,11 +42,103 @@ $servicebroker-primary: #29b4a2;
|
|
|
101
42
|
$stash-primary: #5e2dea;
|
|
102
43
|
$swift-primary: #3f51b6;
|
|
103
44
|
|
|
45
|
+
// Colors Primary
|
|
46
|
+
// root colors
|
|
47
|
+
:root {
|
|
48
|
+
--hsl-hue: 208;
|
|
49
|
+
--hsl-saturation: 77%;
|
|
50
|
+
--hsl-lightness: 42%;
|
|
51
|
+
--contrast-threshold: 60%;
|
|
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;
|
|
77
|
+
|
|
78
|
+
--font-hsl-hue: 0;
|
|
79
|
+
--font-hsl-saturation: 0%;
|
|
80
|
+
--font-hsl-lightness: 11%;
|
|
81
|
+
|
|
82
|
+
--ac-primary: hsla(
|
|
83
|
+
var(--hsl-hue),
|
|
84
|
+
var(--hsl-saturation),
|
|
85
|
+
var(--hsl-lightness),
|
|
86
|
+
1
|
|
87
|
+
);
|
|
88
|
+
|
|
89
|
+
--ac-text: hsla(
|
|
90
|
+
var(--font-hsl-hue),
|
|
91
|
+
calc(var(--font-hsl-saturation) + 10%),
|
|
92
|
+
calc(var(--font-hsl-lightness) + 10%),
|
|
93
|
+
1
|
|
94
|
+
);
|
|
95
|
+
--ac-text-heading: hsla(
|
|
96
|
+
var(--font-hsl-hue),
|
|
97
|
+
var(--font-hsl-saturation),
|
|
98
|
+
var(--font-hsl-lightness),
|
|
99
|
+
1
|
|
100
|
+
);
|
|
101
|
+
--ac-color-value: hsl(
|
|
102
|
+
var(--font-hsl-hue),
|
|
103
|
+
var(--font-hsl-saturation),
|
|
104
|
+
calc(var(--font-hsl-lightness) + 25%)
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
|
|
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);
|
|
135
|
+
|
|
104
136
|
/* Deafult Margin & Padding view-height & view-width */
|
|
105
137
|
@for $i from 0 through 100 {
|
|
106
138
|
.m-#{$i} {
|
|
107
139
|
margin: #{$i}px !important;
|
|
108
140
|
}
|
|
141
|
+
|
|
109
142
|
.mt-#{$i} {
|
|
110
143
|
margin-top: #{$i}px !important;
|
|
111
144
|
}
|
|
@@ -121,9 +154,11 @@ $swift-primary: #3f51b6;
|
|
|
121
154
|
.mr-#{$i} {
|
|
122
155
|
margin-right: #{$i}px !important;
|
|
123
156
|
}
|
|
157
|
+
|
|
124
158
|
.p-#{$i} {
|
|
125
159
|
padding: #{$i}px !important;
|
|
126
160
|
}
|
|
161
|
+
|
|
127
162
|
.pt-#{$i} {
|
|
128
163
|
padding-top: #{$i}px !important;
|
|
129
164
|
}
|
|
@@ -5,21 +5,53 @@
|
|
|
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
|
+
}
|
|
18
|
+
|
|
9
19
|
// box-shadow: 0px 6px 12px scale-color($color: $colorName, $lightness: 70%);
|
|
10
20
|
}
|
|
21
|
+
|
|
11
22
|
&:focus-visible {
|
|
12
23
|
outline: none;
|
|
13
24
|
}
|
|
25
|
+
|
|
14
26
|
&.is-light {
|
|
15
|
-
|
|
27
|
+
@if (type_of($colorName) == "color") {
|
|
28
|
+
background-color: scale-color($colorName, $lightness: 90%);
|
|
29
|
+
} @else {
|
|
30
|
+
background-color: hsla(
|
|
31
|
+
var(--hsl-hue),
|
|
32
|
+
var(--hsl-saturation),
|
|
33
|
+
var(--hsl-lightness),
|
|
34
|
+
0.1
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
|
|
16
38
|
color: $colorName;
|
|
39
|
+
|
|
17
40
|
&.is-border {
|
|
18
41
|
border: 1px solid $colorName;
|
|
19
42
|
}
|
|
20
43
|
|
|
21
44
|
&:hover {
|
|
22
|
-
|
|
45
|
+
@if (type_of($colorName) == "color") {
|
|
46
|
+
background-color: scale-color($colorName, $lightness: 80%);
|
|
47
|
+
} @else {
|
|
48
|
+
background-color: hsla(
|
|
49
|
+
var(--hsl-hue),
|
|
50
|
+
var(--hsl-saturation),
|
|
51
|
+
var(--hsl-lightness),
|
|
52
|
+
0.2
|
|
53
|
+
);
|
|
54
|
+
}
|
|
23
55
|
}
|
|
24
56
|
}
|
|
25
57
|
|
|
@@ -35,13 +67,24 @@
|
|
|
35
67
|
}
|
|
36
68
|
|
|
37
69
|
&.is-square {
|
|
38
|
-
|
|
70
|
+
@if (type_of($colorName) == "color") {
|
|
71
|
+
background-color: scale-color($colorName, $lightness: 80%);
|
|
72
|
+
} @else {
|
|
73
|
+
background-color: hsla(
|
|
74
|
+
var(--hsl-hue),
|
|
75
|
+
var(--hsl-saturation),
|
|
76
|
+
var(--hsl-lightness),
|
|
77
|
+
0.2
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
|
|
39
81
|
color: $colorName;
|
|
40
82
|
|
|
41
83
|
&:hover {
|
|
42
84
|
background-color: $colorName;
|
|
43
85
|
color: $ac-white;
|
|
44
|
-
box-shadow:
|
|
86
|
+
box-shadow: none;
|
|
87
|
+
|
|
45
88
|
img {
|
|
46
89
|
filter: brightness(100) !important;
|
|
47
90
|
}
|
|
@@ -53,7 +96,16 @@
|
|
|
53
96
|
color: $colorName;
|
|
54
97
|
|
|
55
98
|
&:hover {
|
|
56
|
-
|
|
99
|
+
@if (type_of($colorName) == "color") {
|
|
100
|
+
background-color: scale-color($colorName, $lightness: 80%);
|
|
101
|
+
} @else {
|
|
102
|
+
background-color: hsla(
|
|
103
|
+
var(--hsl-hue),
|
|
104
|
+
var(--hsl-saturation),
|
|
105
|
+
var(--hsl-lightness),
|
|
106
|
+
0.2
|
|
107
|
+
);
|
|
108
|
+
}
|
|
57
109
|
}
|
|
58
110
|
|
|
59
111
|
&.is-outlined {
|
|
@@ -62,7 +114,7 @@
|
|
|
62
114
|
color: $ac-white;
|
|
63
115
|
|
|
64
116
|
&:hover {
|
|
65
|
-
background: $ac-white;
|
|
117
|
+
background-color: $ac-white;
|
|
66
118
|
color: $colorName;
|
|
67
119
|
}
|
|
68
120
|
}
|
|
@@ -77,7 +129,15 @@
|
|
|
77
129
|
&:hover {
|
|
78
130
|
background-color: $colorName;
|
|
79
131
|
color: $ac-white;
|
|
80
|
-
|
|
132
|
+
|
|
133
|
+
@if (type_of($colorName) == "color") {
|
|
134
|
+
box-shadow: 0px 6px 12px scale-color($color: $colorName, $lightness: 70%);
|
|
135
|
+
} @else {
|
|
136
|
+
box-shadow: 0px
|
|
137
|
+
6px
|
|
138
|
+
12px
|
|
139
|
+
hsla(var(--hsl-hue), var(--hsl-saturation), var(--hsl-lightness), 0.3);
|
|
140
|
+
}
|
|
81
141
|
}
|
|
82
142
|
|
|
83
143
|
&.is-large {
|
|
@@ -85,7 +145,17 @@
|
|
|
85
145
|
z-index: 1;
|
|
86
146
|
overflow: hidden;
|
|
87
147
|
border: 1px solid $colorName;
|
|
88
|
-
|
|
148
|
+
|
|
149
|
+
@if (type_of($colorName) == "color") {
|
|
150
|
+
background-color: scale-color($colorName, $lightness: 80%);
|
|
151
|
+
} @else {
|
|
152
|
+
background-color: hsla(
|
|
153
|
+
var(--hsl-hue),
|
|
154
|
+
var(--hsl-saturation),
|
|
155
|
+
var(--hsl-lightness),
|
|
156
|
+
0.2
|
|
157
|
+
);
|
|
158
|
+
}
|
|
89
159
|
|
|
90
160
|
span {
|
|
91
161
|
color: $colorName;
|
|
@@ -123,7 +193,17 @@
|
|
|
123
193
|
}
|
|
124
194
|
|
|
125
195
|
@mixin ac-tags($colorName) {
|
|
126
|
-
|
|
196
|
+
@if (type_of($colorName) == "color") {
|
|
197
|
+
background-color: scale-color($colorName, $lightness: 85%);
|
|
198
|
+
} @else {
|
|
199
|
+
background-color: hsla(
|
|
200
|
+
var(--hsl-hue),
|
|
201
|
+
var(--hsl-saturation),
|
|
202
|
+
var(--hsl-lightness),
|
|
203
|
+
0.15
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
|
|
127
207
|
border-color: $colorName;
|
|
128
208
|
color: $colorName;
|
|
129
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 {
|
|
@@ -26,7 +27,12 @@
|
|
|
26
27
|
color: $ac-primary;
|
|
27
28
|
|
|
28
29
|
&:hover {
|
|
29
|
-
color:
|
|
30
|
+
color: hsla(
|
|
31
|
+
var(--hsl-hue),
|
|
32
|
+
var(--hsl-saturation),
|
|
33
|
+
calc(var(--hsl-lightness) - 10%),
|
|
34
|
+
1
|
|
35
|
+
);
|
|
30
36
|
}
|
|
31
37
|
}
|
|
32
38
|
}
|
|
@@ -47,7 +53,7 @@
|
|
|
47
53
|
|
|
48
54
|
// mixin for .ac-notification
|
|
49
55
|
@mixin acNotification($colorName) {
|
|
50
|
-
background: scale-color($color: $colorName, $lightness: 80%);
|
|
56
|
+
background-color: scale-color($color: $colorName, $lightness: 80%);
|
|
51
57
|
color: $ac-white;
|
|
52
58
|
border-color: $colorName;
|
|
53
59
|
|
|
@@ -64,10 +70,33 @@
|
|
|
64
70
|
}
|
|
65
71
|
}
|
|
66
72
|
}
|
|
73
|
+
@mixin acPrimaryNotification() {
|
|
74
|
+
background-color: hsla(
|
|
75
|
+
var(--hsl-hue),
|
|
76
|
+
var(--hsl-saturation),
|
|
77
|
+
var(--hsl-lightness),
|
|
78
|
+
0.2
|
|
79
|
+
);
|
|
80
|
+
color: $ac-white;
|
|
81
|
+
border-color: $ac-primary;
|
|
82
|
+
|
|
83
|
+
p {
|
|
84
|
+
color: $ac-primary;
|
|
85
|
+
|
|
86
|
+
a {
|
|
87
|
+
color: $ac-primary;
|
|
88
|
+
|
|
89
|
+
&:hover {
|
|
90
|
+
color: $ac-primary;
|
|
91
|
+
opacity: 0.8;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
67
96
|
|
|
68
97
|
// is-primary
|
|
69
98
|
.ac-notification.is-primary {
|
|
70
|
-
@include
|
|
99
|
+
@include acPrimaryNotification();
|
|
71
100
|
}
|
|
72
101
|
|
|
73
102
|
// is.info
|
|
@@ -106,7 +135,7 @@ AC Toast
|
|
|
106
135
|
margin-bottom: 10px;
|
|
107
136
|
|
|
108
137
|
* {
|
|
109
|
-
color:
|
|
138
|
+
color: $ac-white;
|
|
110
139
|
}
|
|
111
140
|
|
|
112
141
|
p {
|
|
@@ -123,16 +152,16 @@ AC Toast
|
|
|
123
152
|
padding: 0 15px;
|
|
124
153
|
|
|
125
154
|
&:hover {
|
|
126
|
-
color:
|
|
155
|
+
color: $ac-white-lighter;
|
|
127
156
|
}
|
|
128
157
|
}
|
|
129
158
|
|
|
130
159
|
button.close-button {
|
|
131
160
|
border-radius: 0px;
|
|
132
|
-
border-left: 1px solid
|
|
161
|
+
border-left: 1px solid $ac-white;
|
|
133
162
|
background-color: transparent;
|
|
134
163
|
border: none;
|
|
135
|
-
color:
|
|
164
|
+
color: $ac-white;
|
|
136
165
|
position: absolute;
|
|
137
166
|
right: 0;
|
|
138
167
|
top: 0;
|
|
@@ -141,13 +170,13 @@ AC Toast
|
|
|
141
170
|
width: 30px;
|
|
142
171
|
z-index: 1;
|
|
143
172
|
cursor: pointer;
|
|
144
|
-
border-left: 1px solid
|
|
173
|
+
border-left: 1px solid $ac-white;
|
|
145
174
|
}
|
|
146
175
|
}
|
|
147
176
|
|
|
148
177
|
// mixin for .ac-toast
|
|
149
178
|
@mixin acToast($colorName) {
|
|
150
|
-
background: $colorName;
|
|
179
|
+
background-color: $colorName;
|
|
151
180
|
color: $ac-white;
|
|
152
181
|
border-color: $colorName;
|
|
153
182
|
}
|
|
@@ -177,6 +206,13 @@ AC Toast
|
|
|
177
206
|
@include acToast($ac-warning);
|
|
178
207
|
}
|
|
179
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
|
|
180
216
|
/****************************************
|
|
181
217
|
Responsive Classes
|
|
182
218
|
*****************************************/
|