create-berna-stencil 1.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/.eleventy.js +81 -0
- package/.eleventyignore +4 -0
- package/.gitignore +2 -0
- package/README.md +31 -0
- package/bin/create.js +96 -0
- package/package.json +71 -0
- package/src/404.njk +16 -0
- package/src/_routes/another-page.njk +9 -0
- package/src/api/configExample.php +28 -0
- package/src/api/sendEmail.php +131 -0
- package/src/assets/brand/favicon.svg +37 -0
- package/src/assets/brand/logo.svg +37 -0
- package/src/components/exampleComponent.njk +12 -0
- package/src/components/global/footer.njk +32 -0
- package/src/components/global/header.njk +15 -0
- package/src/components/layouts/base.njk +100 -0
- package/src/components/layouts/includes.njk +16 -0
- package/src/data/lang.json +32 -0
- package/src/data/site.json +54 -0
- package/src/index.njk +9 -0
- package/src/js/modules/forms/form.js +45 -0
- package/src/js/modules/forms/normalizePhoneNumber.js +42 -0
- package/src/js/modules/forms/textAreaAutoExpand.js +38 -0
- package/src/js/modules/langSwitcher.js +62 -0
- package/src/js/modules/notification.js +39 -0
- package/src/js/pages/404.js +23 -0
- package/src/js/pages/anotherPage.js +23 -0
- package/src/js/pages/homepage.js +25 -0
- package/src/robots.txt +4 -0
- package/src/scss/modules/_animations.scss +25 -0
- package/src/scss/modules/_footer.scss +12 -0
- package/src/scss/modules/_global.scss +40 -0
- package/src/scss/modules/_header.scss +32 -0
- package/src/scss/modules/_mobile.scss +30 -0
- package/src/scss/modules/_notification.scss +56 -0
- package/src/scss/modules/_root.scss +37 -0
- package/src/scss/modules/_typography.scss +15 -0
- package/src/scss/modules/frameworks/_bootstrap.scss +111 -0
- package/src/scss/modules/frameworks/_bulma.scss +110 -0
- package/src/scss/modules/frameworks/_foundation.scss +140 -0
- package/src/scss/modules/frameworks/_uikit.scss +111 -0
- package/src/scss/pages/404.scss +20 -0
- package/src/scss/pages/anotherPage.scss +21 -0
- package/src/scss/pages/homepage.scss +21 -0
- package/src/sitemap.njk +17 -0
- package/tools/assistant.js +127 -0
- package/tools/cleanOutput.js +24 -0
- package/tools/modules/updateData.js +58 -0
- package/tools/modules/updateIncludes.js +45 -0
- package/tools/modules/updateOutputPath.js +91 -0
- package/tools/modules/updatePage.js +150 -0
- package/tools/res/templates.json +56 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@use 'root' as root;
|
|
2
|
+
|
|
3
|
+
.notificationBox {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
text-align: center;
|
|
8
|
+
position: fixed;
|
|
9
|
+
top: root.$header-height;
|
|
10
|
+
left: 50%;
|
|
11
|
+
transform: translateX(-50%);
|
|
12
|
+
z-index: 9999;
|
|
13
|
+
width: 30vw;
|
|
14
|
+
padding: 18px;
|
|
15
|
+
border-radius: 15px;
|
|
16
|
+
gap: 15px;
|
|
17
|
+
|
|
18
|
+
background-color: rgba(0, 0, 0, 0.9);
|
|
19
|
+
|
|
20
|
+
transition: opacity 0.5s ease, transform 0.5s ease;
|
|
21
|
+
|
|
22
|
+
.spinner {
|
|
23
|
+
width: 20px;
|
|
24
|
+
height: 20px;
|
|
25
|
+
border: 3px solid currentColor;
|
|
26
|
+
border-right-color: transparent;
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
animation: spin .75s linear infinite;
|
|
29
|
+
filter: drop-shadow(0 0 5px currentColor);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Varianti */
|
|
33
|
+
&.success {
|
|
34
|
+
box-shadow: 0 0 2px #2ecc71, 0 0 15px rgba(46, 204, 113, 0.6), 0 0 40px rgba(46, 204, 113, 0.2);
|
|
35
|
+
color: #2ecc71;
|
|
36
|
+
text-shadow: 0 0 2px #2ecc71, 0 0 15px rgba(46, 204, 113, 0.6), 0 0 40px rgba(46, 204, 113, 0.2);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.info {
|
|
40
|
+
box-shadow: 0 0 2px #f1c40f, 0 0 15px rgba(241, 196, 15, 0.6), 0 0 40px rgba(241, 196, 15, 0.2);
|
|
41
|
+
color: #f1c40f;
|
|
42
|
+
text-shadow: 0 0 2px #f1c40f, 0 0 15px rgba(241, 196, 15, 0.6), 0 0 40px rgba(241, 196, 15, 0.2);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.error {
|
|
46
|
+
box-shadow: 0 0 2px #e74c3c, 0 0 15px rgba(231, 76, 60, 0.6), 0 0 40px rgba(231, 76, 60, 0.2);
|
|
47
|
+
color: #e74c3c;
|
|
48
|
+
text-shadow: 0 0 2px #e74c3c, 0 0 15px rgba(231, 76, 60, 0.6), 0 0 40px rgba(231, 76, 60, 0.2);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Stato di uscita */
|
|
52
|
+
&.fade-out {
|
|
53
|
+
opacity: 0;
|
|
54
|
+
transform: translateX(-50%) translateY(-20px);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// NOTE: This file contains only Sass variables (no CSS output).
|
|
2
|
+
// When imported with @import, all variables are global and may be
|
|
3
|
+
// overwritten by other imported files with the same variable names.
|
|
4
|
+
// Use @use 'root' as root; to avoid namespace collisions.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
//==========================
|
|
8
|
+
// CSS ROOT RULES
|
|
9
|
+
//==========================
|
|
10
|
+
|
|
11
|
+
// Import this module to get all the constants that you need in your css using "@use 'root' as root;"
|
|
12
|
+
$header-height: 10vh; // Use: root.$header-height;
|
|
13
|
+
$header-padding-y: 15px;
|
|
14
|
+
$header-padding-x: 15px;
|
|
15
|
+
|
|
16
|
+
//==========================
|
|
17
|
+
// COLORS — BASE
|
|
18
|
+
//==========================
|
|
19
|
+
$primary: rgba(0, 0, 0, 0.5);
|
|
20
|
+
$secondary: #a3dcff;
|
|
21
|
+
$accent: #f9a8c9;
|
|
22
|
+
|
|
23
|
+
//==========================
|
|
24
|
+
// COLORS — NEUTRALS
|
|
25
|
+
//==========================
|
|
26
|
+
$white: #ffffff;
|
|
27
|
+
$light: #f5f5f5;
|
|
28
|
+
$muted: #888888;
|
|
29
|
+
$dark: #2d2d2d;
|
|
30
|
+
|
|
31
|
+
//==========================
|
|
32
|
+
// COLORS — SEMANTIC
|
|
33
|
+
//==========================
|
|
34
|
+
$success: #198754;
|
|
35
|
+
$warning: #ffc107;
|
|
36
|
+
$danger: #dc3545;
|
|
37
|
+
$info: #0dcaf0;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// ╔══════════════════════════════════════════════════════╗
|
|
2
|
+
// ║ BOOTSTRAP MODULES ║
|
|
3
|
+
// ║ Comment out any module you don't need to improve ║
|
|
4
|
+
// ║ performance. Core section is required by all others ║
|
|
5
|
+
// ║ To switch framework, edit the page .scss file ║
|
|
6
|
+
// ╚══════════════════════════════════════════════════════╝
|
|
7
|
+
|
|
8
|
+
// Imports can be filtered by commenting them
|
|
9
|
+
// Example:
|
|
10
|
+
// @import "../../../../node_modules/bootstrap/scss/example-bootstrap-module";
|
|
11
|
+
|
|
12
|
+
//==========================
|
|
13
|
+
// 1️⃣ CORE – Functions and variables
|
|
14
|
+
// ⚠️ Do not comment these out — required by all other modules
|
|
15
|
+
//==========================
|
|
16
|
+
@import "../../../../node_modules/bootstrap/scss/functions"; // Bootstrap SCSS functions
|
|
17
|
+
@import "../../../../node_modules/bootstrap/scss/variables"; // Core variables (colors, spacing, fonts)
|
|
18
|
+
@import "../../../../node_modules/bootstrap/scss/variables-dark"; // Dark theme variables
|
|
19
|
+
@import "../../../../node_modules/bootstrap/scss/maps"; // Maps for spacing, colors, breakpoints
|
|
20
|
+
@import "../../../../node_modules/bootstrap/scss/mixins"; // Reusable SCSS mixins
|
|
21
|
+
@import "../../../../node_modules/bootstrap/scss/utilities"; // Utility helpers
|
|
22
|
+
@import "../../../../node_modules/bootstrap/scss/root"; // Root CSS (custom properties)
|
|
23
|
+
@import "../../../../node_modules/bootstrap/scss/placeholders"; // Placeholder selectors
|
|
24
|
+
|
|
25
|
+
//==========================
|
|
26
|
+
// 2️⃣ VENDOR
|
|
27
|
+
//==========================
|
|
28
|
+
@import "../../../../node_modules/bootstrap/scss/vendor/rfs"; // Responsive font sizes
|
|
29
|
+
|
|
30
|
+
//==========================
|
|
31
|
+
// 3️⃣ BASE – Base styles
|
|
32
|
+
//==========================
|
|
33
|
+
@import "../../../../node_modules/bootstrap/scss/reboot"; // CSS reset / normalize
|
|
34
|
+
@import "../../../../node_modules/bootstrap/scss/type"; // Typography (headings, paragraphs)
|
|
35
|
+
@import "../../../../node_modules/bootstrap/scss/images"; // Image styles
|
|
36
|
+
@import "../../../../node_modules/bootstrap/scss/containers"; // Containers
|
|
37
|
+
@import "../../../../node_modules/bootstrap/scss/transitions"; // CSS transitions
|
|
38
|
+
|
|
39
|
+
//==========================
|
|
40
|
+
// 4️⃣ LAYOUT – Layout helpers
|
|
41
|
+
//==========================
|
|
42
|
+
@import "../../../../node_modules/bootstrap/scss/grid"; // Grid system
|
|
43
|
+
@import "../../../../node_modules/bootstrap/scss/helpers"; // Helper classes
|
|
44
|
+
|
|
45
|
+
//==========================
|
|
46
|
+
// 5️⃣ HELPERS – Sub-modules
|
|
47
|
+
//==========================
|
|
48
|
+
@import "../../../../node_modules/bootstrap/scss/helpers/clearfix"; // Clearfix
|
|
49
|
+
@import "../../../../node_modules/bootstrap/scss/helpers/color-bg"; // Color background
|
|
50
|
+
@import "../../../../node_modules/bootstrap/scss/helpers/colored-links"; // Colored links
|
|
51
|
+
@import "../../../../node_modules/bootstrap/scss/helpers/focus-ring"; // Focus ring
|
|
52
|
+
@import "../../../../node_modules/bootstrap/scss/helpers/icon-link"; // Icon links
|
|
53
|
+
@import "../../../../node_modules/bootstrap/scss/helpers/position"; // Position helpers
|
|
54
|
+
@import "../../../../node_modules/bootstrap/scss/helpers/ratio"; // Aspect ratio
|
|
55
|
+
@import "../../../../node_modules/bootstrap/scss/helpers/stacks"; // Stack helpers
|
|
56
|
+
@import "../../../../node_modules/bootstrap/scss/helpers/stretched-link"; // Stretched link
|
|
57
|
+
@import "../../../../node_modules/bootstrap/scss/helpers/text-truncation"; // Text truncation
|
|
58
|
+
@import "../../../../node_modules/bootstrap/scss/helpers/visually-hidden"; // Visually hidden
|
|
59
|
+
@import "../../../../node_modules/bootstrap/scss/helpers/vr"; // Vertical rule
|
|
60
|
+
|
|
61
|
+
//==========================
|
|
62
|
+
// 6️⃣ UTILITIES – Sub-modules
|
|
63
|
+
//==========================
|
|
64
|
+
@import "../../../../node_modules/bootstrap/scss/utilities/api"; // Utilities API
|
|
65
|
+
|
|
66
|
+
//==========================
|
|
67
|
+
// 7️⃣ FORMS – Sub-modules
|
|
68
|
+
//==========================
|
|
69
|
+
@import "../../../../node_modules/bootstrap/scss/forms"; // Forms loader
|
|
70
|
+
@import "../../../../node_modules/bootstrap/scss/forms/labels"; // Labels
|
|
71
|
+
@import "../../../../node_modules/bootstrap/scss/forms/form-text"; // Form text
|
|
72
|
+
@import "../../../../node_modules/bootstrap/scss/forms/form-control"; // Inputs and textareas
|
|
73
|
+
@import "../../../../node_modules/bootstrap/scss/forms/form-select"; // Select dropdowns
|
|
74
|
+
@import "../../../../node_modules/bootstrap/scss/forms/form-check"; // Checkboxes and radios
|
|
75
|
+
@import "../../../../node_modules/bootstrap/scss/forms/form-range"; // Range sliders
|
|
76
|
+
@import "../../../../node_modules/bootstrap/scss/forms/floating-labels"; // Floating labels
|
|
77
|
+
@import "../../../../node_modules/bootstrap/scss/forms/input-group"; // Input groups
|
|
78
|
+
@import "../../../../node_modules/bootstrap/scss/forms/validation"; // Validation states
|
|
79
|
+
|
|
80
|
+
//==========================
|
|
81
|
+
// 8️⃣ COMPONENTS – All Bootstrap components
|
|
82
|
+
//==========================
|
|
83
|
+
@import "../../../../node_modules/bootstrap/scss/alert"; // Alerts
|
|
84
|
+
@import "../../../../node_modules/bootstrap/scss/badge"; // Badges
|
|
85
|
+
@import "../../../../node_modules/bootstrap/scss/breadcrumb"; // Breadcrumbs
|
|
86
|
+
@import "../../../../node_modules/bootstrap/scss/buttons"; // Buttons
|
|
87
|
+
@import "../../../../node_modules/bootstrap/scss/button-group"; // Button groups
|
|
88
|
+
@import "../../../../node_modules/bootstrap/scss/card"; // Cards
|
|
89
|
+
@import "../../../../node_modules/bootstrap/scss/carousel"; // Carousel
|
|
90
|
+
@import "../../../../node_modules/bootstrap/scss/close"; // Close (×) button
|
|
91
|
+
@import "../../../../node_modules/bootstrap/scss/dropdown"; // Dropdowns
|
|
92
|
+
@import "../../../../node_modules/bootstrap/scss/list-group"; // List groups
|
|
93
|
+
@import "../../../../node_modules/bootstrap/scss/modal"; // Modals
|
|
94
|
+
@import "../../../../node_modules/bootstrap/scss/nav"; // Nav
|
|
95
|
+
@import "../../../../node_modules/bootstrap/scss/navbar"; // Navbar
|
|
96
|
+
@import "../../../../node_modules/bootstrap/scss/offcanvas"; // Offcanvas component
|
|
97
|
+
@import "../../../../node_modules/bootstrap/scss/pagination"; // Pagination
|
|
98
|
+
@import "../../../../node_modules/bootstrap/scss/popover"; // Popovers
|
|
99
|
+
@import "../../../../node_modules/bootstrap/scss/progress"; // Progress bars
|
|
100
|
+
@import "../../../../node_modules/bootstrap/scss/spinners"; // Spinners
|
|
101
|
+
@import "../../../../node_modules/bootstrap/scss/toasts"; // Toasts
|
|
102
|
+
@import "../../../../node_modules/bootstrap/scss/tooltip"; // Tooltips
|
|
103
|
+
@import "../../../../node_modules/bootstrap/scss/accordion"; // Accordion
|
|
104
|
+
@import "../../../../node_modules/bootstrap/scss/tables"; // Tables
|
|
105
|
+
|
|
106
|
+
//==========================
|
|
107
|
+
// 9️⃣ ICONS
|
|
108
|
+
//==========================
|
|
109
|
+
$bootstrap-icons-font-src: url("../fonts/bootstrap-icons.woff2") format("woff2"),
|
|
110
|
+
url("../fonts/bootstrap-icons.woff") format("woff");
|
|
111
|
+
@import "../../../../node_modules/bootstrap-icons/font/bootstrap-icons";
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
// ╔══════════════════════════════════════════════════════╗
|
|
2
|
+
// ║ BULMA MODULES ║
|
|
3
|
+
// ║ Comment out any module you don't need to improve ║
|
|
4
|
+
// ║ performance. Core section is required by all others ║
|
|
5
|
+
// ║ To switch framework, edit the page .scss file ║
|
|
6
|
+
// ╚══════════════════════════════════════════════════════╝
|
|
7
|
+
|
|
8
|
+
// Imports can be filtered by commenting them
|
|
9
|
+
// Example:
|
|
10
|
+
// @import "../../../../node_modules/bulma/sass/example-bulma-module";
|
|
11
|
+
|
|
12
|
+
//==========================
|
|
13
|
+
// 1️⃣ CORE – Utilities and variables
|
|
14
|
+
// ⚠️ Do not comment these out — required by all other modules
|
|
15
|
+
//==========================
|
|
16
|
+
@import "../../../../node_modules/bulma/sass/utilities/initial-variables"; // Base variables (colors, sizes, fonts)
|
|
17
|
+
@import "../../../../node_modules/bulma/sass/utilities/functions"; // SCSS functions
|
|
18
|
+
@import "../../../../node_modules/bulma/sass/utilities/derived-variables"; // Variables derived from initial ones
|
|
19
|
+
@import "../../../../node_modules/bulma/sass/utilities/css-variables"; // CSS custom properties
|
|
20
|
+
@import "../../../../node_modules/bulma/sass/utilities/controls"; // Control base styles (inputs, buttons)
|
|
21
|
+
@import "../../../../node_modules/bulma/sass/utilities/extends"; // Shared extends
|
|
22
|
+
@import "../../../../node_modules/bulma/sass/utilities/mixins"; // Reusable SCSS mixins
|
|
23
|
+
|
|
24
|
+
//==========================
|
|
25
|
+
// 2️⃣ BASE – Reset and base styles
|
|
26
|
+
//==========================
|
|
27
|
+
@import "../../../../node_modules/bulma/sass/base/minireset"; // CSS reset
|
|
28
|
+
@import "../../../../node_modules/bulma/sass/base/generic"; // Generic base styles
|
|
29
|
+
@import "../../../../node_modules/bulma/sass/base/animations"; // Built-in animations
|
|
30
|
+
@import "../../../../node_modules/bulma/sass/base/skeleton"; // Skeleton loading styles
|
|
31
|
+
|
|
32
|
+
//==========================
|
|
33
|
+
// 3️⃣ THEMES
|
|
34
|
+
//==========================
|
|
35
|
+
@import "../../../../node_modules/bulma/sass/themes/setup"; // Theme setup (required)
|
|
36
|
+
@import "../../../../node_modules/bulma/sass/themes/light"; // Light theme
|
|
37
|
+
// @import "../../../../node_modules/bulma/sass/themes/dark";// Dark theme
|
|
38
|
+
|
|
39
|
+
//==========================
|
|
40
|
+
// 4️⃣ LAYOUT
|
|
41
|
+
//==========================
|
|
42
|
+
@import "../../../../node_modules/bulma/sass/layout/container"; // Containers
|
|
43
|
+
@import "../../../../node_modules/bulma/sass/layout/section"; // Sections
|
|
44
|
+
@import "../../../../node_modules/bulma/sass/layout/footer"; // Footer
|
|
45
|
+
@import "../../../../node_modules/bulma/sass/layout/hero"; // Hero banners
|
|
46
|
+
@import "../../../../node_modules/bulma/sass/layout/level"; // Level (horizontal layout)
|
|
47
|
+
@import "../../../../node_modules/bulma/sass/layout/media"; // Media object
|
|
48
|
+
|
|
49
|
+
//==========================
|
|
50
|
+
// 5️⃣ GRID
|
|
51
|
+
//==========================
|
|
52
|
+
@import "../../../../node_modules/bulma/sass/grid/columns"; // Flexbox column grid
|
|
53
|
+
@import "../../../../node_modules/bulma/sass/grid/grid"; // CSS grid
|
|
54
|
+
|
|
55
|
+
//==========================
|
|
56
|
+
// 6️⃣ ELEMENTS – Basic HTML elements
|
|
57
|
+
//==========================
|
|
58
|
+
@import "../../../../node_modules/bulma/sass/elements/block"; // Block spacing
|
|
59
|
+
@import "../../../../node_modules/bulma/sass/elements/box"; // Box container
|
|
60
|
+
@import "../../../../node_modules/bulma/sass/elements/button"; // Buttons
|
|
61
|
+
@import "../../../../node_modules/bulma/sass/elements/content"; // Rich text content
|
|
62
|
+
@import "../../../../node_modules/bulma/sass/elements/delete"; // Delete/close button
|
|
63
|
+
@import "../../../../node_modules/bulma/sass/elements/icon"; // Icons
|
|
64
|
+
@import "../../../../node_modules/bulma/sass/elements/image"; // Images
|
|
65
|
+
@import "../../../../node_modules/bulma/sass/elements/loader"; // Loader spinner
|
|
66
|
+
@import "../../../../node_modules/bulma/sass/elements/notification"; // Notifications
|
|
67
|
+
@import "../../../../node_modules/bulma/sass/elements/progress"; // Progress bars
|
|
68
|
+
@import "../../../../node_modules/bulma/sass/elements/table"; // Tables
|
|
69
|
+
@import "../../../../node_modules/bulma/sass/elements/tag"; // Tags/badges
|
|
70
|
+
@import "../../../../node_modules/bulma/sass/elements/title"; // Titles and subtitles
|
|
71
|
+
|
|
72
|
+
//==========================
|
|
73
|
+
// 7️⃣ FORM
|
|
74
|
+
//==========================
|
|
75
|
+
@import "../../../../node_modules/bulma/sass/form/shared"; // Shared form styles
|
|
76
|
+
@import "../../../../node_modules/bulma/sass/form/tools"; // Form tools and field wrappers
|
|
77
|
+
@import "../../../../node_modules/bulma/sass/form/input-textarea"; // Inputs and textareas
|
|
78
|
+
@import "../../../../node_modules/bulma/sass/form/select"; // Select dropdowns
|
|
79
|
+
@import "../../../../node_modules/bulma/sass/form/checkbox-radio"; // Checkboxes and radios
|
|
80
|
+
@import "../../../../node_modules/bulma/sass/form/file"; // File upload
|
|
81
|
+
|
|
82
|
+
//==========================
|
|
83
|
+
// 8️⃣ COMPONENTS
|
|
84
|
+
//==========================
|
|
85
|
+
@import "../../../../node_modules/bulma/sass/components/breadcrumb"; // Breadcrumbs
|
|
86
|
+
@import "../../../../node_modules/bulma/sass/components/card"; // Cards
|
|
87
|
+
@import "../../../../node_modules/bulma/sass/components/dropdown"; // Dropdowns
|
|
88
|
+
@import "../../../../node_modules/bulma/sass/components/menu"; // Vertical menu
|
|
89
|
+
@import "../../../../node_modules/bulma/sass/components/message"; // Message boxes
|
|
90
|
+
@import "../../../../node_modules/bulma/sass/components/modal"; // Modals
|
|
91
|
+
@import "../../../../node_modules/bulma/sass/components/navbar"; // Navbar
|
|
92
|
+
@import "../../../../node_modules/bulma/sass/components/pagination"; // Pagination
|
|
93
|
+
@import "../../../../node_modules/bulma/sass/components/panel"; // Panel
|
|
94
|
+
@import "../../../../node_modules/bulma/sass/components/tabs"; // Tabs
|
|
95
|
+
|
|
96
|
+
//==========================
|
|
97
|
+
// 9️⃣ HELPERS
|
|
98
|
+
//==========================
|
|
99
|
+
@import "../../../../node_modules/bulma/sass/helpers/aspect-ratio"; // Aspect ratio
|
|
100
|
+
@import "../../../../node_modules/bulma/sass/helpers/border"; // Border utilities
|
|
101
|
+
@import "../../../../node_modules/bulma/sass/helpers/color"; // Color utilities
|
|
102
|
+
@import "../../../../node_modules/bulma/sass/helpers/flexbox"; // Flexbox utilities
|
|
103
|
+
@import "../../../../node_modules/bulma/sass/helpers/float"; // Float utilities
|
|
104
|
+
@import "../../../../node_modules/bulma/sass/helpers/gap"; // Gap utilities
|
|
105
|
+
@import "../../../../node_modules/bulma/sass/helpers/other"; // Other utilities
|
|
106
|
+
@import "../../../../node_modules/bulma/sass/helpers/overflow"; // Overflow utilities
|
|
107
|
+
@import "../../../../node_modules/bulma/sass/helpers/position"; // Position utilities
|
|
108
|
+
@import "../../../../node_modules/bulma/sass/helpers/spacing"; // Spacing utilities (m-, p-)
|
|
109
|
+
@import "../../../../node_modules/bulma/sass/helpers/typography"; // Typography utilities
|
|
110
|
+
@import "../../../../node_modules/bulma/sass/helpers/visibility"; // Visibility utilities
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// ╔══════════════════════════════════════════════════════╗
|
|
2
|
+
// ║ FOUNDATION MODULES ║
|
|
3
|
+
// ║ Comment out any module you don't need to improve ║
|
|
4
|
+
// ║ performance. Core section is required by all others ║
|
|
5
|
+
// ║ To switch framework, edit the page .scss file ║
|
|
6
|
+
// ╚══════════════════════════════════════════════════════╝
|
|
7
|
+
|
|
8
|
+
// Imports can be filtered by commenting them
|
|
9
|
+
// Example:
|
|
10
|
+
// @import "../../../../node_modules/foundation-sites/scss/example-foundation-module";
|
|
11
|
+
|
|
12
|
+
//==========================
|
|
13
|
+
// 1️⃣ CORE – Utilities and functions
|
|
14
|
+
// ⚠️ Do not comment these out — required by all other modules
|
|
15
|
+
//==========================
|
|
16
|
+
@import "../../../../node_modules/foundation-sites/scss/util/util"; // Utility loader
|
|
17
|
+
@import "../../../../node_modules/foundation-sites/scss/util/breakpoint"; // Breakpoint helpers
|
|
18
|
+
@import "../../../../node_modules/foundation-sites/scss/util/color"; // Color functions
|
|
19
|
+
@import "../../../../node_modules/foundation-sites/scss/util/direction"; // RTL/LTR direction
|
|
20
|
+
@import "../../../../node_modules/foundation-sites/scss/util/flex"; // Flex utilities
|
|
21
|
+
@import "../../../../node_modules/foundation-sites/scss/util/math"; // Math functions
|
|
22
|
+
@import "../../../../node_modules/foundation-sites/scss/util/mixins"; // Reusable SCSS mixins
|
|
23
|
+
@import "../../../../node_modules/foundation-sites/scss/util/selector"; // Selector helpers
|
|
24
|
+
@import "../../../../node_modules/foundation-sites/scss/util/typography"; // Typography utilities
|
|
25
|
+
@import "../../../../node_modules/foundation-sites/scss/util/unit"; // Unit conversion
|
|
26
|
+
@import "../../../../node_modules/foundation-sites/scss/util/value"; // Value helpers
|
|
27
|
+
|
|
28
|
+
//==========================
|
|
29
|
+
// 2️⃣ BASE – Reset and global styles
|
|
30
|
+
//==========================
|
|
31
|
+
@import "../../../../node_modules/foundation-sites/scss/vendor/normalize"; // CSS reset / normalize
|
|
32
|
+
@import "../../../../node_modules/foundation-sites/scss/_global"; // Global base styles
|
|
33
|
+
|
|
34
|
+
//==========================
|
|
35
|
+
// 3️⃣ TYPOGRAPHY
|
|
36
|
+
//==========================
|
|
37
|
+
@import "../../../../node_modules/foundation-sites/scss/typography/typography"; // Typography loader
|
|
38
|
+
@import "../../../../node_modules/foundation-sites/scss/typography/base"; // Base typography styles
|
|
39
|
+
@import "../../../../node_modules/foundation-sites/scss/typography/helpers"; // Typography helpers
|
|
40
|
+
@import "../../../../node_modules/foundation-sites/scss/typography/alignment"; // Text alignment
|
|
41
|
+
@import "../../../../node_modules/foundation-sites/scss/typography/print"; // Print styles
|
|
42
|
+
|
|
43
|
+
//==========================
|
|
44
|
+
// 4️⃣ GRID – Layout systems
|
|
45
|
+
//==========================
|
|
46
|
+
|
|
47
|
+
// Legacy Float Grid
|
|
48
|
+
@import "../../../../node_modules/foundation-sites/scss/grid/grid"; // Grid loader
|
|
49
|
+
@import "../../../../node_modules/foundation-sites/scss/grid/classes"; // Grid classes
|
|
50
|
+
@import "../../../../node_modules/foundation-sites/scss/grid/column"; // Column styles
|
|
51
|
+
@import "../../../../node_modules/foundation-sites/scss/grid/row"; // Row styles
|
|
52
|
+
@import "../../../../node_modules/foundation-sites/scss/grid/flex-grid"; // Flexbox grid
|
|
53
|
+
@import "../../../../node_modules/foundation-sites/scss/grid/gutter"; // Gutters
|
|
54
|
+
@import "../../../../node_modules/foundation-sites/scss/grid/layout"; // Layout helpers
|
|
55
|
+
@import "../../../../node_modules/foundation-sites/scss/grid/position"; // Position helpers
|
|
56
|
+
@import "../../../../node_modules/foundation-sites/scss/grid/size"; // Size helpers
|
|
57
|
+
|
|
58
|
+
// XY Grid (modern, recommended)
|
|
59
|
+
@import "../../../../node_modules/foundation-sites/scss/xy-grid/xy-grid"; // XY Grid loader
|
|
60
|
+
@import "../../../../node_modules/foundation-sites/scss/xy-grid/grid"; // XY Grid core
|
|
61
|
+
@import "../../../../node_modules/foundation-sites/scss/xy-grid/cell"; // XY Grid cells
|
|
62
|
+
@import "../../../../node_modules/foundation-sites/scss/xy-grid/classes"; // XY Grid classes
|
|
63
|
+
@import "../../../../node_modules/foundation-sites/scss/xy-grid/collapse"; // XY Grid collapse
|
|
64
|
+
@import "../../../../node_modules/foundation-sites/scss/xy-grid/frame"; // XY Grid frame
|
|
65
|
+
@import "../../../../node_modules/foundation-sites/scss/xy-grid/gutters"; // XY Grid gutters
|
|
66
|
+
@import "../../../../node_modules/foundation-sites/scss/xy-grid/layout"; // XY Grid layout
|
|
67
|
+
@import "../../../../node_modules/foundation-sites/scss/xy-grid/position"; // XY Grid position
|
|
68
|
+
|
|
69
|
+
//==========================
|
|
70
|
+
// 5️⃣ FORMS
|
|
71
|
+
//==========================
|
|
72
|
+
@import "../../../../node_modules/foundation-sites/scss/forms/forms"; // Forms loader
|
|
73
|
+
@import "../../../../node_modules/foundation-sites/scss/forms/text"; // Text inputs
|
|
74
|
+
@import "../../../../node_modules/foundation-sites/scss/forms/select"; // Select dropdowns
|
|
75
|
+
@import "../../../../node_modules/foundation-sites/scss/forms/checkbox"; // Checkboxes and radios
|
|
76
|
+
@import "../../../../node_modules/foundation-sites/scss/forms/input-group"; // Input groups
|
|
77
|
+
@import "../../../../node_modules/foundation-sites/scss/forms/fieldset"; // Fieldsets
|
|
78
|
+
@import "../../../../node_modules/foundation-sites/scss/forms/label"; // Form labels
|
|
79
|
+
@import "../../../../node_modules/foundation-sites/scss/forms/help-text"; // Help text
|
|
80
|
+
@import "../../../../node_modules/foundation-sites/scss/forms/error"; // Error states
|
|
81
|
+
@import "../../../../node_modules/foundation-sites/scss/forms/range"; // Range sliders
|
|
82
|
+
@import "../../../../node_modules/foundation-sites/scss/forms/meter"; // Meter element
|
|
83
|
+
@import "../../../../node_modules/foundation-sites/scss/forms/progress"; // Progress element
|
|
84
|
+
|
|
85
|
+
//==========================
|
|
86
|
+
// 6️⃣ COMPONENTS
|
|
87
|
+
//==========================
|
|
88
|
+
@import "../../../../node_modules/foundation-sites/scss/components/accordion"; // Accordion
|
|
89
|
+
@import "../../../../node_modules/foundation-sites/scss/components/accordion-menu"; // Accordion menu
|
|
90
|
+
@import "../../../../node_modules/foundation-sites/scss/components/badge"; // Badges
|
|
91
|
+
@import "../../../../node_modules/foundation-sites/scss/components/breadcrumbs"; // Breadcrumbs
|
|
92
|
+
@import "../../../../node_modules/foundation-sites/scss/components/button"; // Buttons
|
|
93
|
+
@import "../../../../node_modules/foundation-sites/scss/components/button-group"; // Button groups
|
|
94
|
+
@import "../../../../node_modules/foundation-sites/scss/components/callout"; // Callout boxes
|
|
95
|
+
@import "../../../../node_modules/foundation-sites/scss/components/card"; // Cards
|
|
96
|
+
@import "../../../../node_modules/foundation-sites/scss/components/close-button"; // Close button
|
|
97
|
+
@import "../../../../node_modules/foundation-sites/scss/components/drilldown"; // Drilldown menu
|
|
98
|
+
@import "../../../../node_modules/foundation-sites/scss/components/dropdown"; // Dropdown
|
|
99
|
+
@import "../../../../node_modules/foundation-sites/scss/components/dropdown-menu"; // Dropdown menu
|
|
100
|
+
@import "../../../../node_modules/foundation-sites/scss/components/flex"; // Flex helpers
|
|
101
|
+
@import "../../../../node_modules/foundation-sites/scss/components/float"; // Float helpers
|
|
102
|
+
@import "../../../../node_modules/foundation-sites/scss/components/label"; // Labels
|
|
103
|
+
@import "../../../../node_modules/foundation-sites/scss/components/media-object"; // Media object
|
|
104
|
+
@import "../../../../node_modules/foundation-sites/scss/components/menu"; // Menu
|
|
105
|
+
@import "../../../../node_modules/foundation-sites/scss/components/menu-icon"; // Menu icon (hamburger)
|
|
106
|
+
@import "../../../../node_modules/foundation-sites/scss/components/off-canvas"; // Off-canvas sidebar
|
|
107
|
+
@import "../../../../node_modules/foundation-sites/scss/components/orbit"; // Orbit carousel
|
|
108
|
+
@import "../../../../node_modules/foundation-sites/scss/components/pagination"; // Pagination
|
|
109
|
+
@import "../../../../node_modules/foundation-sites/scss/components/progress-bar"; // Progress bars
|
|
110
|
+
@import "../../../../node_modules/foundation-sites/scss/components/responsive-embed"; // Responsive embeds
|
|
111
|
+
@import "../../../../node_modules/foundation-sites/scss/components/reveal"; // Reveal modals
|
|
112
|
+
@import "../../../../node_modules/foundation-sites/scss/components/slider"; // Sliders
|
|
113
|
+
@import "../../../../node_modules/foundation-sites/scss/components/sticky"; // Sticky elements
|
|
114
|
+
@import "../../../../node_modules/foundation-sites/scss/components/switch"; // Toggle switches
|
|
115
|
+
@import "../../../../node_modules/foundation-sites/scss/components/table"; // Tables
|
|
116
|
+
@import "../../../../node_modules/foundation-sites/scss/components/tabs"; // Tabs
|
|
117
|
+
@import "../../../../node_modules/foundation-sites/scss/components/thumbnail"; // Thumbnails
|
|
118
|
+
@import "../../../../node_modules/foundation-sites/scss/components/title-bar"; // Title bar
|
|
119
|
+
@import "../../../../node_modules/foundation-sites/scss/components/tooltip"; // Tooltips
|
|
120
|
+
@import "../../../../node_modules/foundation-sites/scss/components/top-bar"; // Top bar navbar
|
|
121
|
+
@import "../../../../node_modules/foundation-sites/scss/components/visibility"; // Visibility helpers
|
|
122
|
+
|
|
123
|
+
//==========================
|
|
124
|
+
// 7️⃣ PROTOTYPE – Utility classes (optional)
|
|
125
|
+
// 💡 Commented by default — uncomment only if you need utility classes
|
|
126
|
+
//==========================
|
|
127
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/prototype"; // Prototype loader
|
|
128
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/arrow"; // Arrow utility
|
|
129
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/border-box"; // Border box
|
|
130
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/border-none";// Border none
|
|
131
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/bordered"; // Bordered
|
|
132
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/box"; // Box
|
|
133
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/display"; // Display utilities
|
|
134
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/font-styling";// Font styling
|
|
135
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/overflow"; // Overflow
|
|
136
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/position"; // Position
|
|
137
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/rounded"; // Rounded corners
|
|
138
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/shadow"; // Box shadows
|
|
139
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/spacing"; // Spacing utilities
|
|
140
|
+
@import "../../../../node_modules/foundation-sites/scss/prototype/typography"; // Typography utilities
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// ╔══════════════════════════════════════════════════════╗
|
|
2
|
+
// ║ UIKIT MODULES ║
|
|
3
|
+
// ║ Comment out any module you don't need to improve ║
|
|
4
|
+
// ║ performance. Core section is required by all others ║
|
|
5
|
+
// ║ To switch framework, edit the page .scss file ║
|
|
6
|
+
// ╚══════════════════════════════════════════════════════╝
|
|
7
|
+
|
|
8
|
+
// Imports can be filtered by commenting them
|
|
9
|
+
|
|
10
|
+
//==========================
|
|
11
|
+
// 1️⃣ CORE – Variables, mixins and base
|
|
12
|
+
// ⚠️ Do not comment these out — required by all other modules
|
|
13
|
+
//==========================
|
|
14
|
+
@import "../../../../node_modules/uikit/src/scss/variables"; // Core variables
|
|
15
|
+
@import "../../../../node_modules/uikit/src/scss/mixins"; // Reusable SCSS mixins
|
|
16
|
+
@import "../../../../node_modules/uikit/src/scss/components/variables"; // Component variables
|
|
17
|
+
@import "../../../../node_modules/uikit/src/scss/components/mixin"; // Component mixins
|
|
18
|
+
@import "../../../../node_modules/uikit/src/scss/components/base"; // Base styles and reset
|
|
19
|
+
@import "../../../../node_modules/uikit/src/scss/components/print"; // Print styles
|
|
20
|
+
|
|
21
|
+
//==========================
|
|
22
|
+
// 2️⃣ LAYOUT
|
|
23
|
+
//==========================
|
|
24
|
+
@import "../../../../node_modules/uikit/src/scss/components/container"; // Containers
|
|
25
|
+
@import "../../../../node_modules/uikit/src/scss/components/grid"; // Grid system
|
|
26
|
+
@import "../../../../node_modules/uikit/src/scss/components/flex"; // Flexbox utilities
|
|
27
|
+
@import "../../../../node_modules/uikit/src/scss/components/width"; // Width utilities
|
|
28
|
+
@import "../../../../node_modules/uikit/src/scss/components/height"; // Height utilities
|
|
29
|
+
@import "../../../../node_modules/uikit/src/scss/components/column"; // Column layout
|
|
30
|
+
@import "../../../../node_modules/uikit/src/scss/components/section"; // Sections
|
|
31
|
+
@import "../../../../node_modules/uikit/src/scss/components/position"; // Position utilities
|
|
32
|
+
|
|
33
|
+
//==========================
|
|
34
|
+
// 3️⃣ TYPOGRAPHY
|
|
35
|
+
//==========================
|
|
36
|
+
@import "../../../../node_modules/uikit/src/scss/components/heading"; // Headings
|
|
37
|
+
@import "../../../../node_modules/uikit/src/scss/components/text"; // Text utilities
|
|
38
|
+
@import "../../../../node_modules/uikit/src/scss/components/link"; // Link styles
|
|
39
|
+
@import "../../../../node_modules/uikit/src/scss/components/list"; // Lists
|
|
40
|
+
@import "../../../../node_modules/uikit/src/scss/components/description-list"; // Description lists
|
|
41
|
+
@import "../../../../node_modules/uikit/src/scss/components/divider"; // Dividers
|
|
42
|
+
@import "../../../../node_modules/uikit/src/scss/components/leader"; // Leader lines
|
|
43
|
+
@import "../../../../node_modules/uikit/src/scss/components/article"; // Article styles
|
|
44
|
+
|
|
45
|
+
//==========================
|
|
46
|
+
// 4️⃣ FORMS
|
|
47
|
+
//==========================
|
|
48
|
+
@import "../../../../node_modules/uikit/src/scss/components/form"; // Form styles
|
|
49
|
+
@import "../../../../node_modules/uikit/src/scss/components/form-range"; // Range sliders
|
|
50
|
+
|
|
51
|
+
//==========================
|
|
52
|
+
// 5️⃣ COMPONENTS
|
|
53
|
+
//==========================
|
|
54
|
+
@import "../../../../node_modules/uikit/src/scss/components/accordion"; // Accordion
|
|
55
|
+
@import "../../../../node_modules/uikit/src/scss/components/alert"; // Alerts
|
|
56
|
+
@import "../../../../node_modules/uikit/src/scss/components/badge"; // Badges
|
|
57
|
+
@import "../../../../node_modules/uikit/src/scss/components/breadcrumb"; // Breadcrumbs
|
|
58
|
+
@import "../../../../node_modules/uikit/src/scss/components/button"; // Buttons
|
|
59
|
+
@import "../../../../node_modules/uikit/src/scss/components/card"; // Cards
|
|
60
|
+
@import "../../../../node_modules/uikit/src/scss/components/close"; // Close button
|
|
61
|
+
@import "../../../../node_modules/uikit/src/scss/components/comment"; // Comment sections
|
|
62
|
+
@import "../../../../node_modules/uikit/src/scss/components/countdown"; // Countdown timer
|
|
63
|
+
@import "../../../../node_modules/uikit/src/scss/components/cover"; // Cover images
|
|
64
|
+
@import "../../../../node_modules/uikit/src/scss/components/drop"; // Drop component
|
|
65
|
+
@import "../../../../node_modules/uikit/src/scss/components/dropbar"; // Dropbar
|
|
66
|
+
@import "../../../../node_modules/uikit/src/scss/components/dropdown"; // Dropdowns
|
|
67
|
+
@import "../../../../node_modules/uikit/src/scss/components/dropnav"; // Drop navigation
|
|
68
|
+
@import "../../../../node_modules/uikit/src/scss/components/icon"; // Icons
|
|
69
|
+
@import "../../../../node_modules/uikit/src/scss/components/iconnav"; // Icon navigation
|
|
70
|
+
@import "../../../../node_modules/uikit/src/scss/components/label"; // Labels
|
|
71
|
+
@import "../../../../node_modules/uikit/src/scss/components/lightbox"; // Lightbox
|
|
72
|
+
@import "../../../../node_modules/uikit/src/scss/components/marker"; // Markers
|
|
73
|
+
@import "../../../../node_modules/uikit/src/scss/components/modal"; // Modals
|
|
74
|
+
@import "../../../../node_modules/uikit/src/scss/components/nav"; // Navigation
|
|
75
|
+
@import "../../../../node_modules/uikit/src/scss/components/navbar"; // Navbar
|
|
76
|
+
@import "../../../../node_modules/uikit/src/scss/components/notification"; // Notifications
|
|
77
|
+
@import "../../../../node_modules/uikit/src/scss/components/offcanvas"; // Off-canvas
|
|
78
|
+
@import "../../../../node_modules/uikit/src/scss/components/overlay"; // Overlays
|
|
79
|
+
@import "../../../../node_modules/uikit/src/scss/components/pagination"; // Pagination
|
|
80
|
+
@import "../../../../node_modules/uikit/src/scss/components/placeholder"; // Placeholder boxes
|
|
81
|
+
@import "../../../../node_modules/uikit/src/scss/components/progress"; // Progress bars
|
|
82
|
+
@import "../../../../node_modules/uikit/src/scss/components/search"; // Search component
|
|
83
|
+
@import "../../../../node_modules/uikit/src/scss/components/slidenav"; // Slideshow navigation
|
|
84
|
+
@import "../../../../node_modules/uikit/src/scss/components/slider"; // Slider
|
|
85
|
+
@import "../../../../node_modules/uikit/src/scss/components/slideshow"; // Slideshow
|
|
86
|
+
@import "../../../../node_modules/uikit/src/scss/components/sortable"; // Sortable lists
|
|
87
|
+
@import "../../../../node_modules/uikit/src/scss/components/spinner"; // Spinners
|
|
88
|
+
@import "../../../../node_modules/uikit/src/scss/components/sticky"; // Sticky elements
|
|
89
|
+
@import "../../../../node_modules/uikit/src/scss/components/subnav"; // Sub navigation
|
|
90
|
+
@import "../../../../node_modules/uikit/src/scss/components/svg"; // SVG utilities
|
|
91
|
+
@import "../../../../node_modules/uikit/src/scss/components/switcher"; // Switcher component
|
|
92
|
+
@import "../../../../node_modules/uikit/src/scss/components/tab"; // Tabs
|
|
93
|
+
@import "../../../../node_modules/uikit/src/scss/components/table"; // Tables
|
|
94
|
+
@import "../../../../node_modules/uikit/src/scss/components/thumbnav"; // Thumbnail navigation
|
|
95
|
+
@import "../../../../node_modules/uikit/src/scss/components/tile"; // Tiles
|
|
96
|
+
@import "../../../../node_modules/uikit/src/scss/components/tooltip"; // Tooltips
|
|
97
|
+
@import "../../../../node_modules/uikit/src/scss/components/totop"; // To-top button
|
|
98
|
+
|
|
99
|
+
//==========================
|
|
100
|
+
// 6️⃣ UTILITIES
|
|
101
|
+
//==========================
|
|
102
|
+
@import "../../../../node_modules/uikit/src/scss/components/align"; // Alignment utilities
|
|
103
|
+
@import "../../../../node_modules/uikit/src/scss/components/animation"; // Animation utilities
|
|
104
|
+
@import "../../../../node_modules/uikit/src/scss/components/background"; // Background utilities
|
|
105
|
+
@import "../../../../node_modules/uikit/src/scss/components/dotnav"; // Dot navigation
|
|
106
|
+
@import "../../../../node_modules/uikit/src/scss/components/inverse"; // Inverse color mode
|
|
107
|
+
@import "../../../../node_modules/uikit/src/scss/components/margin"; // Margin utilities
|
|
108
|
+
@import "../../../../node_modules/uikit/src/scss/components/padding"; // Padding utilities
|
|
109
|
+
@import "../../../../node_modules/uikit/src/scss/components/transition"; // Transition utilities
|
|
110
|
+
@import "../../../../node_modules/uikit/src/scss/components/utility"; // General utilities
|
|
111
|
+
@import "../../../../node_modules/uikit/src/scss/components/visibility"; // Visibility utilities
|