| /* |
| * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. |
| * Copyright (C) 2006 David Smith (catfish.man@gmail.com) |
| * |
| * Redistribution and use in source and binary forms, with or without |
| * modification, are permitted provided that the following conditions |
| * are met: |
| * |
| * 1. Redistributions of source code must retain the above copyright |
| * notice, this list of conditions and the following disclaimer. |
| * 2. 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. |
| * 3. Neither the name of Apple Computer, Inc. ("Apple") 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 APPLE AND ITS 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 APPLE OR ITS 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. |
| */ |
| |
| img { padding: 0; margin: 0; } |
| body { margin: 0; padding: 0; overflow: hidden; } |
| |
| #main { |
| position: absolute; |
| top: 0; |
| bottom: 0; |
| left: 0; |
| right: 0; |
| } |
| |
| #top { |
| position: absolute; |
| top: 0; |
| bottom: 50px; |
| left: 0; |
| right: 0; |
| } |
| |
| #history { |
| position: absolute; |
| top: 0; |
| bottom: 10px; |
| left: 0; |
| right: 0; |
| overflow-y: auto; |
| overflow-x: hidden; |
| } |
| |
| #divider { |
| cursor: row-resize; |
| position: absolute; |
| bottom: 0; |
| left: 0; |
| right: 0; |
| background: url(splitterDimple.tif) 50% no-repeat, url(splitterBar.tif) repeat-x; |
| height: 10px; |
| } |
| |
| #input { |
| position: absolute; |
| -webkit-box-sizing: border-box; |
| height: 50px; |
| max-height: 150px; |
| left: 0; |
| right: 0; |
| bottom: 0; |
| -webkit-user-modify: read-write-plaintext-only; |
| -webkit-nbsp-mode: space; |
| -webkit-line-break: after-white-space; |
| word-wrap: break-word; |
| outline: none; |
| font-family: monospace; |
| font-size: 11px; |
| line-height: 14px; |
| padding: 3px; |
| } |
| |
| #history .row { |
| min-height: 38px; |
| padding: 4px; |
| -webkit-box-sizing: border-box; |
| font-family: monospace; |
| font-size: 12px; |
| } |
| |
| #history .row.alt { |
| background-color: rgb(237, 243, 254); |
| } |
| |
| .expression { |
| color: blue; |
| } |
| |
| .result { |
| color: navy; |
| } |