lesli_assets 0.1.0

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 (114) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +3 -0
  3. data/app/assets/config/lesli_assets_manifest.js +9 -0
  4. data/app/assets/fonts/lesli_assets/Domine/Domine-Variable.ttf +0 -0
  5. data/app/assets/fonts/lesli_assets/Domine/OFL.txt +97 -0
  6. data/app/assets/fonts/lesli_assets/MaterialDesign/icons.woff2 +0 -0
  7. data/app/assets/fonts/lesli_assets/Montserrat/Montserrat-Variable.ttf +0 -0
  8. data/app/assets/fonts/lesli_assets/OpenSans/OpenSans-Variable.ttf +0 -0
  9. data/app/assets/fonts/lesli_assets/Remix/remixicon.eot +0 -0
  10. data/app/assets/fonts/lesli_assets/Remix/remixicon.glyph.json +1 -0
  11. data/app/assets/fonts/lesli_assets/Remix/remixicon.svg +9196 -0
  12. data/app/assets/fonts/lesli_assets/Remix/remixicon.symbol.svg +11 -0
  13. data/app/assets/fonts/lesli_assets/Remix/remixicon.ttf +0 -0
  14. data/app/assets/fonts/lesli_assets/Remix/remixicon.woff +0 -0
  15. data/app/assets/fonts/lesli_assets/Remix/remixicon.woff2 +0 -0
  16. data/app/assets/fonts/lesli_assets/Roboto/LICENSE.txt +202 -0
  17. data/app/assets/fonts/lesli_assets/Roboto/Roboto-Black.ttf +0 -0
  18. data/app/assets/fonts/lesli_assets/Roboto/Roboto-BlackItalic.ttf +0 -0
  19. data/app/assets/fonts/lesli_assets/Roboto/Roboto-Bold.ttf +0 -0
  20. data/app/assets/fonts/lesli_assets/Roboto/Roboto-BoldItalic.ttf +0 -0
  21. data/app/assets/fonts/lesli_assets/Roboto/Roboto-Italic.ttf +0 -0
  22. data/app/assets/fonts/lesli_assets/Roboto/Roboto-Light.ttf +0 -0
  23. data/app/assets/fonts/lesli_assets/Roboto/Roboto-LightItalic.ttf +0 -0
  24. data/app/assets/fonts/lesli_assets/Roboto/Roboto-Medium.ttf +0 -0
  25. data/app/assets/fonts/lesli_assets/Roboto/Roboto-MediumItalic.ttf +0 -0
  26. data/app/assets/fonts/lesli_assets/Roboto/Roboto-Regular.ttf +0 -0
  27. data/app/assets/fonts/lesli_assets/Roboto/Roboto-Thin.ttf +0 -0
  28. data/app/assets/fonts/lesli_assets/Roboto/Roboto-ThinItalic.ttf +0 -0
  29. data/app/assets/icons/lesli_assets/engine-admin.svg +1 -0
  30. data/app/assets/icons/lesli_assets/engine-audit.svg +1 -0
  31. data/app/assets/icons/lesli_assets/engine-babel.svg +1 -0
  32. data/app/assets/icons/lesli_assets/engine-bell.svg +1 -0
  33. data/app/assets/icons/lesli_assets/engine-books.svg +1 -0
  34. data/app/assets/icons/lesli_assets/engine-calendar.svg +1 -0
  35. data/app/assets/icons/lesli_assets/engine-dashboard.svg +1 -0
  36. data/app/assets/icons/lesli_assets/engine-dispatcher.svg +1 -0
  37. data/app/assets/icons/lesli_assets/engine-focus.svg +1 -0
  38. data/app/assets/icons/lesli_assets/engine-kb.svg +1 -0
  39. data/app/assets/icons/lesli_assets/engine-leaf.svg +1 -0
  40. data/app/assets/icons/lesli_assets/engine-lesli.svg +1 -0
  41. data/app/assets/icons/lesli_assets/engine-letter.svg +1 -0
  42. data/app/assets/icons/lesli_assets/engine-mailer.svg +1 -0
  43. data/app/assets/icons/lesli_assets/engine-one.svg +1 -0
  44. data/app/assets/icons/lesli_assets/engine-papers.svg +1 -0
  45. data/app/assets/icons/lesli_assets/engine-profile.svg +1 -0
  46. data/app/assets/icons/lesli_assets/engine-proposal.svg +1 -0
  47. data/app/assets/icons/lesli_assets/engine-scraper.svg +1 -0
  48. data/app/assets/icons/lesli_assets/engine-security.svg +1 -0
  49. data/app/assets/icons/lesli_assets/engine-shared.svg +1 -0
  50. data/app/assets/icons/lesli_assets/engine-shield.svg +1 -0
  51. data/app/assets/icons/lesli_assets/engine-storage.svg +1 -0
  52. data/app/assets/icons/lesli_assets/engine-support.svg +1 -0
  53. data/app/assets/icons/lesli_assets/engine-talk.svg +1 -0
  54. data/app/assets/icons/lesli_assets/engine-team.svg +1 -0
  55. data/app/assets/icons/lesli_assets/engine-time.svg +1 -0
  56. data/app/assets/icons/lesli_assets/gem-assets.svg +1 -0
  57. data/app/assets/icons/lesli_assets/gem-css.svg +1 -0
  58. data/app/assets/icons/lesli_assets/gem-date.svg +1 -0
  59. data/app/assets/icons/lesli_assets/gem-system.svg +1 -0
  60. data/app/assets/icons/lesli_assets/gem-view.svg +1 -0
  61. data/app/assets/icons/lesli_assets/locale-en.svg +1 -0
  62. data/app/assets/icons/lesli_assets/locale-es.svg +1 -0
  63. data/app/assets/icons/lesli_assets/locale-fr.svg +1 -0
  64. data/app/assets/icons/lesli_assets/locale-it.svg +1 -0
  65. data/app/assets/icons/lesli_assets/locale-pt.svg +1 -0
  66. data/app/assets/icons/readme.md +15 -0
  67. data/app/assets/images/assets-logo.svg +1 -0
  68. data/app/assets/javascripts/lesli_assets/application.js +1111 -0
  69. data/app/assets/stylesheets/lesli_assets/templates/application.css +28819 -0
  70. data/app/assets/stylesheets/lesli_assets/templates/public.css +15578 -0
  71. data/app/assets/stylesheets/lesli_assets/templates/start.css +5634 -0
  72. data/app/views/lesli_assets/partials/_application-lesli-icons.html.erb +1 -0
  73. data/lib/lesli_assets/engine.rb +9 -0
  74. data/lib/lesli_assets/version.rb +4 -0
  75. data/lib/lesli_assets.rb +6 -0
  76. data/lib/lesli_assets_alpine/application.js +60 -0
  77. data/lib/lesli_assets_alpine/debug.js +198 -0
  78. data/lib/lesli_assets_bulma/fonts/families.scss +47 -0
  79. data/lib/lesli_assets_bulma/fonts/mdicons.scss +82 -0
  80. data/lib/lesli_assets_bulma/fonts/remixicons.scss +3083 -0
  81. data/lib/lesli_assets_bulma/helpers/display.scss +44 -0
  82. data/lib/lesli_assets_bulma/helpers/tooltip.scss +91 -0
  83. data/lib/lesli_assets_bulma/layouts/application-app.scss +36 -0
  84. data/lib/lesli_assets_bulma/layouts/application-component.scss +39 -0
  85. data/lib/lesli_assets_bulma/layouts/application-container.scss +36 -0
  86. data/lib/lesli_assets_bulma/layouts/application-engines.scss +108 -0
  87. data/lib/lesli_assets_bulma/layouts/application-header.scss +94 -0
  88. data/lib/lesli_assets_bulma/layouts/application-navigation.scss +93 -0
  89. data/lib/lesli_assets_bulma/layouts/application-notification.scss +24 -0
  90. data/lib/lesli_assets_bulma/layouts/application-sidebar.scss +93 -0
  91. data/lib/lesli_assets_bulma/pages/devise-simple.scss +89 -0
  92. data/lib/lesli_assets_bulma/pages/devise.scss +164 -0
  93. data/lib/lesli_assets_bulma/pages/invites.scss +81 -0
  94. data/lib/lesli_assets_bulma/panels/panel-announcements.scss +56 -0
  95. data/lib/lesli_assets_bulma/panels/panel-notification.scss +67 -0
  96. data/lib/lesli_assets_bulma/panels/panel-profile.scss +62 -0
  97. data/lib/lesli_assets_bulma/panels/panel-support-ticket.scss +56 -0
  98. data/lib/lesli_assets_bulma/panels/panel-tasks.scss +41 -0
  99. data/lib/lesli_assets_bulma/settings/variables.scss +150 -0
  100. data/lib/lesli_assets_bulma/shared/workflow-status-progress.scss +135 -0
  101. data/lib/lesli_assets_bulma/templates/application.scss +88 -0
  102. data/lib/lesli_assets_bulma/templates/component.scss +39 -0
  103. data/lib/lesli_assets_bulma/templates/dashboards.scss +51 -0
  104. data/lib/lesli_assets_bulma/templates/empty.scss +42 -0
  105. data/lib/lesli_assets_bulma/templates/pdf.scss +45 -0
  106. data/lib/lesli_assets_bulma/templates/public.scss +53 -0
  107. data/lib/lesli_assets_bulma/templates/start.scss +53 -0
  108. data/lib/lesli_assets_tailwind/tailwind.app.css +11 -0
  109. data/lib/lesli_assets_tailwind/tailwind.config.js +10 -0
  110. data/lib/lesli_assets_tailwind/tailwind.test.html +19 -0
  111. data/lib/tasks/lesli_assets_tasks.rake +4 -0
  112. data/license +674 -0
  113. data/readme.md +69 -0
  114. metadata +161 -0
@@ -0,0 +1,44 @@
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 platform.
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
+ // ·
36
+ .is-fullwidth {
37
+ width: 100%;
38
+ }
39
+
40
+
41
+ //
42
+ .hover:hover {
43
+ cursor: pointer;
44
+ }
@@ -0,0 +1,91 @@
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 platform.
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
+ [data-tooltip] {
36
+ position: relative;
37
+ z-index: 2;
38
+ cursor: pointer;
39
+
40
+ // Hide the tooltip content by default
41
+ &:before,
42
+ &:after {
43
+ opacity: 0;
44
+ visibility: hidden;
45
+ pointer-events: none;
46
+ }
47
+
48
+ // Position tooltip above the element
49
+ &::before {
50
+ position: absolute;
51
+ bottom: 110%;
52
+ left: 50%;
53
+ margin-bottom: 5px;
54
+ margin-left: -80px;
55
+ padding: 7px;
56
+ width: 160px;
57
+ -webkit-border-radius: 3px;
58
+ -moz-border-radius: 3px;
59
+ border-radius: 3px;
60
+ background-color: #000;
61
+ background-color: hsla(0, 0%, 20%, 0.9);
62
+ color: #fff;
63
+ content: attr(data-tooltip);
64
+ text-align: center;
65
+ font-size: 14px;
66
+ line-height: 1.2;
67
+ }
68
+
69
+ // Triangle hack to make tooltip look like a speech bubble
70
+ &:after {
71
+ position: absolute;
72
+ bottom: 110%;
73
+ left: 50%;
74
+ margin-left: -5px;
75
+ width: 0;
76
+ border-top: 5px solid #000;
77
+ border-top: 5px solid hsla(0, 0%, 20%, 0.9);
78
+ border-right: 5px solid transparent;
79
+ border-left: 5px solid transparent;
80
+ content: " ";
81
+ font-size: 0;
82
+ line-height: 0;
83
+ }
84
+
85
+ // Show tooltip content on hover
86
+ &:hover:before,
87
+ &:hover:after {
88
+ visibility: visible;
89
+ opacity: 1;
90
+ }
91
+ }
@@ -0,0 +1,36 @@
1
+ /*
2
+ Lesli
3
+
4
+ Copyright (c) 2023, 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
+ main.lesli-application-app {
34
+ display: flex;
35
+ //height: calc(100vh - var(--lesli-header-height) - var(--lesli-navbar-height));
36
+ }
@@ -0,0 +1,39 @@
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
+ .lesli-application-component {
36
+ border-radius: .6rem;
37
+ box-shadow: $lesli-box-shadow;
38
+ background-color: white;
39
+ }
@@ -0,0 +1,36 @@
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
+ section.lesli-application-container,
34
+ turbo-frame.lesli-application-container {
35
+ padding: 1rem;
36
+ }
@@ -0,0 +1,108 @@
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
+ .lesli-application-engines {
34
+
35
+ .engines-container {
36
+
37
+ .engines {
38
+ display: flex;
39
+ flex-wrap: wrap;
40
+ flex-direction: column;
41
+ justify-content: center;
42
+
43
+ // engine link
44
+ a {
45
+ width: 100%;
46
+ height: 200px;
47
+ display: block;
48
+
49
+ text-align: center;
50
+ padding: 1rem .4rem;
51
+ margin-bottom: 2rem;
52
+ border-radius: .5rem;
53
+ border: transparent 1px solid;
54
+ box-shadow: $lesli-box-shadow;
55
+ background-color: lesli-css-color(silver, 100);
56
+ background-color: #FFFFFF;
57
+ transition: all ease-in-out .4s;
58
+
59
+ &:hover {
60
+ border-color: var(--lesli-color-primary);
61
+ transform: translateY(-1px);
62
+ }
63
+
64
+ &.is-active {
65
+ background-color: #F0F4FF;
66
+ border-color: var(--lesli-color-primary);
67
+ }
68
+
69
+ // engine logo
70
+ svg {
71
+ margin-right: .4rem;
72
+ fill: var(--lesli-color-primary);
73
+ }
74
+
75
+ // engine description
76
+ p {
77
+ font-size: 14;
78
+ }
79
+
80
+ // engine name
81
+ span {
82
+ font-weight: 600;
83
+ font-size: 20px;
84
+ }
85
+
86
+ span, p {
87
+ color: var(--lesli-color-primary);
88
+ }
89
+ }
90
+ }
91
+
92
+ // close button
93
+ button {
94
+ width: 100%;
95
+ }
96
+ }
97
+ }
98
+
99
+
100
+ @include lesli-css-breakpoint-tablet() {
101
+ .lesli-application-engines .engines-container .engines {
102
+ flex-direction: row;
103
+ a {
104
+ width: 320px;
105
+ margin: 1rem;
106
+ }
107
+ }
108
+ }
@@ -0,0 +1,94 @@
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 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
+ header.lesli-application-header {
36
+ background-color: var(--lesli-header-color);
37
+ height: var(--lesli-header-height);
38
+
39
+ nav.lesli-navbar {
40
+
41
+ .navbar-brand {
42
+ img {
43
+ height: var(--lesli-header-height);
44
+ }
45
+ }
46
+
47
+ .navbar-item {
48
+
49
+ .icon {
50
+ padding: 0;
51
+ }
52
+
53
+ // navigation icons
54
+ [class^="ri-"] {
55
+ font-size: 20px;
56
+ color: lesli-css-color(black, 700);
57
+ }
58
+ }
59
+
60
+ .header-icons {
61
+
62
+ a {
63
+ position: relative;
64
+ }
65
+
66
+ // navigation icons
67
+ [class^="ri-"] {
68
+ font-size: 25px;
69
+ padding: 0 0.6rem;
70
+ color: lesli-css-color(black, 700);
71
+ }
72
+
73
+ // Notification icon & count
74
+ .header-indicator {
75
+ .count {
76
+ top: -8px;
77
+ right: 10px;
78
+ width: 10px;
79
+ height: 10px;
80
+ border-radius: 50%;
81
+ background-color: lesli-css-color(berry, 300);
82
+ position: absolute;
83
+ }
84
+ }
85
+
86
+ .lesli-header-notifications {
87
+ .dropdown-content {
88
+ box-shadow: none;
89
+ background-color: transparent;
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
@@ -0,0 +1,93 @@
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
+ .navbar {
34
+ position: static;
35
+ }
36
+
37
+ nav.lesli-application-navigation {
38
+ background-color: var(--lesli-navbar-color);
39
+ border-bottom: 1px solid rgba(172,179,194,.5);
40
+ border-top: 1px solid rgba(172,179,194,.5);
41
+ width: 100%;
42
+
43
+ .navbar-menu {
44
+ justify-content: center;
45
+ }
46
+
47
+ .navbar-start {
48
+ display: none;
49
+ }
50
+
51
+ .navbar-end {
52
+ margin-inline-start: unset;
53
+ }
54
+
55
+ li {
56
+ padding-top: 0;
57
+ padding-bottom: 0;
58
+
59
+ a {
60
+ gap: 6px;
61
+ display: flex;
62
+ padding: 1.2rem 1.1rem 0.8rem;
63
+ align-items: center;
64
+ border-bottom: 2px solid transparent;
65
+ color: lesli-css-color(black, 700);
66
+ transition: all linear .2s;
67
+
68
+ &:hover {
69
+ // color: lesli-css-color(slate, 100);
70
+ // text-shadow: 0 0px 10px rgba(lesli-css-color(slate, 900), 0.8);
71
+ color: lesli-css-color(slate, 700);
72
+ text-shadow: 0 2px 6px rgba(lesli-css-color(slate, 700), 0.25);
73
+ }
74
+
75
+ // highlight active link
76
+ &.navigation-link-active {
77
+ border-bottom-color: lesli-css-color(lesli, primary);
78
+ }
79
+
80
+ // link label
81
+ span.text {
82
+ flex-grow: 1;
83
+ font-size: 1rem;
84
+ text-align: left;
85
+ display: inline-block;
86
+ }
87
+
88
+ [class^="ri-"] {
89
+ font-size: 20px;
90
+ }
91
+ }
92
+ }
93
+ }
@@ -0,0 +1,24 @@
1
+
2
+
3
+ section.application-lesli-notifications {
4
+ max-width: 600px;
5
+ margin: 0 auto;
6
+ width: 90%;
7
+
8
+ position: fixed;
9
+ z-index: 999;
10
+ left: 0;
11
+ right: 0;
12
+
13
+ .notification {
14
+ animation: fadeOut 5s forwards;
15
+ border: 2px solid;
16
+ }
17
+ }
18
+
19
+
20
+ @keyframes fadeOut {
21
+ 0% { opacity: 1; }
22
+ 80% { opacity: 1; } /* Keep visible for most of the time */
23
+ 100% { opacity: 0; display: none; }
24
+ }
@@ -0,0 +1,93 @@
1
+ /*
2
+ Lesli
3
+
4
+ Copyright (c) 2023, 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 https://www.lesli.tech
22
+ Building a better future, one line of code at a time.
23
+
24
+ @contact hello@lesli.tech
25
+ @website https://www.lesli.dev
26
+ @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
27
+
28
+ // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
29
+ // ·
30
+ */
31
+
32
+
33
+ // use the default background color so we can use bulma functions to find the rest of colors
34
+ @if $lesli-sidebar-color == "transparent" {
35
+ $lesli-sidebar-color: $lesli-color-background;
36
+ }
37
+
38
+
39
+ // · text color white or black depending in the luminance of the selected color
40
+ $lesli-sidebar-color-text: findColorInvert($lesli-sidebar-color) !default;
41
+
42
+
43
+ // · find exactly the inverted background color to use as text color, so we have contrast
44
+ $lesli-sidebar-hover-text: findColorInvert($lesli-sidebar-hover) !default;
45
+ $lesli-sidebar-hover: darken($lesli-color-background, 8);
46
+
47
+
48
+
49
+ // · Navigation sidebar
50
+ aside.lesli-application-sidebar {
51
+ display: flex;
52
+ flex-direction: column;
53
+ transition: all linear .2s;
54
+ width: var(--lesli-sidebar-width);
55
+ padding: 48px 0 0 3rem;
56
+
57
+ // allow the container to scroll over the navigation items
58
+ nav {
59
+ @include lesli-css-scrollbar(hide);
60
+ overflow-y: scroll;
61
+ background-color: white;
62
+ border-radius: 8px;
63
+ padding: .8rem 0 1rem 1rem;
64
+ }
65
+
66
+ // sidebar title
67
+ p.menu-label {
68
+ font-family: "Domine";
69
+ color: $lesli-sidebar-color-text;
70
+ }
71
+
72
+ // link container
73
+ li {
74
+
75
+ // link
76
+ a {
77
+ color: $lesli-sidebar-color-text;
78
+
79
+ // highlight sidebar navigation item when selected
80
+ // highlight sidebar navigation item on hover
81
+ &:hover,
82
+ &.is-active // rails routes
83
+ {
84
+ color: $lesli-sidebar-hover-text;
85
+ }
86
+
87
+ // icons from reixicons
88
+ span.text {
89
+ margin-left: .2rem;
90
+ }
91
+ }
92
+ }
93
+ }