styles/art_air_green/theme/layout_forms.css
changeset 13 118ae93ae3fe
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/styles/art_air_green/theme/layout_forms.css	Fri Mar 09 16:14:29 2012 +0400
     1.3 @@ -0,0 +1,411 @@
     1.4 +/* Form Styles
     1.5 +---------------------------------------- */
     1.6 +
     1.7 +/* General form styles
     1.8 +----------------------------------------*/
     1.9 +fieldset {
    1.10 +	border-width: 0;
    1.11 +}
    1.12 +
    1.13 +input[type="text"], input[type="password"], select, textarea {
    1.14 +	font-weight: normal;
    1.15 +    background: #f4f4f4;
    1.16 +    color: #32b359;
    1.17 +    outline-style: none;
    1.18 +    border: solid 1px #d3d3d3;
    1.19 +    border-radius: 15px;
    1.20 +    -moz-border-radius: 15px;
    1.21 +    -webkit-border-radius: 15px;
    1.22 +    font-family: Arial;
    1.23 +    line-height: 1em;
    1.24 +    padding: 5px 10px 5px 8px;
    1.25 +    font-size: 14px;
    1.26 +    transition-property: border-color, background-color, color;
    1.27 +    -webkit-transition-property: border-color, background-color, color;
    1.28 +    -moz-transition-property: border-color, background-color, color;
    1.29 +    -o-transition-property: border-color, background-color, color;
    1.30 +    -ms-transition-property: border-color, background-color, color;
    1.31 +    transition-duration: 0.25s;
    1.32 +    -webkit-transition-duration: 0.25s;
    1.33 +    -moz-transition-duration: 0.25s;
    1.34 +    -o-transition-duration: 0.25s;
    1.35 +    -ms-transition-duration: 0.25s;
    1.36 +}
    1.37 +.quick-login input[type="text"] { background-color: #eee; }
    1.38 +
    1.39 +input[type="text"]:hover, input[type="password"]:hover, select:hover, textarea:hover {
    1.40 +    border-color: #e2b29a;
    1.41 +    background-color: #f8f8f8;
    1.42 +}
    1.43 +input[type="text"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
    1.44 +    border-color: #e2b29a;
    1.45 +    background-color: #fff;
    1.46 +    color: #000;
    1.47 +}
    1.48 +
    1.49 +input {
    1.50 +	cursor: pointer;
    1.51 +	vertical-align: middle;
    1.52 +	padding: 0 3px;
    1.53 +	font-size: 12px;
    1.54 +}
    1.55 +
    1.56 +select {
    1.57 +	cursor: pointer;
    1.58 +	vertical-align: middle;
    1.59 +	padding-top: 4px;
    1.60 +	padding-bottom: 4px;
    1.61 +	max-width: 400px;
    1.62 +}
    1.63 +
    1.64 +option {
    1.65 +	padding-right: 1em;
    1.66 +}
    1.67 +
    1.68 +option.disabled-option {
    1.69 +	color: #999;
    1.70 +}
    1.71 +
    1.72 +textarea {
    1.73 +	width: 60%;
    1.74 +	padding: 6px 4px;
    1.75 +	line-height: 1.4em;
    1.76 +}
    1.77 +
    1.78 +label {
    1.79 +	cursor: default;
    1.80 +	padding-right: 5px;
    1.81 +}
    1.82 +
    1.83 +label input {
    1.84 +	vertical-align: middle;
    1.85 +}
    1.86 +
    1.87 +label img {
    1.88 +	vertical-align: middle;
    1.89 +}
    1.90 +
    1.91 +/* Definition list layout for forms
    1.92 +---------------------------------------- */
    1.93 +fieldset dl {
    1.94 +	padding: 4px 0;
    1.95 +}
    1.96 +
    1.97 +fieldset dt {
    1.98 +	float: left;	
    1.99 +	width: 40%;
   1.100 +	text-align: left;
   1.101 +	display: block;
   1.102 +}
   1.103 +
   1.104 +fieldset dd {
   1.105 +	margin-left: 41%;
   1.106 +	vertical-align: top;
   1.107 +	margin-bottom: 3px;
   1.108 +}
   1.109 +
   1.110 +/* Specific layout 1 */
   1.111 +fieldset.fields1 dt {
   1.112 +	width: 15em;
   1.113 +	border-right-width: 0;
   1.114 +}
   1.115 +
   1.116 +fieldset.fields1 dd {
   1.117 +	margin-left: 15em;
   1.118 +	border-left-width: 0;
   1.119 +}
   1.120 +
   1.121 +fieldset.fields1 {
   1.122 +	background-color: transparent;
   1.123 +}
   1.124 +
   1.125 +fieldset.fields1 div {
   1.126 +	margin-bottom: 3px;
   1.127 +}
   1.128 +
   1.129 +/* Set it back to 0px for the reCaptcha divs: PHPBB3-9587 */
   1.130 +fieldset.fields1 #recaptcha_widget_div div {
   1.131 +	margin-bottom: 0;
   1.132 +}
   1.133 +
   1.134 +/* Specific layout 2 */
   1.135 +fieldset.fields2 dt {
   1.136 +	width: 15em;
   1.137 +	border-right-width: 0;
   1.138 +}
   1.139 +
   1.140 +fieldset.fields2 dd {
   1.141 +	margin-left: 16em;
   1.142 +	border-left-width: 0;
   1.143 +}
   1.144 +
   1.145 +/* Form elements */
   1.146 +dt label {
   1.147 +	font-weight: bold;
   1.148 +	color: #444;
   1.149 +	font-size: 12px;
   1.150 +    font-family: Arial;
   1.151 +	text-align: left;
   1.152 +}
   1.153 +
   1.154 +dd label {
   1.155 +	white-space: nowrap;
   1.156 +}
   1.157 +
   1.158 +dd input, dd textarea {
   1.159 +	margin-right: 3px;
   1.160 +}
   1.161 +
   1.162 +dd select {
   1.163 +	width: auto;
   1.164 +}
   1.165 +
   1.166 +dd textarea {
   1.167 +	width: 85%;
   1.168 +}
   1.169 +
   1.170 +#timezone {
   1.171 +	width: 95%;
   1.172 +}
   1.173 +
   1.174 +/* Quick-login on index page */
   1.175 +fieldset.quick-login {
   1.176 +	margin-top: 5px;
   1.177 +}
   1.178 +
   1.179 +fieldset.quick-login input {
   1.180 +	width: auto;
   1.181 +}
   1.182 +
   1.183 +fieldset.quick-login input.inputbox {
   1.184 +	width: 15%;
   1.185 +	vertical-align: middle;
   1.186 +	margin-right: 5px;
   1.187 +}
   1.188 +
   1.189 +fieldset.quick-login label {
   1.190 +	white-space: nowrap;
   1.191 +	padding-right: 2px;
   1.192 +}
   1.193 +
   1.194 +/* Display options on viewtopic/viewforum pages  */
   1.195 +fieldset.display-options {
   1.196 +	text-align: center;
   1.197 +	margin: 3px 0 5px 0;
   1.198 +}
   1.199 +
   1.200 +fieldset.display-options label {
   1.201 +	white-space: nowrap;
   1.202 +	padding-right: 2px;
   1.203 +}
   1.204 +
   1.205 +fieldset.display-options a {
   1.206 +	margin-top: 3px;
   1.207 +}
   1.208 +
   1.209 +/* Display actions for ucp and mcp pages */
   1.210 +fieldset.display-actions {
   1.211 +	text-align: right;
   1.212 +	line-height: 2em;
   1.213 +	white-space: nowrap;
   1.214 +	padding-right: 1em;
   1.215 +}
   1.216 +
   1.217 +fieldset.display-actions label {
   1.218 +	white-space: nowrap;
   1.219 +	padding-right: 2px;
   1.220 +}
   1.221 +
   1.222 +fieldset.sort-options {
   1.223 +	line-height: 2em;
   1.224 +}
   1.225 +
   1.226 +/* MCP forum selection*/
   1.227 +fieldset.forum-selection {
   1.228 +	margin: 5px 0 3px 0;
   1.229 +	float: right;
   1.230 +}
   1.231 +
   1.232 +fieldset.forum-selection2 {
   1.233 +	margin: 13px 0 3px 0;
   1.234 +	float: right;
   1.235 +}
   1.236 +
   1.237 +/* Jumpbox */
   1.238 +fieldset.jumpbox {
   1.239 +	text-align: right;
   1.240 +	margin-top: 15px;
   1.241 +	height: 2.5em;
   1.242 +}
   1.243 +
   1.244 +fieldset.quickmod {
   1.245 +	width: 50%;
   1.246 +	float: right;
   1.247 +	text-align: right;
   1.248 +	height: 2.5em;
   1.249 +	margin-top: 6px;
   1.250 +}
   1.251 +
   1.252 +/* Submit button fieldset */
   1.253 +fieldset.submit-buttons {
   1.254 +	text-align: center;
   1.255 +	vertical-align: middle;
   1.256 +	margin: 5px 0;
   1.257 +}
   1.258 +
   1.259 +/* Posting page styles
   1.260 +----------------------------------------*/
   1.261 +
   1.262 +/* Buttons used in the editor */
   1.263 +#format-buttons {
   1.264 +	margin: 5px 0 4px 0;
   1.265 +}
   1.266 +
   1.267 +/* Main message box */
   1.268 +#message-box {
   1.269 +	width: 80%;
   1.270 +}
   1.271 +
   1.272 +#message-box textarea {
   1.273 +	width: 100%;
   1.274 +}
   1.275 +
   1.276 +/* Emoticons panel */
   1.277 +#smiley-box {
   1.278 +	width: 18%;
   1.279 +	float: right;
   1.280 +}
   1.281 +
   1.282 +#smiley-box img {
   1.283 +	margin: 3px;
   1.284 +}
   1.285 +
   1.286 +/* Input field styles
   1.287 +---------------------------------------- */
   1.288 +.inputbox {
   1.289 +	cursor: text;
   1.290 +}
   1.291 +
   1.292 +input.inputbox	{ width: 85%; }
   1.293 +input.medium	{ width: 50%; }
   1.294 +input.narrow	{ width: 25%; }
   1.295 +input.tiny		{ width: 125px; }
   1.296 +
   1.297 +textarea.inputbox {
   1.298 +	width: 85%;
   1.299 +}
   1.300 +
   1.301 +.autowidth {
   1.302 +	width: auto !important;
   1.303 +}
   1.304 +
   1.305 +/* Form button styles
   1.306 +---------------------------------------- */
   1.307 +input.button1, input.button2 {
   1.308 +	font-size: 1em;
   1.309 +}
   1.310 +
   1.311 +a.button1, input.button1, input.button3, a.button2, input.button2 {
   1.312 +	width: auto !important;
   1.313 +	padding-top: 1px;
   1.314 +	padding-bottom: 1px;
   1.315 +    background: #f4f4f4;
   1.316 +    color: #32b359;
   1.317 +    border: solid 1px #d3d3d3;
   1.318 +    border-radius: 15px;
   1.319 +    -moz-border-radius: 15px;
   1.320 +    -webkit-border-radius: 15px;
   1.321 +    font-family: Arial;
   1.322 +    line-height: 1em;
   1.323 +    padding: 4px 8px;
   1.324 +    font-size: 14px;
   1.325 +    outline-style: none;
   1.326 +}
   1.327 +.browser-webkit a.button1, .browser-webkit input.button1, .browser-webkit input.button3, .browser-webkit a.button2, .browser-webkit input.button2 {
   1.328 +    padding-top: 5px;
   1.329 +    padding-bottom: 5px;
   1.330 +}
   1.331 +.browser-ie a.button1, .browser-ie input.button1, .browser-ie input.button3, .browser-ie a.button2, .browser-ie input.button2 {
   1.332 +    padding-top: 5px;
   1.333 +    padding-bottom: 5px;
   1.334 +}
   1.335 +
   1.336 +a.button1, input.button1 {
   1.337 +	font-weight: bold;
   1.338 +}
   1.339 +
   1.340 +#format-buttons .button2, #format-buttons select {
   1.341 +    padding: 2px 6px;
   1.342 +    font-size: 12px;
   1.343 +}
   1.344 +.browser-webkit #format-buttons .button2, .browser-webkit #format-buttons select {
   1.345 +    padding: 4px 6px;
   1.346 +}
   1.347 +
   1.348 +input.button3 {
   1.349 +	padding: 0;
   1.350 +	margin: 0;
   1.351 +	line-height: 5px;
   1.352 +	height: 12px;
   1.353 +	font-variant: small-caps;
   1.354 +}
   1.355 +
   1.356 +/* Alternative button */
   1.357 +a.button2, input.button2, input.button3 {
   1.358 +}
   1.359 +
   1.360 +/* <a> button in the style of the form buttons */
   1.361 +a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {
   1.362 +	text-decoration: none;
   1.363 +    color: #32b359;
   1.364 +	padding: 2px 8px;
   1.365 +	line-height: 250%;
   1.366 +	vertical-align: text-bottom;
   1.367 +}
   1.368 +
   1.369 +/* Hover states */
   1.370 +a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {
   1.371 +    border-color: #e2b29a;
   1.372 +    background: #f8f8f8;
   1.373 +    color: #da5d20;
   1.374 +}
   1.375 +
   1.376 +input.disabled {
   1.377 +	font-weight: normal;
   1.378 +	color: #888;
   1.379 +}
   1.380 +
   1.381 +/* Topic and forum Search */
   1.382 +.search-box {
   1.383 +	margin-left: 5px;
   1.384 +	float: left;
   1.385 +}
   1.386 +
   1.387 +.search-box input {
   1.388 +}
   1.389 +
   1.390 +input.search {
   1.391 +	background-image: url("{T_THEME_PATH}/images/search_mini.png");
   1.392 +	background-repeat: no-repeat;
   1.393 +	background-position: 8px 6px;
   1.394 +	padding-left: 25px;
   1.395 +	padding-right: 12px;
   1.396 +}
   1.397 +
   1.398 +.full { width: 95%; }
   1.399 +.medium { width: 50%;}
   1.400 +.narrow { width: 25%;}
   1.401 +.tiny { width: 10%;}
   1.402 +
   1.403 +/* Animated buttons */
   1.404 +.search-box input.button2 {
   1.405 +    opacity: 0;
   1.406 +    transition: opacity 0.25s ease;
   1.407 +    -webkit-transition: opacity 0.25s ease;
   1.408 +    -moz-transition: opacity 0.25s ease;
   1.409 +    -o-transition: opacity 0.25s ease;
   1.410 +    -ms-transition: opacity 0.25s ease;
   1.411 +}
   1.412 +.search-box:hover input.button2, .search-box.focus input.button2 {
   1.413 +    opacity: 1;
   1.414 +}
   1.415 \ No newline at end of file