we should have non-input-buttons that are styled the same for calls to action

pull/1/head
Andromeda Yelton 2012-08-24 15:14:08 -04:00
parent 4643bf4ac5
commit 07a50bfa45
2 changed files with 15 additions and 5 deletions

View File

@ -215,17 +215,22 @@ img {
border: none; border: none;
} }
input, input,
textarea { textarea,
a.fakeinput {
border: 2px solid #d6dde0; border: 2px solid #d6dde0;
-moz-border-radius: 5px; -moz-border-radius: 5px;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
border-radius: 5px; border-radius: 5px;
} }
input:focus, input:focus,
textarea:focus { textarea:focus,
a.fakeinput:focus {
border: 2px solid #8dc63f; border: 2px solid #8dc63f;
outline: none; outline: none;
} }
a.fakeinput:hover {
text-decoration: none;
}
.js-search input { .js-search input {
-moz-border-radius: 0; -moz-border-radius: 0;
-webkit-border-radius: 0; -webkit-border-radius: 0;
@ -259,7 +264,8 @@ h3.jsmod-title span {
padding: 26px 40px 27px 20px; padding: 26px 40px 27px 20px;
display: block; display: block;
} }
input[type="submit"] { input[type="submit"],
a.fakeinput {
background: #8dc63f; background: #8dc63f;
color: white; color: white;
font-weight: bold; font-weight: bold;

View File

@ -122,7 +122,7 @@ img {
border:none; border:none;
} }
input, textarea { input, textarea, a.fakeinput {
border: 2px solid @blue-grey; border: 2px solid @blue-grey;
.one-border-radius(5px); .one-border-radius(5px);
@ -132,6 +132,10 @@ input, textarea {
} }
} }
a.fakeinput:hover {
text-decoration: none;
}
.js-search input { .js-search input {
.one-border-radius(0); .one-border-radius(0);
} }
@ -170,7 +174,7 @@ h3 {
} }
} }
input[type="submit"] { input[type="submit"], a.fakeinput {
background: @call-to-action; background: @call-to-action;
color: white; color: white;
font-weight: bold; font-weight: bold;