administrate-materialize-theme 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e9b57be04016df2e8622c07deafeccc4dbb15315a625adf4977239b3d5c2001
4
- data.tar.gz: 6be1ef420e4868dcc2b5ea45e2333e1e34b4143eb5de410dc4a13e7e9aabead1
3
+ metadata.gz: de487b25b5e3b16ed9ab965c4b0c346abfc34ec171155afd890fe3761ae50150
4
+ data.tar.gz: 9ee38c0453b3cb3e02920282da7617190c01e2419bea27fb9a5e5ea79c2b19d9
5
5
  SHA512:
6
- metadata.gz: 7a458136fa14171318c348764820fe27d57eedc8afb200c42b800521fa32b9c6063fce41063f2f86a4be85d98625df1dd974676eb241ab556c34dadc0d127807
7
- data.tar.gz: c53e8bf8500de6de16274d24eea50171fa98d33903119caf40dc7281c420b1dfb244a10793574e32799305ec93ba39098ad08515de9e1b8a9d7b968c84f8071c
6
+ metadata.gz: e92b31a6f317bfb01703f93d4ddc5c095a9db52d59cfbece5c493cf53e826324e9625471c07eca960aa76a72aec3718719f87352e693935fa75696ffb4958a2d
7
+ data.tar.gz: 5be72d5ddc2640480d1dc0ec0eb39bad1c5b483ae7a62cffc4e9525145dfd0a68545604917216bb4ed5bf00494614da896c274db2e1206eb2ec051bedb16ab53
data/README.md CHANGED
@@ -1,7 +1,8 @@
1
- # Administrate Materialize Theme
1
+ # Administrate Materialize Theme [![Gem Version](https://badge.fury.io/rb/administrate-materialize-theme.svg)](https://badge.fury.io/rb/administrate-materialize-theme)
2
2
  A Material theme form [Administrate](https://github.com/thoughtbot/administrate), based on [Materialize](https://materializecss.com) framework.
3
3
 
4
4
  Features:
5
+ - no structural changes are required, just include CSS/JS;
5
6
  - Material design responsive theme;
6
7
  - customizable using SASS variables;
7
8
  - allow to use *Materialize* in the admin.
@@ -100,6 +100,10 @@ th.cell-label {
100
100
  vertical-align: super;
101
101
  }
102
102
 
103
+ .field-unit--belongs-to input.select-dropdown, .field-unit--has-many input.select-dropdown {
104
+ display: none;
105
+ }
106
+
103
107
  .field-unit--nested {
104
108
  @extend .card;
105
109
 
@@ -110,10 +114,6 @@ th.cell-label {
110
114
  min-height: 10rem;
111
115
  }
112
116
 
113
- .select-wrapper input.select-dropdown {
114
- display: none;
115
- }
116
-
117
117
  .timepicker {
118
118
  .btn {
119
119
  @extend .btn-flat;
@@ -129,6 +129,33 @@ th.cell-label {
129
129
  }
130
130
  }
131
131
 
132
+ #error_explanation {
133
+ @extend .card;
134
+
135
+ margin-bottom: 3rem;
136
+
137
+ h2 {
138
+ @extend h6;
139
+ @extend .center-align;
140
+
141
+ background: lighten($primary-color, 33%);
142
+ margin: 0;
143
+ padding: 1rem 0 0.6rem 0;
144
+ }
145
+
146
+ ul {
147
+ @extend .collection;
148
+
149
+ margin-top: 0;
150
+ }
151
+
152
+ li {
153
+ @extend .collection-item;
154
+
155
+ color: $error-color;
156
+ }
157
+ }
158
+
132
159
  @media #{$small-and-down} {
133
160
  .field-unit {
134
161
  display: block;
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AdministrateMaterializeTheme
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
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.1.0
4
+ version: 0.1.1
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-08-31 00:00:00.000000000 Z
11
+ date: 2020-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate