Permalink
Browse files

RSVP Button

  • Loading branch information...
1 parent 127b08d commit 6a50c09ebaeac3ddf656a909020cf7394e082892 Phil LaPier committed Feb 4, 2011
Showing with 38 additions and 3 deletions.
  1. +1 −3 app/views/parties/show.html.erb
  2. +16 −0 public/stylesheets/sass/screen.scss
  3. +21 −0 public/stylesheets/screen.css
@@ -6,13 +6,11 @@
<% if current_user %>
<%= render :partial => 'form' %>
<% else %>
- <% link_to "/auth/twitter" do %>
<div class="register-button top clearfix">
<div class="hand left"></div>
- <h2><a href="#registration">rsvp via twitter</a></h2>
+ <h2><%= link_to "rsvp here", "/auth/twitter" %></h2>
<div class="hand right"></div>
</div>
- <% end %>
<% end %>
<hr class="alternate" />
@@ -945,6 +945,22 @@ ul.ui-menu {
margin-bottom: 20px;
}
}
+ div.register-button {
+ margin: 0 auto 30px;
+ width: 500px;
+ h2 {
+ margin: 25px 30px 0;
+ a {
+ color: #900;
+ &:hover {
+ color: #900;
+ }
+ }
+ }
+ div.hand.left, div.hand.right {
+ margin: 36px 00px 0px 00px;
+ }
+ }
}
.party-main {
.student {
@@ -163,7 +163,11 @@ hr.space {
display: none;
visibility: hidden; }
+<<<<<<< HEAD
/* Hide only visually, but have it available for screenreaders
+=======
+/* Hide only visually, but have it available for screenreaders
+>>>>>>> RSVP Button
www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden */
.visuallyhidden {
position: absolute !important;
@@ -1278,11 +1282,26 @@ ul.ui-menu {
padding: 30px 0; }
.parties-show #container section#main-continue section#registration header#registration-banner {
margin-bottom: 20px; }
+<<<<<<< HEAD
+=======
+.parties-show #container div.register-button {
+ margin: 0 auto 30px;
+ width: 500px; }
+ .parties-show #container div.register-button h2 {
+ margin: 25px 30px 0; }
+ .parties-show #container div.register-button h2 a {
+ color: #900; }
+ .parties-show #container div.register-button h2 a:hover {
+ color: #900; }
+ .parties-show #container div.register-button div.hand.left, .parties-show #container div.register-button div.hand.right {
+ margin: 36px 00px 0px 00px; }
+>>>>>>> RSVP Button
.parties-show .party-main .student {
padding: 30px; }
.parties-show .party-main .student h2 {
font-size: 16px;
text-align: center; }
+<<<<<<< HEAD
.parties-show #flash {
margin: 0; }
.parties-show #flash #flash_notice {
@@ -1293,3 +1312,5 @@ ul.ui-menu {
color: #000;
margin: 0;
padding: 40px 0 0 0; }
+=======
+>>>>>>> RSVP Button

0 comments on commit 6a50c09

Please sign in to comment.