Eliminate menu custom button styles

Instead use standard button with round modifier.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2359/head
Alex Coles 10 years ago
parent 04d06681cb
commit 53a6debc05
  1. 15
      app/assets/stylesheets/layout/_main_menu.sass
  2. 5
      app/assets/stylesheets/open_project_global/_variables.sass
  3. 2
      app/views/activities/index.html.erb
  4. 2
      app/views/versions/index.html.erb

@ -251,21 +251,6 @@ $toggler-width: 40px
a:hover
text-decoration: underline
input.button-small
margin-top: 14px
background: $main-menu-sidebar-button-bg-color
border-radius: 25px
-webkit-border-radius: 25px
padding: 3px 7px
color: $main-menu-sidebar-button-font-color
border: none
cursor: pointer
@include main-menu-font
@include default-transition
&:hover
background: $main-menu-sidebar-button-hover-bg-color
color: $main-menu-sidebar-button-hover-font-color
ul
border: none
overflow-x: hidden

@ -107,11 +107,6 @@ $main-menu-sidebar-link-color: #333333 !default
$main-menu-sidebar-h3-border-top-color: #1F4654 !default
$main-menu-sidebar-h3-font-size: 15px !default
$main-menu-sidebar-button-font-color: #FFFFFF !default
$main-menu-sidebar-button-hover-font-color: #FFFFFF !default
$main-menu-sidebar-button-bg-color: #06799F !default
$main-menu-sidebar-button-hover-bg-color: #053242 !default
$breadcrumb-height: 40px !default
$breadcrumb-bg-color: #F8F8F8 !default
$breadcrumb-border-color: #E7E7E7 !default

@ -94,7 +94,7 @@ See doc/COPYRIGHT.rdoc for more details.
<% end %>
<%= hidden_field_tag('user_id', params[:user_id]) unless params[:user_id].blank? %>
<%= hidden_field_tag('apply', true) %>
<p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
<p><%= submit_tag l(:button_apply), :class => 'button -tiny -round -highlight', :name => nil %></p>
<% end %>
<% end %>

@ -71,7 +71,7 @@ See doc/COPYRIGHT.rdoc for more details.
<%= hidden_field_tag 'with_subprojects', 0 %>
<br /><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label>
<% end %>
<p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
<p><%= submit_tag l(:button_apply), :class => 'button -tiny -round -highlight', :name => nil %></p>
<% end %>
<h3><%= l(:label_version_plural) %></h3>

Loading…
Cancel
Save