lesli_assets 1.0.2 → 1.0.4

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/fonts/lesli_assets/MaterialDesign/symbols.woff +0 -0
  3. data/app/assets/javascripts/lesli_assets/calendar.js +57 -3
  4. data/app/assets/stylesheets/lesli_assets/templates/application.css +1 -1
  5. data/app/assets/stylesheets/lesli_assets/templates/public.css +1 -1
  6. data/app/assets/stylesheets/lesli_assets/templates/start.css +1 -1
  7. data/lib/lesli_assets/version.rb +2 -2
  8. data/lib/lesli_assets_js/calendar.js +74 -5
  9. data/lib/{lesli_assets_css → lesli_assets_styles}/fonts/mdicons.scss +1 -1
  10. data/lib/lesli_assets_styles/fonts/mdsymbols.scss +60 -0
  11. data/lib/lesli_assets_styles/layouts/application-header.scss +74 -0
  12. data/lib/{lesli_assets_css/templates/dashboards.scss → lesli_assets_styles/layouts/application-navigation.scss} +28 -15
  13. data/lib/{lesli_assets_css → lesli_assets_styles}/settings/variables.scss +3 -5
  14. data/lib/{lesli_assets_css → lesli_assets_styles}/templates/application.scss +4 -2
  15. data/lib/lesli_assets_styles/templates/dashboards.scss +31 -0
  16. data/lib/{lesli_assets_css → lesli_assets_styles}/templates/public.scss +2 -1
  17. metadata +26 -25
  18. data/lib/lesli_assets_css/layouts/application-engines.scss +0 -115
  19. data/lib/lesli_assets_css/layouts/application-header.scss +0 -104
  20. data/lib/lesli_assets_css/layouts/application-navigation.scss +0 -101
  21. /data/lib/{lesli_assets_css → lesli_assets_styles}/fonts/families.scss +0 -0
  22. /data/lib/{lesli_assets_css → lesli_assets_styles}/fonts/remixicons.scss +0 -0
  23. /data/lib/{lesli_assets_css → lesli_assets_styles}/helpers/display.scss +0 -0
  24. /data/lib/{lesli_assets_css → lesli_assets_styles}/helpers/tooltip.scss +0 -0
  25. /data/lib/{lesli_assets_css → lesli_assets_styles}/layouts/application-app.scss +0 -0
  26. /data/lib/{lesli_assets_css → lesli_assets_styles}/layouts/application-component.scss +0 -0
  27. /data/lib/{lesli_assets_css → lesli_assets_styles}/layouts/application-container.scss +0 -0
  28. /data/lib/{lesli_assets_css → lesli_assets_styles}/layouts/application-notification.scss +0 -0
  29. /data/lib/{lesli_assets_css → lesli_assets_styles}/layouts/application-sidebar.scss +0 -0
  30. /data/lib/{lesli_assets_css → lesli_assets_styles}/pages/invites.scss +0 -0
  31. /data/lib/{lesli_assets_css → lesli_assets_styles}/shared/workflow-status-progress.scss +0 -0
  32. /data/lib/{lesli_assets_css → lesli_assets_styles}/templates/component.scss +0 -0
  33. /data/lib/{lesli_assets_css → lesli_assets_styles}/templates/empty.scss +0 -0
  34. /data/lib/{lesli_assets_css → lesli_assets_styles}/templates/pdf.scss +0 -0
  35. /data/lib/{lesli_assets_css → lesli_assets_styles}/templates/start.scss +0 -0
@@ -1,4 +1,4 @@
1
1
  module LesliAssets
2
- VERSION = "1.0.2"
3
- BUILD = "1752495996"
2
+ VERSION = "1.0.4"
3
+ BUILD = "1754023334"
4
4
  end
