2012-09-10 11:39:34 -04:00
|
|
|
/* #Buttons
|
|
|
|
================================================== */
|
|
|
|
.button,
|
|
|
|
button,
|
|
|
|
input[type="submit"],
|
|
|
|
input[type="reset"],
|
|
|
|
input[type="button"] {
|
2013-01-31 13:49:28 -05:00
|
|
|
@include vertical-gradient($form_button_gradient_start, $form_button_gradient_end);
|
|
|
|
@include button_border($form_button_border_rightbottom, $form_button_border_topleft);
|
|
|
|
@include border-radius($form_button_border_radius);
|
|
|
|
color: $form_button_text_colour;
|
2012-09-10 11:39:34 -04:00
|
|
|
display: inline-block;
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
2013-01-31 13:49:28 -05:00
|
|
|
text-shadow: $form_button_text_shadow;
|
2012-09-10 11:39:34 -04:00
|
|
|
cursor: pointer;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
line-height: normal;
|
|
|
|
padding: 8px 10px;
|
|
|
|
font-family: $form_element_font;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button:hover,
|
|
|
|
button:hover,
|
|
|
|
input[type="submit"]:hover,
|
|
|
|
input[type="reset"]:hover,
|
|
|
|
input[type="button"]:hover {
|
2013-01-31 13:49:28 -05:00
|
|
|
@include vertical-gradient($form_button_hover_gradient_start, $form_button_hover_gradient_end);
|
|
|
|
color: $form_button_hover_text_colour;
|
|
|
|
@include button_border($form_button_hover_border_rightbottom, $form_button_hover_border_topleft);
|
2012-09-10 11:39:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.button:active,
|
|
|
|
button:active,
|
|
|
|
input[type="submit"]:active,
|
|
|
|
input[type="reset"]:active,
|
|
|
|
input[type="button"]:active {
|
2013-01-31 13:49:28 -05:00
|
|
|
@include vertical-gradient($form_button_active_gradient_start, $form_button_active_gradient_end);
|
|
|
|
border: $form_button_active_border;
|
2012-09-10 11:39:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.button.full-width,
|
|
|
|
button.full-width,
|
|
|
|
input[type="submit"].full-width,
|
|
|
|
input[type="reset"].full-width,
|
|
|
|
input[type="button"].full-width {
|
|
|
|
width: 100%;
|
|
|
|
padding-left: 0 !important;
|
|
|
|
padding-right: 0 !important;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Fix for odd Mozilla border & padding issues */
|
|
|
|
button::-moz-focus-inner,
|
|
|
|
input::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* #Forms
|
|
|
|
================================================== */
|
|
|
|
|
|
|
|
form {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"],
|
|
|
|
input[type="password"],
|
|
|
|
input[type="email"],
|
|
|
|
textarea,
|
|
|
|
select {
|
2013-01-31 13:49:28 -05:00
|
|
|
border: $form_input_border;
|
2012-09-10 11:39:34 -04:00
|
|
|
padding: 6px 4px;
|
|
|
|
outline: none;
|
2013-01-31 13:49:28 -05:00
|
|
|
@include border-radius(2px);
|
|
|
|
font: 13px $form_element_font;
|
|
|
|
color: $form_input_text_colour;
|
2012-09-10 11:39:34 -04:00
|
|
|
margin: 0;
|
|
|
|
width: 210px;
|
|
|
|
max-width: 100%;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 20px;
|
2013-01-31 13:49:28 -05:00
|
|
|
background: $form_input_background;
|
2012-09-10 11:39:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"]:focus,
|
|
|
|
input[type="password"]:focus,
|
|
|
|
input[type="email"]:focus,
|
|
|
|
textarea:focus {
|
2013-01-31 13:49:28 -05:00
|
|
|
border: $form_input_focus_border;
|
|
|
|
color: $form_input_focus_text_colour;
|
|
|
|
@include box-shadow(0, 0, 3px, rgba(0, 0, 0, .2))
|
2012-09-10 11:39:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
min-height: 60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
label,
|
|
|
|
legend {
|
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
width: 220px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"] {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
label span,
|
|
|
|
legend span {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 13px;
|
2013-01-31 13:49:28 -05:00
|
|
|
color: $form_label_legend_colour;
|
2012-09-10 11:39:34 -04:00
|
|
|
}
|