@appscode/design-system 1.1.0 → 2.0.1
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/_video-player.scss +65 -0
- package/base/utilities/_all.scss +7 -5
- package/base/utilities/_colors.scss +377 -0
- package/base/utilities/_customize-bulma.scss +23 -27
- package/base/utilities/_extended.scss +39 -0
- package/base/utilities/{_default.scss → _global.scss} +192 -333
- package/base/utilities/_layouts.scss +19 -0
- package/base/utilities/_mixin.scss +11 -11
- package/base/utilities/_spacing.scss +96 -0
- package/base/utilities/_typography.scss +56 -24
- package/components/_ac-alert-box.scss +205 -263
- package/components/_ac-calendar.scss +4 -4
- package/components/_ac-code-highlight.scss +13 -16
- package/components/_ac-content-layout.scss +165 -165
- package/components/_ac-drag.scss +13 -13
- package/components/_ac-modal.scss +212 -212
- package/components/_ac-options.scss +122 -123
- package/components/_ac-select-box.scss +10 -10
- package/components/_ac-table.scss +503 -502
- package/components/_ac-tabs.scss +65 -61
- package/components/_ac-tags.scss +116 -116
- package/components/_accordion.scss +117 -0
- package/components/_add-card.scss +3 -3
- package/components/_all.scss +35 -28
- package/components/_app-drawer.scss +0 -134
- package/components/_breadcumb.scss +0 -71
- package/components/_buttons.scss +779 -779
- package/components/_card-body-wrapper.scss +5 -5
- package/components/_dashboard-header.scss +0 -115
- package/components/_direct-deploy.scss +8 -8
- package/components/_getkeeper.scss +110 -0
- package/components/_go-to-top.scss +1 -1
- package/components/_graph.scss +10 -10
- package/components/_image-upload.scss +9 -9
- package/components/_input-card.scss +232 -0
- package/components/_input.scss +573 -0
- package/components/_left-sidebar-menu.scss +452 -587
- package/components/_monaco-editor.scss +2 -2
- package/components/{_ac-multi-select.scss → _multi-select.scss} +89 -251
- package/components/_navbar.scss +786 -752
- package/components/_nested-list.scss +3 -3
- package/components/_overview-info.scss +10 -10
- package/components/_overview-page.scss +4 -4
- package/components/_pagination.scss +106 -124
- package/components/_payment-card.scss +21 -21
- package/components/_preloader.scss +1 -1
- package/components/_preview-modal.scss +18 -18
- package/components/_pricing-table.scss +14 -14
- package/components/_progress-bar.scss +73 -86
- package/components/_subscription-card.scss +22 -24
- package/components/_table-of-content.scss +8 -8
- package/components/{_ac-terminal.scss → _terminal.scss} +114 -81
- package/components/_tfa.scss +9 -9
- package/components/_transitions.scss +35 -0
- package/components/_widget-menu.scss +252 -257
- package/components/_wizard.scss +518 -793
- package/components/ac-toaster/_ac-toasted.scss +11 -16
- package/components/bbum/_activities-header.scss +1 -1
- package/components/bbum/_card-team.scss +12 -12
- package/components/bbum/_information-center.scss +21 -23
- package/components/bbum/_left-sidebar.scss +8 -8
- package/components/bbum/_mobile-desktop.scss +16 -21
- package/components/bbum/_post.scss +5 -5
- package/components/bbum/_sign-up-notification.scss +10 -10
- package/components/bbum/_single-post-preview.scss +29 -29
- package/components/bbum/_user-profile.scss +10 -10
- package/components/ui-builder/_ui-builder.scss +221 -31
- package/components/ui-builder/_vue-open-api.scss +565 -7
- package/icons/close-icon.svg +3 -0
- package/layouts/_code-preview.scss +17 -18
- package/main.scss +26 -10
- package/package.json +1 -1
- package/plugins/theme.js +11 -9
- package/plugins/vue-toaster.js +1 -1
- package/vue-components/images/icons/cluster-icon.svg +10 -0
- package/vue-components/images/icons/org-icon.svg +10 -0
- package/vue-components/plugins/time-convert.js +49 -0
- package/vue-components/types/cluster.ts +6 -0
- package/vue-components/types/importFlow.ts +16 -0
- package/vue-components/types/notification.ts +6 -0
- package/vue-components/types/previewYaml.ts +8 -0
- package/vue-components/types/table.ts +55 -0
- package/vue-components/types/theme.ts +10 -0
- package/vue-components/types/user.ts +22 -0
- package/vue-components/v2/banner/Banner.vue +1 -1
- package/vue-components/v2/button/Buttons.vue +1 -1
- package/vue-components/v2/card/Card.vue +1 -1
- package/vue-components/v2/card/OverviewCards.vue +17 -2
- package/vue-components/v2/content/ContentTable.vue +14 -9
- package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
- package/vue-components/v2/editor/ResourceKeyValueEditor.vue +21 -21
- package/vue-components/v2/icons/Ellipsis.vue +2 -1
- package/vue-components/v2/modal/Modal.vue +2 -6
- package/vue-components/v2/navbar/Appdrawer.vue +37 -12
- package/vue-components/v2/navbar/Navbar.vue +3 -3
- package/vue-components/v2/navbar/NavbarItem.vue +3 -1
- package/vue-components/v2/navbar/NavbarItemContent.vue +1 -1
- package/vue-components/v2/navbar/User.vue +5 -22
- package/vue-components/v2/pagination/Pagination.vue +66 -0
- package/vue-components/v2/sidebar/SidebarItem.vue +10 -7
- package/{components/_ac-accordion.scss → vue-components/v3/accordion/Accordion.vue} +40 -6
- package/vue-components/v3/alert/Alert.vue +238 -0
- package/vue-components/v3/alert/Toast.vue +79 -0
- package/vue-components/v3/banner/Banner.vue +10 -0
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +166 -0
- package/vue-components/v3/button/Button.vue +110 -57
- package/vue-components/v3/button/Buttons.vue +22 -0
- package/vue-components/v3/button/DownloadBtn.vue +31 -0
- package/vue-components/v3/cards/Card.vue +32 -0
- package/vue-components/v3/cards/CardContent.vue +7 -0
- package/vue-components/v3/cards/CardHeader.vue +14 -0
- package/vue-components/v3/cards/Cards.vue +7 -0
- package/vue-components/v3/cards/Cluster.vue +159 -0
- package/vue-components/v3/cards/Counter.vue +39 -0
- package/vue-components/v3/cards/FeatureCard.vue +67 -0
- package/vue-components/v3/cards/FeatureCards.vue +6 -0
- package/vue-components/v3/cards/InfoCard.vue +242 -0
- package/vue-components/v3/cards/Monitoring.vue +90 -0
- package/vue-components/v3/cards/OrgClusterCard.vue +86 -0
- package/vue-components/v3/cards/OverviewCard.vue +28 -0
- package/vue-components/v3/cards/OverviewCards.vue +39 -0
- package/vue-components/v3/cards/Payment.vue +62 -0
- package/vue-components/v3/cards/Vendor.vue +89 -0
- package/vue-components/v3/content/ContentHeader.vue +39 -30
- package/vue-components/v3/content/ContentLayout.vue +20 -0
- package/vue-components/v3/content/ContentTable.vue +44 -58
- package/vue-components/v3/dropdown/DropdownAction.vue +95 -0
- package/vue-components/v3/dropdown/DropdownDivider.vue +2 -0
- package/vue-components/v3/dropdown/DropdownItem.vue +2 -0
- package/vue-components/v3/dropdown/DropdownMenu.vue +85 -91
- package/vue-components/v3/editor/Editor.vue +117 -115
- package/vue-components/v3/editor/FilteredFileEditor.vue +325 -128
- package/vue-components/v3/editor/ResourceKeyValueEditor.vue +73 -94
- package/vue-components/v3/footer/FooterArea.vue +40 -0
- package/vue-components/v3/footer/FooterItem.vue +32 -0
- package/vue-components/v3/footer/FooterItems.vue +15 -0
- package/vue-components/v3/footer/Info.vue +25 -0
- package/vue-components/v3/footer/Status.vue +43 -0
- package/vue-components/v3/footer/Usage.vue +34 -0
- package/vue-components/v3/form/Form.vue +24 -36
- package/vue-components/v3/form/FormFooter.vue +24 -0
- package/vue-components/v3/form/FormFooterControl.vue +7 -0
- package/vue-components/v3/form/FormFooterControls.vue +7 -0
- package/vue-components/v3/form-fields/AcSingleInput.vue +21 -0
- package/vue-components/v3/form-fields/FileUpload.vue +89 -0
- package/vue-components/v3/form-fields/Input.vue +19 -15
- package/vue-components/v3/header/Header.vue +120 -26
- package/vue-components/v3/header/HeaderItem.vue +18 -0
- package/vue-components/v3/header/HeaderItems.vue +4 -0
- package/vue-components/v3/icons/Ellipsis.vue +2 -0
- package/vue-components/v3/loaders/ClusterSwitcherLoader.vue +13 -0
- package/vue-components/v3/loaders/InfoCardLoader.vue +19 -0
- package/vue-components/v3/loaders/ResourceLoader.vue +4 -12
- package/vue-components/v3/loaders/SidebarLoader.vue +4 -12
- package/vue-components/v3/loaders/SingleInfoCardLoader.vue +24 -0
- package/vue-components/v3/modal/Modal.vue +294 -95
- package/vue-components/v3/modals/DeleteConfirmationModal.vue +37 -50
- package/vue-components/v3/modals/JsonShowModal.vue +63 -68
- package/vue-components/v3/navbar/Appdrawer.vue +198 -51
- package/vue-components/v3/navbar/Navbar.vue +139 -0
- package/vue-components/v3/navbar/NavbarItem.vue +103 -0
- package/vue-components/v3/navbar/NavbarItemContent.vue +282 -0
- package/vue-components/v3/navbar/Notification.vue +207 -0
- package/vue-components/v3/navbar/ThemeMode.vue +128 -112
- package/vue-components/v3/navbar/User.vue +431 -268
- package/vue-components/v3/notification/AlertBox.vue +266 -39
- package/vue-components/v3/notification/Notification.vue +50 -44
- package/vue-components/v3/notification/NotificationItem.vue +51 -19
- package/vue-components/v3/option-dots/Options.vue +197 -0
- package/vue-components/v3/pagination/Pagination.vue +216 -102
- package/vue-components/v3/preloader/Preloader.vue +23 -0
- package/vue-components/v3/searchbars/SearchBar.vue +50 -34
- package/vue-components/v3/sidebar/AccentColorPicker.vue +97 -0
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +71 -86
- package/vue-components/v3/sidebar/Sidebar.vue +239 -0
- package/vue-components/v3/sidebar/SidebarBody.vue +14 -0
- package/vue-components/v3/sidebar/SidebarFooter.vue +89 -0
- package/vue-components/v3/sidebar/SidebarHeader.vue +131 -0
- package/vue-components/v3/sidebar/SidebarItem.vue +62 -0
- package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +101 -104
- package/vue-components/v3/sidebar/SidebarMenuList.vue +9 -0
- package/vue-components/v3/sidebar/Steps.vue +152 -0
- package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +204 -0
- package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +44 -0
- package/vue-components/v3/sidebar/sidebar-tabs/TabsContent.vue +99 -0
- package/vue-components/v3/tab/TabItem.vue +10 -12
- package/vue-components/v3/tab/Tabs.vue +36 -0
- package/vue-components/v3/tab/TabsBody.vue +7 -0
- package/vue-components/v3/table/EmptyTableInfo.vue +8 -0
- package/vue-components/v3/table/FakeTableCell.vue +22 -31
- package/vue-components/v3/table/InfoTable.vue +89 -61
- package/vue-components/v3/table/MultiInfoTable.vue +72 -95
- package/vue-components/v3/table/Table.vue +596 -157
- package/vue-components/v3/table/TableCell.vue +13 -24
- package/vue-components/v3/table/TableContainer.vue +50 -28
- package/vue-components/v3/table/TableRow.vue +65 -87
- package/vue-components/v3/table/table-cell/ArrayCell.vue +94 -103
- package/vue-components/v3/table/table-cell/CellValue.vue +74 -106
- package/vue-components/v3/table/table-cell/GenericCell.vue +43 -42
- package/vue-components/v3/table/table-cell/ObjectCell.vue +91 -101
- package/vue-components/v3/table/table-cell/ValueWithModal.vue +22 -31
- package/vue-components/v3/tabs/EditorTabs.vue +18 -24
- package/vue-components/v3/tag/Tag.vue +16 -12
- package/vue-components/v3/tag/Tags.vue +7 -0
- package/base/utilities/_derived-variables.scss +0 -25
- package/base/utilities/_initial-variables.scss +0 -215
- package/base/utilities/dark-theme.scss +0 -26
- package/components/_ac-card.scss +0 -597
- package/components/_ac-input.scss +0 -876
- package/mixins/stickyContent.js +0 -141
- package/plugins/caching.ts +0 -243
- package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +0 -92
- package/vue-components/v3/modals/LongRunningTasksModal.vue +0 -400
- package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +0 -148
- /package/components/{_ac-report.scss → _report.scss} +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
.lightbox {
|
|
2
|
+
background-color: rgba($color: #000000, $alpha: 0.8);
|
|
3
|
+
position: fixed;
|
|
4
|
+
display: none;
|
|
5
|
+
z-index: 99;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
right: 0;
|
|
8
|
+
left: 0;
|
|
9
|
+
top: 0;
|
|
10
|
+
|
|
11
|
+
&-container {
|
|
12
|
+
position: relative;
|
|
13
|
+
max-width: 1080px;
|
|
14
|
+
margin: 7% auto;
|
|
15
|
+
display: block;
|
|
16
|
+
padding: 0 3%;
|
|
17
|
+
height: auto;
|
|
18
|
+
z-index: 10;
|
|
19
|
+
|
|
20
|
+
// Increasing top margin for mobile
|
|
21
|
+
@media screen and (max-width: 768px) {
|
|
22
|
+
margin-top: 10%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media screen and (max-width: 414px) {
|
|
26
|
+
margin-top: 13%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&-content {
|
|
31
|
+
box-shadow: 0 1px 6px fade(black, 70%);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&-close {
|
|
35
|
+
text-transform: uppercase;
|
|
36
|
+
background: transparent;
|
|
37
|
+
position: absolute;
|
|
38
|
+
font-weight: 300;
|
|
39
|
+
font-size: 32px;
|
|
40
|
+
display: block;
|
|
41
|
+
border: none;
|
|
42
|
+
color: white;
|
|
43
|
+
top: -52px;
|
|
44
|
+
right: 3%;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.video-container {
|
|
50
|
+
padding-bottom: 56.25%;
|
|
51
|
+
position: relative;
|
|
52
|
+
padding-top: 30px;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
height: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.video-container iframe,
|
|
58
|
+
.video-container object,
|
|
59
|
+
.video-container embed {
|
|
60
|
+
position: absolute;
|
|
61
|
+
height: 100%;
|
|
62
|
+
width: 100%;
|
|
63
|
+
left: 0;
|
|
64
|
+
top: 0;
|
|
65
|
+
}
|
package/base/utilities/_all.scss
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
@import "
|
|
2
|
-
@import "derived-variables";
|
|
3
|
-
@import "mixin";
|
|
1
|
+
// @import "colors";
|
|
4
2
|
@import "typography";
|
|
5
|
-
@import "
|
|
3
|
+
@import "mixin";
|
|
4
|
+
@import "extended";
|
|
5
|
+
@import "global";
|
|
6
6
|
@import "grid";
|
|
7
|
-
@import "
|
|
7
|
+
@import "spacing";
|
|
8
|
+
@import "layouts";
|
|
9
|
+
// @import "dark-theme";
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
// ===================================PREVIOUS STYLE========================================
|
|
2
|
+
// root colors
|
|
3
|
+
// :root {
|
|
4
|
+
// --hsl-hue: 208;
|
|
5
|
+
// --hsl-saturation: 77%;
|
|
6
|
+
// --hsl-lightness: 40%;
|
|
7
|
+
|
|
8
|
+
// --ac-primary: hsla(var(--hsl-hue),
|
|
9
|
+
// var(--hsl-saturation),
|
|
10
|
+
// var(--hsl-lightness),
|
|
11
|
+
// 1);
|
|
12
|
+
// }
|
|
13
|
+
|
|
14
|
+
// transparent: var(--ac-bg);
|
|
15
|
+
// $primary: var(--ac-primary);
|
|
16
|
+
// $primary-20: var(--ac-color-value);
|
|
17
|
+
|
|
18
|
+
// Colors
|
|
19
|
+
// $ac-black: var(--ac-black);
|
|
20
|
+
// $primary-10-90: var(--ac-color-text-90);
|
|
21
|
+
// $ac-link-black: var(--ac-link-black);
|
|
22
|
+
// $black-40: var(--ac-gray-darker);
|
|
23
|
+
// $black-30: var(--ac-gray-dark);
|
|
24
|
+
// $ac-gray: var(--ac-gray);
|
|
25
|
+
// $ac-gray-light: var(--ac-gray-light);
|
|
26
|
+
// $ac-gray-lighter: var(--ac-gray-lighter);
|
|
27
|
+
// $ac-gray-lightest: var(--ac-gray-lightest);
|
|
28
|
+
// $white-100: var(--ac-white-light);
|
|
29
|
+
// $white-100er: var(--ac-white-lighter);
|
|
30
|
+
// $white-100est: var(--ac-white-lightest);
|
|
31
|
+
// $white-100: var(--ac-white);
|
|
32
|
+
// $ac-full-white: var(--ac-full-white);
|
|
33
|
+
|
|
34
|
+
// $info-light: var(--ac-blue-light);
|
|
35
|
+
// transparent-light-gray: var(--ac-bg-light-gray);
|
|
36
|
+
// $table-header: var(--table-header);
|
|
37
|
+
// $ac-label-text: var(--ac-label-text);
|
|
38
|
+
|
|
39
|
+
// for dark theme CSS
|
|
40
|
+
// $dark-bg: var(--dark-bg);
|
|
41
|
+
// $black-8: var(--dark-bg-light);
|
|
42
|
+
// ===================================PREVIOUS STYLE========================================
|
|
43
|
+
|
|
44
|
+
// white and black
|
|
45
|
+
$white-100: hsl(0, 0%, 100%);
|
|
46
|
+
$black-100: hsl(0, 0%, 0%);
|
|
47
|
+
|
|
48
|
+
// primary color guides
|
|
49
|
+
$primary-hue: 208;
|
|
50
|
+
$primary-saturation: 77%;
|
|
51
|
+
$primary-5: hsl($primary-hue, $primary-saturation, 5%);
|
|
52
|
+
$primary-10: hsl($primary-hue, $primary-saturation, 10%);
|
|
53
|
+
$primary-20: hsl($primary-hue, $primary-saturation, 20%);
|
|
54
|
+
$primary-30: hsl($primary-hue, $primary-saturation, 30%);
|
|
55
|
+
$primary-40: hsl($primary-hue, $primary-saturation, 40%);
|
|
56
|
+
$primary: hsl($primary-hue, $primary-saturation, 40%);
|
|
57
|
+
$primary-50: hsl($primary-hue, $primary-saturation, 50%);
|
|
58
|
+
$primary-60: hsl($primary-hue, $primary-saturation, 60%);
|
|
59
|
+
$primary-70: hsl($primary-hue, $primary-saturation, 70%);
|
|
60
|
+
$primary-80: hsl($primary-hue, $primary-saturation, 80%);
|
|
61
|
+
$primary-90: hsl($primary-hue, $primary-saturation, 90%);
|
|
62
|
+
$primary-93: hsl($primary-hue, $primary-saturation, 93%);
|
|
63
|
+
$primary-95: hsl($primary-hue, $primary-saturation, 95%);
|
|
64
|
+
$primary-97: hsl($primary-hue, $primary-saturation, 97%);
|
|
65
|
+
|
|
66
|
+
// green color guides
|
|
67
|
+
$green-hue: 141;
|
|
68
|
+
$green-saturation: 53%;
|
|
69
|
+
$green-5: hsl($green-hue, $green-saturation, 5%);
|
|
70
|
+
$green-10: hsl($green-hue, $green-saturation, 10%);
|
|
71
|
+
$green-20: hsl($green-hue, $green-saturation, 20%);
|
|
72
|
+
$green-30: hsl($green-hue, $green-saturation, 30%);
|
|
73
|
+
$green-40: hsl($green-hue, $green-saturation, 40%);
|
|
74
|
+
$success: hsl($green-hue, $green-saturation, 40%);
|
|
75
|
+
$green-50: hsl($green-hue, $green-saturation, 50%);
|
|
76
|
+
$green-60: hsl($green-hue, $green-saturation, 60%);
|
|
77
|
+
$green-70: hsl($green-hue, $green-saturation, 70%);
|
|
78
|
+
$green-80: hsl($green-hue, $green-saturation, 80%);
|
|
79
|
+
$green-90: hsl($green-hue, $green-saturation, 90%);
|
|
80
|
+
$green-93: hsl($green-hue, $green-saturation, 93%);
|
|
81
|
+
$green-95: hsl($green-hue, $green-saturation, 95%);
|
|
82
|
+
$green-97: hsl($green-hue, $green-saturation, 97%);
|
|
83
|
+
|
|
84
|
+
// blue color guides
|
|
85
|
+
$blue-hue: 217;
|
|
86
|
+
$blue-saturation: 71%;
|
|
87
|
+
$blue-5: hsl($blue-hue, $blue-saturation, 5%);
|
|
88
|
+
$blue-10: hsl($blue-hue, $blue-saturation, 10%);
|
|
89
|
+
$blue-20: hsl($blue-hue, $blue-saturation, 20%);
|
|
90
|
+
$blue-30: hsl($blue-hue, $blue-saturation, 30%);
|
|
91
|
+
$blue-40: hsl($blue-hue, $blue-saturation, 40%);
|
|
92
|
+
$blue-50: hsl($blue-hue, $blue-saturation, 50%);
|
|
93
|
+
$info: hsl($blue-hue, $blue-saturation, 50%);
|
|
94
|
+
$blue-60: hsl($blue-hue, $blue-saturation, 60%);
|
|
95
|
+
$blue-70: hsl($blue-hue, $blue-saturation, 70%);
|
|
96
|
+
$blue-80: hsl($blue-hue, $blue-saturation, 80%);
|
|
97
|
+
$blue-90: hsl($blue-hue, $blue-saturation, 90%);
|
|
98
|
+
$blue-93: hsl($blue-hue, $blue-saturation, 93%);
|
|
99
|
+
$blue-95: hsl($blue-hue, $blue-saturation, 95%);
|
|
100
|
+
$blue-97: hsl($blue-hue, $blue-saturation, 97%);
|
|
101
|
+
|
|
102
|
+
// purple color guides
|
|
103
|
+
$purple-hue: 286;
|
|
104
|
+
$purple-saturation: 66%;
|
|
105
|
+
$purple-5: hsl($purple-hue, $purple-saturation, 5%);
|
|
106
|
+
$purple-10: hsl($purple-hue, $purple-saturation, 10%);
|
|
107
|
+
$purple-20: hsl($purple-hue, $purple-saturation, 20%);
|
|
108
|
+
$purple-30: hsl($purple-hue, $purple-saturation, 30%);
|
|
109
|
+
$purple-40: hsl($purple-hue, $purple-saturation, 40%);
|
|
110
|
+
$purple: hsl($purple-hue, $purple-saturation, 40%);
|
|
111
|
+
$purple-50: hsl($purple-hue, $purple-saturation, 50%);
|
|
112
|
+
$purple-60: hsl($purple-hue, $purple-saturation, 60%);
|
|
113
|
+
$purple-70: hsl($purple-hue, $purple-saturation, 70%);
|
|
114
|
+
$purple-80: hsl($purple-hue, $purple-saturation, 80%);
|
|
115
|
+
$purple-90: hsl($purple-hue, $purple-saturation, 90%);
|
|
116
|
+
$purple-93: hsl($purple-hue, $purple-saturation, 93%);
|
|
117
|
+
$purple-95: hsl($purple-hue, $purple-saturation, 95%);
|
|
118
|
+
$purple-97: hsl($purple-hue, $purple-saturation, 97%);
|
|
119
|
+
|
|
120
|
+
// yellow color guides
|
|
121
|
+
$yellow-hue: 38;
|
|
122
|
+
$yellow-saturation: 93%;
|
|
123
|
+
$yellow-5: hsl($yellow-hue, $yellow-saturation, 5%);
|
|
124
|
+
$yellow-10: hsl($yellow-hue, $yellow-saturation, 10%);
|
|
125
|
+
$yellow-20: hsl($yellow-hue, $yellow-saturation, 20%);
|
|
126
|
+
$yellow-30: hsl($yellow-hue, $yellow-saturation, 30%);
|
|
127
|
+
$yellow-40: hsl($yellow-hue, $yellow-saturation, 40%);
|
|
128
|
+
$yellow-50: hsl($yellow-hue, $yellow-saturation, 50%);
|
|
129
|
+
$warning: hsl($yellow-hue, $yellow-saturation, 50%);
|
|
130
|
+
$yellow-60: hsl($yellow-hue, $yellow-saturation, 60%);
|
|
131
|
+
$yellow-70: hsl($yellow-hue, $yellow-saturation, 70%);
|
|
132
|
+
$yellow-80: hsl($yellow-hue, $yellow-saturation, 80%);
|
|
133
|
+
$yellow-90: hsl($yellow-hue, $yellow-saturation, 90%);
|
|
134
|
+
$yellow-93: hsl($yellow-hue, $yellow-saturation, 93%);
|
|
135
|
+
$yellow-95: hsl($yellow-hue, $yellow-saturation, 95%);
|
|
136
|
+
$yellow-97: hsl($yellow-hue, $yellow-saturation, 97%);
|
|
137
|
+
|
|
138
|
+
// red color guides
|
|
139
|
+
$red-hue: 348;
|
|
140
|
+
$red-saturation: 100%;
|
|
141
|
+
$red-5: hsl($red-hue, $red-saturation, 5%);
|
|
142
|
+
$red-10: hsl($red-hue, $red-saturation, 10%);
|
|
143
|
+
$red-20: hsl($red-hue, $red-saturation, 20%);
|
|
144
|
+
$red-30: hsl($red-hue, $red-saturation, 30%);
|
|
145
|
+
$danger: hsl($red-hue, $red-saturation, 40%);
|
|
146
|
+
$red-40: hsl($red-hue, $red-saturation, 40%);
|
|
147
|
+
$red-50: hsl($red-hue, $red-saturation, 50%);
|
|
148
|
+
$red-60: hsl($red-hue, $red-saturation, 60%);
|
|
149
|
+
$red-70: hsl($red-hue, $red-saturation, 70%);
|
|
150
|
+
$red-80: hsl($red-hue, $red-saturation, 80%);
|
|
151
|
+
$red-90: hsl($red-hue, $red-saturation, 90%);
|
|
152
|
+
$red-93: hsl($red-hue, $red-saturation, 93%);
|
|
153
|
+
$red-95: hsl($red-hue, $red-saturation, 95%);
|
|
154
|
+
$red-97: hsl($red-hue, $red-saturation, 97%);
|
|
155
|
+
|
|
156
|
+
// black color guides
|
|
157
|
+
$black-hue: 0;
|
|
158
|
+
$black-saturation: 0%;
|
|
159
|
+
$black-5: hsl($black-hue, $black-saturation, 5%);
|
|
160
|
+
$black-10: hsl($black-hue, $black-saturation, 10%);
|
|
161
|
+
$black-20: hsl($black-hue, $black-saturation, 20%);
|
|
162
|
+
$black-30: hsl($black-hue, $black-saturation, 30%);
|
|
163
|
+
$black-40: hsl($black-hue, $black-saturation, 40%);
|
|
164
|
+
$black-50: hsl($black-hue, $black-saturation, 50%);
|
|
165
|
+
$gray: hsl($black-hue, $black-saturation, 50%);
|
|
166
|
+
$black-60: hsl($black-hue, $black-saturation, 60%);
|
|
167
|
+
$black-70: hsl($black-hue, $black-saturation, 70%);
|
|
168
|
+
$black-80: hsl($black-hue, $black-saturation, 80%);
|
|
169
|
+
$black-90: hsl($black-hue, $black-saturation, 90%);
|
|
170
|
+
$black-93: hsl($black-hue, $black-saturation, 93%);
|
|
171
|
+
$black-95: hsl($black-hue, $black-saturation, 95%);
|
|
172
|
+
$black-97: hsl($black-hue, $black-saturation, 97%);
|
|
173
|
+
|
|
174
|
+
// classes
|
|
175
|
+
@mixin generate-color-classes($type, $color, $h, $s, $from, $to, $step) {
|
|
176
|
+
$i: $from;
|
|
177
|
+
|
|
178
|
+
@while $i <=$to {
|
|
179
|
+
.#{$type}-#{$color}-#{$i} {
|
|
180
|
+
#{if($type == "text", "color", "background-color")}: hsl($h, $s, $i * 1%);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
$i: $i + $step;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// for primary classes
|
|
188
|
+
@include generate-color-classes(
|
|
189
|
+
"text",
|
|
190
|
+
"primary",
|
|
191
|
+
$primary-hue,
|
|
192
|
+
$primary-saturation,
|
|
193
|
+
10,
|
|
194
|
+
90,
|
|
195
|
+
10
|
|
196
|
+
);
|
|
197
|
+
|
|
198
|
+
@include generate-color-classes(
|
|
199
|
+
"bg",
|
|
200
|
+
"primary",
|
|
201
|
+
$primary-hue,
|
|
202
|
+
$primary-saturation,
|
|
203
|
+
10,
|
|
204
|
+
90,
|
|
205
|
+
10
|
|
206
|
+
);
|
|
207
|
+
|
|
208
|
+
@include generate-color-classes(
|
|
209
|
+
"text",
|
|
210
|
+
"primary",
|
|
211
|
+
$primary-hue,
|
|
212
|
+
$primary-saturation,
|
|
213
|
+
5,
|
|
214
|
+
5,
|
|
215
|
+
1
|
|
216
|
+
);
|
|
217
|
+
|
|
218
|
+
@include generate-color-classes(
|
|
219
|
+
"bg",
|
|
220
|
+
"primary",
|
|
221
|
+
$primary-hue,
|
|
222
|
+
$primary-saturation,
|
|
223
|
+
5,
|
|
224
|
+
5,
|
|
225
|
+
1
|
|
226
|
+
);
|
|
227
|
+
|
|
228
|
+
@include generate-color-classes(
|
|
229
|
+
"text",
|
|
230
|
+
"primary",
|
|
231
|
+
$primary-hue,
|
|
232
|
+
$primary-saturation,
|
|
233
|
+
93,
|
|
234
|
+
97,
|
|
235
|
+
2
|
|
236
|
+
);
|
|
237
|
+
|
|
238
|
+
@include generate-color-classes(
|
|
239
|
+
"bg",
|
|
240
|
+
"primary",
|
|
241
|
+
$primary-hue,
|
|
242
|
+
$primary-saturation,
|
|
243
|
+
93,
|
|
244
|
+
97,
|
|
245
|
+
2
|
|
246
|
+
);
|
|
247
|
+
|
|
248
|
+
// for green classes
|
|
249
|
+
@include generate-color-classes(
|
|
250
|
+
"text",
|
|
251
|
+
"green",
|
|
252
|
+
$green-hue,
|
|
253
|
+
$green-saturation,
|
|
254
|
+
10,
|
|
255
|
+
90,
|
|
256
|
+
10
|
|
257
|
+
);
|
|
258
|
+
@include generate-color-classes(
|
|
259
|
+
"bg",
|
|
260
|
+
"green",
|
|
261
|
+
$green-hue,
|
|
262
|
+
$green-saturation,
|
|
263
|
+
10,
|
|
264
|
+
90,
|
|
265
|
+
10
|
|
266
|
+
);
|
|
267
|
+
|
|
268
|
+
@include generate-color-classes(
|
|
269
|
+
"text",
|
|
270
|
+
"green",
|
|
271
|
+
$green-hue,
|
|
272
|
+
$green-saturation,
|
|
273
|
+
5,
|
|
274
|
+
5,
|
|
275
|
+
1
|
|
276
|
+
);
|
|
277
|
+
|
|
278
|
+
@include generate-color-classes(
|
|
279
|
+
"bg",
|
|
280
|
+
"green",
|
|
281
|
+
$green-hue,
|
|
282
|
+
$green-saturation,
|
|
283
|
+
5,
|
|
284
|
+
5,
|
|
285
|
+
1
|
|
286
|
+
);
|
|
287
|
+
|
|
288
|
+
@include generate-color-classes(
|
|
289
|
+
"text",
|
|
290
|
+
"green",
|
|
291
|
+
$green-hue,
|
|
292
|
+
$green-saturation,
|
|
293
|
+
93,
|
|
294
|
+
97,
|
|
295
|
+
2
|
|
296
|
+
);
|
|
297
|
+
|
|
298
|
+
@include generate-color-classes(
|
|
299
|
+
"bg",
|
|
300
|
+
"green",
|
|
301
|
+
$green-hue,
|
|
302
|
+
$green-saturation,
|
|
303
|
+
93,
|
|
304
|
+
97,
|
|
305
|
+
2
|
|
306
|
+
);
|
|
307
|
+
|
|
308
|
+
// for purple classes
|
|
309
|
+
@include generate-color-classes(
|
|
310
|
+
"text",
|
|
311
|
+
"purple",
|
|
312
|
+
$purple-hue,
|
|
313
|
+
$purple-saturation,
|
|
314
|
+
10,
|
|
315
|
+
90,
|
|
316
|
+
10
|
|
317
|
+
);
|
|
318
|
+
@include generate-color-classes(
|
|
319
|
+
"bg",
|
|
320
|
+
"purple",
|
|
321
|
+
$purple-hue,
|
|
322
|
+
$purple-saturation,
|
|
323
|
+
10,
|
|
324
|
+
90,
|
|
325
|
+
10
|
|
326
|
+
);
|
|
327
|
+
|
|
328
|
+
@include generate-color-classes(
|
|
329
|
+
"text",
|
|
330
|
+
"purple",
|
|
331
|
+
$purple-hue,
|
|
332
|
+
$purple-saturation,
|
|
333
|
+
5,
|
|
334
|
+
5,
|
|
335
|
+
1
|
|
336
|
+
);
|
|
337
|
+
|
|
338
|
+
@include generate-color-classes(
|
|
339
|
+
"bg",
|
|
340
|
+
"purple",
|
|
341
|
+
$purple-hue,
|
|
342
|
+
$purple-saturation,
|
|
343
|
+
5,
|
|
344
|
+
5,
|
|
345
|
+
1
|
|
346
|
+
);
|
|
347
|
+
|
|
348
|
+
@include generate-color-classes(
|
|
349
|
+
"text",
|
|
350
|
+
"purple",
|
|
351
|
+
$purple-hue,
|
|
352
|
+
$purple-saturation,
|
|
353
|
+
93,
|
|
354
|
+
97,
|
|
355
|
+
2
|
|
356
|
+
);
|
|
357
|
+
|
|
358
|
+
@include generate-color-classes(
|
|
359
|
+
"bg",
|
|
360
|
+
"purple",
|
|
361
|
+
$purple-hue,
|
|
362
|
+
$purple-saturation,
|
|
363
|
+
93,
|
|
364
|
+
97,
|
|
365
|
+
2
|
|
366
|
+
);
|
|
367
|
+
|
|
368
|
+
// Box Shadow
|
|
369
|
+
$ac-shadow-1: 0 1px 4px rgba(26, 80, 151, 0.16);
|
|
370
|
+
$ac-shadow-2: 0px 8px 57px rgba(0, 0, 0, 0.16);
|
|
371
|
+
$ac-shadow-3: 0 3px 4px 0 rgba(0, 0, 0, 0.18),
|
|
372
|
+
0 3px 3px -2px rgba(0, 0, 0, 0.16), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
|
|
373
|
+
|
|
374
|
+
$shadow-sm: 0 1px 4px rgba(26, 80, 151, 0.16);
|
|
375
|
+
$shadow-xl: 0px 8px 57px rgba(0, 0, 0, 0.16);
|
|
376
|
+
$shadow-lg: 0 3px 4px 0 rgba(0, 0, 0, 0.18), 0 3px 3px -2px rgba(0, 0, 0, 0.16),
|
|
377
|
+
0 1px 6px 0 rgba(0, 0, 0, 0.12);
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
$primary : hsl(208, 77%, 42%);
|
|
2
|
-
|
|
3
1
|
// Colors
|
|
4
2
|
// $black: hsl(0, 0%, 4%) !default;
|
|
5
3
|
// $black-bis: hsl(0, 0%, 7%) !default;
|
|
@@ -16,33 +14,33 @@ $primary : hsl(208, 77%, 42%);
|
|
|
16
14
|
// $white-bis: hsl(0, 0%, 98%) !default;
|
|
17
15
|
// $white: hsl(0, 0%, 100%) !default;
|
|
18
16
|
|
|
19
|
-
$orange: hsl(30, 100%, 50%) !default;
|
|
20
|
-
$yellow: hsl(38, 93%, 57%) !default;
|
|
21
|
-
$green: hsl(147, 73%, 31%) !default;
|
|
17
|
+
// $orange: hsl(30, 100%, 50%) !default;
|
|
18
|
+
// $yellow: hsl(38, 93%, 57%) !default;
|
|
19
|
+
// $green: hsl(147, 73%, 31%) !default;
|
|
22
20
|
// $turquoise: hsl(171, 100%, 41%) !default;
|
|
23
21
|
// $cyan: hsl(207, 61%, 53%) !default;
|
|
24
22
|
// $blue: hsl(229, 53%, 53%) !default;
|
|
25
|
-
$purple: hsl(286, 66%, 35%) !default;
|
|
26
|
-
$red: hsl(4, 100%, 58%) !default;
|
|
23
|
+
// $purple: hsl(286, 66%, 35%) !default;
|
|
24
|
+
// $red: hsl(4, 100%, 58%) !default;
|
|
27
25
|
|
|
28
26
|
// // Typography
|
|
29
27
|
// $family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default;
|
|
30
28
|
// $family-monospace: monospace !default;
|
|
31
29
|
// $render-mode: optimizeLegibility !default;
|
|
32
30
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
31
|
+
$size-1: 2.462rem !default; //32px
|
|
32
|
+
$size-2: 2rem !default; //26px
|
|
33
|
+
$size-3: 1.692rem !default; //22px
|
|
34
|
+
$size-4: 1.385rem !default; //18px
|
|
35
|
+
$size-5: 1.213rem !default; //16px
|
|
36
|
+
$size-6: 1rem !default; //13px
|
|
37
|
+
$size-7: 0.846rem !default; //11px
|
|
40
38
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
$weight-light: 300 !default;
|
|
40
|
+
$weight-normal: 400 !default;
|
|
41
|
+
$weight-medium: 500 !default;
|
|
42
|
+
$weight-semibold: 600 !default;
|
|
43
|
+
$weight-bold: 700 !default;
|
|
46
44
|
|
|
47
45
|
// // Spacing
|
|
48
46
|
// $block-spacing: 1.5rem !default;
|
|
@@ -74,16 +72,14 @@ $red: hsl(4, 100%, 58%) !default;
|
|
|
74
72
|
// $variable-columns: true !default;
|
|
75
73
|
// $rtl: false !default;
|
|
76
74
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
// // Derived-Variables
|
|
75
|
+
// // Derived-Variables
|
|
80
76
|
|
|
81
77
|
// $primary: $turquoise !default;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
78
|
+
$primary: $primary !default;
|
|
79
|
+
$info: $blue !default;
|
|
80
|
+
$success: $success !default;
|
|
81
|
+
$warning: $warning !default;
|
|
82
|
+
$danger: $danger !default;
|
|
87
83
|
|
|
88
84
|
// $light: $white-ter !default;
|
|
89
85
|
// $dark: $grey-darker !default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.has-hover-style {
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
|
|
4
|
+
&::before {
|
|
5
|
+
content: "";
|
|
6
|
+
position: absolute;
|
|
7
|
+
top: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
left: 0;
|
|
11
|
+
border-top: solid 1px;
|
|
12
|
+
border-bottom: solid 1px;
|
|
13
|
+
transition: 0.3s;
|
|
14
|
+
transform: scaleX(0);
|
|
15
|
+
border-color: #1971bd;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&::after {
|
|
19
|
+
content: "";
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
bottom: 0;
|
|
24
|
+
left: 0;
|
|
25
|
+
border-left: solid 1px;
|
|
26
|
+
border-right: solid 1px;
|
|
27
|
+
transition: 0.3s;
|
|
28
|
+
transform: scaleY(0);
|
|
29
|
+
border-color: #1971bd;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:hover {
|
|
33
|
+
|
|
34
|
+
&::before,
|
|
35
|
+
&::after {
|
|
36
|
+
transform: scale(1);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|