refinerycms-blog 2.0.4 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +6 -1
- data/.travis.yml +10 -14
- data/Gemfile +30 -50
- data/Rakefile +2 -1
- data/app/assets/javascripts/refinery/blog/backend.js +18 -59
- data/app/assets/stylesheets/refinery/blog/backend.css.scss +10 -61
- data/app/assets/stylesheets/refinery/blog/frontend.css.scss +87 -76
- data/app/controllers/refinery/blog/admin/categories_controller.rb +7 -1
- data/app/controllers/refinery/blog/admin/comments_controller.rb +19 -21
- data/app/controllers/refinery/blog/admin/posts_controller.rb +43 -15
- data/app/controllers/refinery/blog/blog_controller.rb +31 -5
- data/app/controllers/refinery/blog/categories_controller.rb +10 -3
- data/app/controllers/refinery/blog/posts_controller.rb +40 -26
- data/app/helpers/refinery/blog/controller_helper.rb +1 -22
- data/app/helpers/refinery/blog/posts_helper.rb +9 -4
- data/app/models/refinery/blog/categorization.rb +11 -0
- data/app/models/refinery/blog/category.rb +15 -5
- data/app/models/refinery/blog/comment.rb +17 -28
- data/app/models/refinery/blog/post.rb +100 -30
- data/app/views/refinery/blog/admin/_submenu.html.erb +1 -6
- data/app/views/refinery/blog/admin/categories/_category.html.erb +23 -10
- data/app/views/refinery/blog/admin/categories/_form.html.erb +10 -11
- data/app/views/refinery/blog/admin/categories/_sortable_list.html.erb +2 -4
- data/app/views/refinery/blog/admin/categories/edit.html.erb +1 -1
- data/app/views/refinery/blog/admin/categories/index.html.erb +9 -15
- data/app/views/refinery/blog/admin/categories/new.html.erb +1 -1
- data/app/views/refinery/blog/admin/comments/_comment.html.erb +4 -12
- data/app/views/refinery/blog/admin/comments/_sortable_list.html.erb +2 -4
- data/app/views/refinery/blog/admin/comments/index.html.erb +14 -23
- data/app/views/refinery/blog/admin/comments/show.html.erb +6 -4
- data/app/views/refinery/blog/admin/posts/_form.html.erb +31 -28
- data/app/views/refinery/blog/admin/posts/_form_part.html.erb +1 -1
- data/app/views/refinery/blog/admin/posts/_post.html.erb +28 -11
- data/app/views/refinery/blog/admin/posts/_sortable_list.html.erb +2 -4
- data/app/views/refinery/blog/admin/posts/_teaser_part.html.erb +1 -1
- data/app/views/refinery/blog/admin/posts/edit.html.erb +1 -1
- data/app/views/refinery/blog/admin/posts/index.html.erb +9 -15
- data/app/views/refinery/blog/admin/posts/new.html.erb +1 -1
- data/app/views/refinery/blog/admin/posts/uncategorized.html.erb +2 -2
- data/app/views/refinery/blog/admin/settings/notification_recipients.html.erb +5 -7
- data/app/views/refinery/blog/categories/show.html.erb +4 -4
- data/app/views/refinery/blog/comment_mailer/notification.html.erb +5 -0
- data/app/views/refinery/blog/posts/_comment.html.erb +4 -4
- data/app/views/refinery/blog/posts/_comments.html.erb +28 -31
- data/app/views/refinery/blog/posts/_nav.html.erb +6 -6
- data/app/views/refinery/blog/posts/_post.html.erb +9 -9
- data/app/views/refinery/blog/posts/archive.html.erb +7 -6
- data/app/views/refinery/blog/posts/index.html.erb +6 -6
- data/app/views/refinery/blog/posts/index.rss.builder +8 -2
- data/app/views/refinery/blog/posts/show.html.erb +5 -7
- data/app/views/refinery/blog/posts/tagged.html.erb +5 -5
- data/app/views/refinery/blog/shared/_body_content_right.html.erb +7 -7
- data/app/views/refinery/blog/shared/_categories.html.erb +4 -4
- data/app/views/refinery/blog/shared/_post.html.erb +18 -18
- data/app/views/refinery/blog/shared/_posts.html.erb +1 -1
- data/app/views/refinery/blog/shared/_rss_feed.html.erb +2 -0
- data/app/views/refinery/blog/shared/_tags.html.erb +1 -1
- data/app/views/refinery/shared/admin/_autocomplete.html.erb +44 -3
- data/bin/rails +11 -0
- data/bin/refinerycms +62 -0
- data/certs/parndt.pem +25 -0
- data/changelog.md +4 -1
- data/config/initializers/url_validator.rb +15 -11
- data/config/locales/bg.yml +8 -10
- data/config/locales/cs.yml +7 -9
- data/config/locales/de.yml +27 -8
- data/config/locales/en.yml +18 -12
- data/config/locales/es.yml +2 -4
- data/config/locales/fr.yml +34 -16
- data/config/locales/it.yml +8 -10
- data/config/locales/ja.yml +22 -11
- data/config/locales/nb.yml +154 -16
- data/config/locales/nl.yml +42 -7
- data/config/locales/pl.yml +6 -8
- data/config/locales/pt-BR.yml +39 -8
- data/config/locales/ru.yml +49 -5
- data/config/locales/sk.yml +59 -20
- data/config/locales/sv.yml +165 -0
- data/config/locales/uk.yml +172 -0
- data/config/locales/zh-CN.yml +34 -5
- data/config/locales/zh-TW.yml +160 -0
- data/config/routes.rb +11 -8
- data/db/migrate/20110803223522_create_blog_structure.rb +16 -15
- data/db/migrate/20110803223523_add_user_id_to_blog_posts.rb +3 -3
- data/db/migrate/20110803223524_acts_as_taggable_on_migration.rb +1 -1
- data/db/migrate/20110803223526_add_cached_slugs.rb +3 -3
- data/db/migrate/20110803223527_add_custom_url_field_to_blog_posts.rb +2 -2
- data/db/migrate/20110803223528_add_custom_teaser_field_to_blog_posts.rb +2 -2
- data/db/migrate/20110803223529_add_primary_key_to_categorizations.rb +5 -5
- data/db/migrate/20120103055909_add_source_url_to_blog_posts.rb +2 -2
- data/db/migrate/20120223022021_add_access_count_to_posts.rb +4 -4
- data/db/migrate/20120227022021_add_slug_to_posts_and_categories.rb +2 -2
- data/db/migrate/20120530102901_create_blog_translations.rb +17 -0
- data/db/migrate/20120531113632_delete_cached_slugs.rb +6 -0
- data/db/migrate/20120601151114_create_category_translations.rb +14 -0
- data/db/migrate/20140622132537_add_missing_unique_indices.acts_as_taggable_on_engine.rb +20 -0
- data/db/migrate/20140622132538_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb +15 -0
- data/db/migrate/20160602042848_add_username_to_blog_posts.rb +5 -0
- data/db/migrate/20161223024527_create_multi_user_model.rb +13 -0
- data/db/migrate/20180420132008_remove_translated_columns_to_refinery_blog_categories.rb +5 -0
- data/db/seeds.rb +5 -5
- data/lib/generators/refinery/blog/templates/config/initializers/refinery/blog.rb.erb +6 -0
- data/lib/refinery/blog.rb +4 -1
- data/lib/refinery/blog/configuration.rb +25 -1
- data/lib/refinery/blog/engine.rb +9 -3
- data/readme.md +31 -5
- data/refinerycms-blog.gemspec +19 -15
- data/script/rails +1 -3
- data/spec/controllers/refinery/blog/admin/comments_controller_spec.rb +84 -0
- data/spec/controllers/refinery/blog/admin/posts_controller_spec.rb +35 -0
- data/spec/controllers/refinery/blog/posts_controller_spec.rb +24 -0
- data/spec/factories/blog_categories.rb +1 -1
- data/spec/factories/blog_comments.rb +1 -1
- data/spec/factories/blog_posts.rb +7 -3
- data/spec/factories/blog_test_users.rb +6 -0
- data/spec/features/refinery/blog/admin/categories_spec.rb +121 -0
- data/spec/{requests → features}/refinery/blog/admin/comments_spec.rb +30 -30
- data/spec/features/refinery/blog/admin/menu_spec.rb +19 -0
- data/spec/features/refinery/blog/admin/posts_spec.rb +365 -0
- data/spec/features/refinery/blog/categories_spec.rb +29 -0
- data/spec/features/refinery/blog/posts_spec.rb +171 -0
- data/spec/helpers/refinery/blog/posts_helper_spec.rb +23 -11
- data/spec/lib/refinery/blog/engine_spec.rb +1 -11
- data/spec/models/refinery/blog/category_spec.rb +18 -11
- data/spec/models/refinery/blog/comment_spec.rb +4 -4
- data/spec/models/refinery/blog/post_spec.rb +97 -60
- data/spec/spec_helper.rb +20 -46
- data/spec/support/refinery_blog_test_user.rb +2 -0
- metadata +168 -95
- metadata.gz.sig +0 -0
- data/Guardfile +0 -20
- data/app/assets/images/refinery/blog/icons/cog.png +0 -0
- data/app/assets/images/refinery/blog/icons/comment.png +0 -0
- data/app/assets/images/refinery/blog/icons/comment_cross.png +0 -0
- data/app/assets/images/refinery/blog/icons/comment_tick.png +0 -0
- data/app/assets/images/refinery/blog/icons/comments.png +0 -0
- data/app/assets/images/refinery/blog/icons/down.gif +0 -0
- data/app/assets/images/refinery/blog/icons/folder.png +0 -0
- data/app/assets/images/refinery/blog/icons/folder_add.png +0 -0
- data/app/assets/images/refinery/blog/icons/folder_edit.png +0 -0
- data/app/assets/images/refinery/blog/icons/page.png +0 -0
- data/app/assets/images/refinery/blog/icons/page_add.png +0 -0
- data/app/assets/images/refinery/blog/icons/page_copy.png +0 -0
- data/app/assets/images/refinery/blog/icons/up.gif +0 -0
- data/app/assets/images/refinerycms-blog/.gitkeep +0 -0
- data/app/assets/javascripts/refinerycms-blog/.gitkeep +0 -0
- data/app/assets/stylesheets/refinerycms-blog/.gitkeep +0 -0
- data/app/models/refinery/blog/comment_mailer.rb +0 -1
- data/app/models/refinery/categorization.rb +0 -10
- data/app/sweepers/refinery/blog_sweeper.rb +0 -26
- data/lib/refinery/blog/version.rb +0 -17
- data/spec/requests/refinery/blog/admin/categories_spec.rb +0 -20
- data/spec/requests/refinery/blog/admin/menu_spec.rb +0 -13
- data/spec/requests/refinery/blog/admin/posts_spec.rb +0 -175
- data/spec/requests/refinery/blog/categories_spec.rb +0 -24
- data/spec/requests/refinery/blog/posts_spec.rb +0 -160
- data/todo.md +0 -5
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 597f06b7bd6f17d95315443d3b2d11ff80f426dbfd173b1c3e0b89a133dde153
|
4
|
+
data.tar.gz: 44cbe39a432bef4d113972c3602bf167d844b246da4c2ac420529f54c0a492c4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d1106d3a7977b42bd9e89261516af147cc6c7f14f06c47c69a60591b3b23ba72146cc1d8ad54252f4c4949a7490dff2b57edadc97ba233642a58a6a5046d8f60
|
7
|
+
data.tar.gz: 87170e08784d993834f348ddd7af0ee7095de88f3eec9539e4fc1468c8649e76fdf0c4609a60eb0aa28cdb0c4012b5b06135ccacddad1e1ea5fc0c9434e31662
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
ADDED
Binary file
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,18 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
email:
|
6
|
-
- parndt@gmail.com
|
7
|
-
- ugis.ozolss@gmail.com
|
8
|
-
- joe@joesak.com
|
9
|
-
- jamie@enmasse.com
|
1
|
+
language: ruby
|
2
|
+
cache: bundler
|
3
|
+
bundler_args: --without development
|
4
|
+
before_script: "bundle exec rake refinery:testing:dummy_app"
|
10
5
|
env:
|
11
6
|
- DB=postgresql
|
12
7
|
- DB=mysql
|
8
|
+
notifications:
|
9
|
+
webhooks:
|
10
|
+
- https://webhooks.gitter.im/e/b5d48907cdc89864b874
|
13
11
|
rvm:
|
14
|
-
-
|
15
|
-
-
|
16
|
-
|
17
|
-
- rbx
|
18
|
-
- jruby
|
12
|
+
- 2.3.1
|
13
|
+
- 2.2
|
14
|
+
sudo: false
|
data/Gemfile
CHANGED
@@ -1,68 +1,48 @@
|
|
1
|
-
source "
|
1
|
+
source "https://rubygems.org"
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
|
5
|
+
git "https://github.com/refinery/refinerycms", branch: "4-0-stable" do
|
6
|
+
gem 'refinerycms'
|
6
7
|
|
7
|
-
group :
|
8
|
-
|
9
|
-
|
10
|
-
gem 'refinerycms-testing', '~> 2.0.0'
|
11
|
-
|
12
|
-
platforms :jruby do
|
13
|
-
gem 'activerecord-jdbcsqlite3-adapter'
|
14
|
-
gem 'activerecord-jdbcmysql-adapter'
|
15
|
-
gem 'activerecord-jdbcpostgresql-adapter'
|
16
|
-
gem 'jruby-openssl'
|
8
|
+
group :test do
|
9
|
+
gem 'refinerycms-testing'
|
17
10
|
end
|
11
|
+
end
|
18
12
|
|
19
|
-
|
20
|
-
|
21
|
-
gem 'mysql2'
|
22
|
-
gem 'pg'
|
23
|
-
end
|
13
|
+
# Add the default visual editor, for now.
|
14
|
+
gem 'refinerycms-wymeditor', ['~> 2.0', '>= 2.0.0']
|
24
15
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
16
|
+
group :test do
|
17
|
+
gem 'launchy'
|
18
|
+
gem 'poltergeist'
|
19
|
+
gem 'listen'
|
20
|
+
end
|
30
21
|
|
31
|
-
|
32
|
-
|
33
|
-
|
22
|
+
# Database Configuration
|
23
|
+
unless ENV['TRAVIS']
|
24
|
+
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
25
|
+
gem 'sqlite3', :platform => :ruby
|
26
|
+
end
|
34
27
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
if RbConfig::CONFIG['target_os'] =~ /linux/i
|
41
|
-
gem 'rb-inotify', '>= 0.5.1'
|
42
|
-
gem 'libnotify', '~> 0.1.3'
|
43
|
-
gem 'therubyracer', '~> 0.9.9'
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
28
|
+
if !ENV['TRAVIS'] || ENV['DB'] == 'mysql'
|
29
|
+
gem 'activerecord-jdbcmysql-adapter', :platform => :jruby
|
30
|
+
gem 'jdbc-mysql', '= 5.1.13', :platform => :jruby
|
31
|
+
gem 'mysql2', :platform => :ruby
|
32
|
+
end
|
47
33
|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
gem 'growl', '~> 1.0.3'
|
52
|
-
end
|
53
|
-
if RbConfig::CONFIG['target_os'] =~ /linux/i
|
54
|
-
gem 'rb-inotify', '>= 0.5.1'
|
55
|
-
gem 'libnotify', '~> 0.1.3'
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
34
|
+
if !ENV['TRAVIS'] || ENV['DB'] == 'postgresql'
|
35
|
+
gem 'activerecord-jdbcpostgresql-adapter', :platform => :jruby
|
36
|
+
gem 'pg', '~> 0.18', :platform => :ruby
|
59
37
|
end
|
60
38
|
|
61
39
|
# Refinery/rails should pull in the proper versions of these
|
62
40
|
group :assets do
|
63
41
|
gem 'sass-rails'
|
64
42
|
gem 'coffee-rails'
|
65
|
-
gem 'uglifier'
|
66
43
|
end
|
67
44
|
|
68
|
-
|
45
|
+
# Load local gems according to Refinery developer preference.
|
46
|
+
if File.exist? local_gemfile = File.expand_path('../.gemfile', __FILE__)
|
47
|
+
eval File.read(local_gemfile)
|
48
|
+
end
|
data/Rakefile
CHANGED
@@ -13,7 +13,8 @@ if File.exists?(APP_RAKEFILE)
|
|
13
13
|
end
|
14
14
|
|
15
15
|
require "refinerycms-testing"
|
16
|
-
Refinery::Testing::Railtie.load_tasks
|
17
16
|
Refinery::Testing::Railtie.load_dummy_tasks(ENGINE_PATH)
|
18
17
|
|
19
18
|
load File.expand_path('../tasks/rspec.rake', __FILE__)
|
19
|
+
|
20
|
+
task :default => :spec
|
@@ -1,4 +1,8 @@
|
|
1
|
+
//= require jquery-ui/autocomplete
|
2
|
+
|
1
3
|
$(document).ready(function(){
|
4
|
+
$('#more_options').hide()
|
5
|
+
|
2
6
|
$('nav#actions.multilist > ul:not(.search_list) li a[href$="' + window.location.pathname + '"]')
|
3
7
|
.parent().addClass('selected');
|
4
8
|
if($('nav#actions.multilist > ul:not(.search_list) li.selected').length == 0) {
|
@@ -48,68 +52,23 @@ $(document).ready(function(){
|
|
48
52
|
e.preventDefault();
|
49
53
|
});
|
50
54
|
|
51
|
-
|
52
|
-
$(function() {
|
53
|
-
|
54
|
-
$('#
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
if (editor._element[0] == teaserTextArea) {
|
60
|
-
teaserEditor = editor;
|
61
|
-
}
|
62
|
-
});
|
63
|
-
|
64
|
-
if (teaserEditor) {
|
65
|
-
teaserEditor.html($('#blog_post_body').attr('value'));
|
55
|
+
$('#page-tabs').tabs();
|
56
|
+
$('#copy_body_link').click(function(event) {
|
57
|
+
// Find the WYMEditor that maps to the custom_teaser field
|
58
|
+
var teaserTextArea = $('#post_custom_teaser')[0];
|
59
|
+
var teaserEditor = null;
|
60
|
+
$.each(WYMeditor.INSTANCES, function(index, editor) {
|
61
|
+
if (editor._element[0] == teaserTextArea) {
|
62
|
+
teaserEditor = editor;
|
66
63
|
}
|
67
|
-
|
68
|
-
event.preventDefault();
|
69
64
|
});
|
70
|
-
});
|
71
|
-
|
72
65
|
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
function extractLast( term ) {
|
77
|
-
return split( term ).pop();
|
78
|
-
}
|
66
|
+
if (teaserEditor) {
|
67
|
+
teaserEditor.html($('#post_body').val());
|
68
|
+
}
|
79
69
|
|
80
|
-
|
70
|
+
event.preventDefault();
|
71
|
+
});
|
81
72
|
|
82
|
-
|
83
|
-
if ( event.keyCode === $.ui.keyCode.TAB && $( this ).data( "autocomplete" ).menu.active ) {
|
84
|
-
event.preventDefault()
|
85
|
-
}
|
86
|
-
}).autocomplete({
|
87
|
-
source: function( request, response ) {
|
88
|
-
$.getJSON( "<%= url %>", {
|
89
|
-
term: extractLast( request.term )
|
90
|
-
}, response );
|
91
|
-
},
|
92
|
-
search: function() {
|
93
|
-
// custom minLength
|
94
|
-
var term = extractLast( this.value );
|
95
|
-
if ( term.length < 2 ) {
|
96
|
-
return false;
|
97
|
-
}
|
98
|
-
},
|
99
|
-
focus: function() {
|
100
|
-
// prevent value inserted on focus
|
101
|
-
return false;
|
102
|
-
},
|
103
|
-
select: function( event, ui ) {
|
104
|
-
var terms = split( this.value );
|
105
|
-
// remove the current input
|
106
|
-
terms.pop();
|
107
|
-
// add the selected item
|
108
|
-
terms.push( ui.item.value );
|
109
|
-
// add placeholder to get the comma-and-space at the end
|
110
|
-
terms.push( "" );
|
111
|
-
this.value = terms.join( ", " );
|
112
|
-
return false;
|
113
|
-
}
|
114
|
-
})
|
73
|
+
page_options.init(false, '', '');
|
115
74
|
});
|
@@ -1,73 +1,22 @@
|
|
1
|
-
.
|
2
|
-
background-image: image_url('refinery/blog/icons/comments.png');
|
3
|
-
}
|
4
|
-
.comment_icon {
|
5
|
-
background-image: image_url('refinery/blog/icons/comment.png');
|
6
|
-
}
|
7
|
-
.comment_cross_icon {
|
8
|
-
background-image: image_url('refinery/blog/icons/comment_cross.png');
|
9
|
-
}
|
10
|
-
.comment_tick_icon {
|
11
|
-
background-image: image_url('refinery/blog/icons/comment_tick.png');
|
12
|
-
}
|
13
|
-
.folder_icon {
|
14
|
-
background-image: image_url('refinery/blog/icons/folder.png');
|
15
|
-
}
|
16
|
-
.folder_add_icon {
|
17
|
-
background-image: image_url('refinery/blog/icons/folder_add.png');
|
18
|
-
}
|
19
|
-
.folder_edit_icon {
|
20
|
-
background-image: image_url('refinery/blog/icons/folder_edit.png');
|
21
|
-
}
|
22
|
-
.settings_icon {
|
23
|
-
background-image: image_url('refinery/blog/icons/cog.png');
|
24
|
-
}
|
25
|
-
.page_icon {
|
26
|
-
background-image: image_url('refinery/blog/icons/page.png');
|
27
|
-
}
|
28
|
-
.page_copy_icon {
|
29
|
-
background-image: image_url('refinery/blog/icons/page_copy.png');
|
30
|
-
}
|
31
|
-
.page_add_icon {
|
32
|
-
background-image: image_url('refinery/blog/icons/page_add.png');
|
33
|
-
}
|
34
|
-
ul.collapsible_menu li {
|
35
|
-
position: relative;
|
36
|
-
}
|
37
|
-
ul.collapsible_menu li span.arrow {
|
38
|
-
background-repeat: no-repeat;
|
39
|
-
position: absolute;
|
40
|
-
right: 10px;
|
41
|
-
top: 13px;
|
42
|
-
width: 11px;
|
43
|
-
height: 7px;
|
44
|
-
cursor: pointer;
|
45
|
-
}
|
46
|
-
ul.collapsible_menu li span.arrow {
|
47
|
-
background-image: image_url('refinery/blog/icons/up.gif');
|
48
|
-
}
|
49
|
-
ul.collapsible_menu li.closed span.arrow {
|
50
|
-
background-image: image_url('refinery/blog/icons/down.gif');
|
51
|
-
}
|
52
|
-
ul.collapsible_menu > div {
|
53
|
-
width: 93%;
|
54
|
-
margin: 0px auto;
|
55
|
-
}
|
56
|
-
ul.blog_categories{
|
1
|
+
ul.blog_categories {
|
57
2
|
height:200px;
|
58
3
|
overflow:auto;
|
59
4
|
border:1px solid #ccc;
|
60
5
|
padding:5px;
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
6
|
+
&, li {
|
7
|
+
list-style: none;
|
8
|
+
margin:5px 0;
|
9
|
+
}
|
65
10
|
}
|
66
11
|
a#copy_body_link {
|
67
|
-
background: image_url('refinery/
|
12
|
+
background: image_url('refinery/icons/add.png') no-repeat scroll 0 6px transparent;
|
68
13
|
border-bottom: 0 none;
|
69
14
|
display: inline;
|
70
15
|
line-height: 29px;
|
71
16
|
margin-top: 0;
|
72
17
|
padding-left: 20px;
|
73
18
|
}
|
19
|
+
.form-actions a.confirm-delete, #content .form-actions a.confirm-delete {
|
20
|
+
position: relative;
|
21
|
+
right: auto;
|
22
|
+
}
|
@@ -1,20 +1,22 @@
|
|
1
|
-
.blog_post
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
}
|
6
|
-
.post_categories
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
1
|
+
.blog_post {
|
2
|
+
header, footer {
|
3
|
+
width: auto;
|
4
|
+
}
|
5
|
+
}
|
6
|
+
.post_categories {
|
7
|
+
.filled_in {
|
8
|
+
display: inline;
|
9
|
+
}
|
10
|
+
ul {
|
11
|
+
margin: 0px 0px 0px 6px;
|
12
|
+
padding: 0px;
|
13
|
+
display: inline;
|
14
|
+
li {
|
15
|
+
margin: 0px;
|
16
|
+
padding: 0px;
|
17
|
+
display: inline;
|
18
|
+
}
|
19
|
+
}
|
18
20
|
}
|
19
21
|
.field.message_field label {
|
20
22
|
vertical-align: top;
|
@@ -25,69 +27,78 @@
|
|
25
27
|
background: image_url('refinery/blog/rss-feed.png') no-repeat;
|
26
28
|
}
|
27
29
|
#next_prev_article{
|
28
|
-
overflow:hidden;
|
29
|
-
margin:10px 0;
|
30
|
-
position:relative;
|
31
|
-
height:30px;
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
30
|
+
overflow: hidden;
|
31
|
+
margin: 10px 0;
|
32
|
+
position: relative;
|
33
|
+
height: 30px;
|
34
|
+
a {
|
35
|
+
display: block;
|
36
|
+
width: 33%;
|
37
|
+
height: 30px;
|
38
|
+
line-height: 30px;
|
39
|
+
position: absolute;
|
40
|
+
top:0;
|
41
|
+
&.prev {
|
42
|
+
left:0;
|
43
|
+
}
|
44
|
+
&.home {
|
45
|
+
left: 33%;
|
46
|
+
text-align: center;
|
47
|
+
}
|
48
|
+
&.next {
|
49
|
+
text-align: right;
|
50
|
+
right:0;
|
51
|
+
}
|
52
|
+
}
|
51
53
|
}
|
52
|
-
|
53
54
|
#message, .flash {
|
54
55
|
padding: 8px 8px 8px 30px;
|
55
56
|
margin-bottom: 15px;
|
56
57
|
position: relative;
|
57
58
|
}
|
58
|
-
.
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
}
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
}
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
}
|
87
|
-
|
88
|
-
|
89
|
-
|
59
|
+
.flash {
|
60
|
+
&.flash_notice {
|
61
|
+
&, * {
|
62
|
+
color: #00A017;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
&.flash_notice, &.flash_message {
|
66
|
+
border: 1px solid #00A017;
|
67
|
+
color: #00A017;
|
68
|
+
background: 7px 7px no-repeat image_url('refinery/icons/accept.png') #E0F5E0;
|
69
|
+
}
|
70
|
+
&.flash_notice #flash_close, &.flash_error #flash_close {
|
71
|
+
text-transform: lowercase;
|
72
|
+
}
|
73
|
+
&.flash_message {
|
74
|
+
background: #E0F5E0;
|
75
|
+
padding: 9px;
|
76
|
+
position: relative;
|
77
|
+
margin-bottom: 32px;
|
78
|
+
h2 {
|
79
|
+
margin-top: 12px;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
a {
|
83
|
+
&, &:hover {
|
84
|
+
color: #e20003;
|
85
|
+
border-bottom-color: #e20003;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
&.flash_error {
|
89
|
+
border: 1px solid #A00027;
|
90
|
+
color: #A00027;
|
91
|
+
background: 7px 7px no-repeat image_url('refinery/icons/cancel.png') #FFB1B1;
|
92
|
+
a {
|
93
|
+
&, &:hover {
|
94
|
+
display: none;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
&.flash_message {
|
99
|
+
&, & * {
|
100
|
+
color: #262719;
|
101
|
+
font-size: 14px;
|
102
|
+
}
|
103
|
+
}
|
90
104
|
}
|
91
|
-
.flash.flash_error a, .flash.flash_error a:hover {
|
92
|
-
display: none;
|
93
|
-
} /* FLASH MESSAGES */
|