diff --git a/.gitignore b/.gitignore index c73cc8b..fdb6826 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,7 @@ # Ignore all environment files. /.env* - +/public/comment-widget.js # Ignore all logfiles and tempfiles. /log/* /tmp/* diff --git a/app/views/posts/show.html.erb b/app/views/posts/show.html.erb index deefefe..590e4ff 100644 --- a/app/views/posts/show.html.erb +++ b/app/views/posts/show.html.erb @@ -8,6 +8,7 @@

<%= @post.text %> +

@@ -22,6 +23,8 @@ <%= @post.mood %>

<% end %>
+
+ diff --git a/public/bow-bg.gif b/public/bow-bg.gif new file mode 100644 index 0000000..ec98809 Binary files /dev/null and b/public/bow-bg.gif differ diff --git a/public/comment-widget-pink.css b/public/comment-widget-pink.css new file mode 100644 index 0000000..8415ffe --- /dev/null +++ b/public/comment-widget-pink.css @@ -0,0 +1,183 @@ +/* + Below you will be able to freely customize every aspect of the comment widget. + Most aspects of the widget are 100% able to be customized in CSS, but for strong structural changes, + you may have to edit the JavaScript file. + + These are all the classes and IDs at your disposal! + Classes have a c- at the start and IDs have a c_ + You don't need every single one for a good theme, but I tried to give as many options as possible! +*/ +/* + Containers: + #c_widget - The container
for the entire widget + #c_inputArea - The wrapper
around the form + #c_container - The wrapper
around all the comments + + The input form: + #c_form - The whole input
+ #c_widgetTitle - The

title at the top of the form + + .c-inputWrapper- All
wrappers for each label/input pair + .c-label - All