lotus_admin 0.1.1 → 0.1.2
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 +5 -0
- data/app/assets/stylesheets/lotus_admin/_variables.scss +1 -0
- data/app/assets/stylesheets/lotus_admin/application.css.scss +1 -2
- data/lib/lotus_admin/engine.rb +4 -0
- data/lib/lotus_admin/version.rb +1 -1
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/header.scss +2 -2
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/variables.scss +7 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17ebcae5c9385f7abe94cdcba4f62412177ebd09
|
|
4
|
+
data.tar.gz: ece5e079729dfaa9e003f33df15b42640f72c5b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 427d76a76ca1cdaefc8352c1b1a1e15996ca3cc4e3501f0f51a0a73b28dd4d2dd5734802e7528082a68b604f8550816b6c1407d9ad3dc438458f70af2361a0a1
|
|
7
|
+
data.tar.gz: 5c967997e73de7994576d182e0ca663ca8cd336833c6246849aa8a66b21df7e8574639d1df91a011fa2a1d807072ffde1651480e6e024f6c105d38923dc15286
|
data/README.md
CHANGED
|
@@ -44,6 +44,11 @@ $> rake lotus_admin:seed
|
|
|
44
44
|
|
|
45
45
|
You can now login at [http://localhost:3000/admin](http://localhost:3000/admin).
|
|
46
46
|
|
|
47
|
+
## Theme Customization
|
|
48
|
+
There are many partials and SCSS variables that can be overwritten to customize the theme without writing a lot of custom markup.
|
|
49
|
+
|
|
50
|
+
To get started, provide any SCSS variables in a file at `app/assets/stylesheets/lotus_admin/_variables.scss`.
|
|
51
|
+
|
|
47
52
|
## Contributing
|
|
48
53
|
Contribution directions go here.
|
|
49
54
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// Provide any bootstrap, font-awesome, or theme variables here to customize
|
data/lib/lotus_admin/engine.rb
CHANGED
|
@@ -7,6 +7,10 @@ module LotusAdmin
|
|
|
7
7
|
g.fixture_replacement :factory_bot, dir: 'spec/factories'
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
+
config.to_prepare do
|
|
11
|
+
Rails.application.config.assets.precompile += %w( lotus_admin/application.js lotus_admin/application.css )
|
|
12
|
+
end
|
|
13
|
+
|
|
10
14
|
initializer :append_migrations do |app|
|
|
11
15
|
# This prevents migrations from being loaded twice from the inside of the gem itself (dummy test app)
|
|
12
16
|
if app.root.to_s !~ /#{root}/
|
data/lib/lotus_admin/version.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#header {
|
|
2
2
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
|
|
3
3
|
min-height: $header-height;
|
|
4
|
-
background-color: $
|
|
4
|
+
background-color: $header-background-color;
|
|
5
5
|
@include user-select(none);
|
|
6
6
|
|
|
7
7
|
position: fixed;
|
|
@@ -228,4 +228,4 @@
|
|
|
228
228
|
:-moz-full-screen [data-ma-action="fullscreen"] { display: none; }
|
|
229
229
|
:-ms-fullscreen [data-ma-action="fullscreen"] { display: none; }
|
|
230
230
|
:full-screen [data-ma-action="fullscreen"] { display: none; }
|
|
231
|
-
:fullscreen [data-ma-action="fullscreen"] { display: none; }
|
|
231
|
+
:fullscreen [data-ma-action="fullscreen"] { display: none; }
|
|
@@ -164,7 +164,7 @@ $ace: #F7F7F7;
|
|
|
164
164
|
--------------------------*/
|
|
165
165
|
$sidebar-left-width: 268px;
|
|
166
166
|
$sidebar-right-width: 280px;
|
|
167
|
-
$footer-height:
|
|
167
|
+
$footer-height: 70px;
|
|
168
168
|
$header-height: 70px;
|
|
169
169
|
|
|
170
170
|
|
|
@@ -172,3 +172,9 @@ $header-height: 70px;
|
|
|
172
172
|
Card
|
|
173
173
|
--------------------------*/
|
|
174
174
|
$card-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
/*-------------------------
|
|
178
|
+
Header
|
|
179
|
+
--------------------------*/
|
|
180
|
+
$header-background-color: $m-blue;
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lotus_admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Millsaps-Brewer
|
|
@@ -261,6 +261,7 @@ files:
|
|
|
261
261
|
- app/assets/config/lotus_admin_manifest.js
|
|
262
262
|
- app/assets/images/lotus_admin/profile-menu.png
|
|
263
263
|
- app/assets/javascripts/lotus_admin/application.js
|
|
264
|
+
- app/assets/stylesheets/lotus_admin/_variables.scss
|
|
264
265
|
- app/assets/stylesheets/lotus_admin/application.css.scss
|
|
265
266
|
- app/assets/stylesheets/lotus_admin/components/_alerts.scss
|
|
266
267
|
- app/assets/stylesheets/lotus_admin/components/_all.scss
|