fixed button styling

This commit is contained in:
danielvincent 2011-01-28 17:41:12 -08:00
parent ac4880cb0d
commit e3f4ae1cc7
2 changed files with 12 additions and 8 deletions

View file

@ -26,5 +26,5 @@
= asp.check_box :contacts_visible = asp.check_box :contacts_visible
%br %br
%div{:style => "text-align:right;"} %div{:style => "text-align:right;"}
= asp.submit t('.save') = asp.submit t('.save'), :class => 'button'

View file

@ -10,7 +10,7 @@
:display inline :display inline
:padding 4px 7px :padding 6px 6px
:min-width 26px :min-width 26px
:font-size 12px :font-size 12px
@ -20,22 +20,26 @@
:min-height 10px :min-height 10px
:background
:color #ccc
:background -webkit-gradient(linear, 0% 39%, 0% 100%, from(#F6F6F6), to(#d0d0d0)) :background -webkit-gradient(linear, 0% 39%, 0% 100%, from(#F6F6F6), to(#d0d0d0))
:background -moz-linear-gradient(top, #F6F6F6, #d0d0d0) :background -moz-linear-gradient(top, #F6F6F6, #d0d0d0)
:border 1px solid #aaa :border 1px solid #aaa
:top 1px solid #bbb :top 1px solid #ccc
:bottom 1px solid #888 :bottom 1px solid #666
:border-radius 4px :-webkit-border-radius 3px
:-moz-border-radius 4px :-moz-border-radius 3px
:-webkit-border-radius 4px :border-radius 3px
:cursor default :cursor pointer
:color #444 :color #444
&:hover &:hover
:text
:decoration none
:color #444 :color #444
:background -webkit-gradient(linear, 0% 39%, 0% 100%, from(#D6D6D6), to(#b0b0b0)) :background -webkit-gradient(linear, 0% 39%, 0% 100%, from(#D6D6D6), to(#b0b0b0))
:background -moz-linear-gradient(top, #D6D6D6, #b0b0b0) :background -moz-linear-gradient(top, #D6D6D6, #b0b0b0)