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-style: solid;
border-color: #747e93;

View File

@ -78,7 +78,7 @@ body {
background-repeat: repeat, repeat-x;
color: #404040;
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 */
}
@ -969,6 +969,7 @@ table.eventbox {
.flatten_table, .flatten_table > tbody, .flatten_table > tbody > tr, .flatten_table > tbody > tr > td {
display: block;
width: 100%;
float: left;
}
}

View File

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

View File

@ -234,6 +234,8 @@ var close_status_array = [
</tbody>
</table>
<div style="clear: both"></div>[%# clear float of flatten_table %]
</td><td>
<table cellspacing="4" cellpadding="2" border="0" style="width: 100%">
@ -467,7 +469,7 @@ var close_status_array = [
</td></tr></table>
<hr />
<hr style="clear: both" />
<p>
<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>
[% PROCESS section_restrict_visibility %]
</td></tr></table>
<div style="clear: both"></div>[%# clear float of flatten_table %]
</div>
[% PROCESS comment_box %]