2012-10-04 06:15:59 +02:00
|
|
|
/** ----------------------------------------------------------
|
|
|
|
*
|
|
|
|
* This stylesheet includes both generic form styles and
|
|
|
|
* additional form styles for the User Defined Form Module.
|
|
|
|
*
|
|
|
|
** ------------------------------------------------------- */
|
2012-07-06 05:24:53 +02:00
|
|
|
|
2012-07-09 11:22:11 +02:00
|
|
|
|
2012-10-04 06:15:59 +02:00
|
|
|
/* GENERIC FORMS
|
|
|
|
----------------------------------------------- */
|
2012-07-09 11:22:11 +02:00
|
|
|
|
2012-10-04 06:15:59 +02:00
|
|
|
form {
|
|
|
|
max-width: 500px;
|
|
|
|
width: 50%;
|
2012-06-15 19:16:49 +02:00
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
div.field {
|
|
|
|
margin: 10px 0 15px;
|
2012-06-15 19:16:49 +02:00
|
|
|
}
|
2012-10-05 07:37:18 +02:00
|
|
|
fieldset {
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
form label {
|
|
|
|
margin-bottom: 5px;
|
2012-06-15 19:16:49 +02:00
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
form label.left {
|
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
form label.right {
|
|
|
|
font-size: 12px;
|
|
|
|
color: #888;
|
|
|
|
}
|
2012-10-05 07:37:18 +02:00
|
|
|
|
2012-06-15 19:16:49 +02:00
|
|
|
form input.text,
|
|
|
|
form textarea,
|
2012-10-05 07:37:18 +02:00
|
|
|
form .textajaxuniquetext, /* Not sure if this is used? */
|
2012-06-15 19:16:49 +02:00
|
|
|
form select {
|
2012-10-04 06:15:59 +02:00
|
|
|
width: 100%;
|
|
|
|
max-width: 400px;
|
|
|
|
padding: 6px 5px;
|
2012-06-15 19:16:49 +02:00
|
|
|
font-size: 15px;
|
2012-10-04 06:15:59 +02:00
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid #dad9d9;
|
2012-06-15 19:16:49 +02:00
|
|
|
}
|
2012-10-05 07:37:18 +02:00
|
|
|
.ie7 form select { width: 400px; }
|
|
|
|
|
2012-07-06 05:24:53 +02:00
|
|
|
form input.text:focus,
|
|
|
|
form textarea:focus,
|
|
|
|
form .textajaxuniquetext:focus,
|
|
|
|
form select:focus {
|
|
|
|
outline:none;
|
|
|
|
}
|
2012-07-09 11:22:11 +02:00
|
|
|
form input[disabled], form textarea[disabled] {
|
2012-06-15 19:16:49 +02:00
|
|
|
background-color: #f7f7f7;
|
|
|
|
border: 1px solid #dad9d9;
|
|
|
|
}
|
2012-10-05 07:37:18 +02:00
|
|
|
textarea {
|
|
|
|
resize: vertical;
|
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* Radio and Checkbox */
|
|
|
|
.field .checkbox, .field .radio {
|
|
|
|
float: left;
|
|
|
|
width: 13px;
|
|
|
|
height: 13px;
|
|
|
|
margin-right: 6px;
|
|
|
|
margin-top: 3px;
|
|
|
|
padding: 0;
|
2012-06-15 19:16:49 +02:00
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
.checkbox label.right,
|
|
|
|
.radio label.right {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Messages */
|
|
|
|
form .message {
|
|
|
|
background-color: #fef4ba;
|
|
|
|
padding: 5px 10px;
|
|
|
|
border: 1px solid #e8c805;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
form .good {
|
|
|
|
background-color: #ecf9d0;
|
|
|
|
border-color: #8fbe00;
|
|
|
|
}
|
|
|
|
form .bad, form .required {
|
|
|
|
background-color: #f9d0d0;
|
|
|
|
border-color: #cf0000;
|
|
|
|
color: #b80000;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ACTIONS */
|
|
|
|
.Actions {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
a.btn, button, input[type="submit"], .Actions .action {
|
|
|
|
background: #b80000;
|
|
|
|
color: #fff;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 6px 15px;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 1px;
|
|
|
|
border: none;
|
|
|
|
font-size: 13px;
|
|
|
|
margin-right: 10px;
|
2012-10-05 07:37:18 +02:00
|
|
|
float: left;
|
2012-10-04 06:15:59 +02:00
|
|
|
}
|
|
|
|
a.btn:hover, button, input[type="submit"]:hover, .Actions .action:hover {
|
2012-10-05 07:37:18 +02:00
|
|
|
background: #C80000;
|
2012-10-04 06:15:59 +02:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
a.btn {
|
|
|
|
line-height: 18px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2012-10-05 07:37:18 +02:00
|
|
|
a.btn:after { /* creates arrow in button */
|
2012-10-04 06:15:59 +02:00
|
|
|
content: '\2192';
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
2012-10-05 07:37:18 +02:00
|
|
|
.ie7 input.action {
|
|
|
|
width: 0; /* IE table-cell margin fix */
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
input.action[class] { /* IE ignores [class] */
|
|
|
|
width: auto; /* cancel margin fix for other browsers */
|
|
|
|
}
|
|
|
|
|
|
|
|
.ie7 .Actions .action {
|
|
|
|
float: left;
|
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
.Actions:after {
|
|
|
|
color: #B94A48;
|
|
|
|
content: "* Indicates a required field";
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: normal;
|
|
|
|
margin-top: 9px;
|
|
|
|
}
|
|
|
|
#MemberLoginForm_LoginForm .Actions:after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* AREA SPECIFIC */
|
|
|
|
/* LOGIN and FORGOT PASSWORD */
|
|
|
|
#Remember {
|
|
|
|
min-height: 20px;
|
|
|
|
}
|
2012-10-05 07:37:18 +02:00
|
|
|
#ForgotPassword {
|
|
|
|
clear: left;
|
|
|
|
}
|
|
|
|
#MemberLoginForm_LostPasswordForm .Actions:after {
|
|
|
|
display: none;
|
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
|
|
|
|
/* Search / Login */
|
|
|
|
.header form .middleColumn {
|
|
|
|
/* float: none;
|
|
|
|
width: 100% !important; */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* USER DEFINED USER FORM MODULE STYLES
|
|
|
|
----------------------------------------------- */
|
|
|
|
|
|
|
|
/*Generic and mixed*/
|
|
|
|
.FormHeading {
|
|
|
|
clear: both;
|
|
|
|
padding-top: 15px;
|
2012-06-15 19:16:49 +02:00
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
form .date .middleColumn input {
|
2012-10-05 07:37:18 +02:00
|
|
|
/*background: transparent url(../images/icons/your_icon_here.png) no-repeat scroll 90px 5px;*/
|
2012-10-04 06:15:59 +02:00
|
|
|
width: 114px;
|
|
|
|
}
|
|
|
|
.Actions input.resetformaction { /* Clear button */
|
|
|
|
float: left;
|
|
|
|
background-color: #888;
|
|
|
|
}
|
|
|
|
.Actions input.resetformaction:hover { /* Clear button */
|
|
|
|
background-color: #aaa;
|
2012-06-15 19:16:49 +02:00
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
|
|
|
|
/* Labels */
|
|
|
|
.checkbox label.right {
|
|
|
|
font-size: 13px; /* reset to default */
|
|
|
|
color: #333; /* reset to default */
|
|
|
|
}
|
|
|
|
form .requiredField label.left:after {
|
|
|
|
color: #B94A48;
|
|
|
|
content: "*";
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: normal;
|
|
|
|
padding-left: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Radio / Checkbox */
|
2012-07-06 05:24:53 +02:00
|
|
|
form .checkboxset ul,
|
|
|
|
form .optionset ul {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
form .checkboxset li,
|
|
|
|
form .optionset li {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
list-style-type:none;
|
|
|
|
}
|
2012-10-25 00:39:16 +02:00
|
|
|
form div.checkbox:after {
|
|
|
|
content: ".";
|
|
|
|
display: block;
|
|
|
|
height: 0;
|
|
|
|
clear: both;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
form .checkbox .checkbox { clear: both; }
|
2012-07-06 05:24:53 +02:00
|
|
|
|
2012-10-04 06:15:59 +02:00
|
|
|
/* Messages */
|
|
|
|
span.message {
|
|
|
|
margin: 10px 0;
|
|
|
|
display: block;
|
|
|
|
max-width: 390px;
|
|
|
|
clear: left;
|
2012-07-06 05:24:53 +02:00
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
div.holder-required { /* This class needs to be changed - is used for both input and div */
|
|
|
|
/* background-color: #f9d0d0;
|
|
|
|
border: 1px solid #cf0000;
|
|
|
|
padding: 10px;
|
|
|
|
margin-left: -11px; */
|
2012-07-06 05:24:53 +02:00
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
form input.holder-required { /* This class needs to be changed - is used for both input and div */
|
|
|
|
border: 1px solid #cf0000;
|
2012-07-09 11:22:11 +02:00
|
|
|
}
|
|
|
|
|
2012-10-04 06:15:59 +02:00
|
|
|
/* Error messages */
|
|
|
|
input:invalid,
|
|
|
|
textarea:invalid {
|
|
|
|
border-radius: 1px;
|
|
|
|
-moz-box-shadow: 0px 0px 5px red;
|
|
|
|
-webkit-box-shadow: 0px 0px 5px red;
|
|
|
|
box-shadow: 0px 0px 5px red;
|
2012-07-09 11:22:11 +02:00
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
.no-boxshadow input:invalid,
|
|
|
|
.no-boxshadow textarea:invalid {
|
|
|
|
background-color: #f0dddd
|
2012-07-09 11:22:11 +02:00
|
|
|
}
|
|
|
|
|
2012-10-04 06:15:59 +02:00
|
|
|
/* To test - potentially not needed? */
|
2012-07-09 11:22:11 +02:00
|
|
|
.ss-uploadfield-item-info button{
|
2012-10-04 06:15:59 +02:00
|
|
|
margin-top: 4px !important;
|
|
|
|
float: left;
|
2012-07-09 11:22:11 +02:00
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
form .creditCardField input,
|
|
|
|
form input.currency,
|
|
|
|
form input.numeric {
|
|
|
|
width: 50px;
|
2012-07-06 05:24:53 +02:00
|
|
|
}
|
2012-10-04 06:15:59 +02:00
|
|
|
form #DMYDate-month,
|
|
|
|
form #DMYDate-day {
|
|
|
|
width: 25px
|
2012-06-15 19:16:49 +02:00
|
|
|
}
|
2012-07-06 05:24:53 +02:00
|
|
|
|
2012-10-04 06:15:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Responsive form styles
|
|
|
|
----------------------------------------------- */
|
|
|
|
|
2012-06-15 19:16:49 +02:00
|
|
|
@media only screen and (max-width: 700px) {
|
2012-10-04 06:15:59 +02:00
|
|
|
|
|
|
|
/* To test - potentially not needed? */
|
2012-06-15 19:16:49 +02:00
|
|
|
.header form .middleColumn {
|
|
|
|
float: none;
|
|
|
|
width: 100% !important;
|
|
|
|
}
|
|
|
|
form label.left,
|
|
|
|
#MemberLoginForm_LoginForm label {
|
|
|
|
margin-bottom: 8px
|
|
|
|
}
|
2012-07-06 05:24:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 900px) {
|
|
|
|
form {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-06-15 19:16:49 +02:00
|
|
|
@media only screen and (min-width: 700px) {
|
2012-10-04 06:15:59 +02:00
|
|
|
|
2012-03-27 17:00:47 +02:00
|
|
|
}
|