rails_admin_material 0.1.4 → 0.1.6
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 150e255d5b879942ead118593bcdb7e1a90db8d8
|
4
|
+
data.tar.gz: 2a6eecdd5b4c744bd4254785eae2165ccd2c22c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e2ef3cfc478d7f756f81b3e554795b43cdb2cf06846a4e04682477c80620dce1f2e1b691f01a7405b3319c407121de1893399b75fbde1246bdaf6e7086be1c4
|
7
|
+
data.tar.gz: a4b861b2e715b09b3e3144b5b72401ab64db8b261d4cb3b13ed40441e1ba044872af9aea446e27c5b28e27ffedbf472a98ff240fa2d5aa5f528228b084265643
|
data/README.md
CHANGED
@@ -19,7 +19,7 @@ A Material Design theme for rails_admin
|
|
19
19
|
To change theme colors edit *app/assets/stylesheets/rails_admin/custom/variables.scss*:
|
20
20
|
|
21
21
|
```sass
|
22
|
-
|
22
|
+
// orange theme sample
|
23
23
|
$brand-primary: #d51;
|
24
24
|
$brand-info: #ea2;
|
25
25
|
$link-color: #800;
|
@@ -28,6 +28,7 @@ $btn-primary-bg: #d51;
|
|
28
28
|
$btn-primary-border: #da0;
|
29
29
|
$btn-info-bg: #fa4;
|
30
30
|
$btn-info-border: #da0;
|
31
|
+
$fg-nav-tabs-active: #fb1;
|
31
32
|
```
|
32
33
|
|
33
34
|
## Preview
|
@@ -47,8 +48,6 @@ rake assets:precompile
|
|
47
48
|
|
48
49
|
## Notes
|
49
50
|
|
50
|
-
- Tested on rails 5.0.1 with rails_admin 1.1.1
|
51
|
-
|
52
51
|
- Based on [Material Design for Bootstrap](http://fezvrasta.github.io/bootstrap-material-design/)
|
53
52
|
|
54
53
|
## Contributors
|
@@ -1,11 +1,11 @@
|
|
1
1
|
// --- Generic settings ---------------------------------------------------- //
|
2
|
+
body {
|
3
|
+
font-family: $admin-font;
|
4
|
+
}
|
2
5
|
// All buttons raised
|
3
6
|
.btn, .btn.disabled {
|
4
7
|
@extend .btn-raised;
|
5
8
|
}
|
6
|
-
body {
|
7
|
-
font-family: $admin-font;
|
8
|
-
}
|
9
9
|
.bootstrap-datetimepicker-widget {
|
10
10
|
z-index: 999;
|
11
11
|
}
|
@@ -127,10 +127,13 @@ body.rails_admin .sidebar-nav {
|
|
127
127
|
top: -$generic-space * 2;
|
128
128
|
}
|
129
129
|
// nested tabs
|
130
|
-
.tab-content {
|
130
|
+
.tab-content > .tab-pane {
|
131
131
|
background-color: $bg-nested-tab;
|
132
|
-
border-
|
133
|
-
border-
|
132
|
+
border-left: 5px solid $brand-primary !important;
|
133
|
+
border-top: 1px dotted $gray-light;
|
134
|
+
border-bottom: 1px dotted $gray-light;
|
135
|
+
margin-bottom: $generic-space;
|
136
|
+
margin-top: $generic-space;
|
134
137
|
}
|
135
138
|
.well ~ .controls {
|
136
139
|
margin-top: $generic-space * 2;
|
@@ -143,6 +146,11 @@ body.rails_admin .sidebar-nav {
|
|
143
146
|
margin-bottom: 0;
|
144
147
|
padding-top: 0;
|
145
148
|
padding-bottom: 0;
|
149
|
+
.well {
|
150
|
+
box-shadow: 0 1px 4px $gray-light;
|
151
|
+
padding-top: $generic-space * 2.5;
|
152
|
+
padding-bottom: $generic-space;
|
153
|
+
}
|
146
154
|
&.error .control-label {
|
147
155
|
color: $brand-danger;
|
148
156
|
}
|
@@ -196,11 +204,14 @@ body.rails_admin .sidebar-nav {
|
|
196
204
|
}
|
197
205
|
.nav-tabs {
|
198
206
|
display: table;
|
199
|
-
li.active > a {
|
200
|
-
color: $nav-tabs-active-link-hover-color;
|
201
|
-
}
|
202
207
|
}
|
203
208
|
}
|
209
|
+
.nav-tabs li.active i, .nav-tabs li.active span {
|
210
|
+
color: $fg-nav-tabs-active;
|
211
|
+
}
|
212
|
+
#fields_to_export > .form-group.control-group {
|
213
|
+
margin-bottom: $generic-space * 5;
|
214
|
+
}
|
204
215
|
#list {
|
205
216
|
th.boolean_type, td.boolean_type {
|
206
217
|
text-align: center;
|
@@ -14,9 +14,10 @@ $admin-font: 'Roboto', sans-serif;
|
|
14
14
|
// colors
|
15
15
|
$gray-light2: lighten($gray-base, 80%) !default;
|
16
16
|
// $gray-lighter2: lighten($gray-base, 96%) !default;
|
17
|
-
$bg-nested-tab: #f8f8f8;
|
17
|
+
$bg-nested-tab: transparent; // #f8f8f8;
|
18
18
|
$bg-sidebar-nav: #f0f0f0;
|
19
19
|
$fg-navbar-brand: #fff;
|
20
|
+
$fg-nav-tabs-active: #fb1 !default;
|
20
21
|
$fg-help-block: #999;
|
21
22
|
|
22
23
|
// spacing
|
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.
|
4
|
+
version: 0.1.6
|
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
|
11
|
+
date: 2017-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A Material Design theme for rails_admin
|
14
14
|
email:
|