Skip to content

Commit

Permalink
Modal aesthetics final
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Barnwell committed May 5, 2015
1 parent aa2d2d7 commit 68f00e4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/modals.js
Expand Up @@ -14,6 +14,7 @@ function loadModal(modalTarget) {
draggable: false,
resizeable: false,
width: 500,
closeText: "Not now",
title: null
});
}
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/application.css.scss
Expand Up @@ -10,8 +10,8 @@
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope.
*
*= require_self
*= require jquery-ui/dialog
*= require_self
*/

@import "tws-styles/application";
Expand Down
10 changes: 10 additions & 0 deletions app/assets/stylesheets/static/_modal.scss
@@ -0,0 +1,10 @@
.ui-dialog-titlebar {
padding: 0;
border: 0;
background: white;

.ui-dialog-titlebar-close {
border: none;
background: none;
}
}
2 changes: 1 addition & 1 deletion app/views/shared/_new_sign_up.html.erb
@@ -1,4 +1,4 @@
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: ['sign-up' ] }) do |f| %>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: ['sign-up'] }) do |f| %>
<%= f.text_field :nickname, placeholder: 'Nickname' %>
<%= f.email_field :email, placeholder: 'Email Address' %>
<%= f.password_field :password, placeholder: 'Password' %>
Expand Down
2 changes: 1 addition & 1 deletion lib/assets/stylesheets/tws-styles
Submodule tws-styles updated 1 files
+4 −0 components/_forms.scss

0 comments on commit 68f00e4

Please sign in to comment.