lucasefe-multi_helper 0.0.1
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.
- data/README.rdoc +11 -0
- data/Rakefile +14 -0
- data/generators/full_layout/full_layout_generator.rb +47 -0
- data/generators/full_layout/templates/_flash_messages.html.haml +6 -0
- data/generators/full_layout/templates/_main_navigation.html.haml +6 -0
- data/generators/full_layout/templates/_secondary_navigation.html.haml +2 -0
- data/generators/full_layout/templates/_sidebar.html.haml +15 -0
- data/generators/full_layout/templates/_theme_switch.html.erb +29 -0
- data/generators/full_layout/templates/_user_navigation.html.erb +10 -0
- data/generators/full_layout/templates/javascripts/jquery-ui.js +273 -0
- data/generators/full_layout/templates/javascripts/jquery.corner.js +178 -0
- data/generators/full_layout/templates/javascripts/jquery.form.js +601 -0
- data/generators/full_layout/templates/javascripts/jquery.js +19 -0
- data/generators/full_layout/templates/javascripts/jquery.livequery.js +250 -0
- data/generators/full_layout/templates/javascripts/jquery.localscroll.js +104 -0
- data/generators/full_layout/templates/javascripts/jquery.scrollTo.js +150 -0
- data/generators/full_layout/templates/javascripts/layout.js +26 -0
- data/generators/full_layout/templates/layout.html.haml +36 -0
- data/generators/full_layout/templates/stylesheets/base.css +282 -0
- data/generators/full_layout/templates/stylesheets/overrides.css +11 -0
- data/generators/full_layout/templates/stylesheets/themes/bec/style.css +279 -0
- data/generators/full_layout/templates/stylesheets/themes/black-grey/style.css +171 -0
- data/generators/full_layout/templates/stylesheets/themes/default/style.css +233 -0
- data/generators/full_scaffold/README +11 -0
- data/generators/full_scaffold/full_scaffold_generator.rb +149 -0
- data/generators/full_scaffold/templates/controller.rb +13 -0
- data/generators/full_scaffold/templates/helper.rb +2 -0
- data/generators/full_scaffold/templates/migration.rb +15 -0
- data/generators/full_scaffold/templates/model.rb +2 -0
- data/generators/full_scaffold/templates/rspec/unit_spec.rb +11 -0
- data/generators/full_scaffold/templates/view__collection.haml +23 -0
- data/generators/full_scaffold/templates/view__form.haml +3 -0
- data/generators/full_scaffold/templates/view__search.haml +11 -0
- data/generators/full_scaffold/templates/view_edit.haml +9 -0
- data/generators/full_scaffold/templates/view_index.haml +8 -0
- data/generators/full_scaffold/templates/view_index.js.haml +1 -0
- data/generators/full_scaffold/templates/view_new.haml +7 -0
- data/generators/full_scaffold/templates/view_show.haml +10 -0
- data/icons/add.png +0 -0
- data/icons/arrow_undo.png +0 -0
- data/icons/cross.png +0 -0
- data/icons/error.png +0 -0
- data/icons/exclamation.png +0 -0
- data/icons/pencil.png +0 -0
- data/icons/tick.png +0 -0
- data/lib/multi_helper.rb +6 -0
- data/lib/multi_helper/form.rb +11 -0
- data/lib/multi_helper/form/README.markdown +119 -0
- data/lib/multi_helper/form/builder.rb +346 -0
- data/lib/multi_helper/form/helper.rb +41 -0
- data/lib/multi_helper/navigation.rb +6 -0
- data/lib/multi_helper/navigation/group.rb +36 -0
- data/lib/multi_helper/navigation/helper.rb +11 -0
- data/lib/multi_helper/navigation/item.rb +27 -0
- data/lib/multi_helper/navigation/renderer.rb +35 -0
- data/lib/multi_helper/vendor/validation_reflection.rb +73 -0
- data/lib/multi_helper/view.rb +49 -0
- data/multi_helper.gemspec +31 -0
- data/rails/init.rb +2 -0
- metadata +129 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
jQuery.ajaxSetup({
|
2
|
+
'beforeSend': function(xhr) {xhr.setRequestHeader("Accept", "text/javascript")}
|
3
|
+
})
|
4
|
+
|
5
|
+
$(function(){
|
6
|
+
$('select.order_by, select.order_as, select.page, select.per_page').livequery(function() {
|
7
|
+
var onchange = $(this).attr('onchange').toString();
|
8
|
+
var matches = onchange.match(/window\.location = "(.*)" \+ this/);
|
9
|
+
var url = matches[matches.length - 1];
|
10
|
+
$(this).attr('onchange', null)
|
11
|
+
$(this).change(function() {
|
12
|
+
$('#resultados').load(url + $(this).val());
|
13
|
+
return false;
|
14
|
+
})
|
15
|
+
});
|
16
|
+
|
17
|
+
$('a.order_by, a.order_as, a.page, a.per_page').livequery('click', function() {
|
18
|
+
$('#resultados').load(this.href);
|
19
|
+
return false;
|
20
|
+
});
|
21
|
+
|
22
|
+
$('#search').livequery(function(){
|
23
|
+
$(this).ajaxForm({target: '#resultados'});
|
24
|
+
});
|
25
|
+
|
26
|
+
});
|
@@ -0,0 +1,36 @@
|
|
1
|
+
!!! Strict
|
2
|
+
%html{ :lang => "en", :xmlns => "http://www.w3.org/1999/xhtml" }
|
3
|
+
%head
|
4
|
+
%link{:rel=>"icon", :href=>"/favicon.ico", :type=>"image/x-icon"}
|
5
|
+
%link{:rel=>"shortcut icon", :href=>"/favicon.ico", :type=>"image/x-icon"}
|
6
|
+
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
7
|
+
%title
|
8
|
+
= stylesheet_link_tag 'base'
|
9
|
+
%link#current-theme{ :href => "/stylesheets/themes/default/style.css", :rel => "stylesheet", :type => "text/css" }
|
10
|
+
= stylesheet_link_tag 'overrides'
|
11
|
+
= javascript_include_tag :defaults
|
12
|
+
= javascript_include_tag 'jquery.corner', 'jquery.form', 'jquery.livequery'
|
13
|
+
= javascript_include_tag 'jquery.scrollTo'
|
14
|
+
= javascript_include_tag 'jquery.localscroll'
|
15
|
+
= javascript_include_tag 'layout'
|
16
|
+
%script{ :type => "text/javascript", :charset => "utf-8" }
|
17
|
+
= render :partial => 'shared/theme_switch'
|
18
|
+
|
19
|
+
%body
|
20
|
+
#container
|
21
|
+
#header
|
22
|
+
%h1
|
23
|
+
%a{ :href => root_path }
|
24
|
+
APP_CONFIG[:site_name]
|
25
|
+
= render :partial => 'shared/main_navigation'
|
26
|
+
= render :partial => 'shared/user_navigation'
|
27
|
+
#wrapper
|
28
|
+
#main
|
29
|
+
= yield
|
30
|
+
|
31
|
+
#sidebar
|
32
|
+
= render :partial => 'shared/sidebar'
|
33
|
+
#footer
|
34
|
+
.block
|
35
|
+
%p
|
36
|
+
Copyright © 2009
|
@@ -0,0 +1,282 @@
|
|
1
|
+
|
2
|
+
* {margin:0;padding:0}
|
3
|
+
.clear { clear: both; }
|
4
|
+
|
5
|
+
h1 { margin: 15px 0; font-size: 22px; font-weight: normal; }
|
6
|
+
h2 { font-size: 22px; margin: 15px 0; font-weight: normal;}
|
7
|
+
h3 { font-size: 18px; margin: 10px 0; font-weight: normal;}
|
8
|
+
h4 { font-size: 16px; margin: 10px 0; font-weight: normal;}
|
9
|
+
hr {height: 1px; border: 0; }
|
10
|
+
p { margin: 15px 0;}
|
11
|
+
a img { border: none; }
|
12
|
+
|
13
|
+
body {
|
14
|
+
font-size: 12px;
|
15
|
+
font-family: sans-serif;
|
16
|
+
}
|
17
|
+
|
18
|
+
#container {
|
19
|
+
min-width: 960px;
|
20
|
+
}
|
21
|
+
|
22
|
+
#header, #wrapper, #footer {
|
23
|
+
padding: 0 20px;
|
24
|
+
}
|
25
|
+
|
26
|
+
#header {
|
27
|
+
position: relative;
|
28
|
+
padding-top: 1px;
|
29
|
+
}
|
30
|
+
|
31
|
+
#header h1 {
|
32
|
+
padding: 10px 0;
|
33
|
+
font-size: 30px;
|
34
|
+
}
|
35
|
+
|
36
|
+
#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
|
37
|
+
text-decoration: none;
|
38
|
+
}
|
39
|
+
|
40
|
+
#main {
|
41
|
+
width: 70%;
|
42
|
+
float: left;
|
43
|
+
}
|
44
|
+
|
45
|
+
.actions-bar {
|
46
|
+
padding: 10px 1px;
|
47
|
+
}
|
48
|
+
|
49
|
+
.actions-bar .actions {
|
50
|
+
float: left;
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
.actions-bar .pagination {
|
55
|
+
float: right;
|
56
|
+
padding: 1px 0;
|
57
|
+
}
|
58
|
+
|
59
|
+
#sidebar {
|
60
|
+
width: 25%;
|
61
|
+
float: right;
|
62
|
+
}
|
63
|
+
|
64
|
+
#sidebar h3 {
|
65
|
+
padding: 10px 15px;
|
66
|
+
margin: 0;
|
67
|
+
font-size: 13px;
|
68
|
+
}
|
69
|
+
|
70
|
+
#sidebar .block {
|
71
|
+
margin-bottom: 20px;
|
72
|
+
padding-bottom: 10px;
|
73
|
+
}
|
74
|
+
|
75
|
+
#sidebar .block .content {
|
76
|
+
padding: 0 15px;
|
77
|
+
}
|
78
|
+
|
79
|
+
#sidebar ul.navigation li a:link, #sidebar ul.navigation li a:visited {
|
80
|
+
display: block;
|
81
|
+
padding: 10px 15px;
|
82
|
+
}
|
83
|
+
|
84
|
+
#sidebar .block .sidebar-block, #sidebar .notice {
|
85
|
+
padding:10px;
|
86
|
+
}
|
87
|
+
|
88
|
+
#wrapper {
|
89
|
+
padding-top: 20px;
|
90
|
+
}
|
91
|
+
|
92
|
+
#main .block {
|
93
|
+
margin-bottom: 20px;
|
94
|
+
}
|
95
|
+
|
96
|
+
#main .block .content {
|
97
|
+
padding: 0 15px;
|
98
|
+
}
|
99
|
+
|
100
|
+
#main .main p.first {
|
101
|
+
margin-top: 0;
|
102
|
+
}
|
103
|
+
|
104
|
+
#user-navigation {
|
105
|
+
position: absolute;
|
106
|
+
top: 0px;
|
107
|
+
right: 20px;
|
108
|
+
}
|
109
|
+
|
110
|
+
#user-navigation ul, #main-navigation ul, .secondary-navigation ul, #sidebar ul.navigation {
|
111
|
+
margin: 0;
|
112
|
+
padding: 0;
|
113
|
+
list-style-type: none;
|
114
|
+
}
|
115
|
+
|
116
|
+
#user-navigation ul li, #main-navigation ul li, .secondary-navigation ul li {
|
117
|
+
float: left;
|
118
|
+
}
|
119
|
+
|
120
|
+
#main-navigation ul li {
|
121
|
+
margin-right: 5px;
|
122
|
+
}
|
123
|
+
|
124
|
+
#user-navigation ul li {
|
125
|
+
padding: 5px 10px;
|
126
|
+
}
|
127
|
+
|
128
|
+
#main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
|
129
|
+
.secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
|
130
|
+
#user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
|
131
|
+
text-decoration: none;
|
132
|
+
}
|
133
|
+
|
134
|
+
#main-navigation ul li a {
|
135
|
+
font-size: 15px;
|
136
|
+
display: block;
|
137
|
+
padding: 8px 15px;
|
138
|
+
}
|
139
|
+
|
140
|
+
.secondary-navigation {
|
141
|
+
font-size: 13px;
|
142
|
+
border-bottom-width: 10px;
|
143
|
+
border-bottom-style: solid;
|
144
|
+
}
|
145
|
+
|
146
|
+
.secondary-navigation ul li a {
|
147
|
+
display: block;
|
148
|
+
padding: 10px 15px;
|
149
|
+
}
|
150
|
+
|
151
|
+
#footer {
|
152
|
+
padding-bottom: 20px;
|
153
|
+
}
|
154
|
+
|
155
|
+
/* pagination */
|
156
|
+
|
157
|
+
.pagination a, .pagination span {
|
158
|
+
padding: 2px 5px;
|
159
|
+
margin-right: 5px;
|
160
|
+
display: block;
|
161
|
+
float: left;
|
162
|
+
}
|
163
|
+
|
164
|
+
.pagination span.current {
|
165
|
+
font-weight: bold;
|
166
|
+
border-width: 1px;
|
167
|
+
border-style: solid;
|
168
|
+
}
|
169
|
+
|
170
|
+
.pagination a {
|
171
|
+
text-decoration: none;
|
172
|
+
border-width: 1px;
|
173
|
+
border-style: solid;
|
174
|
+
}
|
175
|
+
|
176
|
+
/* tables */
|
177
|
+
.table {
|
178
|
+
width: 100%;
|
179
|
+
border-collapse: collapse;
|
180
|
+
margin-bottom: 15px;
|
181
|
+
}
|
182
|
+
|
183
|
+
.table th {
|
184
|
+
padding: 10px;
|
185
|
+
font-weight: bold;
|
186
|
+
text-align: left;
|
187
|
+
}
|
188
|
+
|
189
|
+
.table th.first {
|
190
|
+
width: 30px;
|
191
|
+
}
|
192
|
+
|
193
|
+
.table .checkbox {
|
194
|
+
margin-left: 10px;
|
195
|
+
}
|
196
|
+
|
197
|
+
.table td {
|
198
|
+
padding: 10px;
|
199
|
+
}
|
200
|
+
|
201
|
+
/* forms */
|
202
|
+
|
203
|
+
input.checkbox {
|
204
|
+
margin: 0;
|
205
|
+
padding: 0;
|
206
|
+
}
|
207
|
+
|
208
|
+
.form .group {
|
209
|
+
margin-bottom: 15px;
|
210
|
+
}
|
211
|
+
|
212
|
+
.form .column {
|
213
|
+
width: 48%;
|
214
|
+
}
|
215
|
+
|
216
|
+
.form .column.left {
|
217
|
+
float: left;
|
218
|
+
}
|
219
|
+
|
220
|
+
.form .column.right {
|
221
|
+
float: right;
|
222
|
+
}
|
223
|
+
|
224
|
+
.form label.title, .form input.text, .form textarea {
|
225
|
+
font-size: 1.2em;
|
226
|
+
padding: 1px 0;
|
227
|
+
margin: 0;
|
228
|
+
}
|
229
|
+
|
230
|
+
.form input.checkbox, .form input.radio {
|
231
|
+
margin-right: 5px;
|
232
|
+
}
|
233
|
+
|
234
|
+
.form label.checkbox, .form label.radio {
|
235
|
+
line-height: 1.5em;
|
236
|
+
}
|
237
|
+
|
238
|
+
.form label.title {
|
239
|
+
display: block;
|
240
|
+
padding-bottom: 2px;
|
241
|
+
font-weight: bold;
|
242
|
+
}
|
243
|
+
|
244
|
+
.form input.text, .form textarea.textarea {
|
245
|
+
width: 100%;
|
246
|
+
border-width: 1px;
|
247
|
+
border-style: solid;
|
248
|
+
}
|
249
|
+
|
250
|
+
/* lists */
|
251
|
+
|
252
|
+
ul.list {
|
253
|
+
margin: 0;
|
254
|
+
padding: 0;
|
255
|
+
list-style-type: none;
|
256
|
+
}
|
257
|
+
|
258
|
+
ul.list li {
|
259
|
+
clear: left;
|
260
|
+
padding-bottom: 5px;
|
261
|
+
}
|
262
|
+
|
263
|
+
ul.list li .left {
|
264
|
+
float: left;
|
265
|
+
}
|
266
|
+
|
267
|
+
ul.list li .left .avatar {
|
268
|
+
width: 50px;
|
269
|
+
height: 50px;
|
270
|
+
}
|
271
|
+
|
272
|
+
ul.list li .item {
|
273
|
+
margin-left: 80px;
|
274
|
+
}
|
275
|
+
|
276
|
+
ul.list li .item .avatar {
|
277
|
+
float: left;
|
278
|
+
margin: 0 5px 5px 0;
|
279
|
+
width: 30px;
|
280
|
+
height: 30px;
|
281
|
+
}
|
282
|
+
|
@@ -0,0 +1,279 @@
|
|
1
|
+
a:link, a:visited, a:hover, a:active { color: #33f; }
|
2
|
+
h1, h2, h3 {color:#444}
|
3
|
+
|
4
|
+
body {
|
5
|
+
color: #222;
|
6
|
+
background: #e5e5e5;
|
7
|
+
font-family: "Bitstream Vera Sans", verdana, sans-serif;
|
8
|
+
}
|
9
|
+
|
10
|
+
hr {
|
11
|
+
background: #f0f0ee;
|
12
|
+
}
|
13
|
+
|
14
|
+
p {
|
15
|
+
font-size: 14px;
|
16
|
+
line-height: 20px;
|
17
|
+
}
|
18
|
+
|
19
|
+
input.checkbox {
|
20
|
+
vertical-align:middle;
|
21
|
+
}
|
22
|
+
|
23
|
+
#header h1 {
|
24
|
+
font-size: 28px;
|
25
|
+
padding: 5px 0;
|
26
|
+
margin: 5px 0;
|
27
|
+
}
|
28
|
+
|
29
|
+
.hightlight {
|
30
|
+
background-color: #ffc;
|
31
|
+
}
|
32
|
+
.small {
|
33
|
+
font-size: 11px;
|
34
|
+
}
|
35
|
+
.gray {
|
36
|
+
color: #999;
|
37
|
+
}
|
38
|
+
#header {
|
39
|
+
background: #006666;
|
40
|
+
}
|
41
|
+
|
42
|
+
#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
|
43
|
+
color: #FFF;
|
44
|
+
}
|
45
|
+
|
46
|
+
#main {
|
47
|
+
background: #e5e5e5;
|
48
|
+
width: 69%;
|
49
|
+
}
|
50
|
+
|
51
|
+
#main .block {
|
52
|
+
-moz-border-radius-topleft: 4px;
|
53
|
+
-moz-border-radius-topright: 4px;
|
54
|
+
padding: 0;
|
55
|
+
margin-bottom:20px;
|
56
|
+
padding-bottom: 20px;
|
57
|
+
background: #fff;
|
58
|
+
}
|
59
|
+
|
60
|
+
#main .block h2.title {
|
61
|
+
margin: 0 0 20px 0;
|
62
|
+
background-color: #E6FAFA;
|
63
|
+
padding: 5px 5px 5px 15px;
|
64
|
+
font-size:18px;
|
65
|
+
}
|
66
|
+
|
67
|
+
.main_container {
|
68
|
+
padding:10px;
|
69
|
+
}
|
70
|
+
|
71
|
+
/* #sidebar .block { background: #FFF; padding-bottom:0px; } */
|
72
|
+
|
73
|
+
#sidebar .notice {
|
74
|
+
background-color: #ffc;
|
75
|
+
padding: 0 10px;
|
76
|
+
border-bottom:1px solid #ddd;
|
77
|
+
border-right:1px solid #ddd;
|
78
|
+
border-top:1px solid #fff;
|
79
|
+
border-left:1px solid #fff;
|
80
|
+
}
|
81
|
+
#sidebar .notice h2 {
|
82
|
+
font-size:16px;
|
83
|
+
margin: 5px 0;
|
84
|
+
border-bottom:1px solid #aaa;
|
85
|
+
}
|
86
|
+
#sidebar .notice p {
|
87
|
+
font-size:12px;
|
88
|
+
}
|
89
|
+
|
90
|
+
#sidebar .block {
|
91
|
+
padding-bottom: 0;
|
92
|
+
}
|
93
|
+
|
94
|
+
#sidebar .block .content {
|
95
|
+
padding: 0 10px;
|
96
|
+
}
|
97
|
+
|
98
|
+
|
99
|
+
#sidebar h3 {
|
100
|
+
background: #c7d8d8;
|
101
|
+
border-bottom:1px solid #999;
|
102
|
+
padding: 5px 10px;
|
103
|
+
}
|
104
|
+
|
105
|
+
#sidebar ul li a:link, #sidebar ul li a:visited {
|
106
|
+
font-size:14px;
|
107
|
+
}
|
108
|
+
|
109
|
+
#sidebar ul li a:hover, #sidebar ul li a:active {
|
110
|
+
background: #E6FAFA;
|
111
|
+
color: #444;
|
112
|
+
font-size:14px;
|
113
|
+
text-decoration:underline;
|
114
|
+
}
|
115
|
+
#sidebar ul.navigation li.last a {
|
116
|
+
border-bottom: none;
|
117
|
+
}
|
118
|
+
|
119
|
+
#sidebar ul.navigation li a:link,#sidebar ul.navigation li a:visited {
|
120
|
+
padding: 5px 10px;
|
121
|
+
color:#444;
|
122
|
+
text-decoration: none;
|
123
|
+
}
|
124
|
+
#sidebar ul.navigation li a:hover {
|
125
|
+
text-decoration:underline;
|
126
|
+
}
|
127
|
+
#sidebar .block .sidebar-block h4 {
|
128
|
+
border-bottom: 1px solid #bbb;
|
129
|
+
}
|
130
|
+
#main-navigation ul li {
|
131
|
+
background: #008c8c;
|
132
|
+
}
|
133
|
+
|
134
|
+
#main-navigation ul li:hover {
|
135
|
+
background: #00b2b2;
|
136
|
+
}
|
137
|
+
|
138
|
+
#main-navigation ul li.active {
|
139
|
+
background: #f0f0ee;
|
140
|
+
}
|
141
|
+
|
142
|
+
#main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
|
143
|
+
.secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
|
144
|
+
#user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
|
145
|
+
text-decoration: none;
|
146
|
+
color: #FFF;
|
147
|
+
}
|
148
|
+
|
149
|
+
#main-navigation ul li a {
|
150
|
+
font-size: 14px;
|
151
|
+
padding: 4px 10px;
|
152
|
+
}
|
153
|
+
|
154
|
+
#main-navigation ul li.active a:link, #main-navigation ul li.active a:visited, #main-navigation ul li.active a:hover, #main-navigation ul li.active a:active {
|
155
|
+
color: #364b69;
|
156
|
+
}
|
157
|
+
#user-navigation ul li a:hover {
|
158
|
+
text-decoration: underline;
|
159
|
+
}
|
160
|
+
.secondary-navigation {
|
161
|
+
background: #006666;
|
162
|
+
border-bottom-color: #008c8c;
|
163
|
+
border-bottom: 5px solid #008c8c;
|
164
|
+
}
|
165
|
+
|
166
|
+
.secondary-navigation ul li.active {
|
167
|
+
background-color: #008c8c;
|
168
|
+
}
|
169
|
+
|
170
|
+
.secondary-navigation ul li:hover {
|
171
|
+
background-color: #00b2b2;
|
172
|
+
}
|
173
|
+
|
174
|
+
/* pagination */
|
175
|
+
|
176
|
+
.pagination span.current {
|
177
|
+
background: #008c8c;
|
178
|
+
color: #FFF;
|
179
|
+
border: 1px solid #008c8c;
|
180
|
+
-moz-border-radius:5px;
|
181
|
+
}
|
182
|
+
|
183
|
+
.pagination a {
|
184
|
+
color: #364B69;
|
185
|
+
border: 1px solid #ddd;
|
186
|
+
-moz-border-radius:5px;
|
187
|
+
}
|
188
|
+
|
189
|
+
.pagination a:hover {
|
190
|
+
color: #444;
|
191
|
+
background: #E6FAFA;
|
192
|
+
}
|
193
|
+
|
194
|
+
/* tables */
|
195
|
+
|
196
|
+
.table th {
|
197
|
+
background: #006666;
|
198
|
+
color: #FFF;
|
199
|
+
font-weight:normal;
|
200
|
+
padding:3px;
|
201
|
+
}
|
202
|
+
|
203
|
+
.table th a.toggle {
|
204
|
+
display: block;
|
205
|
+
width: 12px;
|
206
|
+
height: 12px;
|
207
|
+
background: transparent url('images/tick.png') center no-repeat;
|
208
|
+
text-indent: -9999px;
|
209
|
+
-moz-outline: none;
|
210
|
+
}
|
211
|
+
|
212
|
+
.table th.first {
|
213
|
+
width: 30px;
|
214
|
+
text-align: center;
|
215
|
+
}
|
216
|
+
|
217
|
+
.table td {
|
218
|
+
border-bottom: 1px solid #F0F0EE;
|
219
|
+
}
|
220
|
+
|
221
|
+
/* forms */
|
222
|
+
|
223
|
+
.form input.text, .form textarea.textarea {
|
224
|
+
border: 1px solid #ddd;
|
225
|
+
padding: 5px;
|
226
|
+
width: 95%;
|
227
|
+
}
|
228
|
+
|
229
|
+
.form .navform {
|
230
|
+
padding:10px;
|
231
|
+
background-color: #f1f8f8;
|
232
|
+
font-size:14px;
|
233
|
+
border-bottom:1px solid #ddd;
|
234
|
+
border-right:1px solid #ddd;
|
235
|
+
border-top:1px solid #eee;
|
236
|
+
border-left:1px solid #eee;
|
237
|
+
}
|
238
|
+
.form .navform input {
|
239
|
+
font-size:14px;
|
240
|
+
}
|
241
|
+
|
242
|
+
/* flash-messages */
|
243
|
+
.flash-messages {
|
244
|
+
-moz-border-radius: 3px;
|
245
|
+
-webkit-border-radius: 3px;
|
246
|
+
text-align:center;
|
247
|
+
margin:0 auto 5px;
|
248
|
+
width:80%;
|
249
|
+
}
|
250
|
+
.flash-messages p {
|
251
|
+
margin:8px;
|
252
|
+
}
|
253
|
+
.flash-messages.error {
|
254
|
+
border: 1px solid #fbb;
|
255
|
+
background-color: #fdd;
|
256
|
+
}
|
257
|
+
.flash-messages.warning {
|
258
|
+
border: 1px solid #fffaaa;
|
259
|
+
background-color: #ffffcc;
|
260
|
+
}
|
261
|
+
.flash-messages.notice {
|
262
|
+
border: 1px solid #ddf;
|
263
|
+
background-color: #eef;
|
264
|
+
}
|
265
|
+
|
266
|
+
/* lists */
|
267
|
+
|
268
|
+
ul.list li {
|
269
|
+
border-bottom-color: #F0F0EE;
|
270
|
+
}
|
271
|
+
|
272
|
+
ul.list li .item .avatar {
|
273
|
+
border-color: #F0F0EE;
|
274
|
+
margin: 3px 10px 0 0;
|
275
|
+
}
|
276
|
+
|
277
|
+
ul.list li .left {
|
278
|
+
padding: 5px 5px;
|
279
|
+
}
|