From acfd6f8e238373f08b3413ad2d61143d46b44318 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Fri, 23 May 2008 23:25:11 +0000 Subject: Minor tweaks to the map/reduce editing GUI in Futon. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659714 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/browse/database.html | 4 ++-- share/www/style/layout.css | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'share') diff --git a/share/www/browse/database.html b/share/www/browse/database.html index e84c9798..120c47c6 100644 --- a/share/www/browse/database.html +++ b/share/www/browse/database.html @@ -114,13 +114,13 @@ specific language governing permissions and limitations under the License. View Code
- +
- +
diff --git a/share/www/style/layout.css b/share/www/style/layout.css index 13dfbcaf..b8c4110e 100644 --- a/share/www/style/layout.css +++ b/share/www/style/layout.css @@ -255,7 +255,7 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight; border: 1px solid; border-color: #ddd #ddd #e9e9e9 #ddd; color: #333; margin: 0 -.5em; padding: 0 .5em 2px; } -#viewcode .top { color: #aaa; font-size: 95%; } +#viewcode .top { color: #aaa; font-size: 95%; } #viewcode .top span { background: url(../image/twisty.gif) 0 3px no-repeat; border: none; color: #666; cursor: pointer; display: block; font-size: 90%; margin: 0; padding: 2px 0 0 15px; @@ -267,11 +267,12 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight; #viewcode .code, #viewcode .bottom { display: none; } #viewcode .code { float: left; padding: .2em 0; width: 49%; } #viewcode .code label { font-size: 90%; color: #999; } -#viewcode .code textarea { border: none; border-top: 1px solid #ddd; - color: #333; min-height: 50px; max-width: 98%; padding-top: .5em; - resize: none; +#viewcode .code textarea { border: none; border-top: 1px solid #ccc; + color: #333; margin: 0 0 .4em; min-height: 50px; max-width: 98%; + padding: .2em 0; resize: none; } -#viewcode div.map { border-right: 1px dashed #ccc; margin-right: .5em; } +#viewcode .code textarea:focus { background: #ffffe9; } +#viewcode div.map { border-right: 3px double #ccc; margin-right: .5em; } #viewcode .bottom { border-bottom: none; clear: left; padding: 1px 3px; } #viewcode .bottom button { font-size: 90%; margin: 0 1em 0 0; padding-left: 2em; padding-right: 2em; @@ -284,6 +285,7 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight; } #viewcode .bottom button.save { font-weight: bold; } #viewcode .grippie { background-position: 49% 50%; } +#viewcode.expanded .top { border-bottom: 1px solid #ddd; } #viewcode.expanded .top span { background-position: 0 -96px; } #viewcode.expanded .code, #viewcode.expanded .bottom { display: block; } -- cgit v1.2.3