Commit b03e518

Stephen Peasley <s@stephenpeasley.com>
2015-01-28 03:17:25
Use bare class for secondary/ternary buttons
1 parent 703e182
Changed files (3)
app
assets
stylesheets
views
registrations
sessions
app/assets/stylesheets/global.scss
@@ -1,7 +1,13 @@
 /* ---------------------------------------------- */
 /* Buttons -------------------------------------- */
 /* ---------------------------------------------- */
-.ternary {
-	@extend .button.small.secondary.radius;
+.button.bare, .button.bare:hover, .button.bare:active,
+.button.bare:visited, .button.bare:focus {
 	background-color: transparent;
+	border-color: transparent;
+	padding-right: 1.5rem;
+	padding-left: 1.5rem;
+}
+.button.bare:hover {
+	text-decoration: underline;
 }
\ No newline at end of file
app/views/registrations/new.html.erb
@@ -23,7 +23,7 @@
   </div> <!-- /.small-12 -->
   <div class="small-12 columns">
     <%= f.submit t('.register_button'), class: "button"  %>
-    <p><%= link_to t('.login_link'), new_session_path, class: "button ternary" %></p>
+    <%= link_to t('.login_link'), new_session_path, class: "button secondary bare" %>
   </div> <!-- /.small-12 -->
 <% end %>
 </div> <!-- /.row -->
app/views/sessions/new.html.erb
@@ -12,7 +12,7 @@
   </div> <!-- /.small-12 -->
   <div class="small-12 columns">
     <%= f.submit t('.login_button'), class: "button"  %>
-    <%= link_to t('.register_link'), new_registration_path, class: "button secondary" %>
+    <%= link_to t('.register_link'), new_registration_path, class: "button secondary bare" %>
   </div> <!-- /.small-12 -->
 <% end %>
 </div> <!-- /.row -->
\ No newline at end of file