Author: humbedooh
Date: Tue Mar 17 10:16:05 2015
New Revision: 1667230
URL: http://svn.apache.org/r1667230
Log:
small style tweaks
Modified:
steve/trunk/www/cgi-bin/cast-vote.pl
steve/trunk/www/htdocs/steve_interactive.css
Modified: steve/trunk/www/cgi-bin/cast-vote.pl
URL:
http://svn.apache.org/viewvc/steve/trunk/www/cgi-bin/cast-vote.pl?rev=1667230&r1=1667229&r2=1667230&view=diff
==============================================================================
--- steve/trunk/www/cgi-bin/cast-vote.pl (original)
+++ steve/trunk/www/cgi-bin/cast-vote.pl Tue Mar 17 10:16:05 2015
@@ -486,7 +486,7 @@ sub stv_form_interactive {
<div id="stv">
<form method="POST">
<b>Your STV order:</b>
- <input type="text" id="vote" name="vote" style="width:
160px; font-family:
+ <input type="text" id="vote" name="vote" style="width:
140px; font-family:
monospace;"/> <input type="submit" class="btn-green"
value="Cast votes"/>
<input type="button" value="Reset" class="btn-red"
onclick="resetList()"/>
</form>
Modified: steve/trunk/www/htdocs/steve_interactive.css
URL:
http://svn.apache.org/viewvc/steve/trunk/www/htdocs/steve_interactive.css?rev=1667230&r1=1667229&r2=1667230&view=diff
==============================================================================
--- steve/trunk/www/htdocs/steve_interactive.css (original)
+++ steve/trunk/www/htdocs/steve_interactive.css Tue Mar 17 10:16:05 2015
@@ -68,6 +68,11 @@ p {
transition: color .1s ease;
cursor: pointer;
}
+.btn-red:hover {
+ background: #d5421b;
+ transition: 0.3s ease;
+}
+
.btn-green {
background: #328a2b;
border: #328a2b solid 1px;
@@ -80,10 +85,14 @@ p {
text-align: center;
min-width: 50px;
position: relative;
- transition: color .1s ease;
+ transition: color .2s ease;
cursor: pointer;
}
+.btn-green:hover {
+ background: #52Aa2b;
+ transition: 0.3s ease;
+}
.btn:hover {
background: #357ebd;
}