lesli 5.0.11 → 5.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/lesli_manifest.js +0 -13
  3. data/app/assets/icons/lesli/engine-security.svg +1 -0
  4. data/app/assets/icons/lesli/engine-shield.svg +1 -0
  5. data/app/assets/images/lesli/brand/app-logo.png +0 -0
  6. data/app/assets/images/lesli/lesli-logo.svg +4 -0
  7. data/app/assets/javascripts/lesli/templates/application.js +14 -0
  8. data/app/assets/javascripts/lesli/templates/public.js +14 -0
  9. data/app/assets/stylesheets/lesli/templates/application.css +1365 -293
  10. data/app/assets/stylesheets/lesli/templates/public.css +1 -1
  11. data/app/controllers/lesli/abouts_controller.rb +12 -18
  12. data/app/controllers/lesli/application_controller.rb +26 -25
  13. data/app/controllers/lesli/application_lesli_controller.rb +5 -6
  14. data/app/controllers/lesli/interfaces/application/authorization.rb +2 -2
  15. data/app/controllers/lesli/interfaces/application/customization.rb +1 -1
  16. data/app/controllers/lesli/interfaces/application/requester.rb +2 -2
  17. data/app/controllers/lesli/interfaces/application/responder.rb +8 -8
  18. data/app/controllers/lesli/interfaces/controllers/actions.rb +250 -0
  19. data/app/controllers/lesli/interfaces/controllers/activities.rb +215 -0
  20. data/app/controllers/lesli/interfaces/controllers/discussions.rb +270 -0
  21. data/app/controllers/lesli/interfaces/controllers/files.rb +467 -0
  22. data/app/controllers/lesli/interfaces/controllers/subscribers.rb +234 -0
  23. data/app/helpers/lesli/assets_helper.rb +26 -8
  24. data/app/helpers/lesli/navigation_helper.rb +53 -92
  25. data/app/lib/date2.rb +8 -0
  26. data/app/lib/lesli/system.rb +17 -4
  27. data/app/models/concerns/account_initializer.rb +46 -42
  28. data/app/models/concerns/user_extensions.rb +6 -0
  29. data/{lib/scss/devise/registrations.scss → app/models/lesli/account/detail.rb} +7 -3
  30. data/app/models/lesli/account.rb +12 -5
  31. data/app/models/lesli/cloud_object/action.rb +70 -0
  32. data/app/models/lesli/cloud_object/activity.rb +311 -0
  33. data/app/models/lesli/cloud_object/custom_field.rb +158 -0
  34. data/app/models/lesli/cloud_object/discussion.rb +219 -0
  35. data/app/models/lesli/cloud_object/subscriber.rb +186 -0
  36. data/app/models/lesli/shared/dashboard.rb +16 -5
  37. data/app/models/lesli/user/session.rb +0 -2
  38. data/app/models/lesli/user.rb +13 -13
  39. data/app/operators/lesli/controller_operator.rb +4 -1
  40. data/app/operators/lesli/user_registration_operator.rb +3 -3
  41. data/app/services/lesli/user_service.rb +1 -1
  42. data/app/views/lesli/layouts/application-devise.html.erb +6 -6
  43. data/app/views/lesli/layouts/application-lesli.html.erb +3 -1
  44. data/app/views/lesli/partials/_application-data.html.erb +5 -4
  45. data/app/views/lesli/partials/_application-lesli-engines.html.erb +14 -39
  46. data/app/views/lesli/partials/_application-lesli-header.html.erb +50 -25
  47. data/app/views/lesli/partials/_application-lesli-icons.html.erb +1 -1
  48. data/app/views/lesli/partials/_application-lesli-javascript.html.erb +2 -2
  49. data/app/views/lesli/partials/_application-lesli-navigation.html.erb +8 -1
  50. data/app/views/lesli/partials/_application-lesli-panels.html.erb +7 -7
  51. data/app/views/lesli/partials/_application-lesli-scss.html.erb +2 -2
  52. data/app/views/lesli/wrappers/_application-devise-simple.erb +1 -1
  53. data/app/views/lesli/wrappers/_application-devise.html.erb +5 -7
  54. data/config/initializers/devise.rb +335 -335
  55. data/config/initializers/lesli.rb +9 -2
  56. data/config/locales/translations.en.yml +9 -3
  57. data/config/locales/translations.es.yml +9 -3
  58. data/config/locales/translations.fr.yml +30 -0
  59. data/config/locales/translations.it.yml +30 -0
  60. data/config/locales/translations.pt.yml +30 -0
  61. data/config/routes.rb +1 -10
  62. data/db/migrate/{v1.0/0010003010_create_lesli_user_details.rb → v1/0010000110_create_lesli_accounts.rb} +19 -13
  63. data/db/migrate/{v1.0/0010000110_create_lesli_accounts.rb → v1/0010001010_create_lesli_account_details.rb} +5 -7
  64. data/db/migrate/{v1.0/0010001010_create_lesli_account_settings.rb → v1/0010001110_create_lesli_account_settings.rb} +2 -2
  65. data/db/seed/development/accounts.rb +10 -7
  66. data/db/seed/development/users.rb +20 -20
  67. data/db/seed/production/accounts.rb +10 -7
  68. data/lib/generators/application_lesli_generator.rb +164 -0
  69. data/lib/generators/lesli/spec/USAGE +8 -0
  70. data/lib/generators/lesli/spec/spec_generator.rb +25 -0
  71. data/lib/generators/lesli/spec/templates/spec-factory.template +17 -0
  72. data/lib/generators/lesli/spec/templates/spec-model.template +70 -0
  73. data/lib/lesli/configuration.rb +1 -1
  74. data/lib/lesli/engine.rb +3 -14
  75. data/lib/{scss/devise/passwords.scss → lesli/r_spec.rb} +12 -5
  76. data/lib/lesli/routing.rb +51 -20
  77. data/lib/lesli/version.rb +2 -2
  78. data/lib/lesli.rb +1 -0
  79. data/lib/scss/cloud-objects/discussion.scss +8 -5
  80. data/lib/scss/layouts/application-component.scss +1 -1
  81. data/lib/scss/{devise/sessions.scss → layouts/application-content.scss} +4 -4
  82. data/lib/scss/layouts/application-header.scss +38 -108
  83. data/lib/scss/layouts/{application-navbar.scss → application-navigation.scss} +23 -5
  84. data/lib/scss/layouts/application-search.scss +1 -1
  85. data/lib/scss/{elements/msg.scss → overrides/notification.scss} +16 -18
  86. data/lib/scss/pages/devise-simple.scss +4 -2
  87. data/lib/scss/pages/devise.scss +111 -107
  88. data/lib/scss/panels/panel-notification.scss +1 -1
  89. data/lib/scss/panels/{panel-ticket.scss → panel-support-ticket.scss} +3 -4
  90. data/lib/scss/settings/variables.scss +1 -1
  91. data/lib/scss/templates/application.scss +14 -41
  92. data/lib/scss/templates/public.scss +6 -4
  93. data/lib/tasks/lesli/controllers.rake +1 -1
  94. data/lib/tasks/lesli/db.rake +24 -12
  95. data/lib/tasks/lesli_tasks.rake +7 -7
  96. data/lib/vue/application.js +18 -15
  97. data/lib/vue/{refactor/shared/cloudobjects → cloudobjects}/discussion/content.vue +10 -8
  98. data/lib/vue/cloudobjects/discussion/element.vue +170 -0
  99. data/lib/vue/{refactor/shared/cloudobjects → cloudobjects}/discussion/filters.vue +1 -1
  100. data/lib/vue/{refactor/shared/cloudobjects → cloudobjects}/discussion/new.vue +20 -16
  101. data/lib/vue/{refactor/shared/cloudobjects → cloudobjects}/discussion.vue +25 -24
  102. data/lib/vue/{refactor/stores/cloudobjects → cloudobjects/stores}/discussion.js +7 -16
  103. data/lib/vue/layouts/application-component.vue +2 -2
  104. data/lib/vue/layouts/application-header.vue +109 -88
  105. data/lib/vue/panels/{panel-notifications.vue → panel-bell-notifications.vue} +15 -19
  106. data/lib/vue/panels/panel-support-tickets.vue +163 -0
  107. data/lib/vue/panels/stores/bell-notifications.js +46 -0
  108. data/lib/vue/panels/stores/support-tickets.js +103 -0
  109. data/lib/vue/shared/dashboards/apps/edit.vue +10 -10
  110. data/lib/vue/shared/dashboards/components/form.vue +31 -40
  111. data/lib/vue/shared/stores/dashboard.js +2 -0
  112. data/lib/vue/shared/stores/layout.js +2 -1
  113. data/lib/{scss/devise/confirmations.scss → vue/shared/stores/users.js} +22 -21
  114. data/lib/vue/stores/translations.json +119 -2
  115. data/lib/webpack/base.js +18 -12
  116. data/lib/webpack/core.js +16 -12
  117. data/lib/webpack/engines.js +3 -1
  118. data/lib/webpack/root.js +105 -0
  119. data/lib/webpack/version.js +37 -0
  120. data/readme.md +16 -15
  121. metadata +58 -92
  122. data/app/assets/icons/lesli/engine-guard.svg +0 -1
  123. data/app/assets/javascripts/lesli/users/sessions.js +0 -1
  124. data/app/assets/stylesheets/lesli/users/sessions.css +0 -1
  125. data/app/controllers/users/confirmations_controller.rb +0 -66
  126. data/app/controllers/users/omniauth_callbacks_controller.rb +0 -30
  127. data/app/controllers/users/passwords_controller.rb +0 -71
  128. data/app/controllers/users/registrations_controller.rb +0 -141
  129. data/app/controllers/users/sessions_controller.rb +0 -141
  130. data/app/controllers/users/unlocks_controller.rb +0 -30
  131. data/app/views/devise/confirmations/new.html.erb +0 -2
  132. data/app/views/devise/confirmations/show.html.erb +0 -63
  133. data/app/views/devise/mailer/confirmation_instructions.html.erb +0 -5
  134. data/app/views/devise/mailer/email_changed.html.erb +0 -7
  135. data/app/views/devise/mailer/password_change.html.erb +0 -3
  136. data/app/views/devise/mailer/reset_password_instructions.html.erb +0 -8
  137. data/app/views/devise/mailer/unlock_instructions.html.erb +0 -7
  138. data/app/views/devise/passwords/edit.html.erb +0 -79
  139. data/app/views/devise/passwords/new.html.erb +0 -75
  140. data/app/views/devise/registrations/edit.html.erb +0 -43
  141. data/app/views/devise/registrations/new.html.erb +0 -147
  142. data/app/views/devise/sessions/new.html.erb +0 -114
  143. data/app/views/devise/shared/_demo.html.erb +0 -7
  144. data/app/views/devise/shared/_error_messages.html.erb +0 -15
  145. data/app/views/devise/shared/_links.html.erb +0 -96
  146. data/app/views/devise/unlocks/new.html.erb +0 -16
  147. data/db/migrate/v1.0/0010000210_create_lesli_roles.rb +0 -59
  148. data/db/migrate/v1.0/0010000310_create_lesli_users.rb +0 -97
  149. data/db/migrate/v1.0/0010003110_create_lesli_user_settings.rb +0 -44
  150. data/db/migrate/v1.0/0010003210_create_lesli_user_sessions.rb +0 -55
  151. data/db/migrate/v1.0/0010003410_create_lesli_user_powers.rb +0 -43
  152. data/db/migrate/v1.0/0010004010_create_lesli_user_logs.rb +0 -45
  153. data/db/migrate/v1.0/0010005010_create_lesli_descriptors.rb +0 -44
  154. data/db/migrate/v1.0/0010005110_create_lesli_descriptor_privileges.rb +0 -45
  155. data/db/migrate/v1.0/0010005210_create_lesli_descriptor_activities.rb +0 -49
  156. data/db/migrate/v1.0/0010005510_create_lesli_role_powers.rb +0 -51
  157. data/db/migrate/v1.0/0010005710_create_lesli_role_privileges.rb +0 -45
  158. data/lib/scss/bulma/loader.scss +0 -92
  159. data/lib/scss/components/editor-richtext.scss +0 -88
  160. data/lib/scss/devise/oauth.scss +0 -34
  161. data/lib/scss/elements/avatar.scss +0 -48
  162. data/lib/scss/elements/calendar.scss +0 -47
  163. data/lib/scss/elements/toggle.scss +0 -102
  164. data/lib/vue/devise/confirmations.js +0 -33
  165. data/lib/vue/devise/passwords.js +0 -137
  166. data/lib/vue/devise/registrations.js +0 -157
  167. data/lib/vue/devise/sessions.js +0 -148
  168. data/lib/vue/panels/panel-tickets.vue +0 -181
  169. data/lib/vue/refactor/shared/cloudobjects/discussion/element.vue +0 -132
  170. data/lib/vue/shared/stores/account.js +0 -113
  171. /data/app/assets/icons/lesli/{engine-driver.svg → engine-calendar.svg} +0 -0
  172. /data/db/migrate/{v1.0 → v1}/0010000610_create_lesli_system_controllers.rb +0 -0
  173. /data/db/migrate/{v1.0 → v1}/0010000710_create_lesli_system_controller_actions.rb +0 -0
  174. /data/db/migrate/{v1.0 → v1}/0010001210_create_lesli_account_activities.rb +0 -0
  175. /data/db/migrate/{v1.0 → v1}/0010001410_create_lesli_account_logs.rb +0 -0
