diff options
Diffstat (limited to 'theme/admin/css/uni-form-generic.css')
| -rwxr-xr-x | theme/admin/css/uni-form-generic.css | 136 |
1 files changed, 136 insertions, 0 deletions
| diff --git a/theme/admin/css/uni-form-generic.css b/theme/admin/css/uni-form-generic.css new file mode 100755 index 0000000..f9e0f39 --- /dev/null +++ b/theme/admin/css/uni-form-generic.css | |||
| @@ -0,0 +1,136 @@ | |||
| 1 | /* Uni-Form by Dragan Babic [Superawesome Industries] - http: //sprawsm.com/uni-form/ */ | ||
| 2 | /* Some rights reserved - http: //creativecommons.org/licenses/by-sa/2.5/ */ | ||
| 3 | /* Do not edit this file directly, make your changes to uni-form.css in the same folder */ | ||
| 4 | |||
| 5 | /* ------------------------------------------------------------------------------ */ | ||
| 6 | |||
| 7 | .uniForm{ margin: 0; padding: 0; position: relative; z-index: 1; } /* reset stuff */ | ||
| 8 | |||
| 9 | /* Some generals and more resets */ | ||
| 10 | .uniForm fieldset{ border: none; margin: 0; padding: 0; } | ||
| 11 | .uniForm fieldset legend{ margin: 0; padding: 0; } | ||
| 12 | |||
| 13 | /* This is the main unit that contains our form elements */ | ||
| 14 | .uniForm .ctrlHolder, | ||
| 15 | .uniForm .buttonHolder{ margin: 0; padding: 0; clear: both; } | ||
| 16 | |||
| 17 | /* Clear all floats */ | ||
| 18 | .uniForm:after, | ||
| 19 | .uniForm .buttonHolder:after, | ||
| 20 | .uniForm .ctrlHolder:after, | ||
| 21 | .uniForm .ctrlHolder .multiField:after, | ||
| 22 | .uniForm .inlineLabel:after{ content: "."; display: block; height: 0; line-height: 0; font-size: 0; clear: both; min-height: 0; visibility: hidden; } | ||
| 23 | |||
| 24 | /* A class to be used on a label that contains a checkbox or a radio button */ | ||
| 25 | .uniForm .inlineLabel, | ||
| 26 | .uniForm .inlineLabels .inlineLabel, | ||
| 27 | .uniForm .blockLabels .inlineLabel{ width: auto; float: none; margin: 0; display: block; } | ||
| 28 | /* IE shows borders & padding on checkboxes and radio buttons if they are declared on an input element, remove them */ | ||
| 29 | /* Legacy/Inheritance fix */ | ||
| 30 | .uniForm .inlineLabel input, | ||
| 31 | .uniForm .inlineLabels .inlineLabel input, | ||
| 32 | .uniForm .blockLabels .inlineLabel input{ border: none; padding: 0; margin: 0; } | ||
| 33 | |||
| 34 | /* ------------------------------------------------------------------------------ */ | ||
| 35 | |||
| 36 | /* Styles for form controls where labels are above the input elements */ | ||
| 37 | /* Set the class of the parent (preferably to a fieldset) to .blockLabels */ | ||
| 38 | |||
| 39 | .uniForm label, | ||
| 40 | .uniForm .label, | ||
| 41 | .uniForm .blockLabels label, | ||
| 42 | .uniForm .blockLabels .label{ display: block; float: none; padding: 0; line-height: 100%; width: auto; } | ||
| 43 | |||
| 44 | /* Float the input elements */ | ||
| 45 | .uniForm .textInput, | ||
| 46 | .uniForm .blockLabels .textInput, | ||
| 47 | .uniForm .blockLabels .fileUpload, | ||
| 48 | .uniForm .selectInput, | ||
| 49 | .uniForm .blockLabels .selectInput, | ||
| 50 | .uniForm .blockLabels select, | ||
| 51 | .uniForm textarea, | ||
| 52 | .uniForm .blockLabels textarea{ float: left; } | ||
| 53 | |||
| 54 | /* Postition the hints */ | ||
| 55 | .uniForm .formHint, | ||
| 56 | .uniForm .blockLabels .formHint{ float: right; margin: 0; clear: none; } | ||
| 57 | |||
| 58 | /* Position the elements inside combo boxes (multiple selects/checkboxes/radio buttons per unit) */ | ||
| 59 | .uniForm .multiField, | ||
| 60 | .uniForm .blockLabels .multiField{ width: auto; float: left; } | ||
| 61 | .uniForm .multiField .inlineLabel, | ||
| 62 | .uniForm .blockLabels .multiField .inlineLabel{ display: block; margin: 0 0 .5em 0; } | ||
| 63 | .uniForm .multiField .blockLabel, | ||
| 64 | .uniForm .blockLabels .multiField .blockLabel{ float: left; width: auto; margin: 0; } | ||
| 65 | .uniForm .multiField .blockLabel .textInput, | ||
| 66 | .uniForm .multiField .blockLabel .selectInput, | ||
| 67 | .uniForm .multiField .blockLabel select, | ||
| 68 | .uniForm .blockLabels .multiField .blockLabel .textInput, | ||
| 69 | .uniForm .blockLabels .multiField .blockLabel .selectInput, | ||
| 70 | .uniForm .blockLabels .multiField .blockLabel select{ width: 100%; margin: 0; } | ||
| 71 | |||
| 72 | /* ------------------------------------------------------------------------------ */ | ||
| 73 | |||
| 74 | /* Styles for form controls where labels are in line with the input elements */ | ||
| 75 | /* Set the class of the parent (preferably to a fieldset) to .inlineLabels */ | ||
| 76 | .uniForm .inlineLabels label, | ||
| 77 | .uniForm .inlineLabels .label{ float: left; margin: 0; padding: 0; line-height: 100%; position: relative; } | ||
| 78 | |||
| 79 | /* Float the input elements */ | ||
| 80 | .uniForm .inlineLabels .textInput, | ||
| 81 | .uniForm .inlineLabels .fileUpload, | ||
| 82 | .uniForm .inlineLabels .selectInput, | ||
| 83 | .uniForm .inlineLabels select, | ||
| 84 | .uniForm .inlineLabels textarea{ float: left; } | ||
| 85 | |||
| 86 | /* Postition the hints */ | ||
| 87 | .uniForm .inlineLabels .formHint{ clear: both; float: none; } | ||
| 88 | .uniForm .inlineLabels .multiField{ float: left; } | ||
| 89 | .uniForm .inlineLabels .multiField .inlineLabel{} | ||
| 90 | .uniForm .inlineLabels .multiField .blockLabel{} | ||
| 91 | .uniForm .inlineLabels .multiField .blockLabel .textInput, | ||
| 92 | .uniForm .inlineLabels .multiField .blockLabel .selectInput, | ||
| 93 | .uniForm .inlineLabels .multiField .blockLabel select{ display: block; width: 100%; float: none; } | ||
| 94 | .uniForm .inlineLabels .multiField select{ float: left; } | ||
| 95 | |||
| 96 | /* ------------------------------------------------------------------------------ */ | ||
| 97 | |||
| 98 | /* Required fields asterisk styling for .blockLabels */ | ||
| 99 | .uniForm label em, | ||
| 100 | .uniForm .label em, | ||
| 101 | .uniForm .blockLabels label em, | ||
| 102 | .uniForm .blockLabels .label em{ position: absolute; left: -7px; } | ||
| 103 | |||
| 104 | /* Required fields asterisk styling for .inlineLabels */ | ||
| 105 | .uniForm .inlineLabels label em, | ||
| 106 | .uniForm .inlineLabels .label em{ display: block; position: absolute; left: auto; right: 0; font-style: normal; font-weight: bold; } | ||
| 107 | .uniForm .inlineLabel em{ position: absolute; left: 7px; } | ||
| 108 | |||
| 109 | /* ------------------------------------------------------------------------------ */ | ||
| 110 | |||
| 111 | /* Messages */ | ||
| 112 | .uniForm #errorMsg, | ||
| 113 | .uniForm .error{ | ||
| 114 | } | ||
| 115 | .uniForm #errorMsg dt, | ||
| 116 | .uniForm #errorMsg h3{ | ||
| 117 | } | ||
| 118 | .uniForm #errorMsg dd{ | ||
| 119 | } | ||
| 120 | .uniForm #errorMsg ol{ | ||
| 121 | } | ||
| 122 | .uniForm #errorMsg ol li{ | ||
| 123 | } | ||
| 124 | .uniForm .errorField{ | ||
| 125 | } | ||
| 126 | |||
| 127 | .uniForm #OKMsg{ | ||
| 128 | } | ||
| 129 | |||
| 130 | /* ------------------------------------------------------------------------------ */ | ||
| 131 | |||
| 132 | /* Columns */ | ||
| 133 | |||
| 134 | .uniForm .col{ float: left; } | ||
| 135 | .uniForm .col.first{} | ||
| 136 | .uniForm .col.last{} \ No newline at end of file | ||
