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