Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed positioning for the header and main controls

  • Loading branch information...
commit 2feec365874c4ca385dbaf86dbe89ad3dbfde858 1 parent c7271ec
@danielwagner danielwagner authored
View
6 component/testrunner/source/class/testrunner/view/Html.js
@@ -71,7 +71,7 @@ qx.Class.define("testrunner.view.Html", {
this._getHeader().appendTo("body");
$('<div id="main"></div>').appendTo("body");
- this._getMainControls().appendTo("#main");
+ this._getMainControls().appendTo("#header-wrapper");
this._bindMainControls();
$('<div id="tests"></div>').appendTo("#main");
@@ -157,9 +157,9 @@ qx.Class.define("testrunner.view.Html", {
_getHeader : function()
{
var header = $('<div id="header-wrapper"></div>')
- .append('<section id="header"><h1>qooxdoo Test Runner</h1>' +
+ .append('<div id="header"><h1>qooxdoo Test Runner</h1>' +
'<div id="search"><input type="search" placeholder="Filter Tests" id="testfilter"/></div>' +
- '</section>')
+ '</div>')
.append('<div class="decoration" />');
return header;
View
7 component/testrunner/source/resource/testrunner/view/html/css/testrunner.css
@@ -53,6 +53,8 @@ h2 {
}
#header-wrapper {
+ position: fixed;
+ width: 100%;
background-color: #323335;
background-image: -webkit-gradient(linear, center top, center bottom, from(#505154), to(#323335));
background-image: -webkit-linear-gradient(top, #505154, #323335);
@@ -128,11 +130,12 @@ h2 {
#main {
margin:0 auto;
- padding: 25px 25px 50px 25px;
+ padding: 145px 25px 50px 25px;
}
#controls {
- margin-bottom: 25px;
+ padding: 5px 25px 5px 25px;
+ background-color: #F6F6F6;
}
#controls input[type=submit],
Please sign in to comment.
Something went wrong with that request. Please try again.