From 288b3c2feaff63e3ba1ece50b213f9b0e833f0b5 Mon Sep 17 00:00:00 2001 From: Max Ogden Date: Tue, 21 Jun 2011 15:14:42 -0700 Subject: [PATCH] fix table scrollbar css --- attachments/style/data-table.css | 107 +++++-------------------------- 1 file changed, 15 insertions(+), 92 deletions(-) diff --git a/attachments/style/data-table.css b/attachments/style/data-table.css index a9b5787a..6f48cdae 100644 --- a/attachments/style/data-table.css +++ b/attachments/style/data-table.css @@ -465,10 +465,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #right-panel { position: fixed; - overflow: hidden; + top: 40px; + left: 0px; + bottom: 0px; + right: 0px; + overflow: auto; padding: 0px; padding-left: 5px; - background: #bcf; + background: #BCF; } #tool-panel { @@ -511,95 +515,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. overflow: auto; } -/* - -Copyright 2010, Google Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -*/ - - -#left-panel .ui-tabs .ui-tabs-panel { - border-left: none; - border-right: none; - border-bottom: none; - padding: 0; -} - -#right-panel { - width: 100%; - overflow: hidden; - padding: 0px; - padding-left: 5px; - background: #bcf; -} - -#tool-panel { - position: relative; - height: 32px; -} - -#summary-bar { - position: absolute; - top: 4px; - left: 7px; - font-size: 1.8em; - font-weight: bold; -} - -#summary-total { - font-size: 0.8em; - font-weight: normal; -} - -#extension-bar { - position: absolute; - top: 0px; - right: 10px; - white-space: nowrap; - font-size: 1.3em; - padding: 5px 0; -} - -#extension-bar .secondary { - font-size: 0.85em; -} - -#view-panel { - background: white; - overflow: hidden; -} - -#facet-panel, #history-panel { - overflow: auto; -} - /* @@ -656,8 +571,16 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. } .data-table-container { - border-top: 1px solid #bcf; + display: block; + border-top: 1px solid #BCF; overflow: auto; + position: absolute; + top: 73px; + bottom: 0px; + left: 5px; + right: 0px; + background: white; + } } .data-table {