@appscode/design-system 2.0.19-alpha.1 → 2.0.19-alpha.11
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/main.scss +1 -15
- package/package.json +1 -1
- package/vue-components/styles/components/_add-card.scss +60 -60
- package/vue-components/styles/components/_all.scss +33 -11
- package/vue-components/styles/components/_breadcrumb.scss +32 -0
- package/vue-components/styles/components/_button.scss +51 -0
- package/vue-components/styles/components/_card-body-wrapper.scss +48 -48
- package/vue-components/styles/components/_direct-deploy.scss +63 -63
- package/vue-components/styles/components/alert/_alert-message.scss +16 -0
- package/vue-components/styles/components/alert/_alert.scss +123 -0
- package/vue-components/styles/components/alert/_all.scss +3 -0
- package/vue-components/styles/components/alert/_toast.scss +50 -0
- package/vue-components/styles/components/cards/_all.scss +8 -0
- package/vue-components/styles/components/cards/_cluster.scss +97 -0
- package/vue-components/styles/components/cards/_features.scss +26 -0
- package/vue-components/styles/components/cards/_info.scss +83 -0
- package/vue-components/styles/components/cards/_monitoring.scss +24 -0
- package/vue-components/styles/components/cards/_org.scss +59 -0
- package/vue-components/styles/components/cards/_vendor.scss +58 -0
- package/vue-components/styles/components/content/_all.scss +2 -0
- package/vue-components/styles/components/content/_content-header.scss +14 -0
- package/vue-components/styles/components/content/_content-layout.scss +4 -0
- package/vue-components/styles/components/editor/_all.scss +2 -0
- package/vue-components/styles/components/editor/_filtered-file-editor.scss +195 -0
- package/vue-components/styles/components/footer/_all.scss +3 -0
- package/vue-components/styles/components/footer/_footer-area.scss +26 -0
- package/vue-components/styles/components/footer/_footer-item.scss +14 -0
- package/vue-components/styles/components/footer/_footer-items.scss +5 -0
- package/vue-components/styles/components/form-fields/_all.scss +4 -0
- package/vue-components/styles/components/form-fields/_file-upload.scss +42 -0
- package/vue-components/styles/components/form-fields/_form-footer.scss +9 -0
- package/vue-components/styles/components/{_input.scss → form-fields/_input.scss} +5 -11
- package/vue-components/styles/components/header/_header-item.scss +13 -0
- package/vue-components/styles/components/header/_header.scss +7 -0
- package/vue-components/styles/components/navbar/_all.scss +2 -0
- package/vue-components/styles/components/navbar/_notification.scss +103 -0
- package/vue-components/styles/components/select-box/_ac-select-box.scss +49 -0
- package/vue-components/styles/components/select-box/_all.scss +2 -0
- package/vue-components/styles/components/sidebar/_all.scss +1 -0
- package/vue-components/styles/components/{_left-sidebar.scss → sidebar/_left-sidebar.scss} +21 -0
- package/vue-components/styles/components/ui-builder/_ui-builder.scss +1 -34
- package/vue-components/v3/alert/Alert.vue +1 -218
- package/vue-components/v3/alert/AlertMessage.vue +1 -16
- package/vue-components/v3/alert/Toast.vue +1 -50
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +1 -33
- package/vue-components/v3/button/Button.vue +1 -1
- package/vue-components/v3/button/Buttons.vue +0 -8
- package/vue-components/v3/cards/Cluster.vue +2 -93
- package/vue-components/v3/cards/FeatureCard.vue +2 -26
- package/vue-components/v3/cards/FeatureCards.vue +5 -1
- package/vue-components/v3/cards/InfoCard.vue +1 -80
- package/vue-components/v3/cards/Monitoring.vue +1 -24
- package/vue-components/v3/cards/OrgCard.vue +1 -59
- package/vue-components/v3/cards/Payment.vue +3 -0
- package/vue-components/v3/cards/Vendor.vue +2 -58
- package/vue-components/v3/content/ContentHeader.vue +1 -14
- package/vue-components/v3/content/ContentLayout.vue +1 -7
- package/vue-components/v3/editor/FilteredFileEditor.vue +2 -196
- package/vue-components/v3/footer/FooterArea.vue +2 -27
- package/vue-components/v3/footer/FooterItem.vue +1 -15
- package/vue-components/v3/footer/FooterItems.vue +2 -7
- package/vue-components/v3/form/FormFooter.vue +1 -9
- package/vue-components/v3/form-fields/AcSingleInput.vue +1 -1
- package/vue-components/v3/form-fields/FileUpload.vue +1 -42
- package/vue-components/v3/header/Header.vue +1 -7
- package/vue-components/v3/header/HeaderItem.vue +1 -13
- package/vue-components/v3/navbar/Navbar.vue +3 -1
- package/vue-components/v3/navbar/Notification.vue +1 -103
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +3 -1
- package/vue-components/v3/sidebar/Sidebar.vue +1 -1
- package/vue-components/styles/components/_ac-alert-box.scss +0 -205
- package/vue-components/styles/components/_ac-content-layout.scss +0 -165
- package/vue-components/styles/components/_ac-select-box.scss +0 -49
- package/vue-components/styles/components/_buttons.scss +0 -779
- /package/vue-components/styles/components/{_payment-card.scss → cards/_payment-card.scss} +0 -0
- /package/vue-components/styles/components/{_subscription-card.scss → cards/_subscription-card.scss} +0 -0
- /package/vue-components/styles/components/{_monaco-editor.scss → editor/_monaco-editor.scss} +0 -0
- /package/vue-components/styles/components/{_image-upload.scss → form-fields/_image-upload.scss} +0 -0
- /package/vue-components/styles/components/{_input-card.scss → form-fields/_input-card.scss} +0 -0
- /package/vue-components/styles/components/{_app-drawer.scss → header/_all.scss} +0 -0
- /package/vue-components/styles/components/{_menu-content.scss → navbar/_menu-content.scss} +0 -0
- /package/vue-components/styles/components/{_navbar.scss → navbar/_navbar.scss} +0 -0
- /package/vue-components/styles/components/{_multi-select.scss → select-box/_multi-select.scss} +0 -0
package/main.scss
CHANGED
|
@@ -17,18 +17,4 @@
|
|
|
17
17
|
@import "@/components/vue-components/styles/layouts/all";
|
|
18
18
|
|
|
19
19
|
// COMPONENTS
|
|
20
|
-
@import "@/components/vue-components/styles/components/all";
|
|
21
|
-
|
|
22
|
-
// //BASE - Base styles, variables, mixins
|
|
23
|
-
// @import "base/video-player";
|
|
24
|
-
|
|
25
|
-
// COMPONENTS
|
|
26
|
-
// @import "./cluster/resourceViewer";
|
|
27
|
-
// @import "./cluster/app-drawer";
|
|
28
|
-
|
|
29
|
-
// LAYOUTS - Page layout styles
|
|
30
|
-
// @import "layouts/_clusterListPage";
|
|
31
|
-
|
|
32
|
-
// KUBEDB COMPONENTS
|
|
33
|
-
// @import "./kubedb/styles/scss/custom.scss";
|
|
34
|
-
// @import "./kubedb/styles/scss/transitions.scss";
|
|
20
|
+
// @import "@/components/vue-components/styles/components/all";
|
package/package.json
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
.add-card-form {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
// .add-card-form {
|
|
2
|
+
// .card-title {
|
|
3
|
+
// display: grid;
|
|
4
|
+
// grid-template-columns: 46px auto;
|
|
5
|
+
// align-items: center;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
// .back-button {
|
|
8
|
+
// border: none;
|
|
9
|
+
// height: 46px;
|
|
10
|
+
// width: 46px;
|
|
11
|
+
// background-color: $white-100;
|
|
12
|
+
// border-radius: 4px 0 0 0;
|
|
13
|
+
// font-size: 16px;
|
|
14
|
+
// }
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
// h4 {
|
|
17
|
+
// font-weight: 600;
|
|
18
|
+
// font-size: 25px;
|
|
19
|
+
// line-height: 29px;
|
|
20
|
+
// color: $primary-5;
|
|
21
|
+
// margin-left: 20px;
|
|
22
|
+
// }
|
|
23
|
+
// }
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
// .card-body {
|
|
26
|
+
// background-color: $white-100;
|
|
27
|
+
// padding: 20px;
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
// .card-information {
|
|
30
|
+
// // display: grid;
|
|
31
|
+
// // grid-template-columns: 50% 17% 17% 17%;
|
|
32
|
+
// grid-gap: 20px;
|
|
33
|
+
// }
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
35
|
+
// .more-details {
|
|
36
|
+
// cursor: pointer;
|
|
37
|
+
// }
|
|
38
|
+
// }
|
|
39
|
+
// }
|
|
40
40
|
|
|
41
|
-
/****************************************
|
|
42
|
-
Responsive Classes
|
|
43
|
-
*****************************************/
|
|
44
|
-
// Extra small devices (portrait phones, less than 576px)
|
|
45
|
-
@media (max-width: 575.98px) {
|
|
46
|
-
}
|
|
41
|
+
// /****************************************
|
|
42
|
+
// Responsive Classes
|
|
43
|
+
// *****************************************/
|
|
44
|
+
// // Extra small devices (portrait phones, less than 576px)
|
|
45
|
+
// @media (max-width: 575.98px) {
|
|
46
|
+
// }
|
|
47
47
|
|
|
48
|
-
// Small devices (landscape phones, 576px and up)
|
|
49
|
-
@media (min-width: 576px) and (max-width: 767.98px) {
|
|
50
|
-
}
|
|
48
|
+
// // Small devices (landscape phones, 576px and up)
|
|
49
|
+
// @media (min-width: 576px) and (max-width: 767.98px) {
|
|
50
|
+
// }
|
|
51
51
|
|
|
52
|
-
// Medium devices (tablets, 768px and up)
|
|
53
|
-
@media (min-width: 768px) and (max-width: 991.98px) {
|
|
54
|
-
}
|
|
52
|
+
// // Medium devices (tablets, 768px and up)
|
|
53
|
+
// @media (min-width: 768px) and (max-width: 991.98px) {
|
|
54
|
+
// }
|
|
55
55
|
|
|
56
|
-
// Large devices (desktops, 992px and up)
|
|
57
|
-
@media (min-width: 992px) and (max-width: 1199.98px) {
|
|
58
|
-
}
|
|
56
|
+
// // Large devices (desktops, 992px and up)
|
|
57
|
+
// @media (min-width: 992px) and (max-width: 1199.98px) {
|
|
58
|
+
// }
|
|
59
59
|
|
|
60
|
-
// Extra large devices (large desktops, 1200px and up)
|
|
61
|
-
@media (min-width: 1200px) {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
60
|
+
// // Extra large devices (large desktops, 1200px and up)
|
|
61
|
+
// @media (min-width: 1200px) {
|
|
62
|
+
// .add-card-form {
|
|
63
|
+
// .card-title {
|
|
64
|
+
// h4 {
|
|
65
|
+
// font-size: 20px;
|
|
66
|
+
// line-height: 24px;
|
|
67
|
+
// }
|
|
68
|
+
// }
|
|
69
|
+
// }
|
|
70
|
+
// }
|
|
@@ -1,16 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
@import "navbar/all";
|
|
2
|
+
@import "alert/all";
|
|
3
|
+
@import "cards/all";
|
|
4
|
+
@import "content/all";
|
|
5
|
+
@import "editor/all";
|
|
6
|
+
@import "form-fields/all";
|
|
7
|
+
@import "header/all";
|
|
8
|
+
@import "select-box/all";
|
|
9
|
+
@import "sidebar/all";
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
@import "navbar";
|
|
11
|
+
@import "button";
|
|
11
12
|
@import "terminal";
|
|
12
|
-
@import "
|
|
13
|
-
@import "
|
|
13
|
+
@import "ac-drag";
|
|
14
|
+
@import "accordion";
|
|
15
|
+
@import "dropdown";
|
|
16
|
+
@import "breadcrumb";
|
|
14
17
|
@import "getkeeper";
|
|
18
|
+
@import "go-to-top";
|
|
19
|
+
@import "graph";
|
|
20
|
+
@import "modal";
|
|
21
|
+
@import "options";
|
|
22
|
+
@import "preloader";
|
|
23
|
+
@import "preview-modal";
|
|
24
|
+
// @import "progress-bar";
|
|
25
|
+
@import "report";
|
|
26
|
+
@import "table-of-content";
|
|
27
|
+
@import "table";
|
|
28
|
+
@import "tabs";
|
|
29
|
+
@import "terminal";
|
|
30
|
+
@import "tfa";
|
|
31
|
+
@import "transitions";
|
|
32
|
+
|
|
33
|
+
// @import "pricing-table";
|
|
34
|
+
// @import "overview-info";
|
|
35
|
+
// @import "overview-page"
|
|
36
|
+
// @import "nested-list";
|
|
15
37
|
@import "ui-builder/ui-builder";
|
|
16
38
|
@import "ui-builder/vue-open-api";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.ac-breadcrumb {
|
|
2
|
+
padding: 8px 20px;
|
|
3
|
+
border-bottom: 1px solid $primary-95;
|
|
4
|
+
position: sticky;
|
|
5
|
+
top: 50px;
|
|
6
|
+
height: auto;
|
|
7
|
+
background-color: $white-100;
|
|
8
|
+
z-index: 998;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.breadcrumb {
|
|
14
|
+
a {
|
|
15
|
+
color: $primary-20;
|
|
16
|
+
font-size: 13px;
|
|
17
|
+
padding: 0 3px;
|
|
18
|
+
font-weight: 500;
|
|
19
|
+
font-style: normal;
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
color: $primary-10;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
li.is-active {
|
|
27
|
+
a {
|
|
28
|
+
color: $primary-10;
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -47,13 +47,64 @@
|
|
|
47
47
|
&:not(.is-rounded) {
|
|
48
48
|
border-radius: 4px;
|
|
49
49
|
}
|
|
50
|
+
|
|
51
|
+
&.is-square {
|
|
52
|
+
width: 28px;
|
|
53
|
+
height: 28px;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
}
|
|
50
57
|
}
|
|
51
58
|
&.is-medium {
|
|
52
59
|
font-size: 1rem;
|
|
53
60
|
height: 36px;
|
|
61
|
+
&.is-square {
|
|
62
|
+
width: 36px;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
&.is-tinny {
|
|
68
|
+
height: 24px;
|
|
69
|
+
padding: 0 8px;
|
|
54
70
|
}
|
|
55
71
|
}
|
|
56
72
|
}
|
|
57
73
|
button.is-primary {
|
|
58
74
|
background-color: $primary;
|
|
59
75
|
}
|
|
76
|
+
.up-down-buttons {
|
|
77
|
+
border-radius: 4px;
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
position: relative;
|
|
80
|
+
z-index: 1;
|
|
81
|
+
max-width: 36px;
|
|
82
|
+
margin-bottom: 0 !important;
|
|
83
|
+
button.ac-button {
|
|
84
|
+
width: 36px;
|
|
85
|
+
height: 18px;
|
|
86
|
+
cursor: pointer;
|
|
87
|
+
border: none;
|
|
88
|
+
color: $primary;
|
|
89
|
+
background-color: $primary-90;
|
|
90
|
+
transition: 0.3s ease-in-out;
|
|
91
|
+
margin: 0 !important;
|
|
92
|
+
border-radius: 0;
|
|
93
|
+
&:hover {
|
|
94
|
+
background-color: $primary-80;
|
|
95
|
+
}
|
|
96
|
+
&.is-primary {
|
|
97
|
+
background-color: $primary;
|
|
98
|
+
color: $white-100;
|
|
99
|
+
&:hover {
|
|
100
|
+
background-color: $primary-30;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
.icon {
|
|
104
|
+
margin: 0;
|
|
105
|
+
padding: 0;
|
|
106
|
+
width: auto;
|
|
107
|
+
height: auto;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
.card-body-wrapper {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
// .card-body-wrapper {
|
|
2
|
+
// background-color: $white-100;
|
|
3
|
+
// border-radius: 4px;
|
|
4
|
+
// box-shadow: none;
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
// .card-header {
|
|
7
|
+
// background-color: $info-light;
|
|
8
|
+
// border-radius: 4px 4px 0px 0px;
|
|
9
|
+
// padding: 10px 20px;
|
|
10
|
+
// box-shadow: none;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
// .left-content {
|
|
13
|
+
// p {
|
|
14
|
+
// font-weight: 500;
|
|
15
|
+
// font-size: 14px;
|
|
16
|
+
// line-height: 16px;
|
|
17
|
+
// color: $primary-5;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
// .require {
|
|
20
|
+
// color: #ff0000;
|
|
21
|
+
// }
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
// &.description {
|
|
24
|
+
// font-weight: normal;
|
|
25
|
+
// font-size: 14px;
|
|
26
|
+
// line-height: 16px;
|
|
27
|
+
// color: $primary-20;
|
|
28
|
+
// margin-top: 10px;
|
|
29
|
+
// }
|
|
30
|
+
// }
|
|
31
|
+
// }
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
// .right-content {
|
|
34
|
+
// .button {
|
|
35
|
+
// font-size: 12px;
|
|
36
|
+
// font-weight: normal;
|
|
37
|
+
// letter-spacing: 0;
|
|
38
|
+
// }
|
|
39
|
+
// }
|
|
40
|
+
// }
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
42
|
+
// .card-content {
|
|
43
|
+
// p {
|
|
44
|
+
// &.cluster-title {
|
|
45
|
+
// font-weight: normal;
|
|
46
|
+
// font-size: 14px;
|
|
47
|
+
// line-height: 16px;
|
|
48
|
+
// color: $black-40;
|
|
49
|
+
// margin-top: 30px;
|
|
50
|
+
// margin-bottom: 10px;
|
|
51
|
+
// }
|
|
52
|
+
// }
|
|
53
|
+
// }
|
|
54
|
+
// }
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
.direct-deploy {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
// .direct-deploy {
|
|
2
|
+
// h5 {
|
|
3
|
+
// font-weight: 500;
|
|
4
|
+
// font-size: 18px;
|
|
5
|
+
// line-height: 21px;
|
|
6
|
+
// color: $primary-5;
|
|
7
|
+
// margin-bottom: 10px;
|
|
8
|
+
// .fa {
|
|
9
|
+
// color: $primary;
|
|
10
|
+
// }
|
|
11
|
+
// }
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
// p {
|
|
14
|
+
// font-size: 14px;
|
|
15
|
+
// line-height: 160%;
|
|
16
|
+
// color: $primary-5;
|
|
17
|
+
// margin-bottom: 20px;
|
|
18
|
+
// }
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
// .check-permission {
|
|
21
|
+
// font-weight: normal;
|
|
22
|
+
// font-size: 14px;
|
|
23
|
+
// line-height: 16px;
|
|
24
|
+
// color: $primary-5;
|
|
25
|
+
// }
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
// .button {
|
|
28
|
+
// margin: 10px 0;
|
|
29
|
+
// }
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
31
|
+
// .msg {
|
|
32
|
+
// font-size: 12px;
|
|
33
|
+
// line-height: 14px;
|
|
34
|
+
// color: $primary-20;
|
|
35
|
+
// }
|
|
36
|
+
// .buttons {
|
|
37
|
+
// &.is-gray {
|
|
38
|
+
// .button {
|
|
39
|
+
// &.ac-primary {
|
|
40
|
+
// background-color: $info-light;
|
|
41
|
+
// }
|
|
42
|
+
// }
|
|
43
|
+
// }
|
|
44
|
+
// }
|
|
45
|
+
// }
|
|
46
46
|
|
|
47
|
-
h5 {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
.is-gray {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
47
|
+
// h5 {
|
|
48
|
+
// &.toc-title {
|
|
49
|
+
// font-style: normal;
|
|
50
|
+
// font-weight: 500;
|
|
51
|
+
// font-size: 16px;
|
|
52
|
+
// line-height: 19px;
|
|
53
|
+
// color: $primary-20;
|
|
54
|
+
// }
|
|
55
|
+
// }
|
|
56
|
+
// .is-gray {
|
|
57
|
+
// .button {
|
|
58
|
+
// border: none;
|
|
59
|
+
// background-color: $info-light;
|
|
60
|
+
// }
|
|
61
|
+
// }
|
|
62
62
|
|
|
63
|
-
.card-content {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
63
|
+
// .card-content {
|
|
64
|
+
// &.is-table-of-content {
|
|
65
|
+
// display: grid;
|
|
66
|
+
// grid-template-columns: 65% 35%;
|
|
67
|
+
// grid-gap: 15px;
|
|
68
|
+
// }
|
|
69
|
+
// }
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
.ac-notification {
|
|
2
|
+
background-color: #dee7f5;
|
|
3
|
+
font-size: 13px;
|
|
4
|
+
color: $primary;
|
|
5
|
+
min-height: 36px;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
padding: 8px 16px;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
border: 1px solid $primary;
|
|
11
|
+
border-radius: 4px;
|
|
12
|
+
justify-content: flex-start;
|
|
13
|
+
position: relative;
|
|
14
|
+
z-index: 1;
|
|
15
|
+
min-width: 280px;
|
|
16
|
+
|
|
17
|
+
p {
|
|
18
|
+
color: $primary;
|
|
19
|
+
|
|
20
|
+
.close-icon {
|
|
21
|
+
padding-right: 10px;
|
|
22
|
+
font-size: 15px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
a {
|
|
26
|
+
text-decoration: underline;
|
|
27
|
+
color: $primary;
|
|
28
|
+
|
|
29
|
+
&:hover {
|
|
30
|
+
color: hsla(
|
|
31
|
+
var(--hsl-hue),
|
|
32
|
+
var(--hsl-saturation),
|
|
33
|
+
calc(var(--hsl-lightness) - 10%),
|
|
34
|
+
1
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
button.close {
|
|
41
|
+
background-color: transparent;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
right: 0px;
|
|
44
|
+
position: absolute;
|
|
45
|
+
box-shadow: none;
|
|
46
|
+
border: none;
|
|
47
|
+
font-size: 14px;
|
|
48
|
+
color: $danger;
|
|
49
|
+
width: 40px;
|
|
50
|
+
height: 100%;
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// mixin for .ac-notification
|
|
58
|
+
@mixin acNotification($colorName) {
|
|
59
|
+
background-color: scale-color($color: $colorName, $lightness: 80%);
|
|
60
|
+
color: $white-100;
|
|
61
|
+
border-color: $colorName;
|
|
62
|
+
|
|
63
|
+
p {
|
|
64
|
+
color: $colorName;
|
|
65
|
+
|
|
66
|
+
a {
|
|
67
|
+
color: $colorName;
|
|
68
|
+
|
|
69
|
+
&:hover {
|
|
70
|
+
color: $colorName;
|
|
71
|
+
opacity: 0.8;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
@mixin acPrimaryNotification() {
|
|
77
|
+
background-color: hsla(
|
|
78
|
+
var(--hsl-hue),
|
|
79
|
+
var(--hsl-saturation),
|
|
80
|
+
var(--hsl-lightness),
|
|
81
|
+
0.2
|
|
82
|
+
);
|
|
83
|
+
color: $white-100;
|
|
84
|
+
border-color: $primary;
|
|
85
|
+
|
|
86
|
+
p {
|
|
87
|
+
color: $primary;
|
|
88
|
+
|
|
89
|
+
a {
|
|
90
|
+
color: $primary;
|
|
91
|
+
|
|
92
|
+
&:hover {
|
|
93
|
+
color: $primary;
|
|
94
|
+
opacity: 0.8;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// is-primary
|
|
101
|
+
.ac-notification.is-primary {
|
|
102
|
+
@include acPrimaryNotification();
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// is.info
|
|
106
|
+
.ac-notification.is-info {
|
|
107
|
+
@include acNotification($info);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// is.success
|
|
111
|
+
.ac-notification.is-success {
|
|
112
|
+
@include acNotification($success);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// is-danger
|
|
116
|
+
.ac-notification.is-danger {
|
|
117
|
+
@include acNotification($danger);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// is-warning
|
|
121
|
+
.ac-notification.is-warning {
|
|
122
|
+
@include acNotification($warning);
|
|
123
|
+
}
|