From 539a418b1d7bfbffdcb377a7a9a43fd1a3753b6a Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Thu, 8 Jan 2009 10:19:20 +0000 Subject: Get rid of the iframe structure in Futon to allow easy bookmarking, reloading and back/forward button support across all browsers. Resolves COUCHDB-186 and COUCHDB-56. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@732675 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/style/layout.css | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'share/www/style') diff --git a/share/www/style/layout.css b/share/www/style/layout.css index b81f4e46..e67fa78a 100644 --- a/share/www/style/layout.css +++ b/share/www/style/layout.css @@ -15,8 +15,11 @@ specific language governing permissions and limitations under the License. /* General styles */ -html, body { background: transparent; color: #000; - font: normal 90% Arial,Helvetica,sans-serif; margin: 0; padding: 0; +html, body { color: #000; font: normal 90% Arial,Helvetica,sans-serif; + height: 100%; margin: 0; padding: 0; overflow: hidden; +} +body { background: #fff url(../image/bg.png) 100% 0 repeat-y; + padding-right: 210px; } :link, :visited { color: #ba1e16; text-decoration: none; } :link img, :visited img { border: none; } @@ -130,9 +133,10 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight; /* Logo & Navigation */ -#wrap { padding: 0 20px 3em; } - -#logo { position: absolute; top: 20px; right: 18px; } +#sidebar { background: #fff; position: absolute; top: 0; right: 0; + width: 210px; height: 100%; +} +#logo { padding: 20px 18px; } #nav { color: #333; font-size: 110%; font-weight: bold; list-style: none; margin: 0; overflow: auto; padding: 0; position: absolute; top: 185px; @@ -164,9 +168,10 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight; font-size: 80%; opacity: .7; padding: 5px 10px; position: absolute; right: 0; bottom: 0; min-height: 1.3em; width: 190px; text-align: right; } -#view { position: absolute; left: 0; right: 210px; top: 0; bottom: 0; - height: 100%; -} +#footer :link, #footer :visited { color: #000; } + +#wrap { height: 100%; overflow: auto; } +#content { padding: 0 20px 3em; } /* Toolbar */ -- cgit v1.2.3