styles/art_air_green/theme/layout_forms.css
changeset 13 118ae93ae3fe
equal deleted inserted replaced
12:898199d067e7 13:118ae93ae3fe
       
     1 /* Form Styles
       
     2 ---------------------------------------- */
       
     3 
       
     4 /* General form styles
       
     5 ----------------------------------------*/
       
     6 fieldset {
       
     7 	border-width: 0;
       
     8 }
       
     9 
       
    10 input[type="text"], input[type="password"], select, textarea {
       
    11 	font-weight: normal;
       
    12     background: #f4f4f4;
       
    13     color: #32b359;
       
    14     outline-style: none;
       
    15     border: solid 1px #d3d3d3;
       
    16     border-radius: 15px;
       
    17     -moz-border-radius: 15px;
       
    18     -webkit-border-radius: 15px;
       
    19     font-family: Arial;
       
    20     line-height: 1em;
       
    21     padding: 5px 10px 5px 8px;
       
    22     font-size: 14px;
       
    23     transition-property: border-color, background-color, color;
       
    24     -webkit-transition-property: border-color, background-color, color;
       
    25     -moz-transition-property: border-color, background-color, color;
       
    26     -o-transition-property: border-color, background-color, color;
       
    27     -ms-transition-property: border-color, background-color, color;
       
    28     transition-duration: 0.25s;
       
    29     -webkit-transition-duration: 0.25s;
       
    30     -moz-transition-duration: 0.25s;
       
    31     -o-transition-duration: 0.25s;
       
    32     -ms-transition-duration: 0.25s;
       
    33 }
       
    34 .quick-login input[type="text"] { background-color: #eee; }
       
    35 
       
    36 input[type="text"]:hover, input[type="password"]:hover, select:hover, textarea:hover {
       
    37     border-color: #e2b29a;
       
    38     background-color: #f8f8f8;
       
    39 }
       
    40 input[type="text"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
       
    41     border-color: #e2b29a;
       
    42     background-color: #fff;
       
    43     color: #000;
       
    44 }
       
    45 
       
    46 input {
       
    47 	cursor: pointer;
       
    48 	vertical-align: middle;
       
    49 	padding: 0 3px;
       
    50 	font-size: 12px;
       
    51 }
       
    52 
       
    53 select {
       
    54 	cursor: pointer;
       
    55 	vertical-align: middle;
       
    56 	padding-top: 4px;
       
    57 	padding-bottom: 4px;
       
    58 	max-width: 400px;
       
    59 }
       
    60 
       
    61 option {
       
    62 	padding-right: 1em;
       
    63 }
       
    64 
       
    65 option.disabled-option {
       
    66 	color: #999;
       
    67 }
       
    68 
       
    69 textarea {
       
    70 	width: 60%;
       
    71 	padding: 6px 4px;
       
    72 	line-height: 1.4em;
       
    73 }
       
    74 
       
    75 label {
       
    76 	cursor: default;
       
    77 	padding-right: 5px;
       
    78 }
       
    79 
       
    80 label input {
       
    81 	vertical-align: middle;
       
    82 }
       
    83 
       
    84 label img {
       
    85 	vertical-align: middle;
       
    86 }
       
    87 
       
    88 /* Definition list layout for forms
       
    89 ---------------------------------------- */
       
    90 fieldset dl {
       
    91 	padding: 4px 0;
       
    92 }
       
    93 
       
    94 fieldset dt {
       
    95 	float: left;	
       
    96 	width: 40%;
       
    97 	text-align: left;
       
    98 	display: block;
       
    99 }
       
   100 
       
   101 fieldset dd {
       
   102 	margin-left: 41%;
       
   103 	vertical-align: top;
       
   104 	margin-bottom: 3px;
       
   105 }
       
   106 
       
   107 /* Specific layout 1 */
       
   108 fieldset.fields1 dt {
       
   109 	width: 15em;
       
   110 	border-right-width: 0;
       
   111 }
       
   112 
       
   113 fieldset.fields1 dd {
       
   114 	margin-left: 15em;
       
   115 	border-left-width: 0;
       
   116 }
       
   117 
       
   118 fieldset.fields1 {
       
   119 	background-color: transparent;
       
   120 }
       
   121 
       
   122 fieldset.fields1 div {
       
   123 	margin-bottom: 3px;
       
   124 }
       
   125 
       
   126 /* Set it back to 0px for the reCaptcha divs: PHPBB3-9587 */
       
   127 fieldset.fields1 #recaptcha_widget_div div {
       
   128 	margin-bottom: 0;
       
   129 }
       
   130 
       
   131 /* Specific layout 2 */
       
   132 fieldset.fields2 dt {
       
   133 	width: 15em;
       
   134 	border-right-width: 0;
       
   135 }
       
   136 
       
   137 fieldset.fields2 dd {
       
   138 	margin-left: 16em;
       
   139 	border-left-width: 0;
       
   140 }
       
   141 
       
   142 /* Form elements */
       
   143 dt label {
       
   144 	font-weight: bold;
       
   145 	color: #444;
       
   146 	font-size: 12px;
       
   147     font-family: Arial;
       
   148 	text-align: left;
       
   149 }
       
   150 
       
   151 dd label {
       
   152 	white-space: nowrap;
       
   153 }
       
   154 
       
   155 dd input, dd textarea {
       
   156 	margin-right: 3px;
       
   157 }
       
   158 
       
   159 dd select {
       
   160 	width: auto;
       
   161 }
       
   162 
       
   163 dd textarea {
       
   164 	width: 85%;
       
   165 }
       
   166 
       
   167 #timezone {
       
   168 	width: 95%;
       
   169 }
       
   170 
       
   171 /* Quick-login on index page */
       
   172 fieldset.quick-login {
       
   173 	margin-top: 5px;
       
   174 }
       
   175 
       
   176 fieldset.quick-login input {
       
   177 	width: auto;
       
   178 }
       
   179 
       
   180 fieldset.quick-login input.inputbox {
       
   181 	width: 15%;
       
   182 	vertical-align: middle;
       
   183 	margin-right: 5px;
       
   184 }
       
   185 
       
   186 fieldset.quick-login label {
       
   187 	white-space: nowrap;
       
   188 	padding-right: 2px;
       
   189 }
       
   190 
       
   191 /* Display options on viewtopic/viewforum pages  */
       
   192 fieldset.display-options {
       
   193 	text-align: center;
       
   194 	margin: 3px 0 5px 0;
       
   195 }
       
   196 
       
   197 fieldset.display-options label {
       
   198 	white-space: nowrap;
       
   199 	padding-right: 2px;
       
   200 }
       
   201 
       
   202 fieldset.display-options a {
       
   203 	margin-top: 3px;
       
   204 }
       
   205 
       
   206 /* Display actions for ucp and mcp pages */
       
   207 fieldset.display-actions {
       
   208 	text-align: right;
       
   209 	line-height: 2em;
       
   210 	white-space: nowrap;
       
   211 	padding-right: 1em;
       
   212 }
       
   213 
       
   214 fieldset.display-actions label {
       
   215 	white-space: nowrap;
       
   216 	padding-right: 2px;
       
   217 }
       
   218 
       
   219 fieldset.sort-options {
       
   220 	line-height: 2em;
       
   221 }
       
   222 
       
   223 /* MCP forum selection*/
       
   224 fieldset.forum-selection {
       
   225 	margin: 5px 0 3px 0;
       
   226 	float: right;
       
   227 }
       
   228 
       
   229 fieldset.forum-selection2 {
       
   230 	margin: 13px 0 3px 0;
       
   231 	float: right;
       
   232 }
       
   233 
       
   234 /* Jumpbox */
       
   235 fieldset.jumpbox {
       
   236 	text-align: right;
       
   237 	margin-top: 15px;
       
   238 	height: 2.5em;
       
   239 }
       
   240 
       
   241 fieldset.quickmod {
       
   242 	width: 50%;
       
   243 	float: right;
       
   244 	text-align: right;
       
   245 	height: 2.5em;
       
   246 	margin-top: 6px;
       
   247 }
       
   248 
       
   249 /* Submit button fieldset */
       
   250 fieldset.submit-buttons {
       
   251 	text-align: center;
       
   252 	vertical-align: middle;
       
   253 	margin: 5px 0;
       
   254 }
       
   255 
       
   256 /* Posting page styles
       
   257 ----------------------------------------*/
       
   258 
       
   259 /* Buttons used in the editor */
       
   260 #format-buttons {
       
   261 	margin: 5px 0 4px 0;
       
   262 }
       
   263 
       
   264 /* Main message box */
       
   265 #message-box {
       
   266 	width: 80%;
       
   267 }
       
   268 
       
   269 #message-box textarea {
       
   270 	width: 100%;
       
   271 }
       
   272 
       
   273 /* Emoticons panel */
       
   274 #smiley-box {
       
   275 	width: 18%;
       
   276 	float: right;
       
   277 }
       
   278 
       
   279 #smiley-box img {
       
   280 	margin: 3px;
       
   281 }
       
   282 
       
   283 /* Input field styles
       
   284 ---------------------------------------- */
       
   285 .inputbox {
       
   286 	cursor: text;
       
   287 }
       
   288 
       
   289 input.inputbox	{ width: 85%; }
       
   290 input.medium	{ width: 50%; }
       
   291 input.narrow	{ width: 25%; }
       
   292 input.tiny		{ width: 125px; }
       
   293 
       
   294 textarea.inputbox {
       
   295 	width: 85%;
       
   296 }
       
   297 
       
   298 .autowidth {
       
   299 	width: auto !important;
       
   300 }
       
   301 
       
   302 /* Form button styles
       
   303 ---------------------------------------- */
       
   304 input.button1, input.button2 {
       
   305 	font-size: 1em;
       
   306 }
       
   307 
       
   308 a.button1, input.button1, input.button3, a.button2, input.button2 {
       
   309 	width: auto !important;
       
   310 	padding-top: 1px;
       
   311 	padding-bottom: 1px;
       
   312     background: #f4f4f4;
       
   313     color: #32b359;
       
   314     border: solid 1px #d3d3d3;
       
   315     border-radius: 15px;
       
   316     -moz-border-radius: 15px;
       
   317     -webkit-border-radius: 15px;
       
   318     font-family: Arial;
       
   319     line-height: 1em;
       
   320     padding: 4px 8px;
       
   321     font-size: 14px;
       
   322     outline-style: none;
       
   323 }
       
   324 .browser-webkit a.button1, .browser-webkit input.button1, .browser-webkit input.button3, .browser-webkit a.button2, .browser-webkit input.button2 {
       
   325     padding-top: 5px;
       
   326     padding-bottom: 5px;
       
   327 }
       
   328 .browser-ie a.button1, .browser-ie input.button1, .browser-ie input.button3, .browser-ie a.button2, .browser-ie input.button2 {
       
   329     padding-top: 5px;
       
   330     padding-bottom: 5px;
       
   331 }
       
   332 
       
   333 a.button1, input.button1 {
       
   334 	font-weight: bold;
       
   335 }
       
   336 
       
   337 #format-buttons .button2, #format-buttons select {
       
   338     padding: 2px 6px;
       
   339     font-size: 12px;
       
   340 }
       
   341 .browser-webkit #format-buttons .button2, .browser-webkit #format-buttons select {
       
   342     padding: 4px 6px;
       
   343 }
       
   344 
       
   345 input.button3 {
       
   346 	padding: 0;
       
   347 	margin: 0;
       
   348 	line-height: 5px;
       
   349 	height: 12px;
       
   350 	font-variant: small-caps;
       
   351 }
       
   352 
       
   353 /* Alternative button */
       
   354 a.button2, input.button2, input.button3 {
       
   355 }
       
   356 
       
   357 /* <a> button in the style of the form buttons */
       
   358 a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {
       
   359 	text-decoration: none;
       
   360     color: #32b359;
       
   361 	padding: 2px 8px;
       
   362 	line-height: 250%;
       
   363 	vertical-align: text-bottom;
       
   364 }
       
   365 
       
   366 /* Hover states */
       
   367 a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {
       
   368     border-color: #e2b29a;
       
   369     background: #f8f8f8;
       
   370     color: #da5d20;
       
   371 }
       
   372 
       
   373 input.disabled {
       
   374 	font-weight: normal;
       
   375 	color: #888;
       
   376 }
       
   377 
       
   378 /* Topic and forum Search */
       
   379 .search-box {
       
   380 	margin-left: 5px;
       
   381 	float: left;
       
   382 }
       
   383 
       
   384 .search-box input {
       
   385 }
       
   386 
       
   387 input.search {
       
   388 	background-image: url("{T_THEME_PATH}/images/search_mini.png");
       
   389 	background-repeat: no-repeat;
       
   390 	background-position: 8px 6px;
       
   391 	padding-left: 25px;
       
   392 	padding-right: 12px;
       
   393 }
       
   394 
       
   395 .full { width: 95%; }
       
   396 .medium { width: 50%;}
       
   397 .narrow { width: 25%;}
       
   398 .tiny { width: 10%;}
       
   399 
       
   400 /* Animated buttons */
       
   401 .search-box input.button2 {
       
   402     opacity: 0;
       
   403     transition: opacity 0.25s ease;
       
   404     -webkit-transition: opacity 0.25s ease;
       
   405     -moz-transition: opacity 0.25s ease;
       
   406     -o-transition: opacity 0.25s ease;
       
   407     -ms-transition: opacity 0.25s ease;
       
   408 }
       
   409 .search-box:hover input.button2, .search-box.focus input.button2 {
       
   410     opacity: 1;
       
   411 }