Make font sizes better suited for default browser setups + fix flatten_table for IE

3col
Vitaliy Filippov 2015-01-15 16:44:16 +03:00
parent b9a144096f
commit e1a8ecf54e
5 changed files with 14 additions and 12 deletions

View File

@ -258,7 +258,7 @@ hr {
} }
} }
textarea, select, input[type="text"], input:not([type]), input[type="password"] { textarea, select, input[type="text"], input:not([type]), input[type="password"], .text_input {
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: #747e93; border-color: #747e93;

View File

@ -78,7 +78,7 @@ body {
background-repeat: repeat, repeat-x; background-repeat: repeat, repeat-x;
color: #404040; color: #404040;
margin: 0; margin: 0;
font-size: 0.8em; /* Base font size. NEVER hardcode absolute sizes anywhere except this place. */ font-size: 0.9em; /* Base font size. NEVER hardcode absolute sizes anywhere except this place. */
-moz-text-size-adjust: none; /* Fix inconsistent font sizes in mobile Firefox */ -moz-text-size-adjust: none; /* Fix inconsistent font sizes in mobile Firefox */
} }
@ -969,6 +969,7 @@ table.eventbox {
.flatten_table, .flatten_table > tbody, .flatten_table > tbody > tr, .flatten_table > tbody > tr > td { .flatten_table, .flatten_table > tbody, .flatten_table > tbody > tr, .flatten_table > tbody > tr > td {
display: block; display: block;
width: 100%; width: 100%;
float: left;
} }
} }

View File

@ -26,18 +26,18 @@
/* global (begin) */ /* global (begin) */
body { body {
font-family: sans-serif; font-family: sans-serif;
font-size: 80%;
color: #000; color: #000;
background: #fff url("global/body-back.gif") repeat-x; background: #fff url("global/body-back.gif") repeat-x;
} }
table { table {
border-collapse: collapse; border-collapse: collapse;
} }
body, td, th, input, select { body, td, th {
font-family: Verdana, sans-serif; font-family: Verdana, sans-serif;
font-size: small;
} }
textarea { table, td, th, input, select, textarea {
font-size: small; font-size: 100%;
} }
select { select {
background: #fff; background: #fff;
@ -321,7 +321,8 @@ div#docslinks {
/* The rules for these classes make international text wrap correctly, /* The rules for these classes make international text wrap correctly,
even for languages like Japanese that have no spaces. */ even for languages like Japanese that have no spaces. */
.bz_comment_text, .uneditable_textarea, textarea { .bz_comment_text, .uneditable_textarea, textarea {
font-family: Consolas, monospace; font-family: "Droid Sans Mono", Menlo, Monaco, Consolas, monospace;
font-size: 110%;
} }
.bz_comment_hilite { .bz_comment_hilite {
@ -356,7 +357,7 @@ table#flags td {
} }
.flag_select { .flag_select {
min-width: 3em; width: auto !important;
} }
input.requestee { input.requestee {
@ -432,7 +433,6 @@ dl dl > dt {
/* For bug fields */ /* For bug fields */
.uneditable_textarea { .uneditable_textarea {
width: 30em; width: 30em;
font-size: medium;
} }
div.user_match { div.user_match {
@ -579,8 +579,6 @@ table.alcontent { width: 100%; }
.importxls_link { margin-left: 20px; } .importxls_link { margin-left: 20px; }
.importxls_link span { font-weight: bold; } .importxls_link span { font-weight: bold; }
#comment_status_commit #comment { width: 50em; font-size: medium; font-family: Consolas, monospace; }
.selectfree_ie iframe { .selectfree_ie iframe {
display:none; display:none;
display/**/:block; display/**/:block;

View File

@ -234,6 +234,8 @@ var close_status_array = [
</tbody> </tbody>
</table> </table>
<div style="clear: both"></div>[%# clear float of flatten_table %]
</td><td> </td><td>
<table cellspacing="4" cellpadding="2" border="0" style="width: 100%"> <table cellspacing="4" cellpadding="2" border="0" style="width: 100%">
@ -467,7 +469,7 @@ var close_status_array = [
</td></tr></table> </td></tr></table>
<hr /> <hr style="clear: both" />
<p> <p>
<input type="submit" id="commit" value="Submit [% terms.Bug %]" /> <input type="submit" id="commit" value="Submit [% terms.Bug %]" />

View File

@ -124,6 +124,7 @@ var notimetracking = [% bug.product_obj.notimetracking ? 1 : 0 %];
</td><td> </td><td>
[% PROCESS section_restrict_visibility %] [% PROCESS section_restrict_visibility %]
</td></tr></table> </td></tr></table>
<div style="clear: both"></div>[%# clear float of flatten_table %]
</div> </div>
[% PROCESS comment_box %] [% PROCESS comment_box %]