Les boutons pour soumettre un evt sont graphiquement plus travaillés

This commit is contained in:
echarp 2014-08-25 23:38:09 +02:00
parent d385c5c643
commit 0b3bfa45f1
2 changed files with 9 additions and 5 deletions

View File

@ -163,9 +163,9 @@ label
border: 1px solid darkgray border: 1px solid darkgray
+box-shadow(1px 1px 2px lightgray) +box-shadow(1px 1px 2px lightgray)
+border-radius(0.4em) +border-radius(0.4em)
input, textarea, select, a.button, .select2-container ul input, textarea, select, a.button, button, .select2-container ul
color: black color: black
margin: 3px 0 margin: 3px
border: 1px solid darkgray border: 1px solid darkgray
outline: none outline: none
padding: 2px 4px padding: 2px 4px
@ -181,7 +181,7 @@ input, textarea, select, a.button, .select2-container ul
+box-shadow(none) +box-shadow(none)
&[type=radio] + label &[type=radio] + label
text-align: left text-align: left
&[type=submit], &.button &[type=submit], &.button, button
color: black color: black
border: none border: none
cursor: pointer cursor: pointer

View File

@ -72,5 +72,9 @@
= f.text_field :tags, size: 70 = f.text_field :tags, size: 70
.actions .actions
= f.submit t('.visualise'), formaction: :preview = f.button formaction: :preview do
= f.submit t('.save') %em.fa.fa-eye
=t '.visualise'
= f.button do
%em.fa.fa-check
=t '.save'