@@ -1,10 +1,49 @@
1
- import { Calendar } from '@fullcalendar/core';
2
- import dayGridPlugin from '@fullcalendar/daygrid';
1
+ /*
2
+ Lesli
3
3
 
4
- document.addEventListener("turbo:load", () => {
4
+ Copyright (c) 2025, Lesli Technologies, S. A.
5
+
6
+ This program is free software: you can redistribute it and/or modify
7
+ it under the terms of the GNU General Public License as published by
8
+ the Free Software Foundation, either version 3 of the License, or
9
+ (at your option) any later version.
10
+
11
+ This program is distributed in the hope that it will be useful,
12
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ GNU General Public License for more details.
15
+
16
+ You should have received a copy of the GNU General Public License
17
+ along with this program. If not, see http://www.gnu.org/licenses/.
18
+
19
+ Lesli · Ruby on Rails SaaS Development Framework.
20
+
21
+ Made with ♥ by LesliTech
22
+ Building a better future, one line of code at a time.
23
+
24
+ @contact hello@lesli.tech
25
+ @website https://www.lesli.tech
26
+ @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
27
+
28
+ // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
29
+ // ·
30
+ */
31
+
32
+
33
+ // ·
34
+ import { Calendar } from "@fullcalendar/core";
35
+ import dayGridPlugin from "@fullcalendar/daygrid";
5
36
 
