Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: donate.html

Issue 5071246102364160: Issue 1676 - Search field and button misaligned on donations page (Closed)
Patch Set: Created Dec. 8, 2014, 8:23 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: donate.html
===================================================================
--- a/donate.html
+++ b/donate.html
@@ -31,20 +31,21 @@ h2
label
{
display: block;
}
input
{
- vertical-align: top;
+ vertical-align: center;
Thomas Greiner 2014/12/09 10:03:40 This value is invalid because the correct value is
Wladimir Palant 2014/12/09 20:42:11 You are right, what I was testing here was vertica
}
-button, label
+#form button,
+#form-fields label
{
display: inline-block;
margin-bottom: 0;
font-weight: 400;
text-align: center;
vertical-align: middle;
cursor: pointer;
background-image: none;
@@ -58,23 +59,23 @@ button, label
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: #333;
background-color: #fff;
border-color: #ccc;
}
-button:hover
+#form button:hover
{
background-color: #ebebeb;
border-color: #adadad;
}
-button:active
+#form button:active
{
background-color: #ebebeb;
border-color: #adadad;
outline: 0;
-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}
@@ -166,24 +167,25 @@ button:active
#form.credit-card #form-recurrence,
#form.bitcoin #form-currency,
#form.bitcoin #form-price
{
display: none;
}
-#donate
+/* This cannot be #donate because specificity is too low */
+#form #donate
{
color: #fff;
background-color: #5cb85c;
border-color: #4cae4c;
}
-#donate:hover
+#form #donate:hover
{
background-color: #47a447;
border-color: #398439;
}
#error
{
color: #d9534f;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld