Merged PR 1654: [PTF] Modify HTML files shown in PTM to request proper IE feature level and use rem for style declarations.

1 Add a meta tag to HTML files for requesting proper IE feature level.
2 Modify all CSS style declarations to use rem instead of px.
This commit is contained in:
Minghao Hu 2020-03-04 03:20:16 +00:00
Родитель 9ecb8db4c9 1817379196
Коммит c74037b1f2
2 изменённых файлов: 17 добавлений и 16 удалений

Просмотреть файл

@ -360,9 +360,9 @@ function MulselShow()
confirmdiv.align = "right";
confirminput.type = "button"
confirminput.style.width = "auto";
confirminput.style.height = "18px";
confirminput.style.height = "auto";
confirminput.value = "OK";
confirminput.style.fontSize = '12px';
confirminput.style.fontSize = '0.75rem';
confirminput.onclick = function () { FilterLog(this); }
confirmdiv.appendChild(confirminput);
typesdiv.appendChild(confirmdiv);

Просмотреть файл

@ -3,6 +3,7 @@
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<title></title>
<style type="text/css">
h1 {margin-bottom:0;}
@ -16,7 +17,7 @@ h1.title{
color: #1382CE;
font-family:Arial,Verdana,Sans-serif;
font-weight: bold;
font-size:20px;
font-size:1.25rem;
}
div.frame {
@ -26,26 +27,26 @@ div.frame {
font-size: 110%;
filter: alpha(opacity=30);
border:none;
padding:5px 5px 5px 5px;
padding:0.3125rem 0.3125rem 0.3125rem 0.3125rem;
background-color:#1382CE;
}
div.filter {
background-color:White;
border:1px solid;
border:0.0625rem solid;
border-color:grey;
font-size:10px;
position:absolute;left:20px;
margin-left:65px;
padding-right:5px;
padding-bottom:5px;
font-size:0.625rem;
position:absolute;left:1.25rem;
margin-left:4.0625rem;
padding-right:0.3125rem;
padding-bottom:0.3125rem;
}
div.filterframe {
font-size:12px;
font-size:0.75rem;
font-weight: bold;
margin-left:20px;
margin-left:1.25rem;
}
div {
@ -53,12 +54,12 @@ div {
}
div.sub {
margin-left:20px;
margin-left:1.25rem;
}
img.small{
vertical-align:1px;
margin-right:6px;
vertical-align:0.0625rem;
margin-right:0.375rem;
}
</style>
@ -67,7 +68,7 @@ img.small{
<body>
<h1 align="center" class="title" id="right_sidebar_case_title"></h1>
<p align="left" id="casetime" style="font-size:12px"></p>
<p align="left" id="casetime" style="font-size:0.75rem"></p>
<div id="log">
</div>
</body>