active_admin_face 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +21 -0
  4. data/app/assets/images/active_admin_face/logo.jpg +0 -0
  5. data/app/assets/javascripts/active_admin_face/base.js.coffee +34 -0
  6. data/app/assets/stylesheets/active_admin_face/_base.scss +38 -0
  7. data/app/assets/stylesheets/active_admin_face/_forms.scss +551 -0
  8. data/app/assets/stylesheets/active_admin_face/_header.scss +283 -0
  9. data/app/assets/stylesheets/active_admin_face/_mixins.scss +1 -0
  10. data/app/assets/stylesheets/active_admin_face/_typography.scss +250 -0
  11. data/app/assets/stylesheets/active_admin_face/components/_batch_actions.scss +13 -0
  12. data/app/assets/stylesheets/active_admin_face/components/_blank_slates.scss +32 -0
  13. data/app/assets/stylesheets/active_admin_face/components/_breadcrumbs.scss +27 -0
  14. data/app/assets/stylesheets/active_admin_face/components/_buttons.scss +16 -0
  15. data/app/assets/stylesheets/active_admin_face/components/_ckeditor.scss +6 -0
  16. data/app/assets/stylesheets/active_admin_face/components/_columns.scss +3 -0
  17. data/app/assets/stylesheets/active_admin_face/components/_comments.scss +52 -0
  18. data/app/assets/stylesheets/active_admin_face/components/_date_picker.scss +315 -0
  19. data/app/assets/stylesheets/active_admin_face/components/_dropdown_menu.scss +161 -0
  20. data/app/assets/stylesheets/active_admin_face/components/_flash_messages.scss +44 -0
  21. data/app/assets/stylesheets/active_admin_face/components/_grid.scss +57 -0
  22. data/app/assets/stylesheets/active_admin_face/components/_index_list.scss +12 -0
  23. data/app/assets/stylesheets/active_admin_face/components/_init.scss +16 -0
  24. data/app/assets/stylesheets/active_admin_face/components/_links.scss +8 -0
  25. data/app/assets/stylesheets/active_admin_face/components/_modal_dialog.scss +67 -0
  26. data/app/assets/stylesheets/active_admin_face/components/_nav.scss +64 -0
  27. data/app/assets/stylesheets/active_admin_face/components/_pagination.scss +70 -0
  28. data/app/assets/stylesheets/active_admin_face/components/_panels.scss +89 -0
  29. data/app/assets/stylesheets/active_admin_face/components/_popovers.scss +124 -0
  30. data/app/assets/stylesheets/active_admin_face/components/_scopes.scss +10 -0
  31. data/app/assets/stylesheets/active_admin_face/components/_status_tags.scss +28 -0
  32. data/app/assets/stylesheets/active_admin_face/components/_table_tools.scss +70 -0
  33. data/app/assets/stylesheets/active_admin_face/components/_tables.scss +305 -0
  34. data/app/assets/stylesheets/active_admin_face/mixins/_all.scss +11 -0
  35. data/app/assets/stylesheets/active_admin_face/mixins/_buttons.scss +71 -0
  36. data/app/assets/stylesheets/active_admin_face/mixins/_gradients.scss +52 -0
  37. data/app/assets/stylesheets/active_admin_face/mixins/_icons.scss +31 -0
  38. data/app/assets/stylesheets/active_admin_face/mixins/_reset.scss +214 -0
  39. data/app/assets/stylesheets/active_admin_face/mixins/_rounded.scss +42 -0
  40. data/app/assets/stylesheets/active_admin_face/mixins/_sections.scss +38 -0
  41. data/app/assets/stylesheets/active_admin_face/mixins/_select.scss +22 -0
  42. data/app/assets/stylesheets/active_admin_face/mixins/_shadows.scss +21 -0
  43. data/app/assets/stylesheets/active_admin_face/mixins/_utilities.scss +17 -0
  44. data/app/assets/stylesheets/active_admin_face/mixins/_variables.scss +69 -0
  45. data/app/assets/stylesheets/active_admin_face/pages/_logged_out.scss +96 -0
  46. data/app/assets/stylesheets/active_admin_face/print.scss +283 -0
  47. data/app/assets/stylesheets/active_admin_face/structure/_footer.scss +28 -0
  48. data/app/assets/stylesheets/active_admin_face/structure/_main_structure.scss +86 -0
  49. data/app/assets/stylesheets/active_admin_face/structure/_title_bar.scss +69 -0
  50. data/config/routes.rb +2 -0
  51. data/lib/active_admin_face.rb +11 -0
  52. data/lib/active_admin_face/version.rb +3 -0
  53. data/lib/generators/active_admin_face/variables/USAGE +8 -0
  54. data/lib/generators/active_admin_face/variables/variables_generator.rb +15 -0
  55. metadata +126 -0
@@ -0,0 +1,13 @@
1
+ #collection_selection_toggle_panel {
2
+ @include clearfix;
3
+
4
+ > .resource_selection_toggle_cell {
5
+ float: left;
6
+ }
7
+
8
+ #collection_selection_toggle_explaination {
9
+ float: left;
10
+ margin-left: 5px;
11
+ font-style: italic;
12
+ }
13
+ }
@@ -0,0 +1,32 @@
1
+ .blank_slate_container {
2
+ clear: both;
3
+ text-align: center;
4
+
5
+ .blank_slate {
6
+ @include rounded;
7
+
8
+ -webkit-font-smoothing: antialiased;
9
+ border: $blank-slate-border;
10
+ color: $blank-slate-primary-color;
11
+ display: inline-block;
12
+ font-size: 1.2em;
13
+ font-weight: bold;
14
+ padding: 14px 25px;
15
+ text-align: center;
16
+
17
+ small {
18
+ display: block;
19
+ font-size: 0.9em;
20
+ font-weight: normal;
21
+ }
22
+ }
23
+ }
24
+
25
+ .admin_dashboard .blank_slate_container .blank_slate {
26
+ margin-top: 40px;
27
+ margin-bottom: 40px;
28
+ }
29
+
30
+ .with_sidebar .blank_slate_container .blank_slate {
31
+ margin-top: 80px;
32
+ }
@@ -0,0 +1,27 @@
1
+ .breadcrumb {
2
+ display: block;
3
+ font-size: 0.9em;
4
+ font-weight: normal;
5
+ line-height: 1.0em;
6
+ margin-bottom: 12px;
7
+ text-transform: uppercase;
8
+
9
+ a, a:link, a:visited, a:active {
10
+ color: $breadcrumbs-color;
11
+ text-decoration: none;
12
+ padding-left: 5px;
13
+ padding-right: 5px;
14
+ }
15
+
16
+ a:hover {
17
+ text-decoration: underline;
18
+ background: $skinActiveColor;
19
+ padding: 5px;
20
+ color: $skinHeaderTextColor;
21
+ }
22
+
23
+ .breadcrumb_sep {
24
+ margin: 0 2px;
25
+ color: $breadcrumbs-separator-color;
26
+ }
27
+ }
@@ -0,0 +1,16 @@
1
+ td, p {
2
+ @include icon(#B3BCC1, 0.8em);
3
+
4
+ span.icon {
5
+ margin: 0 3px;
6
+ }
7
+ }
8
+
9
+ a.member_link {
10
+ margin-right: 7px;
11
+ white-space: nowrap;
12
+ }
13
+
14
+ a.button, a:link.button, a:visited.button, input[type=submit] {
15
+ @include dark-button;
16
+ }
@@ -0,0 +1,6 @@
1
+ li.ckeditor {
2
+ label {
3
+ width: 100%;
4
+ padding-left: 5px;
5
+ }
6
+ }
@@ -0,0 +1,3 @@
1
+ .columns {
2
+ margin-bottom: 10px;
3
+ }
@@ -0,0 +1,52 @@
1
+ // -------------------------------------- Admin Notes
2
+ .comments {
3
+ .active_admin_comment {
4
+ clear: both;
5
+ margin-top: 10px;
6
+ margin-bottom: 40px;
7
+ max-width: 700px;
8
+
9
+ .active_admin_comment_meta {
10
+ width: 130px;
11
+ float: left;
12
+ overflow: hidden;
13
+ font-size: 0.9em;
14
+ color: lighten($primary-color, 10%);
15
+
16
+ .active_admin_comment_author {
17
+ font-size: 1.2em;
18
+ font-weight: bold;
19
+ margin: 0;
20
+ color: $primary-color;
21
+ }
22
+ }
23
+
24
+ .active_admin_comment_body {
25
+ margin-left: 150px;
26
+ }
27
+ }
28
+
29
+ form.active_admin_comment {
30
+ margin: 0;
31
+ padding: 0;
32
+ margin-left: 150px;
33
+
34
+ fieldset.inputs {
35
+ border: none;
36
+ margin: 0;
37
+ padding: 0;
38
+ background: none;
39
+
40
+ @include no-shadow;
41
+ }
42
+
43
+ li {
44
+ padding: 0;
45
+ }
46
+
47
+ fieldset.buttons {
48
+ padding: 0;
49
+ margin-top: 5px;
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,315 @@
1
+ // -------------------------------------- Date Picker
2
+ .ui-datepicker {
3
+ background: $skinActiveColor;
4
+ background-image: none;
5
+ background-clip: padding-box;
6
+ color: #fff;
7
+ display: none;
8
+ margin-top: 2px;
9
+ padding: 0;
10
+ text-align: center;
11
+ width: 160px;
12
+
13
+ a {
14
+ text-decoration: none;
15
+
16
+ &:hover {
17
+ cursor: pointer;
18
+ }
19
+ }
20
+
21
+ .ui-datepicker-header {
22
+ background: none;
23
+ height: 14px;
24
+ padding: 16px 7px 8px;
25
+ margin: 0px 0px 2px 2px;
26
+ width: 147px;
27
+ border-top-left-radius: 7px;
28
+ border-top-right-radius: 7px;
29
+ position: relative;
30
+ z-index: 2000;
31
+
32
+ .ui-datepicker-title {
33
+ .ui-datepicker-month,
34
+ .ui-datepicker-year {
35
+ font-size: 1.1em;
36
+ }
37
+
38
+ @include text-shadow(#000, 1px, 1px, 3px);
39
+
40
+ color: $panelHeaderTextColor;
41
+ display: block;
42
+ font-size: 1.1em;
43
+ font-weight: bold;
44
+ line-height: 0.8em;
45
+ text-align: center;
46
+ vertical-align: top;
47
+
48
+ .ui-datepicker-month {
49
+ margin: -1px 0 0 0;
50
+ }
51
+
52
+ .ui-datepicker-year {
53
+ margin: -1px 0 0 0;
54
+ }
55
+ }
56
+
57
+ a {
58
+ color: $panelHeaderTextColor;
59
+ display: block;
60
+ height: 19px;
61
+ margin-top: -4px;
62
+ width: 20px;
63
+
64
+ &.ui-datepicker-prev {
65
+ float: left;
66
+
67
+ @extend .fa;
68
+
69
+ @extend .fa-angle-left;
70
+
71
+ background: none;
72
+ position: relative;
73
+ top: 4px;
74
+ }
75
+
76
+ &.ui-datepicker-next {
77
+ float: right;
78
+
79
+ @extend .fa;
80
+
81
+ @extend .fa-angle-right;
82
+
83
+ background: none;
84
+ position: relative;
85
+ top: 4px;
86
+ }
87
+
88
+ span {
89
+ display: none;
90
+ }
91
+ }
92
+ }
93
+
94
+ table.ui-datepicker-calendar {
95
+ @include rounded-bottom;
96
+
97
+ @include shadow(0, 1px, 6px, rgba(0, 0, 0, 0.26));
98
+
99
+ background-color: #f4f4f4;
100
+ border: solid 1px #63686e;
101
+ left: 2px;
102
+ margin-bottom: 0px;
103
+ position: relative;
104
+ top: -2px;
105
+ width: 156px;
106
+
107
+ td, th {
108
+ padding: 0px;
109
+ text-align: center;
110
+ }
111
+
112
+ thead th {
113
+ background-color: #dbdddf;
114
+ color: #333333;
115
+ font-weight: normal;
116
+ font-size: 0.8em;
117
+ padding-top: 1px;
118
+ }
119
+
120
+ tbody {
121
+ color: #666666;
122
+
123
+ td {
124
+ border: none;
125
+ height: 24px;
126
+ width: 22px;
127
+
128
+ a {
129
+ @include rounded;
130
+
131
+ color: #666666;
132
+ font-weight: bold;
133
+ font-size: 0.85em;
134
+ padding: 4px;
135
+
136
+ &.ui-state-active {
137
+ background-color: #5a5f64;
138
+ color: #fff;
139
+
140
+ &.ui-state-hover {
141
+ background-color: #5a5f64;
142
+ color: #fff;
143
+ }
144
+ }
145
+
146
+ &.ui-state-hover {
147
+ background-color: #eceef0;
148
+ }
149
+
150
+ &.ui-state-highlight {
151
+ background-color: #dbdddf;
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+
159
+ // default
160
+ //.ui-datepicker {
161
+ // background: #fff;
162
+ // -webkit-background-clip: padding-box;
163
+ // -moz-background-clip: padding-box;
164
+ // background-clip: padding-box;
165
+ // color: #fff;
166
+ // display: none;
167
+ // margin-top: 2px;
168
+ // padding: 0;
169
+ // text-align: center;
170
+ // width: 160px;
171
+ //
172
+ // a {
173
+ // text-decoration: none;
174
+ // &:hover {
175
+ // cursor: pointer;
176
+ // }
177
+ // }
178
+ //
179
+ // .ui-datepicker-header {
180
+ // height: 14px;
181
+ // @include primary-gradient;
182
+ // padding: 12px 5px 7px 4px;
183
+ // margin: 0px 0px 2px 2px;
184
+ // width: 147px;
185
+ // border-top-left-radius: 7px;
186
+ // border-top-right-radius: 7px;
187
+ // position: relative;
188
+ // z-index: 2000;
189
+ //
190
+ // &:before {
191
+ // content: "";
192
+ // position: absolute;
193
+ // right: 45%;
194
+ // top: -6px;
195
+ // width: 0px;
196
+ // height: 0px;
197
+ // border-left: 8.5px solid rgba(0, 0, 0, 0);
198
+ // border-right: 8.5px solid rgba(0, 0, 0, 0);
199
+ // border-bottom: 10px solid #676e73;
200
+ // }
201
+ //
202
+ // .ui-datepicker-title {
203
+ // // Date picker styling
204
+ // .ui-datepicker-month,
205
+ // .ui-datepicker-year{
206
+ // font-size: 1.1em;
207
+ // }
208
+ // @include text-shadow(#000);
209
+ // color: #fff;
210
+ // display: block;
211
+ // font-size: 1.1em;
212
+ // font-weight: bold;
213
+ // line-height: 0.8em;
214
+ // text-align: center;
215
+ // vertical-align: top;
216
+ //
217
+ // .ui-datepicker-month {
218
+ // margin: -1px 0 0 0;
219
+ // }
220
+ // .ui-datepicker-year {
221
+ // margin: -1px 0 0 0;
222
+ // }
223
+ // }
224
+ //
225
+ //
226
+ // a {
227
+ // color: #fff;
228
+ // display: block;
229
+ // height: 19px;
230
+ // margin-top: -4px;
231
+ // width: 10px;
232
+ //
233
+ // &.ui-datepicker-prev {
234
+ // float: left;
235
+ // width: 0;
236
+ // height: 0;
237
+ // margin: 0px 0px 0px 4px;
238
+ // border-top: 5px solid transparent;
239
+ // border-right: 5px solid white;
240
+ // border-bottom: 5px solid transparent;
241
+ // }
242
+ // &.ui-datepicker-next {
243
+ // float: right;
244
+ // width: 0;
245
+ // height: 0;
246
+ // margin: 0px 4px 0px 0px;
247
+ // border-top: 5px solid transparent;
248
+ // border-left: 5px solid white;
249
+ // border-bottom: 5px solid transparent;
250
+ // }
251
+ //
252
+ // span {
253
+ // display: none;
254
+ // }
255
+ // }
256
+ // }
257
+ //
258
+ // table.ui-datepicker-calendar {
259
+ // @include rounded-bottom;
260
+ // @include shadow(0,1px,6px,rgba(0,0,0,0.26));
261
+ // background-color: #f4f4f4;
262
+ // border: solid 1px #63686e;
263
+ // left: 2px;
264
+ // margin-bottom: 0px;
265
+ // position: relative;
266
+ // top: -2px;
267
+ // width: 156px;
268
+ //
269
+ // td, th {
270
+ // padding: 0px;
271
+ // text-align: center;
272
+ // }
273
+ //
274
+ // thead th {
275
+ // background-color: #dbdddf;
276
+ // color: #333333;
277
+ // font-weight: normal;
278
+ // font-size: 0.8em;
279
+ // padding-top: 1px;
280
+ // }
281
+ //
282
+ // tbody {
283
+ // color: #666666;
284
+ //
285
+ // td {
286
+ // border: none;
287
+ // height: 24px;
288
+ // width: 22px;
289
+ //
290
+ // a {
291
+ // @include rounded;
292
+ // color: #666666;
293
+ // font-weight: bold;
294
+ // font-size: 0.85em;
295
+ // padding: 4px;
296
+ //
297
+ // &.ui-state-active {
298
+ // background-color: #5a5f64;
299
+ // color: #fff;
300
+ // &.ui-state-hover {
301
+ // background-color: #5a5f64;
302
+ // color: #fff;
303
+ // }
304
+ // }
305
+ // &.ui-state-hover {
306
+ // background-color: #eceef0;
307
+ // }
308
+ // &.ui-state-highlight {
309
+ // background-color: #dbdddf;
310
+ // }
311
+ // }
312
+ // }
313
+ // }
314
+ // }
315
+ //}