fix heights and positioning in the admin console
This commit is contained in:
parent
2c2bd55675
commit
d393a15c4b
2 changed files with 36 additions and 8 deletions
|
|
@ -609,8 +609,8 @@ __DATA__
|
||||||
</span>
|
</span>
|
||||||
<div id="search"></div>
|
<div id="search"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="yui-content">
|
<div id="tab_wrapper" class="yui-content">
|
||||||
<div id="viewTab"><iframe src="<tmpl_var viewUrl>" name="view" style="width: 100%; height: 80%"></iframe></div>
|
<div id="viewTab"><iframe src="<tmpl_var viewUrl>" name="view"></iframe></div>
|
||||||
<div id="treeTab">
|
<div id="treeTab">
|
||||||
<div id="treeCrumbtrail"></div>
|
<div id="treeCrumbtrail"></div>
|
||||||
<div id="treeDataTableContainer"></div>
|
<div id="treeDataTableContainer"></div>
|
||||||
|
|
|
||||||
|
|
@ -3,31 +3,57 @@
|
||||||
font: 12pt Helvetica, sans-serif;
|
font: 12pt Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html,body { margin: 0; padding: 0; height: 100% }
|
||||||
|
|
||||||
#wrapper {
|
#wrapper {
|
||||||
margin-left: 160px; /* move out of the adminbar's way */
|
position: relative;
|
||||||
min-width: 850px; /* min width for 1024x browsers */
|
margin-left: 165px; /* move out of the adminbar's way */
|
||||||
|
min-width: 400px; /* min width for 1024x browsers */
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tabBar {
|
||||||
|
position: absolute;
|
||||||
|
top: 28px; /* Below the versionTag and user boxes */
|
||||||
|
bottom: 0px;
|
||||||
|
left: 0px;
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tabBar #tab_wrapper {
|
||||||
|
position: absolute;
|
||||||
|
top: 34px; /* Below the tabs. */
|
||||||
|
bottom: 0px;
|
||||||
|
left: 0px;
|
||||||
|
right: 0px;
|
||||||
|
margin-top: 44px; /* below the location bar, easier to change this in JS */
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#versionTag {
|
#versionTag {
|
||||||
float: left;
|
float: left;
|
||||||
width: 57%;
|
width: 57%;
|
||||||
padding: 2px 1%;
|
padding: 2px 1%;
|
||||||
|
margin: 2px;
|
||||||
border: 1px solid #339;
|
border: 1px solid #339;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
-moz-border-radius: 5px;
|
-moz-border-radius: 5px;
|
||||||
-webkit-border-radius: 5px;
|
-webkit-border-radius: 5px;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
|
height: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#user {
|
#user {
|
||||||
float: right;
|
float: right;
|
||||||
width: 38%;
|
width: 38%;
|
||||||
padding: 2px 1%;
|
padding: 2px 1%;
|
||||||
|
margin: 2px 2px 2px 0px; /* No margin for side next to version tag box */
|
||||||
border: 1px solid #339;
|
border: 1px solid #339;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
-moz-border-radius: 5px;
|
-moz-border-radius: 5px;
|
||||||
-webkit-border-radius: 5px;
|
-webkit-border-radius: 5px;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
|
height: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#locationBar {
|
#locationBar {
|
||||||
|
|
@ -83,10 +109,6 @@
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tabBar {
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wrapper .yui-content {
|
#wrapper .yui-content {
|
||||||
margin: 0; padding: 0;
|
margin: 0; padding: 0;
|
||||||
}
|
}
|
||||||
|
|
@ -95,6 +117,12 @@
|
||||||
margin: 0; padding: 0;
|
margin: 0; padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#viewTab iframe {
|
||||||
|
border: none;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.clickable {
|
.clickable {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: blue;
|
color: blue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue