Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 90847 invoked from network); 21 Jul 2009 12:14:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jul 2009 12:14:55 -0000 Received: (qmail 83780 invoked by uid 500); 21 Jul 2009 12:16:01 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 83705 invoked by uid 500); 21 Jul 2009 12:16:00 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 83696 invoked by uid 99); 21 Jul 2009 12:16:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 12:16:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 12:15:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B93B423888BD; Tue, 21 Jul 2009 12:15:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r796269 - in /couchdb/trunk/share/www: script/futon.js style/layout.css Date: Tue, 21 Jul 2009 12:15:36 -0000 To: commits@couchdb.apache.org From: cmlenz@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090721121536.B93B423888BD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: cmlenz Date: Tue Jul 21 12:15:36 2009 New Revision: 796269 URL: http://svn.apache.org/viewvc?rev=796269&view=rev Log: Avoid wrapping of long database names in the Futon sidebar. Modified: couchdb/trunk/share/www/script/futon.js couchdb/trunk/share/www/style/layout.css Modified: couchdb/trunk/share/www/script/futon.js URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/futon.js?rev=796269&r1=796268&r2=796269&view=diff ============================================================================== --- couchdb/trunk/share/www/script/futon.js (original) +++ couchdb/trunk/share/www/script/futon.js Tue Jul 21 12:15:36 2009 @@ -65,9 +65,9 @@ recentDbs.sort(); $.each(recentDbs, function(idx, name) { if (name) { - $("#dbs").append("
  • " + name + + $("#dbs").append("
  • " + "" + + "" + name + "
  • "); } }); Modified: couchdb/trunk/share/www/style/layout.css URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/style/layout.css?rev=796269&r1=796268&r2=796269&view=diff ============================================================================== --- couchdb/trunk/share/www/style/layout.css (original) +++ couchdb/trunk/share/www/style/layout.css Tue Jul 21 12:15:36 2009 @@ -160,8 +160,8 @@ #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; - bottom: 20px; right: 0; width: 210px; + margin: 0; overflow: auto; overflow-x: hidden; padding: 0; + position: absolute; top: 185px; bottom: 20px; right: 0; width: 210px; } #nav ul { list-style: none; margin: 0; padding: 0; } #nav li { color: #999; margin: 5px 0 0; padding: 3px 0; } @@ -173,7 +173,7 @@ #nav li li:hover { background: #e4e4e4; } #nav li.selected li:hover { background: #d7d7d7; } #nav li li :link, #nav li li :visited { color: #333; display: block; - text-decoration: none; + overflow: hidden; text-decoration: none; text-overflow: ellipsis; } #nav li li :link:hover, #nav li li :visited:hover { color: #000; } #nav li li :link:focus, #nav li li :visited:focus { outline: none; } @@ -185,8 +185,8 @@ color: #fff; } #nav li button { background: transparent 0 0 no-repeat; border: none; - cursor: pointer; width: 15px; height: 15px; margin-left: .5em; - vertical-align: top; + cursor: pointer; width: 15px; height: 15px; margin-left: -20px; + position: absolute; vertical-align: top; } #nav li li:hover button.remove { background-image: url(../image/delete-mini.png);