37
+
38
+
39
+ // ·
40
+ function buildCalendar() {
41
+ console.log("buildCalendar")
6
42
  let calendarEl = document.getElementById("lesli-calendar-engine");
7
- let calendar = new Calendar(calendarEl, {
43
+ if (!calendarEl) return;
44
+
45
+ console.log("buildingCalendar")
46
+ var calendar = new Calendar(calendarEl, {
8
47
  plugins: [ dayGridPlugin ],
9
48
  firstDay: 1,
10
49
  headerToolbar: false,
@@ -12,8 +51,38 @@ document.addEventListener("turbo:load", () => {
12
51
  showNonCurrentDates: true,
13
52
  dayMaxEvents: true,
14
53
  editable: true,
15
- events: [],
54
+ events: {
55
+ url: '/calendar/events.json',
56
+ method: 'GET',
57
+ extraParams: function() {
58
+ return {
59
+ authenticity_token: document.querySelector('meta[name="csrf-token"]').content
60
+ };
61
+ },
62
+ failure: function() {
63
+ alert('There was an error while fetching events!');
64
+ }
65
+ },
16
66
  });
17
67
 
68
+ console.log("renderCalendar")
18
69
  calendar.render();
70
+ }
71
+
72
+
73
+ // ·
74
+ document.addEventListener("DOMContentLoaded", () => {
75
+ console.log("DOMContentLoaded");
76
+ buildCalendar()
77
+ });
78
+
79
+
80
+ // ·
81
+ document.addEventListener("turbo:load", () => {
82
+ console.log("turbo:load")
83
+ buildCalendar()
19
84
  })
85
+
86
+
87
+ // ·
88
+ buildCalendar()
@@ -47,7 +47,7 @@ Building a better future, one line of code at a time.
47
47
  font-style: normal;
48
48
  font-size: 20px; /* Preferred icon size */
49
49
  display: inline-block;
50
- line-height: 1;
50
+ //line-height: 1;
51
51
  text-transform: none;
52
52
  letter-spacing: normal;
53
53
  word-wrap: normal;
@@ -0,0 +1,60 @@
1
+ /*
2
+ Lesli
3
+
4
+ Copyright (c) 2025, Lesli Technologies, S. A.
5
+
6
+ This program is free software: you can redistribute it and/or modify
7
+ it under the terms of the GNU General Public License as published by
8
+ the Free Software Foundation, either version 3 of the License, or
9
+ (at your option) any later version.
10
+
11
+ This program is distributed in the hope that it will be useful,
12
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ GNU General Public License for more details.
15
+
16
+ You should have received a copy of the GNU General Public License
17
+ along with this program. If not, see http://www.gnu.org/licenses/.
18
+
19
+ Lesli · Ruby on Rails SaaS Development Framework.
20
+
21
+ Made with ♥ by LesliTech
22
+ Building a better future, one line of code at a time.
23
+
24
+ @contact hello@lesli.tech
25
+ @website https://www.lesli.tech
26
+ @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
27
+
28
+ // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
29
+ // ·
30
+ */
31
+
32
+ @font-face {
33
+ font-family: 'Material Symbols Outlined';
34
+ font-style: normal;
35
+ font-weight: 400;
36
+ src: url("lesli_assets/MaterialDesign/symbols.woff") format('woff');
37
+ }
38
+
39
+ .material-symbols,
40
+ .material-symbols-outlined {
41
+ font-family: 'Material Symbols Outlined';
42
+ font-weight: normal;
43
+ font-style: normal;
44
+ font-size: 24px;
45
+ line-height: 1;
46
+ letter-spacing: normal;
47
+ text-transform: none;
48
+ display: inline-block;
49
+ white-space: nowrap;
50
+ word-wrap: normal;
51
+ direction: ltr;
52
+ -moz-font-feature-settings: 'liga';
53
+ -moz-osx-font-smoothing: grayscale;
54
+ }
55
+
56
+
57
+ .material-symbols.md-18 { font-size: 18px; }
58
+ .material-symbols.md-24 { font-size: 24px; }
59
+ .material-symbols.md-36 { font-size: 36px; }
60
+ .material-symbols.md-48 { font-size: 48px; }
@@ -0,0 +1,74 @@
1
+ /*
2
+
3
+ Lesli
4
+
5
+ Copyright (c) 2025, Lesli Technologies, S. A.
6
+
7
+ This program is free software: you can redistribute it and/or modify
8
+ it under the terms of the GNU General Public License as published by
9
+ the Free Software Foundation, either version 3 of the License, or
10
+ (at your option) any later version.
11
+
12
+ This program is distributed in the hope that it will be useful,
13
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ GNU General Public License for more details.
16
+
17
+ You should have received a copy of the GNU General Public License
18
+ along with this program. If not, see http://www.gnu.org/licenses/.
19
+
20
+ Lesli · Ruby on Rails SaaS Development Framework.
21
+
22
+ Made with ♥ by LesliTech
23
+ Building a better future, one line of code at a time.
24
+
25
+ @contact hello@lesli.tech
26
+ @website https://www.lesli.tech
27
+ @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
28
+
29
+ // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
30
+ // ·
31
+ */
32
+
33
+
34
+ // ·
35
+ @use "lesli-css" as lesli;
36
+
37
+
38
+ // Override bulma navbar height
39
+ :root {
40
+ --bulma-navbar-height: var(--lesli-header-height)
41
+ }
42
+
43
+
44
+ // ·
45
+ header.lesli-application-header {
46
+ background-color: var(--lesli-header-color);
47
+ border-bottom: 1px solid rgba(172,179,194,.5);
48
+
49
+ // Fix the size of the main logo
50
+ .navbar-brand {
51
+ .navbar-item:hover {
52
+ background-color: transparent;
53
+ }
54
+ img {
55
+ height: 100px;
56
+ max-height: 50px;
57
+ }
58
+ }
59
+
60
+ // navigation icons
61
+ .navbar-item {
62
+ padding-left: 4px;
63
+ padding-right: 4px;
64
+ [class^="ri-"] {
65
+ font-size: 24px;
66
+ padding: 0 0.6rem;
67
+ color: lesli.lesli-color(slate, 900);
68
+ }
69
+
70
+ a:hover span {
71
+ color: var(--lesli-color-primary);
72
+ }
73
+ }
74
+ }
@@ -32,20 +32,33 @@ Building a better future, one line of code at a time.
32
32
 
33
33
 
34
34
  // ·
35
- // @import "lesli-css";
35
+ @use "lesli-css/sass/color";
36
36
 
37
37
 
38
- // // · Configuration & variables
39
- // @import "Lesli/scss/settings/variables";
40
-
41
-
42
- // // ·
43
- // aside.lesli-application-sidebar {
44
- // display: none !important;
45
- // }
46
-
47
-
48
- // // ·
49
- // .lesli-empty {
50
- // padding: 8rem 0;
51
- // }
38
+ // ·
39
+ nav.lesli-application-navigation {
40
+ background-color: var(--lesli-navbar-color);
41
+ border-bottom: 1px solid rgba(172,179,194,.5);
42
+
43
+ .navbar-item {
44
+ padding: 0;
45
+
46
+ a {
47
+ height: 100%;
48
+ display: flex;
49
+ align-items: center;
50
+ padding-left: 2rem;
51
+ padding-right: 2rem;
52
+ transition: all linear .2s;
53
+
54
+ &:hover {
55
+ color: color.lesli-color(slate, 700);
56
+ }
57
+ }
58
+
59
+ [class^="ri-"] {
60
+ font-size: 20px;
61
+ margin-right: 6px;
62
+ }
63
+ }
64
+ }
@@ -33,8 +33,7 @@ Building a better future, one line of code at a time.
33
33
 
34
34
  // · Layout
35
35
  $lesli-font-size: 16px !default;
36
- $lesli-header-height: 70px !default;
37
- $lesli-navbar-height: 66px !default;
36
+ $lesli-header-height: 65px !default;
38
37
  $lesli-footer-height: 84px !default;
39
38
  $lesli-sidebar-width: 50px !default;
40
39
 
@@ -85,9 +84,6 @@ $family-primary: "OpenSans", "Ubuntu", "Helvetica Neue", "Helvetica", "Arial", s
85
84
 
86
85
  --lesli-header-color: var(--lesli-theme-header-color, #{$lesli-header-color});
87
86
  --lesli-header-height: var(--lesli-theme-header-height, #{$lesli-header-height});
88
-
89
- --lesli-navbar-color: var(--lesli-theme-navbar-color, #{$lesli-navbar-color});
90
- --lesli-navbar-height: var(--lesli-theme-navbar-height, #{$lesli-navbar-height});
91
87
 
92
88
  --lesli-footer-color: var(--lesli-theme-footer-color, #{$lesli-footer-color});
93
89
  --lesli-footer-height: var(--lesli-theme-footer-height, #{$lesli-footer-height});
@@ -95,6 +91,8 @@ $family-primary: "OpenSans", "Ubuntu", "Helvetica Neue", "Helvetica", "Arial", s
95
91
  --lesli-sidebar-color: var(--lesli-theme-sidebar-color, #{$lesli-sidebar-color});
96
92
  --lesli-sidebar-width: var(--lesli-theme-sidebar-width, #{$lesli-sidebar-width});
97
93
 
94
+ --lesli-navbar-color: var(--lesli-theme-navbar-color, #{$lesli-navbar-color});
95
+
98
96
  --lesli-logo-color: var(--lesli-theme-logo-color, #{$lesli-logo-color});
99
97
 
100
98
  --lesli-font-size: var(--lesli-theme-font-size, #{$lesli-font-size});
@@ -49,6 +49,7 @@ Building a better future, one line of code at a time.
49
49
  @use "LesliView/lib/lesli_view/components/toolbar";
50
50
  @use "LesliView/lib/lesli_view/components/header";
51
51
  @use "LesliView/lib/lesli_view/components/panel";
52
+ @use "LesliView/lib/lesli_view/components/tabs";
52
53
  @use "LesliView/lib/lesli_view/elements/avatar";
53
54
  @use "LesliView/lib/lesli_view/elements/table";
54
55
  @use "LesliView/lib/lesli_view/forms/form";
@@ -56,8 +57,10 @@ Building a better future, one line of code at a time.
56
57
 
57
58
  // · Font families and icons
58
59
  @use "../fonts/remixicons";
60
+ @use "../fonts/mdsymbols";
59
61
  @use "../fonts/families";
60
- @use "../fonts/mdicons";
62
+ //@use "../fonts/mdicons";
63
+
61
64
 
62
65
 
63
66
  // · Lesli application layout
@@ -65,7 +68,6 @@ Building a better future, one line of code at a time.
65
68
  @use "../layouts/application-navigation";
66
69
  @use "../layouts/application-component";
67
70
  @use "../layouts/application-container";
68
- @use "../layouts/application-engines";
69
71
  @use "../layouts/application-sidebar";
70
72
  @use "../layouts/application-header";
71
73
  @use "../layouts/application-app";
@@ -0,0 +1,31 @@
1
+ /*
2
+
3
+ Lesli
4
+
5
+ Copyright (c) 2025, Lesli Technologies, S. A.
6
+
7
+ This program is free software: you can redistribute it and/or modify
8
+ it under the terms of the GNU General Public License as published by
9
+ the Free Software Foundation, either version 3 of the License, or
10
+ (at your option) any later version.
11
+
12
+ This program is distributed in the hope that it will be useful,
13
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ GNU General Public License for more details.
16
+
17
+ You should have received a copy of the GNU General Public License
18
+ along with this program. If not, see http://www.gnu.org/licenses/.
19
+
20
+ Lesli · Ruby on Rails SaaS Development Framework.
21
+
22
+ Made with ♥ by LesliTech
23
+ Building a better future, one line of code at a time.
24
+
25
+ @contact hello@lesli.tech
26
+ @website https://www.lesli.tech
27
+ @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
28
+
29
+ // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
30
+ // ·
31
+ */
@@ -46,7 +46,8 @@ Building a better future, one line of code at a time.
46
46
 
47
47
  // · Font families and icons
48
48
  @use "../fonts/families";
49
- @use "../fonts/mdicons";
49
+ @use "../fonts/mdsymbols";
50
+ //@use "../fonts/mdicons";
50
51
 
51
52
 
52
53
  // · Some home made helpers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lesli_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Lesli Development Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-14 00:00:00.000000000 Z
11
+ date: 2025-08-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: "LesliAssets provides shared frontend assets for the Lesli Framework,
14
14
  \nincluding stylesheets, JavaScript, images, icons, and reusable \nview partials.
@@ -25,6 +25,7 @@ files:
25
25
  - app/assets/fonts/lesli_assets/Domine/Domine-Variable.ttf
26
26
  - app/assets/fonts/lesli_assets/Domine/OFL.txt
27
27
  - app/assets/fonts/lesli_assets/MaterialDesign/icons.woff2
28
+ - app/assets/fonts/lesli_assets/MaterialDesign/symbols.woff
28
29
  - app/assets/fonts/lesli_assets/Montserrat/Montserrat-Variable.ttf
29
30
  - app/assets/fonts/lesli_assets/OpenSans/OpenSans-Variable.ttf
30
31
  - app/assets/fonts/lesli_assets/Remix/remixicon.eot
@@ -354,31 +355,31 @@ files:
354
355
  - lib/lesli_assets.rb
355
356
  - lib/lesli_assets/engine.rb
356
357
  - lib/lesli_assets/version.rb
357
- - lib/lesli_assets_css/fonts/families.scss
358
- - lib/lesli_assets_css/fonts/mdicons.scss
359
- - lib/lesli_assets_css/fonts/remixicons.scss
360
- - lib/lesli_assets_css/helpers/display.scss
361
- - lib/lesli_assets_css/helpers/tooltip.scss
362
- - lib/lesli_assets_css/layouts/application-app.scss
363
- - lib/lesli_assets_css/layouts/application-component.scss
364
- - lib/lesli_assets_css/layouts/application-container.scss
365
- - lib/lesli_assets_css/layouts/application-engines.scss
366
- - lib/lesli_assets_css/layouts/application-header.scss
367
- - lib/lesli_assets_css/layouts/application-navigation.scss
368
- - lib/lesli_assets_css/layouts/application-notification.scss
369
- - lib/lesli_assets_css/layouts/application-sidebar.scss
370
- - lib/lesli_assets_css/pages/invites.scss
371
- - lib/lesli_assets_css/settings/variables.scss
372
- - lib/lesli_assets_css/shared/workflow-status-progress.scss
373
- - lib/lesli_assets_css/templates/application.scss
374
- - lib/lesli_assets_css/templates/component.scss
375
- - lib/lesli_assets_css/templates/dashboards.scss
376
- - lib/lesli_assets_css/templates/empty.scss
377
- - lib/lesli_assets_css/templates/pdf.scss
378
- - lib/lesli_assets_css/templates/public.scss
379
- - lib/lesli_assets_css/templates/start.scss
380
358
  - lib/lesli_assets_js/application.js
381
359
  - lib/lesli_assets_js/calendar.js
360
+ - lib/lesli_assets_styles/fonts/families.scss
361
+ - lib/lesli_assets_styles/fonts/mdicons.scss
362
+ - lib/lesli_assets_styles/fonts/mdsymbols.scss
363
+ - lib/lesli_assets_styles/fonts/remixicons.scss
364
+ - lib/lesli_assets_styles/helpers/display.scss
365
+ - lib/lesli_assets_styles/helpers/tooltip.scss
366
+ - lib/lesli_assets_styles/layouts/application-app.scss
367
+ - lib/lesli_assets_styles/layouts/application-component.scss
368
+ - lib/lesli_assets_styles/layouts/application-container.scss
369
+ - lib/lesli_assets_styles/layouts/application-header.scss
370
+ - lib/lesli_assets_styles/layouts/application-navigation.scss
371
+ - lib/lesli_assets_styles/layouts/application-notification.scss
372
+ - lib/lesli_assets_styles/layouts/application-sidebar.scss
373
+ - lib/lesli_assets_styles/pages/invites.scss
374
+ - lib/lesli_assets_styles/settings/variables.scss
375
+ - lib/lesli_assets_styles/shared/workflow-status-progress.scss
376
+ - lib/lesli_assets_styles/templates/application.scss
377
+ - lib/lesli_assets_styles/templates/component.scss
378
+ - lib/lesli_assets_styles/templates/dashboards.scss
379
+ - lib/lesli_assets_styles/templates/empty.scss
380
+ - lib/lesli_assets_styles/templates/pdf.scss
381
+ - lib/lesli_assets_styles/templates/public.scss
382
+ - lib/lesli_assets_styles/templates/start.scss
382
383
  - lib/lesli_assets_tailwind/tailwind.app.css
383
384
  - lib/lesli_assets_tailwind/tailwind.config.js
384
385
  - lib/lesli_assets_tailwind/tailwind.test.html
@@ -1,115 +0,0 @@
1
- /*
2
-
3
- Lesli
4
-
5
- Copyright (c) 2023, Lesli Technologies, S. A.
6
-
7
- This program is free software: you can redistribute it and/or modify
8
- it under the terms of the GNU General Public License as published by
9
- the Free Software Foundation, either version 3 of the License, or
10
- (at your option) any later version.
11
-
12
- This program is distributed in the hope that it will be useful,
13
- but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- GNU General Public License for more details.
16
-
17
- You should have received a copy of the GNU General Public License
18
- along with this program. If not, see http://www.gnu.org/licenses/.
19
-
20
- Lesli · Ruby on Rails SaaS Development Framework.
21
-
22
- Made with ♥ by https://www.lesli.tech
23
- Building a better future, one line of code at a time.
24
-
25
- @contact hello@lesli.tech
26
- @website https://www.lesli.tech
27
- @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
28
-
29
- // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
30
- // ·
31
- */
32
-
33
-
34
- // ·
35
- @use "lesli-css/sass/helpers/shadow";
36
- @use "lesli-css/sass/helpers/breakpoint";
37
-
38
-
39
- // ·
40
- .lesli-application-engines {
41
-
42
- .engines-container {
43
-
44
- .engines {
45
- display: flex;
46
- flex-wrap: wrap;
47
- flex-direction: column;
48
- justify-content: center;
49
-
50
- // engine link
51
- a {
52
- width: 100%;
53
- height: 200px;
54
- display: block;
55
-
56
- text-align: center;
57
- padding: 1rem .4rem;
58
- margin-bottom: 2rem;
59
- border-radius: .5rem;
60
- border: transparent 1px solid;
61
- background-color: lesli-css-color(silver, 100);
62
- background-color: #FFFFFF;
63
- transition: all ease-in-out .4s;
64
- @include shadow.lesli-shadow();
65
-
66
- &:hover {
67
- border-color: var(--lesli-color-primary);
68
- transform: translateY(-1px);
69
- }
70
-
71
- &.is-active {
72
- background-color: #F0F4FF;
73
- border-color: var(--lesli-color-primary);
74
- }
75
-
76
- // engine logo
77
- svg {
78
- margin-right: .4rem;
79
- fill: var(--lesli-color-primary);
80
- }
81
-
82
- // engine description
83
- p {
84
- font-size: 14;
85
- }
86
-
87
- // engine name
88
- span {
89
- font-weight: 600;
90
- font-size: 20px;
91
- }
92
-
93
- span, p {
94
- color: var(--lesli-color-primary);
95
- }
96
- }
97
- }
98
-
99
- // close button
100
- button {
101
- width: 100%;
102
- }
103
- }
104
- }
105
-
106
-
107
- @include breakpoint.lesli-breakpoint-tablet() {
108
- .lesli-application-engines .engines-container .engines {
109
- flex-direction: row;
110
- a {
111
- width: 320px;
112
- margin: 1rem;
113
- }
114
- }
115
- }