rails_admin 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rails_admin might be problematic. Click here for more details.
- data.tar.gz.sig +1 -0
- data/README.md +11 -15
- data/lib/rails_admin/config/fields/types/serialized.rb +2 -2
- data/lib/rails_admin/config/lazy_model.rb +1 -1
- data/lib/rails_admin/engine.rb +9 -5
- data/lib/rails_admin/version.rb +1 -1
- data/spec/dummy_app/db/test.sqlite3 +0 -0
- data/spec/dummy_app/log/test.log +106983 -0
- metadata +129 -74
- metadata.gz.sig +0 -0
- data/app/assets/stylesheets/rails_admin/aristo/jquery-ui-1.8.7.custom.css.scss +0 -733
- data/app/assets/stylesheets/rails_admin/base/mixins.css.scss +0 -1
- data/app/assets/stylesheets/rails_admin/base/theming.css.scss +0 -270
- data/app/assets/stylesheets/rails_admin/base/variables.css.scss +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
/* RailsAdmin SASS mixins */
|
@@ -1,270 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
RailsAdmin main CSS
|
3
|
-
Keep it clean, people
|
4
|
-
*/
|
5
|
-
|
6
|
-
body.rails_admin {
|
7
|
-
|
8
|
-
.thumbnail {
|
9
|
-
display:inline-block;
|
10
|
-
}
|
11
|
-
|
12
|
-
/* room for upper navbar */
|
13
|
-
padding-top: 60px;
|
14
|
-
|
15
|
-
/* Application name */
|
16
|
-
.navbar .brand {
|
17
|
-
small {
|
18
|
-
color:$red;
|
19
|
-
font-weight:bold;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
.sidebar-nav {
|
24
|
-
padding: 9px 0;
|
25
|
-
}
|
26
|
-
|
27
|
-
/* fat labels in forms */
|
28
|
-
.label.form-label {
|
29
|
-
padding: 7px 7px 8px 7px;
|
30
|
-
}
|
31
|
-
|
32
|
-
/* new/edit/export forms */
|
33
|
-
.form-horizontal {
|
34
|
-
/* hide hidden fields controls by default */
|
35
|
-
.control-group .hidden_type {
|
36
|
-
display:none;
|
37
|
-
}
|
38
|
-
|
39
|
-
legend {
|
40
|
-
cursor:pointer;
|
41
|
-
i {
|
42
|
-
vertical-align: inherit !important;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
&.denser {
|
47
|
-
.controls .nav {
|
48
|
-
margin-bottom:5px;
|
49
|
-
}
|
50
|
-
.remove_nested_fields {
|
51
|
-
position:absolute;
|
52
|
-
}
|
53
|
-
margin:0px;
|
54
|
-
p {
|
55
|
-
font-size: 12px;
|
56
|
-
line-height: 16px;
|
57
|
-
}
|
58
|
-
.help-block {
|
59
|
-
margin-top: 0px;
|
60
|
-
}
|
61
|
-
.input-prepend, .input-append {
|
62
|
-
margin-bottom: 0px;
|
63
|
-
label {
|
64
|
-
margin-bottom: 0px;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
.control-group {
|
68
|
-
margin: 0px;
|
69
|
-
padding-top:15px;
|
70
|
-
}
|
71
|
-
.control-label {
|
72
|
-
width:145px;
|
73
|
-
}
|
74
|
-
legend {
|
75
|
-
margin-bottom:0px;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
|
79
|
-
/* We want input size to be used, unfixate input width */
|
80
|
-
input, textarea {
|
81
|
-
width:auto;
|
82
|
-
}
|
83
|
-
.help-block {
|
84
|
-
clear:left;
|
85
|
-
}
|
86
|
-
input[type=file] {
|
87
|
-
display:block;
|
88
|
-
}
|
89
|
-
|
90
|
-
/* nested forms */
|
91
|
-
.tab-content .tab-pane {
|
92
|
-
&>.remove_nested_fields {
|
93
|
-
display:none;
|
94
|
-
}
|
95
|
-
&:hover>.remove_nested_fields {
|
96
|
-
display:block;
|
97
|
-
}
|
98
|
-
|
99
|
-
border-left:5px solid $blue;
|
100
|
-
padding-left:5px;
|
101
|
-
fieldset {
|
102
|
-
margin-left:-10px;
|
103
|
-
.control-group > label {
|
104
|
-
padding-left:10px;
|
105
|
-
width:135px;
|
106
|
-
}
|
107
|
-
legend {
|
108
|
-
float:left;
|
109
|
-
margin-left:10px;
|
110
|
-
}
|
111
|
-
}
|
112
|
-
}
|
113
|
-
|
114
|
-
/* double nesting, guys. Easy. */
|
115
|
-
.tab-content .tab-content .tab-pane {
|
116
|
-
border-color:lighten($blue, 20%);
|
117
|
-
margin-left:10px;
|
118
|
-
fieldset {
|
119
|
-
margin-left:-20px;
|
120
|
-
.control-group > label {
|
121
|
-
padding-left:20px;
|
122
|
-
width:125px;
|
123
|
-
}
|
124
|
-
legend {
|
125
|
-
margin-left:20px;
|
126
|
-
}
|
127
|
-
}
|
128
|
-
}
|
129
|
-
|
130
|
-
/* triple nesting!*/
|
131
|
-
.tab-content .tab-content .tab-content .tab-pane {
|
132
|
-
border-color:lighten($blue, 30%);
|
133
|
-
margin-left:20px;
|
134
|
-
fieldset {
|
135
|
-
margin-left:-30px;
|
136
|
-
.control-group > label {
|
137
|
-
padding-left:30px;
|
138
|
-
width:115px;
|
139
|
-
}
|
140
|
-
legend {
|
141
|
-
margin-left:30px;
|
142
|
-
}
|
143
|
-
}
|
144
|
-
}
|
145
|
-
|
146
|
-
/* totally awesome! nesting on 4 levels! */
|
147
|
-
.tab-content .tab-content .tab-content .tab-content .tab-pane {
|
148
|
-
border-color:lighten($blue, 40%);
|
149
|
-
margin-left:30px;
|
150
|
-
fieldset {
|
151
|
-
margin-left:-40px;
|
152
|
-
.control-group > label {
|
153
|
-
padding-left:40px;
|
154
|
-
width:105px;
|
155
|
-
}
|
156
|
-
legend {
|
157
|
-
margin-left:40px;
|
158
|
-
}
|
159
|
-
}
|
160
|
-
}
|
161
|
-
}
|
162
|
-
|
163
|
-
.modal {
|
164
|
-
width: 750px;
|
165
|
-
margin-left: -375px;
|
166
|
-
}
|
167
|
-
|
168
|
-
/* nested nav */
|
169
|
-
.nav.nav-list {
|
170
|
-
.nav-level-1 {
|
171
|
-
padding-left:30px;
|
172
|
-
}
|
173
|
-
.nav-level-2 {
|
174
|
-
padding-left:60px;
|
175
|
-
}
|
176
|
-
.nav-level-3 {
|
177
|
-
padding-left:90px;
|
178
|
-
}
|
179
|
-
}
|
180
|
-
|
181
|
-
/* tab links should match icon color */
|
182
|
-
.nav.nav-tabs li.icon a {
|
183
|
-
color: $black;
|
184
|
-
}
|
185
|
-
|
186
|
-
/* Table cells behaviour */
|
187
|
-
.table {
|
188
|
-
.thumbnail {
|
189
|
-
float:left;
|
190
|
-
& + * {
|
191
|
-
clear:left;
|
192
|
-
}
|
193
|
-
}
|
194
|
-
/* backport of Bootstrap 1.4 table headers */
|
195
|
-
.header {
|
196
|
-
cursor: pointer;
|
197
|
-
&:after {
|
198
|
-
content: "";
|
199
|
-
float: right;
|
200
|
-
margin-top: 7px;
|
201
|
-
border-width: 0 4px 4px;
|
202
|
-
border-style: solid;
|
203
|
-
border-color: #000 transparent;
|
204
|
-
visibility: hidden;
|
205
|
-
}
|
206
|
-
}
|
207
|
-
.headerSortUp,
|
208
|
-
.headerSortDown {
|
209
|
-
background-color: rgba(141,192,219,.25);
|
210
|
-
text-shadow: 0 1px 1px rgba(255,255,255,.75);
|
211
|
-
}
|
212
|
-
.header:hover {
|
213
|
-
&:after {
|
214
|
-
visibility:visible;
|
215
|
-
}
|
216
|
-
}
|
217
|
-
.headerSortDown,
|
218
|
-
.headerSortDown:hover {
|
219
|
-
&:after {
|
220
|
-
visibility:visible;
|
221
|
-
@include opacity(60);
|
222
|
-
}
|
223
|
-
}
|
224
|
-
.headerSortUp {
|
225
|
-
&:after {
|
226
|
-
border-bottom: none;
|
227
|
-
border-left: 4px solid transparent;
|
228
|
-
border-right: 4px solid transparent;
|
229
|
-
border-top: 4px solid #000;
|
230
|
-
visibility:visible;
|
231
|
-
@include box-shadow(none);
|
232
|
-
@include opacity(60);
|
233
|
-
}
|
234
|
-
}
|
235
|
-
|
236
|
-
/* text-overflow when cell content > 150px */
|
237
|
-
td {
|
238
|
-
white-space: nowrap;
|
239
|
-
overflow: hidden;
|
240
|
-
text-overflow: ellipsis;
|
241
|
-
max-width:150px;
|
242
|
-
}
|
243
|
-
|
244
|
-
/* icons */
|
245
|
-
td.links {
|
246
|
-
max-width: none;
|
247
|
-
.inline {
|
248
|
-
margin:0px;
|
249
|
-
li { display:inline-block; }
|
250
|
-
}
|
251
|
-
}
|
252
|
-
|
253
|
-
/* Shrink to content width */
|
254
|
-
.shrink {
|
255
|
-
width:1px;
|
256
|
-
white-space:nowrap;
|
257
|
-
}
|
258
|
-
|
259
|
-
/* History */
|
260
|
-
th.created_at {
|
261
|
-
width:160px;
|
262
|
-
}
|
263
|
-
th.username {
|
264
|
-
width:140px;
|
265
|
-
}
|
266
|
-
th.item {
|
267
|
-
width:60px;
|
268
|
-
}
|
269
|
-
}
|
270
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
/* RailsAdmin SASS variables */
|