caboose-cms 0.9.228 → 0.9.229
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/caboose/admin.js +1 -1
- data/app/assets/javascripts/caboose/admin_main.js +1 -13
- data/app/assets/javascripts/caboose/admin_media_index.js +161 -158
- data/app/assets/javascripts/caboose/application.js +8 -7
- data/app/assets/javascripts/caboose/block_content_controller_dragdrop.js +60 -4
- data/app/assets/javascripts/caboose/block_modal_controllers/block_dd_modal_controller.js +3 -2
- data/app/assets/javascripts/caboose/block_modal_controllers/media_modal_controller.js +17 -6
- data/app/assets/javascripts/caboose/model/all.js +5 -1
- data/app/assets/stylesheets/caboose/admin_block_edit_image.css.scss +2 -1
- data/app/assets/stylesheets/caboose/admin_edit_page_content_dragdrop.scss +71 -15
- data/app/assets/stylesheets/caboose/admin_main.css.scss +25 -29
- data/app/assets/stylesheets/caboose/admin_media_index.css.scss +26 -5
- data/app/assets/stylesheets/caboose/application.css +11 -5
- data/app/assets/stylesheets/caboose/login.scss +1 -0
- data/app/assets/stylesheets/caboose/model_binder.css +13 -4
- data/app/assets/stylesheets/caboose/page_bar_generator.css +2 -1
- data/app/controllers/caboose/admin_controller.rb +3 -4
- data/app/controllers/caboose/application_controller.rb +16 -19
- data/app/controllers/caboose/block_types_controller.rb +8 -6
- data/app/controllers/caboose/cart_controller.rb +2 -2
- data/app/controllers/caboose/change_logs_controller.rb +13 -0
- data/app/controllers/caboose/fonts_controller.rb +139 -2
- data/app/controllers/caboose/invoices_controller.rb +5 -4
- data/app/controllers/caboose/login_logs_controller.rb +5 -7
- data/app/controllers/caboose/media_categories_controller.rb +16 -2
- data/app/controllers/caboose/media_controller.rb +14 -11
- data/app/controllers/caboose/pages_controller.rb +104 -42
- data/app/controllers/caboose/posts_controller.rb +53 -7
- data/app/controllers/caboose/products_controller.rb +1 -1
- data/app/controllers/caboose/sites_controller.rb +25 -6
- data/app/controllers/caboose/sns_controller.rb +3 -3
- data/app/controllers/caboose/themes_controller.rb +30 -0
- data/app/controllers/caboose/users_controller.rb +17 -10
- data/app/controllers/caboose/variants_controller.rb +9 -9
- data/app/models/caboose/block.rb +98 -22
- data/app/models/caboose/block_type.rb +2 -1
- data/app/models/caboose/block_type_parser.rb +1 -1
- data/app/models/caboose/calendar_event_group.rb +2 -2
- data/app/models/caboose/change_log.rb +97 -0
- data/app/models/caboose/core_plugin.rb +4 -3
- data/app/models/caboose/font.rb +7 -2
- data/app/models/caboose/font_variant.rb +12 -0
- data/app/models/caboose/media.rb +15 -4
- data/app/models/caboose/media_category.rb +2 -4
- data/app/models/caboose/page.rb +316 -45
- data/app/models/caboose/page_bar_generator.rb +20 -10
- data/app/models/caboose/post.rb +108 -8
- data/app/models/caboose/product.rb +1 -1
- data/app/models/caboose/role.rb +2 -2
- data/app/models/caboose/schema.rb +73 -72
- data/app/models/caboose/site.rb +203 -1
- data/app/models/caboose/theme.rb +70 -5
- data/app/views/caboose/block_types/admin_edit.html.erb +6 -8
- data/app/views/caboose/blocks/_cached_block.html.erb +28 -0
- data/app/views/caboose/blocks/_file.html.erb +2 -2
- data/app/views/caboose/blocks/_ga.html.erb +1 -2
- data/app/views/caboose/blocks/_image.html.erb +4 -0
- data/app/views/caboose/blocks/_render_function.html.erb +9 -4
- data/app/views/caboose/change_logs/admin_index.html.erb +65 -0
- data/app/views/caboose/fonts/admin_family_edit.html.erb +63 -0
- data/app/views/caboose/fonts/admin_family_index.html.erb +42 -0
- data/app/views/caboose/fonts/admin_index.html.erb +55 -10
- data/app/views/caboose/fonts/admin_variant_edit.html.erb +84 -0
- data/app/views/caboose/invoices_mailer/customer_status_updated.html.erb +5 -14
- data/app/views/caboose/login_logs/admin_index_for_user.html.erb +1 -1
- data/app/views/caboose/media/admin_index.html.erb +14 -24
- data/app/views/caboose/my_account/index.html.erb +1 -0
- data/app/views/caboose/pages/_admin_header.html.erb +5 -0
- data/app/views/caboose/pages/admin_change_logs.html.erb +56 -0
- data/app/views/caboose/pages/admin_edit_content.html.erb +6 -2
- data/app/views/caboose/pages/admin_edit_general.html.erb +32 -4
- data/app/views/caboose/pages/compiled_asset.css.erb +0 -0
- data/app/views/caboose/pages/compiled_asset.js.erb +0 -0
- data/app/views/caboose/posts/_admin_header.html.erb +5 -0
- data/app/views/caboose/posts/admin_change_logs.html.erb +56 -0
- data/app/views/caboose/posts/admin_delete_form.html.erb +1 -1
- data/app/views/caboose/posts/admin_edit_content.html.erb +6 -2
- data/app/views/caboose/products/admin_group_variants.html.erb +1 -1
- data/app/views/caboose/products/admin_sort.html copy.erb +1 -1
- data/app/views/caboose/sites/admin_edit.html.erb +21 -0
- data/app/views/caboose/sites/compiled_asset.css.erb +0 -0
- data/app/views/caboose/sites/compiled_asset.js.erb +0 -0
- data/app/views/caboose/themes/admin_edit.html.erb +7 -3
- data/app/views/caboose/themes/admin_error_log.html.erb +9 -0
- data/app/views/caboose/themes/admin_js.html.erb +131 -0
- data/app/views/caboose/users/_admin_header.html.erb +4 -0
- data/app/views/caboose/users/admin_change_logs.html.erb +63 -0
- data/app/views/caboose/users/admin_edit_roles.html.erb +1 -0
- data/app/views/caboose/variants/admin_group.html.erb +1 -1
- data/app/views/layouts/caboose/admin.html.erb +9 -2
- data/app/views/layouts/caboose/application.html.erb +62 -92
- data/app/views/layouts/caboose/css.css.erb +44 -0
- data/app/views/layouts/caboose/footer_css.css.erb +41 -0
- data/app/views/layouts/caboose/footer_js.js.erb +31 -0
- data/app/views/layouts/caboose/js.js.erb +34 -0
- data/lib/caboose/version.rb +1 -1
- data/lib/tasks/caboose.rake +3 -14
- metadata +23 -27
- data/app/controllers/caboose/assets_controller.rb +0 -65
- data/app/models/caboose/asset.rb +0 -23
- data/app/models/caboose/asset_manifest.rb +0 -91
- data/app/models/caboose/block_cache.rb +0 -105
- data/app/models/caboose/block_cache_file.rb +0 -22
- data/app/models/caboose/block_cache_image.rb +0 -53
- data/app/models/caboose/page_cache.rb +0 -12
- data/app/models/caboose/page_cacher.rb +0 -137
- data/app/views/caboose/pages/admin_new_old.html.erb +0 -46
- data/app/views/caboose/pages/test.html.erb +0 -64
@@ -3,10 +3,11 @@
|
|
3
3
|
//
|
4
4
|
//= require jquery
|
5
5
|
//= require jquery_ujs
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
6
|
+
|
7
|
+
// removed:
|
8
|
+
// require caboose/jquery.placeholder
|
9
|
+
// require caboose/jquery.detect
|
10
|
+
// require caboose/main
|
11
|
+
// require colorbox-rails
|
12
|
+
// require caboose/modal_integration
|
13
|
+
// require_tree ../../templates
|
@@ -4,7 +4,8 @@ var BlockContentController = function(params) { this.init(params); };
|
|
4
4
|
BlockContentController.prototype = {
|
5
5
|
|
6
6
|
post_id: false,
|
7
|
-
page_id: false,
|
7
|
+
page_id: false,
|
8
|
+
is_publishing: false,
|
8
9
|
new_block_type_id: false,
|
9
10
|
selected_block_ids: [],
|
10
11
|
blocks: false,
|
@@ -12,6 +13,8 @@ BlockContentController.prototype = {
|
|
12
13
|
included_assets: false,
|
13
14
|
mc: false,
|
14
15
|
editing_block: false,
|
16
|
+
ajax_limit: 20,
|
17
|
+
ajax_count: 0,
|
15
18
|
inline_classes: ['rtedit'],
|
16
19
|
|
17
20
|
init: function(params)
|
@@ -40,6 +43,7 @@ BlockContentController.prototype = {
|
|
40
43
|
},
|
41
44
|
|
42
45
|
is_modified: function() {
|
46
|
+
var that = this;
|
43
47
|
$("#tiny_header").removeClass('published').addClass('unpublished');
|
44
48
|
},
|
45
49
|
|
@@ -127,7 +131,51 @@ BlockContentController.prototype = {
|
|
127
131
|
that.modal = eval(new_modal_eval_string);
|
128
132
|
}
|
129
133
|
},
|
130
|
-
|
134
|
+
|
135
|
+
|
136
|
+
publish_page: function() {
|
137
|
+
var that = this;
|
138
|
+
var url = that.base_url().replace("/blocks","/publish");
|
139
|
+
that.is_publishing = true;
|
140
|
+
that.is_loading(true, 'Publishing changes...');
|
141
|
+
$.ajax({
|
142
|
+
url: url,
|
143
|
+
type: 'put',
|
144
|
+
success: function(resp) {
|
145
|
+
if (resp.success) {
|
146
|
+
that.check_publish_status();
|
147
|
+
}
|
148
|
+
}
|
149
|
+
});
|
150
|
+
},
|
151
|
+
|
152
|
+
check_publish_status: function() {
|
153
|
+
var that = this;
|
154
|
+
if ( that.ajax_count < that.ajax_limit ) {
|
155
|
+
var url = that.base_url().replace("/blocks","/status");
|
156
|
+
$.ajax({
|
157
|
+
url: url,
|
158
|
+
type: 'get',
|
159
|
+
success: function(resp) {
|
160
|
+
// console.log("status: " + resp.status);
|
161
|
+
that.ajax_count += 1;
|
162
|
+
if ( resp.status == 'published' ) {
|
163
|
+
$("#tiny_header").removeClass("unpublished").addClass("published");
|
164
|
+
that.is_loading(false, 'Page published!');
|
165
|
+
that.is_publishing = false;
|
166
|
+
that.ajax_limit = 20;
|
167
|
+
}
|
168
|
+
else {
|
169
|
+
setTimeout(function() { that.check_publish_status(); }, 1500);
|
170
|
+
}
|
171
|
+
}
|
172
|
+
});
|
173
|
+
}
|
174
|
+
else {
|
175
|
+
that.show_error("Sorry, the page could not be published. Your changes have been saved. Please try refreshing the page.")
|
176
|
+
}
|
177
|
+
},
|
178
|
+
|
131
179
|
underscores_to_camelcase: function(str)
|
132
180
|
{
|
133
181
|
var str2 = '';
|
@@ -152,7 +200,8 @@ BlockContentController.prototype = {
|
|
152
200
|
type: 'get',
|
153
201
|
success: function(html) {
|
154
202
|
$('body .container #block_' + block_id).replaceWith(html);
|
155
|
-
that.
|
203
|
+
if ( !that.is_publishing )
|
204
|
+
that.is_loading(false, 'Loading...');
|
156
205
|
that.add_dropzones();
|
157
206
|
that.init_inline_editor();
|
158
207
|
}
|
@@ -208,13 +257,20 @@ BlockContentController.prototype = {
|
|
208
257
|
$("#caboose-loading").fadeOut();
|
209
258
|
},
|
210
259
|
|
260
|
+
show_error: function(message) {
|
261
|
+
$("#caboose-loading").find("#loader").hide();
|
262
|
+
$("#caboose-loading").fadeIn().find('h4').text(message).css('font-size','1em').css('text-transform','none');
|
263
|
+
},
|
264
|
+
|
211
265
|
move_block: function(block_id, parent_id, before_block_id, after_block_id) {
|
212
266
|
var that = this;
|
213
267
|
var block_id = block_id.replace('block_','');
|
214
268
|
that.is_modified();
|
215
269
|
if ( before_block_id != block_id && after_block_id != block_id && parent_id != block_id ) {
|
216
270
|
var original = $('#block_' + block_id);
|
217
|
-
|
271
|
+
// console.dir(original);
|
272
|
+
// console.dir( original.data('draggable') );
|
273
|
+
// if ( original.data('ui-draggable') ) { original.draggable('destroy'); }
|
218
274
|
var el = original.detach();
|
219
275
|
el.removeClass('ui-draggable-dragging, block_over');
|
220
276
|
el.css({'left':'auto','right':'auto','bottom':'auto','top':'auto','height':'auto','width':'auto'});
|
@@ -295,7 +295,8 @@ var BlockModalController = ModalController.extend({
|
|
295
295
|
type: 'put',
|
296
296
|
success: function(html) {
|
297
297
|
$('#the_modal .img-holder#block_' + block.id).find("img").attr('src','https://cabooseit.s3.amazonaws.com/assets/select_image.png');
|
298
|
-
$(
|
298
|
+
$("#the_modal .img-wrap > span").remove();
|
299
|
+
$('#the_modal div#block_' + block.id + ' p').html("Click to select file for " + block.block_type.description + ".");
|
299
300
|
$('#the_modal #block_' + block.id).parent().find('.caboose-btn').remove();
|
300
301
|
that.parent_controller.render_blocks();
|
301
302
|
that.autosize();
|
@@ -330,7 +331,7 @@ var BlockModalController = ModalController.extend({
|
|
330
331
|
$('#the_modal #block_' + b.id).closest(".img-wrap").append(btn);
|
331
332
|
}
|
332
333
|
|
333
|
-
if ( b.block_type && b.block_type.field_type == 'file' && b.rendered_value.indexOf('Click to select
|
334
|
+
if ( b.block_type && b.block_type.field_type == 'file' && b.rendered_value.indexOf('Click to select file') < 0 ) {
|
334
335
|
btn = $('<a href="#" class="caboose-btn remove">Remove File</a>');
|
335
336
|
//btn.css('margin-bottom','10px').css('font-size','13px');
|
336
337
|
btn.on('click', function(e) {
|
@@ -159,7 +159,7 @@ var MediaModalController = BlockModalController.extend({
|
|
159
159
|
var opt = $('<option/>')
|
160
160
|
.data('media_category_id', cat.id)
|
161
161
|
.val(cat.id)
|
162
|
-
.append(prefix + cat.name
|
162
|
+
.append(prefix + cat.name);
|
163
163
|
if (cat.id == that.cat_id)
|
164
164
|
opt.attr('selected', 'true');
|
165
165
|
select.append(opt);
|
@@ -240,7 +240,6 @@ var MediaModalController = BlockModalController.extend({
|
|
240
240
|
|
241
241
|
check_processing_status: function()
|
242
242
|
{
|
243
|
-
console.log("checking processing status");
|
244
243
|
var that = this;
|
245
244
|
if (!that.last_upload_processed)
|
246
245
|
that.last_upload_processed = new Date();
|
@@ -252,11 +251,11 @@ var MediaModalController = BlockModalController.extend({
|
|
252
251
|
that.ajax_count += 1;
|
253
252
|
var d = Date.parse(resp['last_upload_processed']);
|
254
253
|
if (d > that.last_upload_processed) {
|
255
|
-
|
254
|
+
// console.log("new processed image, refreshing");
|
256
255
|
that.refresh_media(function() { that.print_media(); });
|
257
256
|
}
|
258
257
|
else {
|
259
|
-
|
258
|
+
// console.log("no new processed images, waiting");
|
260
259
|
setTimeout(function() { that.check_processing_status(); }, 3000);
|
261
260
|
}
|
262
261
|
that.last_upload_processed = d;
|
@@ -288,9 +287,21 @@ var MediaModalController = BlockModalController.extend({
|
|
288
287
|
// }
|
289
288
|
|
290
289
|
$('#top_controls').empty();
|
291
|
-
var
|
290
|
+
var img_html = "";
|
291
|
+
if (m.media_type == 'image') {
|
292
|
+
var img_src = m.image_urls ? m.image_urls.thumb_url : 'https://cabooseit.s3.amazonaws.com/assets/select_image.png';
|
293
|
+
img_html += "<img id='detail_image' src='" + img_src + "' />";
|
294
|
+
img_html += "<p class='filename'>" + m.original_name + "</p>";
|
295
|
+
}
|
296
|
+
else if (m.original_name.indexOf('.pdf') >= 0 || m.original_name.indexOf('.PDF') >= 0) {
|
297
|
+
img_html += "<embed id='detail_file' width='190' height='200' src='" + m.file_url + "' />";
|
298
|
+
img_html += "<p class='filename'>" + m.original_name + "</p>";
|
299
|
+
}
|
300
|
+
else {
|
301
|
+
img_html += "<p class='filename'>" + m.original_name + "</p>";
|
302
|
+
}
|
292
303
|
$('#the_modal #media').empty()
|
293
|
-
.append( $("<div />").addClass("img-wrap").append(
|
304
|
+
.append( $("<div />").addClass("img-wrap").append(img_html) );
|
294
305
|
// .append($('<p/>').append($('<div/>').attr('id', 'media_' + media_id + '_media_category_id' )))
|
295
306
|
// .append($('<p/>').append($('<div/>').attr('id', 'media_' + media_id + '_name' )))
|
296
307
|
// .append($('<p/>').append($('<div/>').attr('id', 'media_' + media_id + '_description' )))
|
@@ -1,4 +1,3 @@
|
|
1
|
-
//= require caboose/spectrum
|
2
1
|
//= require caboose/model/class
|
3
2
|
//= require caboose/model/model
|
4
3
|
//= require caboose/model/s3
|
@@ -19,3 +18,8 @@
|
|
19
18
|
//= require caboose/model/bound_text
|
20
19
|
//= require caboose/model/bound_textarea
|
21
20
|
//= require caboose/model/bound_richtext
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
// removed:
|
25
|
+
// require caboose/spectrum
|
@@ -155,6 +155,29 @@ body.editing .footer-wrapper #footer-msg {
|
|
155
155
|
}
|
156
156
|
}
|
157
157
|
}
|
158
|
+
.file-select {
|
159
|
+
p {
|
160
|
+
font-size: 13px;
|
161
|
+
border: 1px solid gainsboro;
|
162
|
+
display: block;
|
163
|
+
background: #dff4fb;
|
164
|
+
padding: 5px;
|
165
|
+
cursor: pointer;
|
166
|
+
overflow: hidden;
|
167
|
+
span {
|
168
|
+
display: block;
|
169
|
+
margin-top: 3px;
|
170
|
+
font-family: monospace;
|
171
|
+
font-size: 12px;
|
172
|
+
overflow: hidden;
|
173
|
+
color: #292929;
|
174
|
+
font-weight: normal;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
&:hover p {
|
178
|
+
background: #fbf6df;
|
179
|
+
}
|
180
|
+
}
|
158
181
|
#modal_crumbtrail {
|
159
182
|
margin-bottom: 15px;
|
160
183
|
padding-top: 4px;
|
@@ -214,7 +237,34 @@ body.editing .footer-wrapper #footer-msg {
|
|
214
237
|
}
|
215
238
|
}
|
216
239
|
}
|
240
|
+
.caboose-btn.remove {
|
241
|
+
background-size: 11px;
|
242
|
+
background-repeat: no-repeat;
|
243
|
+
background-position: 8px 7px;
|
244
|
+
background-image: url('/assets/caboose/icons/delete.png');
|
245
|
+
background-color: #6f3030;
|
246
|
+
&:hover { background-color: shade(#6f3030, 20%); }
|
247
|
+
}
|
217
248
|
.img-wrap {
|
249
|
+
display: block;
|
250
|
+
width: 100%;
|
251
|
+
& > span {
|
252
|
+
font-family: monospace;
|
253
|
+
font-size: 11px;
|
254
|
+
border: 1px solid gainsboro;
|
255
|
+
border-bottom: 0;
|
256
|
+
display: block;
|
257
|
+
background: #dff4fb;
|
258
|
+
margin: 0;
|
259
|
+
padding: 4px;
|
260
|
+
color: #292929;
|
261
|
+
font-weight: normal;
|
262
|
+
overflow: hidden;
|
263
|
+
}
|
264
|
+
embed {
|
265
|
+
display: block;
|
266
|
+
margin-bottom: 5px;
|
267
|
+
}
|
218
268
|
.img-holder {
|
219
269
|
cursor: pointer;
|
220
270
|
span.select {
|
@@ -239,24 +289,22 @@ body.editing .footer-wrapper #footer-msg {
|
|
239
289
|
}
|
240
290
|
}
|
241
291
|
}
|
242
|
-
.caboose-btn.remove {
|
243
|
-
background-size: 11px;
|
244
|
-
background-repeat: no-repeat;
|
245
|
-
background-position: 8px 7px;
|
246
|
-
background-image: url('/assets/caboose/icons/delete.png');
|
247
|
-
background-color: #6f3030;
|
248
|
-
&:hover { background-color: shade(#6f3030, 20%); }
|
249
|
-
}
|
250
292
|
.filename {
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
width: 190px;
|
293
|
+
font-family: monospace;
|
294
|
+
font-size: 12px;
|
295
|
+
border: 1px solid gainsboro;
|
255
296
|
display: block;
|
297
|
+
background: #dff4fb;
|
298
|
+
margin: 0;
|
299
|
+
padding: 4px;
|
300
|
+
color: #292929;
|
301
|
+
font-weight: normal;
|
302
|
+
overflow: hidden;
|
256
303
|
}
|
257
304
|
}
|
258
305
|
.mb_container {
|
259
306
|
padding-top: 18px;
|
307
|
+
width: 100% !important;
|
260
308
|
input, textarea {
|
261
309
|
display: block;
|
262
310
|
border-radius: 0 !important;
|
@@ -284,6 +332,13 @@ body.editing .footer-wrapper #footer-msg {
|
|
284
332
|
background: #fffac5 !important;
|
285
333
|
}
|
286
334
|
}
|
335
|
+
table.data.checkbox_multiple {
|
336
|
+
label {
|
337
|
+
font-size: 12px;
|
338
|
+
position: relative;
|
339
|
+
top: 2px;
|
340
|
+
}
|
341
|
+
}
|
287
342
|
textarea {
|
288
343
|
min-height: 80px;
|
289
344
|
}
|
@@ -646,6 +701,7 @@ p.caboose_note.delete {
|
|
646
701
|
font-weight: 300;
|
647
702
|
font-size: 1.2em;
|
648
703
|
margin-bottom: 0;
|
704
|
+
color: #2b2b2b;
|
649
705
|
}
|
650
706
|
// opacity: 0;
|
651
707
|
// transition: opacity 300ms ease;
|
@@ -732,7 +788,7 @@ body > .container, body > .mm-page > .container {
|
|
732
788
|
&[href*="preview"] {
|
733
789
|
background: #404088;
|
734
790
|
}
|
735
|
-
|
791
|
+
&.pub {
|
736
792
|
background: #3b753b;
|
737
793
|
}
|
738
794
|
&:hover {
|
@@ -746,12 +802,12 @@ body > .container, body > .mm-page > .container {
|
|
746
802
|
&.published {
|
747
803
|
background-color: #353535;
|
748
804
|
#m-unpub { display: none; }
|
749
|
-
a[href*="revert"], a
|
805
|
+
a[href*="revert"], a.pub, a[href*="preview"] {
|
750
806
|
display: none;
|
751
807
|
}
|
752
808
|
}
|
753
809
|
&.unpublished {
|
754
|
-
background-color: #
|
810
|
+
background-color: #73a8af;
|
755
811
|
#m-pub { display: none; }
|
756
812
|
}
|
757
813
|
}
|
@@ -144,6 +144,10 @@ body * {
|
|
144
144
|
display: none;
|
145
145
|
}
|
146
146
|
|
147
|
+
#top_nav ul li:hover ul {
|
148
|
+
display: block;
|
149
|
+
}
|
150
|
+
|
147
151
|
#top_nav ul li ul li {
|
148
152
|
display: block;
|
149
153
|
}
|
@@ -497,40 +501,32 @@ Page Bar Generator
|
|
497
501
|
*******************************************************************************/
|
498
502
|
|
499
503
|
.page_links {
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
.page_links span.current_page {
|
522
|
-
display: inline-block;
|
523
|
-
padding: 8px 10px;
|
524
|
-
margin: 0 3px;
|
525
|
-
background: #ccc;
|
526
|
-
color: #2d2d2d;
|
527
|
-
text-decoration: none;
|
504
|
+
a {
|
505
|
+
display: inline-block;
|
506
|
+
margin: 0 3px;
|
507
|
+
padding: 8px 10px;
|
508
|
+
background: #2d2d2d;
|
509
|
+
color: #fff;
|
510
|
+
text-decoration: none;
|
511
|
+
cursor: pointer;
|
512
|
+
&:hover {
|
513
|
+
background: #000;
|
514
|
+
color: #fff;
|
515
|
+
}
|
516
|
+
}
|
517
|
+
span.current_page {
|
518
|
+
display: inline-block;
|
519
|
+
padding: 8px 10px;
|
520
|
+
margin: 0 3px;
|
521
|
+
background: #ccc;
|
522
|
+
color: #2d2d2d;
|
523
|
+
text-decoration: none;
|
524
|
+
}
|
528
525
|
}
|
529
526
|
|
530
527
|
#search_form input[type='text'] { padding: 6px 12px; }
|
531
528
|
#search_form input[type='submit'] { height: 35px; padding: 0 12px; }
|
532
529
|
|
533
|
-
|
534
530
|
.new-page-form-wrapper {
|
535
531
|
max-width: 950px;
|
536
532
|
margin: 0 auto;
|
@@ -18,7 +18,27 @@
|
|
18
18
|
|
19
19
|
#uploader {
|
20
20
|
.caboose-btn {
|
21
|
-
margin-right:
|
21
|
+
margin-right: 5px;
|
22
|
+
font-size: 14px;
|
23
|
+
line-height: 25px;
|
24
|
+
&.red {
|
25
|
+
background: #bc5252;
|
26
|
+
&:hover {
|
27
|
+
background: shade(#bc5252, 15%);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
&.green {
|
31
|
+
background: #51bd63;
|
32
|
+
&:hover {
|
33
|
+
background: shade(#51bd63, 15%);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
&.blue {
|
37
|
+
background: #516dbb;
|
38
|
+
&:hover {
|
39
|
+
background: shade(#516dbb, 15%);
|
40
|
+
}
|
41
|
+
}
|
22
42
|
}
|
23
43
|
}
|
24
44
|
|
@@ -102,6 +122,7 @@
|
|
102
122
|
}
|
103
123
|
|
104
124
|
#media {
|
125
|
+
margin-top: 10px;
|
105
126
|
padding-right: 2%;
|
106
127
|
ul {
|
107
128
|
list-style: none;
|
@@ -174,7 +195,7 @@
|
|
174
195
|
font-size: 12px;
|
175
196
|
text-align: center;
|
176
197
|
background: rgba(0,0,0,0.7);
|
177
|
-
padding: 3px;
|
198
|
+
padding: 3px 5px 4px 5px;
|
178
199
|
color: #fff;
|
179
200
|
text-decoration: none !important;
|
180
201
|
}
|
@@ -206,7 +227,7 @@
|
|
206
227
|
text-align: center;
|
207
228
|
color: #000;
|
208
229
|
border-radius: 4px;
|
209
|
-
padding: 4px;
|
230
|
+
padding: 3px 5px 4px 5px;
|
210
231
|
&:focus {
|
211
232
|
outline-width: 0;
|
212
233
|
}
|
@@ -215,7 +236,7 @@
|
|
215
236
|
color: #fff;
|
216
237
|
float: left;
|
217
238
|
&:hover {
|
218
|
-
background: shade(#516dbb,
|
239
|
+
background: shade(#516dbb, 15%);
|
219
240
|
}
|
220
241
|
}
|
221
242
|
&.dl {
|
@@ -226,7 +247,7 @@
|
|
226
247
|
color: #fff;
|
227
248
|
// width: 100%;
|
228
249
|
&:hover {
|
229
|
-
background: shade(#51bd63,
|
250
|
+
background: shade(#51bd63, 15%);
|
230
251
|
}
|
231
252
|
&.i {
|
232
253
|
width: auto;
|