decidim-system 0.27.10 → 0.28.0.rc4
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.
- checksums.yaml +4 -4
- data/README.md +10 -7
- data/app/commands/decidim/system/create_admin.rb +1 -1
- data/app/commands/decidim/system/create_default_content_blocks.rb +1 -14
- data/app/commands/decidim/system/create_default_pages.rb +23 -4
- data/app/commands/decidim/system/populate_help.rb +2 -2
- data/app/commands/decidim/system/register_organization.rb +18 -8
- data/app/commands/decidim/system/update_admin.rb +1 -1
- data/app/commands/decidim/system/update_organization.rb +2 -1
- data/app/controllers/decidim/system/application_controller.rb +1 -1
- data/app/controllers/decidim/system/dashboard_controller.rb +1 -0
- data/app/controllers/decidim/system/organizations_controller.rb +30 -9
- data/app/forms/decidim/system/admin_form.rb +1 -1
- data/app/forms/decidim/system/update_organization_form.rb +16 -17
- data/app/jobs/decidim/system/application_job.rb +1 -1
- data/app/mailers/decidim/system/application_mailer.rb +12 -0
- data/app/packs/entrypoints/decidim_system.js +5 -3
- data/app/packs/stylesheets/decidim/system/application.scss +108 -21
- data/app/views/decidim/system/admins/_form.html.erb +1 -7
- data/app/views/decidim/system/admins/edit.html.erb +3 -3
- data/app/views/decidim/system/admins/index.html.erb +3 -31
- data/app/views/decidim/system/admins/new.html.erb +3 -3
- data/app/views/decidim/system/dashboard/show.html.erb +13 -3
- data/app/views/decidim/system/devise/mailers/password_change.html.erb +1 -1
- data/app/views/decidim/system/devise/mailers/reset_password_instructions.html.erb +2 -2
- data/app/views/decidim/system/devise/passwords/edit.html.erb +5 -8
- data/app/views/decidim/system/devise/passwords/new.html.erb +5 -5
- data/app/views/decidim/system/devise/sessions/new.html.erb +10 -12
- data/app/views/decidim/system/oauth_applications/_form.html.erb +5 -20
- data/app/views/decidim/system/oauth_applications/edit.html.erb +9 -11
- data/app/views/decidim/system/oauth_applications/index.html.erb +6 -8
- data/app/views/decidim/system/oauth_applications/new.html.erb +9 -11
- data/app/views/decidim/system/oauth_applications/show.html.erb +20 -23
- data/app/views/decidim/system/organizations/_advanced_settings.html.erb +10 -8
- data/app/views/decidim/system/organizations/_csp_settings.html.erb +12 -0
- data/app/views/decidim/system/organizations/_file_upload_settings.erb +23 -46
- data/app/views/decidim/system/organizations/_omniauth_provider.html.erb +13 -16
- data/app/views/decidim/system/organizations/_omniauth_settings.html.erb +6 -8
- data/app/views/decidim/system/organizations/_smtp_settings.html.erb +12 -22
- data/app/views/decidim/system/organizations/edit.html.erb +29 -26
- data/app/views/decidim/system/organizations/index.html.erb +3 -4
- data/app/views/decidim/system/organizations/new.html.erb +29 -42
- data/app/views/decidim/system/shared/_admins_list.html.erb +27 -0
- data/app/views/decidim/system/shared/_notices.html.erb +4 -6
- data/app/views/decidim/system/shared/_organizations_list.html.erb +10 -3
- data/app/views/layouts/decidim/system/_header.html.erb +2 -2
- data/app/views/layouts/decidim/system/_login_items.html.erb +3 -7
- data/app/views/layouts/decidim/system/_sidebar.html.erb +3 -7
- data/app/views/layouts/decidim/system/application.html.erb +24 -28
- data/app/views/layouts/decidim/system/login.html.erb +10 -9
- data/config/locales/ar.yml +0 -12
- data/config/locales/bg.yml +0 -214
- data/config/locales/ca.yml +69 -18
- data/config/locales/cs.yml +69 -12
- data/config/locales/de.yml +62 -18
- data/config/locales/el.yml +8 -11
- data/config/locales/en.yml +70 -18
- data/config/locales/eo.yml +0 -7
- data/config/locales/es-MX.yml +70 -18
- data/config/locales/es-PY.yml +70 -18
- data/config/locales/es.yml +70 -18
- data/config/locales/eu.yml +69 -17
- data/config/locales/fa-IR.yml +0 -5
- data/config/locales/fi-plain.yml +69 -18
- data/config/locales/fi.yml +71 -20
- data/config/locales/fr-CA.yml +44 -24
- data/config/locales/fr.yml +54 -18
- data/config/locales/ga-IE.yml +0 -4
- data/config/locales/gl.yml +0 -12
- data/config/locales/hu.yml +0 -35
- data/config/locales/id-ID.yml +0 -10
- data/config/locales/is-IS.yml +0 -10
- data/config/locales/it.yml +0 -13
- data/config/locales/ja.yml +43 -24
- data/config/locales/lb.yml +0 -5
- data/config/locales/lt.yml +18 -11
- data/config/locales/lv.yml +0 -27
- data/config/locales/nl.yml +0 -20
- data/config/locales/no.yml +0 -12
- data/config/locales/pl.yml +0 -53
- data/config/locales/pt-BR.yml +0 -38
- data/config/locales/pt.yml +0 -12
- data/config/locales/ro-RO.yml +3 -19
- data/config/locales/ru.yml +0 -27
- data/config/locales/sk.yml +0 -27
- data/config/locales/sl.yml +0 -26
- data/config/locales/sr-CS.yml +0 -17
- data/config/locales/sv.yml +0 -12
- data/config/locales/tr-TR.yml +3 -15
- data/config/locales/uk.yml +0 -21
- data/config/locales/zh-CN.yml +0 -12
- data/config/locales/zh-TW.yml +7 -10
- data/config/routes.rb +6 -2
- data/db/seeds.rb +1 -1
- data/lib/decidim/system/engine.rb +2 -25
- data/lib/decidim/system/menu.rb +35 -0
- data/lib/decidim/system/version.rb +1 -1
- data/lib/tasks/decidim_system.rake +1 -1
- metadata +22 -28
- data/app/packs/entrypoints/decidim_system.scss +0 -1
- data/app/packs/images/decidim/system/.keep +0 -0
- data/app/packs/src/decidim/system/application.js +0 -41
- data/app/packs/stylesheets/decidim/system/_actions.scss +0 -8
- data/app/packs/stylesheets/decidim/system/_forms.scss +0 -36
- data/app/packs/stylesheets/decidim/system/_foundation_and_overrides.scss +0 -53
- data/app/packs/stylesheets/decidim/system/_layout.scss +0 -18
- data/app/packs/stylesheets/decidim/system/_login.scss +0 -37
- data/app/packs/stylesheets/decidim/system/_settings.scss +0 -569
- data/app/packs/stylesheets/decidim/system/_sidebar.scss +0 -83
- data/app/packs/stylesheets/decidim/system/_tables.scss +0 -6
- data/app/views/decidim/system/admins/show.html.erb +0 -9
- data/app/views/decidim/system/organizations/show.html.erb +0 -10
- data/config/locales/he-IL.yml +0 -1
- data/decidim-system.gemspec +0 -35
@@ -6,6 +6,7 @@ require "active_support/all"
|
|
6
6
|
require "devise"
|
7
7
|
require "devise-i18n"
|
8
8
|
require "decidim/core"
|
9
|
+
require "decidim/system/menu"
|
9
10
|
require "foundation_rails_helper"
|
10
11
|
|
11
12
|
module Decidim
|
@@ -21,31 +22,7 @@ module Decidim
|
|
21
22
|
end
|
22
23
|
|
23
24
|
initializer "decidim_system.menu" do
|
24
|
-
Decidim.
|
25
|
-
menu.add_item :root,
|
26
|
-
I18n.t("menu.dashboard", scope: "decidim.system"),
|
27
|
-
decidim_system.root_path,
|
28
|
-
position: 1,
|
29
|
-
active: ["decidim/system/dashboard" => :show]
|
30
|
-
|
31
|
-
menu.add_item :organizations,
|
32
|
-
I18n.t("menu.organizations", scope: "decidim.system"),
|
33
|
-
decidim_system.organizations_path,
|
34
|
-
position: 2,
|
35
|
-
active: :inclusive
|
36
|
-
|
37
|
-
menu.add_item :admins,
|
38
|
-
I18n.t("menu.admins", scope: "decidim.system"),
|
39
|
-
decidim_system.admins_path,
|
40
|
-
position: 3,
|
41
|
-
active: :inclusive
|
42
|
-
|
43
|
-
menu.add_item :oauth_applications,
|
44
|
-
I18n.t("menu.oauth_applications", scope: "decidim.system"),
|
45
|
-
decidim_system.oauth_applications_path,
|
46
|
-
position: 4,
|
47
|
-
active: [%w(decidim/system/oauth_applications), []]
|
48
|
-
end
|
25
|
+
Decidim::System::Menu.register_system_menu!
|
49
26
|
end
|
50
27
|
|
51
28
|
initializer "decidim_system.webpacker.assets_path" do
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Decidim
|
4
|
+
module System
|
5
|
+
class Menu
|
6
|
+
def self.register_system_menu!
|
7
|
+
Decidim.menu :system_menu do |menu|
|
8
|
+
menu.add_item :root,
|
9
|
+
I18n.t("menu.dashboard", scope: "decidim.system"),
|
10
|
+
decidim_system.root_path,
|
11
|
+
position: 1,
|
12
|
+
active: ["decidim/system/dashboard" => :show]
|
13
|
+
|
14
|
+
menu.add_item :organizations,
|
15
|
+
I18n.t("menu.organizations", scope: "decidim.system"),
|
16
|
+
decidim_system.organizations_path,
|
17
|
+
position: 2,
|
18
|
+
active: :inclusive
|
19
|
+
|
20
|
+
menu.add_item :admins,
|
21
|
+
I18n.t("menu.admins", scope: "decidim.system"),
|
22
|
+
decidim_system.admins_path,
|
23
|
+
position: 3,
|
24
|
+
active: :inclusive
|
25
|
+
|
26
|
+
menu.add_item :oauth_applications,
|
27
|
+
I18n.t("menu.oauth_applications", scope: "decidim.system"),
|
28
|
+
decidim_system.oauth_applications_path,
|
29
|
+
position: 4,
|
30
|
+
active: [%w(decidim/system/oauth_applications), []]
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -8,7 +8,7 @@ namespace :decidim_system do
|
|
8
8
|
password = prompt("Password")
|
9
9
|
password_confirmation = prompt("Password confirmation")
|
10
10
|
|
11
|
-
admin = Decidim::System::Admin.new(email
|
11
|
+
admin = Decidim::System::Admin.new(email:, password:, password_confirmation:)
|
12
12
|
|
13
13
|
if admin.valid?
|
14
14
|
admin.save!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.0.rc4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-12-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: active_link_to
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.28.0.rc4
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.28.0.rc4
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,14 +94,14 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - '='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.
|
97
|
+
version: 0.28.0.rc4
|
98
98
|
type: :development
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - '='
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.
|
104
|
+
version: 0.28.0.rc4
|
105
105
|
description: System administration to create new organization in an installation.
|
106
106
|
email:
|
107
107
|
- josepjaume@gmail.com
|
@@ -138,27 +138,16 @@ files:
|
|
138
138
|
- app/helpers/decidim/system/application_helper.rb
|
139
139
|
- app/helpers/decidim/system/menu_helper.rb
|
140
140
|
- app/jobs/decidim/system/application_job.rb
|
141
|
+
- app/mailers/decidim/system/application_mailer.rb
|
141
142
|
- app/models/decidim/system/admin.rb
|
142
143
|
- app/models/decidim/system/application_record.rb
|
143
144
|
- app/packs/entrypoints/decidim_system.js
|
144
|
-
- app/packs/entrypoints/decidim_system.scss
|
145
|
-
- app/packs/images/decidim/system/.keep
|
146
145
|
- app/packs/images/icons.svg
|
147
|
-
- app/packs/src/decidim/system/application.js
|
148
|
-
- app/packs/stylesheets/decidim/system/_actions.scss
|
149
|
-
- app/packs/stylesheets/decidim/system/_forms.scss
|
150
|
-
- app/packs/stylesheets/decidim/system/_foundation_and_overrides.scss
|
151
|
-
- app/packs/stylesheets/decidim/system/_layout.scss
|
152
|
-
- app/packs/stylesheets/decidim/system/_login.scss
|
153
|
-
- app/packs/stylesheets/decidim/system/_settings.scss
|
154
|
-
- app/packs/stylesheets/decidim/system/_sidebar.scss
|
155
|
-
- app/packs/stylesheets/decidim/system/_tables.scss
|
156
146
|
- app/packs/stylesheets/decidim/system/application.scss
|
157
147
|
- app/views/decidim/system/admins/_form.html.erb
|
158
148
|
- app/views/decidim/system/admins/edit.html.erb
|
159
149
|
- app/views/decidim/system/admins/index.html.erb
|
160
150
|
- app/views/decidim/system/admins/new.html.erb
|
161
|
-
- app/views/decidim/system/admins/show.html.erb
|
162
151
|
- app/views/decidim/system/dashboard/show.html.erb
|
163
152
|
- app/views/decidim/system/devise/mailers/password_change.html.erb
|
164
153
|
- app/views/decidim/system/devise/mailers/reset_password_instructions.html.erb
|
@@ -172,6 +161,7 @@ files:
|
|
172
161
|
- app/views/decidim/system/oauth_applications/new.html.erb
|
173
162
|
- app/views/decidim/system/oauth_applications/show.html.erb
|
174
163
|
- app/views/decidim/system/organizations/_advanced_settings.html.erb
|
164
|
+
- app/views/decidim/system/organizations/_csp_settings.html.erb
|
175
165
|
- app/views/decidim/system/organizations/_file_upload_settings.erb
|
176
166
|
- app/views/decidim/system/organizations/_omniauth_provider.html.erb
|
177
167
|
- app/views/decidim/system/organizations/_omniauth_settings.html.erb
|
@@ -179,7 +169,7 @@ files:
|
|
179
169
|
- app/views/decidim/system/organizations/edit.html.erb
|
180
170
|
- app/views/decidim/system/organizations/index.html.erb
|
181
171
|
- app/views/decidim/system/organizations/new.html.erb
|
182
|
-
- app/views/decidim/system/
|
172
|
+
- app/views/decidim/system/shared/_admins_list.html.erb
|
183
173
|
- app/views/decidim/system/shared/_notices.html.erb
|
184
174
|
- app/views/decidim/system/shared/_organizations_list.html.erb
|
185
175
|
- app/views/layouts/decidim/system/_header.html.erb
|
@@ -222,7 +212,6 @@ files:
|
|
222
212
|
- config/locales/ga-IE.yml
|
223
213
|
- config/locales/gl.yml
|
224
214
|
- config/locales/gn-PY.yml
|
225
|
-
- config/locales/he-IL.yml
|
226
215
|
- config/locales/hr-HR.yml
|
227
216
|
- config/locales/hr.yml
|
228
217
|
- config/locales/hu.yml
|
@@ -273,32 +262,37 @@ files:
|
|
273
262
|
- config/routes.rb
|
274
263
|
- db/migrate/20160919105637_devise_create_decidim_admins.rb
|
275
264
|
- db/seeds.rb
|
276
|
-
- decidim-system.gemspec
|
277
265
|
- lib/decidim/system.rb
|
278
266
|
- lib/decidim/system/engine.rb
|
267
|
+
- lib/decidim/system/menu.rb
|
279
268
|
- lib/decidim/system/test/factories.rb
|
280
269
|
- lib/decidim/system/version.rb
|
281
270
|
- lib/tasks/decidim_system.rake
|
282
|
-
homepage: https://
|
271
|
+
homepage: https://decidim.org
|
283
272
|
licenses:
|
284
273
|
- AGPL-3.0
|
285
|
-
metadata:
|
274
|
+
metadata:
|
275
|
+
bug_tracker_uri: https://github.com/decidim/decidim/issues
|
276
|
+
documentation_uri: https://docs.decidim.org/
|
277
|
+
funding_uri: https://opencollective.com/decidim
|
278
|
+
homepage_uri: https://decidim.org
|
279
|
+
source_code_uri: https://github.com/decidim/decidim
|
286
280
|
post_install_message:
|
287
281
|
rdoc_options: []
|
288
282
|
require_paths:
|
289
283
|
- lib
|
290
284
|
required_ruby_version: !ruby/object:Gem::Requirement
|
291
285
|
requirements:
|
292
|
-
- - "
|
286
|
+
- - ">="
|
293
287
|
- !ruby/object:Gem::Version
|
294
|
-
version: 3.
|
288
|
+
version: '3.1'
|
295
289
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
296
290
|
requirements:
|
297
|
-
- - "
|
291
|
+
- - ">"
|
298
292
|
- !ruby/object:Gem::Version
|
299
|
-
version:
|
293
|
+
version: 1.3.1
|
300
294
|
requirements: []
|
301
|
-
rubygems_version: 3.
|
295
|
+
rubygems_version: 3.4.20
|
302
296
|
signing_key:
|
303
297
|
specification_version: 4
|
304
298
|
summary: Decidim system administration
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "stylesheets/decidim/system/application.scss";
|
File without changes
|
@@ -1,41 +0,0 @@
|
|
1
|
-
/* eslint no-unused-vars: 0 */
|
2
|
-
/* eslint id-length: ["error", { "exceptions": ["$"] }] */
|
3
|
-
|
4
|
-
import "core-js/stable";
|
5
|
-
import "regenerator-runtime/runtime";
|
6
|
-
import $ from "jquery"
|
7
|
-
import Quill from "quill"
|
8
|
-
import Rails from "@rails/ujs"
|
9
|
-
import "foundation-sites"
|
10
|
-
|
11
|
-
import createQuillEditor from "src/decidim/editor"
|
12
|
-
import Configuration from "src/decidim/configuration"
|
13
|
-
|
14
|
-
window.Decidim = window.Decidim || {};
|
15
|
-
window.Decidim.config = new Configuration()
|
16
|
-
|
17
|
-
import "src/decidim/input_tags"
|
18
|
-
import "src/decidim/confirm"
|
19
|
-
|
20
|
-
$(() => {
|
21
|
-
$(document).foundation();
|
22
|
-
|
23
|
-
$(".editor-container").each((_idx, container) => {
|
24
|
-
createQuillEditor(container);
|
25
|
-
});
|
26
|
-
|
27
|
-
$("button.collapse").on("click", () => {
|
28
|
-
$(".collapsible").addClass("hide");
|
29
|
-
$("button.expand").removeClass("hide");
|
30
|
-
$("button.collapse").addClass("hide");
|
31
|
-
});
|
32
|
-
|
33
|
-
$("button.expand").on("click", () => {
|
34
|
-
$(".collapsible").removeClass("hide");
|
35
|
-
$("button.collapse").removeClass("hide");
|
36
|
-
$("button.expand").addClass("hide");
|
37
|
-
});
|
38
|
-
});
|
39
|
-
|
40
|
-
// This needs to be loaded after confirm dialog to bind properly
|
41
|
-
Rails.start()
|
@@ -1,36 +0,0 @@
|
|
1
|
-
@import "bootstrap-tagsinput/src/bootstrap-tagsinput";
|
2
|
-
|
3
|
-
$tag-padding: .25rem;
|
4
|
-
$tag-margin: .2rem;
|
5
|
-
|
6
|
-
.input__tag{
|
7
|
-
background-color: rgba($medium-gray, .5);
|
8
|
-
border-radius: $input-radius;
|
9
|
-
padding: $tag-padding;
|
10
|
-
display: inline-block;
|
11
|
-
cursor: pointer;
|
12
|
-
-webkit-user-select: none;
|
13
|
-
-moz-user-select: none;
|
14
|
-
-ms-user-select: none;
|
15
|
-
user-select: none;
|
16
|
-
}
|
17
|
-
|
18
|
-
// Override defaults
|
19
|
-
.bootstrap-tagsinput{
|
20
|
-
margin-bottom: $form-spacing;
|
21
|
-
|
22
|
-
// Use foundation precalculated methods to get accurate form css properties
|
23
|
-
$height: ($input-font-size * unitless-calc($input-line-height)) + (get-side($input-padding, 'top') + get-side($input-padding, 'bottom'));
|
24
|
-
$tag-line-height: rem-calc(22);
|
25
|
-
$span-height: ($input-font-size * unitless-calc($tag-line-height)) + (get-side($tag-padding, 'top') + get-side($tag-padding, 'bottom')) - rem-calc(1);
|
26
|
-
|
27
|
-
width: 100%;
|
28
|
-
min-height: $height;
|
29
|
-
padding-bottom: $tag-margin * .25;
|
30
|
-
|
31
|
-
.tag{
|
32
|
-
color: inherit;
|
33
|
-
margin-right: 0; // fix whitespace
|
34
|
-
margin-bottom: $tag-margin;
|
35
|
-
}
|
36
|
-
}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
@charset "utf-8";
|
2
|
-
|
3
|
-
@import "settings";
|
4
|
-
@import "foundation-sites/scss/foundation";
|
5
|
-
@import "stylesheets/foundation-overrides/components/button-group";
|
6
|
-
|
7
|
-
// If you'd like to include motion-ui the foundation-rails gem comes prepackaged with it, uncomment the 3 @imports, if you are not using the gem you need to install the motion-ui sass package.
|
8
|
-
//
|
9
|
-
// @import 'motion-ui/motion-ui';
|
10
|
-
|
11
|
-
// We include everything by default. To slim your CSS, remove components you don't use.
|
12
|
-
|
13
|
-
@include foundation-global-styles;
|
14
|
-
@include foundation-flex-grid;
|
15
|
-
@include foundation-typography;
|
16
|
-
@include foundation-button;
|
17
|
-
@include foundation-forms;
|
18
|
-
@include foundation-visibility-classes;
|
19
|
-
@include foundation-flex-classes;
|
20
|
-
@include foundation-accordion;
|
21
|
-
@include foundation-accordion-menu;
|
22
|
-
@include foundation-badge;
|
23
|
-
@include foundation-breadcrumbs;
|
24
|
-
@include foundation-button-group;
|
25
|
-
@include foundation-callout;
|
26
|
-
@include foundation-close-button;
|
27
|
-
@include foundation-drilldown-menu;
|
28
|
-
@include foundation-dropdown;
|
29
|
-
@include foundation-dropdown-menu;
|
30
|
-
@include foundation-responsive-embed;
|
31
|
-
@include foundation-label;
|
32
|
-
@include foundation-media-object;
|
33
|
-
@include foundation-menu;
|
34
|
-
@include foundation-menu-icon;
|
35
|
-
@include foundation-off-canvas;
|
36
|
-
@include foundation-orbit;
|
37
|
-
@include foundation-pagination;
|
38
|
-
@include foundation-progress-bar;
|
39
|
-
@include foundation-slider;
|
40
|
-
@include foundation-sticky;
|
41
|
-
@include foundation-reveal;
|
42
|
-
@include foundation-switch;
|
43
|
-
@include foundation-table;
|
44
|
-
@include foundation-tabs;
|
45
|
-
@include foundation-thumbnail;
|
46
|
-
@include foundation-title-bar;
|
47
|
-
@include foundation-tooltip;
|
48
|
-
@include foundation-top-bar;
|
49
|
-
|
50
|
-
// If you'd like to include motion-ui the foundation-rails gem comes prepackaged with it, uncomment the 3 @imports, if you are not using the gem you need to install the motion-ui sass package.
|
51
|
-
//
|
52
|
-
// @include motion-ui-transitions;
|
53
|
-
// @include motion-ui-animations;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
.off-canvas,
|
2
|
-
.sidebar,
|
3
|
-
.off-canvas-wrapper{
|
4
|
-
min-height: 100vh;
|
5
|
-
}
|
6
|
-
|
7
|
-
.off-canvas{
|
8
|
-
color: #fff;
|
9
|
-
}
|
10
|
-
|
11
|
-
.main-content{
|
12
|
-
padding: $global-padding 0;
|
13
|
-
min-height: 100vh;
|
14
|
-
}
|
15
|
-
|
16
|
-
.page-title{
|
17
|
-
margin-bottom: $global-margin;
|
18
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
body.login{
|
2
|
-
background: $light-gray;
|
3
|
-
position: relative;
|
4
|
-
|
5
|
-
.login-form-wrapper{
|
6
|
-
@include grid-row;
|
7
|
-
@include flex;
|
8
|
-
|
9
|
-
height: 100vh;
|
10
|
-
|
11
|
-
.login-form{
|
12
|
-
@include grid-column(12);
|
13
|
-
@include grid-column-position(center);
|
14
|
-
|
15
|
-
@include breakpoint(medium){
|
16
|
-
@include grid-column(8);
|
17
|
-
@include grid-column-position(center);
|
18
|
-
}
|
19
|
-
|
20
|
-
@include breakpoint(large){
|
21
|
-
@include grid-column(6);
|
22
|
-
@include grid-column-position(center);
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
@include breakpoint(medium){
|
27
|
-
@include flex-align(center, middle);
|
28
|
-
|
29
|
-
transform: translateY(-8%);
|
30
|
-
}
|
31
|
-
|
32
|
-
.login-form-inner{
|
33
|
-
background-color: $white;
|
34
|
-
padding: $global-padding;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|