administrate-materialize-theme 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -3
- data/app/assets/javascripts/administrate-materialize-theme/theme.js +3 -2
- data/app/assets/stylesheets/administrate-materialize-theme/sidebar.scss +17 -0
- data/app/assets/stylesheets/administrate-materialize-theme/theme.scss +1 -0
- data/lib/administrate-materialize-theme/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d34966853b26ca2a103f0cab9d32a57a6ab65277e7a9ab61e7681baa513831c4
|
4
|
+
data.tar.gz: 3fba55fcc2dc42bda60d502a9e39dece2e61ae881107cffcb31cb33b3dbce8c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35e10048cc91fa0197090366fb60c347d759768d59a26ac9092fc0c10ec6069468aaa4664d58165a678e077ea0d3bc2e11c25801c0b90014192d8045a5292193
|
7
|
+
data.tar.gz: 9f8d243ff5c2ceb6b5e38e03afb0387122c1fb331c5933fd26c9bee5f111a8193c9674b1e1e6fe6b159b6005a256c8e794be71b14445f8b0838c9f1bf781a4e2
|
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
# Administrate Materialize Theme
|
1
|
+
# Administrate Materialize Theme
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/administrate-materialize-theme.svg)](https://badge.fury.io/rb/administrate-materialize-theme) [![CircleCI](https://circleci.com/gh/blocknotes/administrate-materialize-theme.svg?style=svg)](https://circleci.com/gh/blocknotes/administrate-materialize-theme)
|
3
|
+
|
2
4
|
A Material theme form [Administrate](https://github.com/thoughtbot/administrate), based on [Materialize](https://materializecss.com) framework.
|
3
5
|
|
4
6
|
Features:
|
@@ -38,9 +40,27 @@ And replace the link tag in the *application.html.erb* with: `<%= stylesheet_lin
|
|
38
40
|
|
39
41
|
For the complete list of options take a look [here](app/assets/stylesheets/administrate-materialize-theme/components/_variables.scss).
|
40
42
|
|
43
|
+
## Extra features
|
44
|
+
- Sidebar example:
|
45
|
+
|
46
|
+
```html
|
47
|
+
<div class="row">
|
48
|
+
<div class="col s3">
|
49
|
+
<section class="mt-sidebar z-depth-1">
|
50
|
+
<h3>Sidebar</h3>
|
51
|
+
<p>Some content</p>
|
52
|
+
</section>
|
53
|
+
</div>
|
54
|
+
<div class="col s9">
|
55
|
+
<section class="main-content__body main-content__body--flush">
|
56
|
+
<!-- ... -->
|
57
|
+
</section>
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
```
|
61
|
+
|
41
62
|
## Do you like it? Star it!
|
42
|
-
If you use this component just star it. A developer is more motivated to improve a project when there
|
43
|
-
is some interest.
|
63
|
+
If you use this component just star it. A developer is more motivated to improve a project when there is some interest.
|
44
64
|
|
45
65
|
## Contributors
|
46
66
|
- [Mattia Roccoberton](https://blocknot.es/): author
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: administrate-materialize-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattia Roccoberton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: administrate
|
@@ -236,6 +236,7 @@ files:
|
|
236
236
|
- app/assets/stylesheets/administrate-materialize-theme/layout-index.scss
|
237
237
|
- app/assets/stylesheets/administrate-materialize-theme/layout-show.scss
|
238
238
|
- app/assets/stylesheets/administrate-materialize-theme/materialize.scss
|
239
|
+
- app/assets/stylesheets/administrate-materialize-theme/sidebar.scss
|
239
240
|
- app/assets/stylesheets/administrate-materialize-theme/theme.scss
|
240
241
|
- lib/administrate-materialize-theme.rb
|
241
242
|
- lib/administrate-materialize-theme/engine.rb
|