@@ -19,7 +19,7 @@ along with this program. If not, see http://www.gnu.org/licenses/.
19
19
 
20
20
  Lesli · Ruby on Rails SaaS Development Framework.
21
21
 
22
- Made with ♥ by https://www.lesli.tech
22
+ Made with ♥ by LesliTech
23
23
  Building a better future, one line of code at a time.
24
24
 
25
25
  @contact hello@lesli.tech
data/lib/lesli/engine.rb CHANGED
@@ -19,11 +19,11 @@ along with this program. If not, see http://www.gnu.org/licenses/.
19
19
 
20
20
  Lesli · Ruby on Rails SaaS Development Framework.
21
21
 
22
- Made with ♥ by https://www.lesli.tech
22
+ Made with ♥ by LesliTech
23
23
  Building a better future, one line of code at a time.
24
24
 
25
25
  @contact hello@lesli.tech
26
- @website https://www.lesli.dev
26
+ @website https://www.lesli.tech
27
27
  @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
28
28
 
29
29
  // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
@@ -36,9 +36,8 @@ require "kaminari"
36
36
 
37
37
  # · Tools used to build the Lesli Framework
38
38
  require "L2"
39
- require "devise"
39
+ require "ancestry"
40
40
  require "useragent"
41
- #require "flag-icons-rails"
42
41
  require "acts_as_paranoid"
43
42
 
44
43
  module Lesli
@@ -65,14 +64,6 @@ module Lesli
65
64
  # Lesli Framework configuration
66
65
 
67
66
 
68
- # Include lib/assets folder in the asset pipeline
69
- #config.assets.paths << root.join("lib", "assets")
70
-
71
- #config.assets.paths << root.join("lib", "sass")
72
-
73
- # Include third-party assets
74
- #config.assets.paths << root.join("vendor")
75
-
76
67
  # Default languages
77
68
  config.i18n.default_locale = :en
78
69
  config.i18n.available_locales = [:en]
@@ -98,8 +89,6 @@ module Lesli
98
89
  from: config.company.dig(:email)
99
90
  }
100
91
 
101
-
102
-
103
92
  # Mailer url options for development
104
93
  config.action_mailer.default_url_options ||= {
105
94
  host: "http://0.0.0.0:3000"
@@ -1,4 +1,4 @@
1
- /*
1
+ =begin
2
2
 
3
3
  Lesli
4
4
 
@@ -19,7 +19,7 @@ along with this program. If not, see http://www.gnu.org/licenses/.
19
19
 
20
20
  Lesli · Ruby on Rails SaaS Development Framework.
21
21
 
22
- Made with ♥ by https://www.lesli.tech
22
+ Made with ♥ by LesliTech
23
23
  Building a better future, one line of code at a time.
24
24
 
25
25
  @contact hello@lesli.tech
@@ -28,6 +28,13 @@ Building a better future, one line of code at a time.
28
28
 
29
29
  // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
30
30
  // ·
31
- */
32
-
33
- @import "lesli/pages/devise-simple";
31
+ =end
32
+
33
+ # ·
34
+ module Lesli
35
+ module RSpec
36
+ def self.testers_request
37
+ Lesli::Engine.root.join("spec/support/testers/request")
38
+ end
39
+ end
40
+ end
data/lib/lesli/routing.rb CHANGED
@@ -1,25 +1,56 @@
1
+ =begin
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
+ =end
32
+
33
+ # ·
1
34
  module Lesli
2
35
  module Routing
3
- def self.mount_login
4
- mount_login_at()
5
- end
6
- def self.mount_login_at path=""
7
- Rails.application.routes.draw do
8
- devise_for :users, class_name: "Lesli::User", module: :devise,
9
- :path => path,
10
- :path_names => {
11
- :sign_in => "login",
12
- :sign_out => "logout",
13
- :sign_up => "register",
14
- :password => "password",
15
- :confirmation => "confirmation"
16
- },
17
- :controllers => {
18
- :registrations => "users/registrations",
19
- :confirmations => "users/confirmations",
20
- :passwords => "users/passwords",
21
- :sessions => "users/sessions"
22
- }
36
+ def self.mount_dashboard_for lesli_engine
37
+
38
+ lesli_engine::Engine.routes.draw do
39
+
40
+ # Dashboard alias
41
+ root to: "dashboards#show"
42
+
43
+ # Dashboard management
44
+ resource :dashboard, only: [:show]
45
+ resources :dashboards do
46
+ collection do
47
+ post "list" => :index
48
+ get :options
49
+ end
50
+ scope module: :dashboard do
51
+ resources :components
52
+ end
53
+ end
23
54
  end
24
55
  end
25
56
  end
data/lib/lesli/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Lesli
2
- VERSION = "5.0.11"
3
- BUILD = "1710042648"
2
+ VERSION = "5.0.13"
3
+ BUILD = "1728877698"
4
4
  end
data/lib/lesli.rb CHANGED
@@ -2,6 +2,7 @@ require "lesli/configuration"
2
2
  require "lesli/routing"
3
3
  require "lesli/version"
4
4
  require "lesli/engine"
5
+ require "lesli/r_spec"
5
6
 
6
7
  module Lesli
7
8
  end
@@ -17,9 +17,9 @@ GNU General Public License for more details.
17
17
  You should have received a copy of the GNU General Public License
18
18
  along with this program. If not, see http://www.gnu.org/licenses/.
19
19
 
20
- Lesli · Ruby on Rails SaaS development platform.
20
+ Lesli · Ruby on Rails SaaS Development Framework.
21
21
 
22
- Made with ♥ by https://www.lesli.tech
22
+ Made with ♥ by LesliTech
23
23
  Building a better future, one line of code at a time.
24
24
 
25
25
  @contact hello@lesli.tech
@@ -27,12 +27,15 @@ Building a better future, one line of code at a time.
27
27
  @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
28
28
 
29
29
  // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
30
- // ·
31
-
30
+ // ·
32
31
  */
33
32
 
34
- .discussion {
33
+ .lesli-cloud-object-discussion {
34
+ max-width: 1000px;
35
+ }
35
36
 
37
+ .discussion {
38
+
36
39
  &-content {
37
40
  display: flex;
38
41
  flex-direction: column;
@@ -35,5 +35,5 @@ Building a better future, one line of code at a time.
35
35
  .lesli-application-component {
36
36
  border-radius: .6rem;
37
37
  box-shadow: $lesli-box-shadow;
38
- background-color: lesli-css-color(solid, white);
38
+ background-color: white;
39
39
  }
@@ -1,5 +1,4 @@
1
1
  /*
2
-
3
2
  Lesli
4
3
 
5
4
  Copyright (c) 2023, Lesli Technologies, S. A.
@@ -19,7 +18,7 @@ along with this program. If not, see http://www.gnu.org/licenses/.
19
18
 
20
19
  Lesli · Ruby on Rails SaaS Development Framework.
21
20
 
22
- Made with ♥ by https://www.lesli.tech
21
+ Made with ♥ by LesliTech
23
22
  Building a better future, one line of code at a time.
24
23
 
25
24
  @contact hello@lesli.tech
@@ -30,6 +29,7 @@ Building a better future, one line of code at a time.
30
29
  // ·
31
30
  */
32
31
 
33
-
34
32
  // ·
35
- @import "LesliStyle/pages/devise";
33
+ section.lesli-application-content {
34
+ display: flex;
35
+ }
@@ -19,11 +19,11 @@ along with this program. If not, see http://www.gnu.org/licenses/.
19
19
 
20
20
  Lesli · Ruby on Rails SaaS Development Framework.
21
21
 
22
- Made with ♥ by https://www.lesli.tech
22
+ Made with ♥ by LesliTech
23
23
  Building a better future, one line of code at a time.
24
24
 
25
25
  @contact hello@lesli.tech
26
- @website https://www.lesli.dev
26
+ @website https://www.lesli.tech
27
27
  @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
28
28
 
29
29
  // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
@@ -33,128 +33,58 @@ Building a better future, one line of code at a time.
33
33
 
34
34
  // ·
35
35
  header.lesli-application-header {
36
- height: var(--lesli-header-height);
37
36
  background-color: var(--lesli-header-color);
38
- border-bottom: 1px solid rgba(172,179,194,.2);
39
- width: 100%;
40
-
41
-
42
- // · main logo
43
- .lesli-brand {
44
- img {
45
- height: var(--lesli-header-height);
46
- }
47
- }
48
-
49
-
50
- // · Navigation and icons contianer
51
- .lesli-application-header-container {
52
- width: 100%;
53
- height: 100%;
54
- display: flex;
55
- align-items: center;
56
- flex-direction: row;
57
- justify-content: space-between;
58
- padding: 0 1.2rem;
59
- }
60
-
61
-
62
- // · Logo and search container
63
- .lesli-application-header-left {
64
- flex: 1;
65
-
66
- .control {
67
- flex: 1;
68
-
69
- .icon {
70
- height: 100%;
71
- display: flex;
72
- align-items: center;
73
- justify-content: center;
74
- }
75
-
76
- .material-icons {
77
- font-size: 25px;
78
- }
79
-
80
- input {
81
- font-size: 1.15rem;
82
- padding-left: 2.7rem;
83
- border-radius: 8px;
84
- border: 1px solid transparent;
85
- transition: all linear .3s;
86
- background-color: transparent;
37
+ border-bottom: 1px solid rgba(172,179,194,.3);
38
+ height: var(--lesli-header-height);
87
39
 
88
- &::placeholder {
89
- color: lesli-css-color(silver, 700);
90
- }
40
+ nav.lesli-navbar {
91
41
 
92
- &:focus {
93
- max-width: 98%;
94
- border-color: lesli-css-color(silver);
95
- }
42
+ .navbar-brand {
43
+ img {
44
+ height: var(--lesli-header-height);
96
45
  }
97
46
  }
98
- }
99
-
100
-
101
- // · Indicator icons container
102
- .lesli-application-header-right {
103
47
 
104
- .header-language-selector {
105
- height: 24px;
106
- }
48
+ .navbar-item {
49
+ padding: 0;
107
50
 
108
- // Notification icon & count
109
- .header-indicator {
110
- margin-left: 20px;
111
- position: relative;
51
+ // navigation icon containers
52
+ span {
53
+ line-height: 1;
54
+ }
112
55
 
113
- // icons
56
+ // navigation icons
114
57
  [class^="ri-"] {
115
58
  font-size: 25px;
59
+ padding: 0 0.6rem;
60
+ color: lesli-css-color(black, 700);
116
61
  }
117
62
 
118
- .count {
119
- top: -8px;
120
- right: -4px;
121
- width: 8px;
122
- height: 8px;
123
- font-size: 0px;
124
- text-align: center;
125
- border-radius: 50%;
126
- background-color: lesli-css-color(berry, 300);
127
- color: lesli-css-color(silver, 100);
128
- font-family: sans-serif;
129
- position: absolute;
130
- }
131
- }
132
-
133
- //
134
- .header-user-options {
135
- margin-left: 20px;
63
+ // Notification icon & count
64
+ .header-indicator {
65
+ position: relative;
136
66
 
137
- .dropdown-trigger .ri-user-smile-line {
138
- font-size: 26px;
139
- }
140
-
141
- .dropdown-menu {
142
- min-width: 15rem;
143
-
144
- .dropdown-content {
145
- width: 100%;
146
- padding: 0;
147
-
148
- hr.dropdown-divider {
149
- margin: 0;
150
- }
67
+ // icons
68
+ [class^="ri-"] {
69
+ font-size: 25px;
70
+ color: lesli-css-color(black, 700);
71
+ }
72
+
73
+ .count {
74
+ top: -4px;
75
+ right: 6px;
76
+ width: 8px;
77
+ height: 8px;
78
+ border-radius: 50%;
79
+ background-color: lesli-css-color(berry, 300);
80
+ position: absolute;
151
81
  }
152
82
  }
83
+ }
153
84
 
154
- .dropdown-item {
155
- [class^="ri-"] {
156
- font-size: 22px;
157
- }
85
+ .dropdown {
86
+ .icon-text {
87
+ align-items: center;
158
88
  }
159
89
  }
160
90
  }
@@ -32,7 +32,7 @@ Building a better future, one line of code at a time.
32
32
 
33
33
  nav.lesli-application-navigation {
34
34
  background-color: var(--lesli-navbar-color);
35
- border-bottom: 1px solid rgba(172,179,194,.2);
35
+ border-bottom: 1px solid rgba(172,179,194,.5);
36
36
  width: 100%;
37
37
 
38
38
  ul {
@@ -40,17 +40,24 @@ nav.lesli-application-navigation {
40
40
  justify-content: center;
41
41
 
42
42
  li a {
43
- padding: 1rem 1.1rem;
43
+ gap: 6px;
44
44
  display: flex;
45
+ padding: 1rem 1.1rem;
45
46
  align-items: center;
47
+ border-bottom: 2px solid transparent;
48
+ color: lesli-css-color(black, 700);
46
49
 
50
+ // highlight active link
51
+ &.navigation-link-active {
52
+ border-bottom-color: lesli-css-color(lesli, primary);
53
+ }
54
+
47
55
  // link label
48
56
  span.text {
49
- margin-left: 6px;
50
- font-size: 1rem;
51
- display: inline-block;
52
57
  flex-grow: 1;
58
+ font-size: 1rem;
53
59
  text-align: left;
60
+ display: inline-block;
54
61
  }
55
62
 
56
63
  [class^="ri-"] {
@@ -59,3 +66,14 @@ nav.lesli-application-navigation {
59
66
  }
60
67
  }
61
68
  }
69
+
70
+
71
+ @include lesli-css-breakpoint-small {
72
+
73
+ nav.lesli-application-navigation {
74
+ ul {
75
+ display: block;
76
+ justify-content: center;
77
+ }
78
+ }
79
+ }
@@ -44,7 +44,7 @@ Building a better future, one line of code at a time.
44
44
  padding: 0 28px;
45
45
  max-width: calc(100% - var(--lesli-sidebar-width));
46
46
  margin-left: var(--lesli-sidebar-width);
47
- background-color: lesli-css-color(solid, white);
47
+ background-color: white;
48
48
 
49
49
  .content {
50
50
  padding: 0;
@@ -17,7 +17,7 @@ GNU General Public License for more details.
17
17
  You should have received a copy of the GNU General Public License
18
18
  along with this program. If not, see http://www.gnu.org/licenses/.
19
19
 
20
- Lesli · Ruby on Rails SaaS development platform.
20
+ Lesli · Ruby on Rails SaaS Development Framework.
21
21
 
22
22
  Made with ♥ by https://www.lesli.tech
23
23
  Building a better future, one line of code at a time.
@@ -27,29 +27,27 @@ Building a better future, one line of code at a time.
27
27
  @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
28
28
 
29
29
  // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
30
- // ·
31
-
30
+ // ·
32
31
  */
33
32
 
34
33
 
35
34
  // ·
36
35
  .lesli-msg {
37
36
  position: fixed;
38
- border-radius: 8px;
39
- padding: 12px 24px;
40
- z-index: 9999;
41
-
42
- // center element and content
43
- top: 10px;
44
- left: 0px;
45
- right: 0px;
46
- margin: 0px auto;
47
- max-width: 300px;
48
- text-align: center;
49
- animation: lesli-msg-move-in-top cubic-bezier(.22, .58, .12, .98) .4s;
50
-
51
- &.hide {
52
- animation: lesli-msg-fade-out cubic-bezier(.22, .58, .12, .98) .4s forwards;
37
+ width: 100%;
38
+ top: 40px;
39
+
40
+ .lesli-msg-content {
41
+ text-align: center;
42
+ margin-bottom: 2px;
43
+ //animation: lesli-msg-move-in-top cubic-bezier(.22, .58, .12, .98) .4s;
44
+ &.hide {
45
+ animation: lesli-msg-fade-out cubic-bezier(.22, .58, .12, .98) .2s forwards;
46
+ }
47
+
48
+ .notification {
49
+ display: inline-block;
50
+ }
53
51
  }
54
52
  }
55
53
 
@@ -30,10 +30,12 @@ Building a better future, one line of code at a time.
30
30
  // ·
31
31
  */
32
32
 
33
- @import "lesli/templates/public";
34
- @import "lesli/fonts/remixicons.scss";
33
+
34
+ // ·
35
+ @import "Lesli/scss/templates/public";
35
36
 
36
37
 
38
+ // ·
37
39
  main {
38
40
  background: white;
39
41