rails_admin_material 0.1.2 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31111050272562f4ebda11e4e1dca31394e6f4dd
4
- data.tar.gz: a8cb1d2b2fe100feb8f418edf53703dfd2675c08
3
+ metadata.gz: d8b0f196931569aee199e2268a953e42b2f58b9c
4
+ data.tar.gz: d26b0785e3ef3cb89bc2344381ae7ee89c753de5
5
5
  SHA512:
6
- metadata.gz: 4b6b22199159c605e70c72148943b7e7fdc11e8068d2e551ee0a98b30f0d9cfa5b8bbbacc365d09b83a2121beb132e1a8bbd157e53590fb3bd43c2600161a980
7
- data.tar.gz: e26b895a967d546e71db3a0bb80f909ca1c388a0cd223e25db44b13ef891775b39f718769b1575e1f36a0c7b59ee9e72e7cd3b869d395357ffdaa1167c4d02ff
6
+ metadata.gz: 2e8b7c458171b668f7b80baafd0706d18c138d6ce36bb8df4f4a2161d6a19a94e1dcf36a8b3c23413e64fa3a4dc6312d7974af4edae3d8bd524fb4f292d206c7
7
+ data.tar.gz: 2bae4506ed2bba02d04d9f4cff8fb80e19d62c48fe83293d43c936ed202d47496aeab27dec1d4958bd21141f3da51285a191b8e417189a2d476f7b6d53dbe321
data/README.md CHANGED
@@ -41,7 +41,7 @@ $btn-info-border: #da0;
41
41
  - If the styles are not applied try to clean the Rails pipeline cache:
42
42
 
43
43
  ```sh
44
- rake tmp:clear
44
+ rake assets:clean
45
45
  rake assets:precompile
46
46
  ```
47
47
 
@@ -1,3 +1,3 @@
1
1
  module RailsAdminMaterial
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -30,7 +30,11 @@ body {
30
30
  }
31
31
  body.rails_admin .sidebar-nav {
32
32
  background-color: $bg-sidebar-nav;
33
- margin-top: $generic-space * 2;
33
+ }
34
+ @media screen and (min-width: 1200px) {
35
+ body.rails_admin .sidebar-nav {
36
+ margin-top: $generic-space * 2;
37
+ }
34
38
  }
35
39
 
36
40
  // --- Content settings ---------------------------------------------------- //
@@ -45,7 +49,7 @@ body.rails_admin .sidebar-nav {
45
49
  }
46
50
 
47
51
  // --- Form settings ------------------------------------------------------- //
48
- // Inline filter / search forms
52
+ // inline search forms
49
53
  .pjax-form.form-inline .well {
50
54
  box-shadow: 0 1px 4px $gray-light;
51
55
  padding-top: $generic-space * 2.5;
@@ -57,15 +61,24 @@ body.rails_admin .sidebar-nav {
57
61
  .input-group .form-group {
58
62
  margin: 0;
59
63
  }
64
+ .input-group-btn {
65
+ padding: 0 4px;
66
+ }
67
+ }
68
+ // inline filter form
69
+ #filters_box {
70
+ .label > a {
71
+ color: #fff;
72
+ }
73
+ select.form-control {
74
+ border: 1px solid $gray-light2;
75
+ }
60
76
  }
61
77
  // compact forms
62
78
  .form-group {
63
79
  margin-top: $generic-space * 2;
64
- // nested tabs
65
- .tab-content {
66
- background-color: $bg-nested-tab;
67
- border-top: 1px dashed $gray-light2;
68
- border-bottom: 1px dashed $gray-light2;
80
+ .btn.disabled {
81
+ color: $gray-lighter;
69
82
  }
70
83
  .btn-group {
71
84
  margin-top: 0;
@@ -96,8 +109,16 @@ body.rails_admin .sidebar-nav {
96
109
  margin-left: $generic-space * 2.5;
97
110
  }
98
111
  .help-block {
99
- margin-left: $generic-space * 2.5;
112
+ color: $fg-help-block;
113
+ display: block;
100
114
  font-style: italic;
115
+ position: initial;
116
+ margin-top: $generic-space;
117
+ margin-bottom: $generic-space * 2;
118
+ margin-left: $generic-space * 2.5;
119
+ }
120
+ .help-inline {
121
+ margin-left: $generic-space * 2.5;
101
122
  }
102
123
  .input-group.filtering-select > .input-group-btn {
103
124
  padding: 0 4px;
@@ -105,12 +126,27 @@ body.rails_admin .sidebar-nav {
105
126
  .input-group.filtering-select ~ .help-block {
106
127
  top: -$generic-space * 2;
107
128
  }
129
+ // nested tabs
130
+ .tab-content {
131
+ background-color: $bg-nested-tab;
132
+ border-top: 1px dashed $gray-light2;
133
+ border-bottom: 1px dashed $gray-light2;
134
+ }
108
135
  .well ~ .controls {
109
136
  margin-top: $generic-space * 2;
110
137
  }
111
138
  &.boolean_type .checkbox > label {
112
139
  padding-left: $generic-space * 2;
113
140
  }
141
+ &.control-group {
142
+ margin-top: 0;
143
+ margin-bottom: 0;
144
+ padding-top: 0;
145
+ padding-bottom: 0;
146
+ &.error .control-label {
147
+ color: $brand-danger;
148
+ }
149
+ }
114
150
  input[type="file"] {
115
151
  height: $generic-space * 6;
116
152
  opacity: 1.0;
@@ -154,9 +190,19 @@ body.rails_admin .sidebar-nav {
154
190
  }
155
191
 
156
192
  // --- Misc settings ------------------------------------------------------- //
157
- .has_many_association_type .help-block {
158
- top: -$generic-space * 3;
193
+ .has_many_association_type, .has_and_belongs_to_many_association_type {
194
+ .help-block {
195
+ top: -$generic-space * 3;
196
+ }
197
+ .nav-tabs {
198
+ display: table;
199
+ li.active > a {
200
+ color: $nav-tabs-active-link-hover-color;
201
+ }
202
+ }
159
203
  }
160
- #filters_box a {
161
- color: #fff;
204
+ #list {
205
+ th.boolean_type, td.boolean_type {
206
+ text-align: center;
207
+ }
162
208
  }
@@ -17,6 +17,7 @@ $gray-light2: lighten($gray-base, 80%) !default;
17
17
  $bg-nested-tab: #f8f8f8;
18
18
  $bg-sidebar-nav: #f0f0f0;
19
19
  $fg-navbar-brand: #fff;
20
+ $fg-help-block: #999;
20
21
 
21
22
  // spacing
22
23
  $generic-space: 5px;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_material
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattia Roccoberton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-30 00:00:00.000000000 Z
11
+ date: 2017-01-31 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A Material Design theme for rails_admin
14
14
  email: