/* iPhone.css - iPhone Interface Cascading Style Sheet * Copyright (C) 2007-2008 Jay Freeman (saurik) */ /* * 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. The name of the author may not be used to endorse * or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. */ /* .clearfix {{{ */ .clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } .clearfix { display: block; } /* }}} */ * { border: 0; -webkit-border-radius: 0; box-sizing: border-box; -moz-box-sizing: border-box; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; margin: 0; outline: 0; padding: 0; vertical-align: baseline; } sup { font-size: smaller; margin-top: -6px; position: relative; top: -6px; } select { border: 1px solid #999999; } body { font-family: Helvetica; -webkit-text-size-adjust: none; -webkit-user-select: none; } body.pinstripe { background: #c7ced5 url(pinstripes.png); } dialog { display: block; position: absolute; width: 100%; } dialog > panel { display: block; padding: 1px 0; } a { color: inherit; text-decoration: none; text-underline-style: dotted; } a { color: blue; } strong { font-weight: bold } pre, tt { font-family: monospace; } pre { letter-spacing: -2px; } .default { color: #aaaabb; } /* #toolbar {{{ */ dialog > toolbar { background: url(toolbar.png) #6d84a2 repeat-x; border-bottom: 1px solid #2d3642; height: 45px; padding: 10px; } dialog > toolbar > h1 { color: #ffffff; font-size: 20px; font-weight: bold; height: 100%; margin: 1px auto 0 auto; text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; text-align: center; white-space: nowrap; } /* }}} */ /* (back|forward)-button {{{ */ dialog > toolbar > a.back-button, dialog > toolbar > a.forward-button { color: #ffffff; font-size: 12px; font-weight: bold; height: 30px; line-height: 30px; margin-top: -28px; padding: 0 3px; text-decoration: none; text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0; white-space: nowrap; } dialog > toolbar > a.back-button { -webkit-border-image: url(backButton.png) 0 8 0 14; border-width: 0 8px 0 14px; float: left; } dialog > toolbar > a.forward-button { -webkit-border-image: url(toolButton.png) 0 5 0 5; border-width: 0 5px; float: right; } /* }}} */ /* fieldset {{{ */ dialog > panel > block { background-color: #c7ced5; border-bottom: 1px solid #999999; border-top: 1px solid #999999; display: block; font-size: 16px; margin: 9px 10px; padding: 0 10px; } dialog > panel > block > hr { border-width: 1px 0 0 0; } dialog > panel > fieldset { background-color: #ffffff; border: 1px solid #999999; -webkit-border-radius: 10px; font-size: 16px; margin: 9px; } dialog > panel > input[type="submit"] { /*-webkit-border-image: url(whiteButton.png) 0 12 0 12; -webkit-border-radius: 0; border-width: 0px 12px;*/ border: none; color: #000000; display: block; font-size: 20px; font-weight: bold; margin: 9px; height: 44px; padding: 10px; text-align: center; width: 302px; } dialog > panel > label { display: block; margin: 13px 0 -4px 27px; line-height: 24px; font-size: inherit; font-weight: bold; color: #4d4d70; text-shadow: rgba(255, 255, 255, 0.75) 1px 1px 0; } fieldset > a, fieldset > div, fieldset > textarea { border-top: 1px solid #999999; min-height: 19px; padding: 12px 17px 11px 17px; } fieldset > a:first-child, fieldset > div:first-child { border-top: none; } fieldset > a img.icon, fieldset > div img.icon { height: auto; margin: -13px 5px -10px -10px; max-height: 30px; min-width: 30px; width: 30px; } panel > block > p, fieldset > div > p { margin: 11px 0; text-align: center; } fieldset > div > ul { margin-left: -20px; } fieldset > div > p:first-child, fieldset > div > ul:first-child { margin-top: 0; } fieldset > div > p:last-child, fieldset > div > ul:last-child { margin-bottom: 0; } fieldset > a { color: inherit; display: block; } fieldset > textarea, fieldset > div > input, fieldset > div > select { background: none; -webkit-box-shadow: none; -webkit-appearance: none; } fieldset > a, fieldset > div > select { background: no-repeat url(chevron.png); background-position-y: 13px; } dialog > fieldset > a { background-position-x: 295px; } dialog > panel > fieldset > a { background-position-x: 275px; } dialog > fieldset > div > select { background-position-x: 192px; } dialog > panel > fieldset > div > select { background-position-x: 172px; } fieldset > textarea, fieldset > div > input, fieldset > div > select, fieldset > a > label + div, fieldset > div > label + div { color: #193250; } fieldset > textarea, fieldset > div > input, fieldset > div > select { font-size: 16px; } fieldset > div > select, fieldset > div > input { border: none; height: 44px; margin: -13px -17px -13px 86px; } dialog > panel > fieldset > div > select, dialog > panel > fieldset > div > input { width: 187px; } dialog > fieldset > div > select, dialog > fieldset > div > input { width: 207px; } fieldset > div > input { padding: 13px 7px; } fieldset > textarea { padding: 10px; width: 320px; } fieldset > a > label, fieldset > div > label { font-weight: bold; padding: 1px 0 0 0; position: absolute; } fieldset > a > label + div { margin-right: 16px; } dialog > fieldset > a > label + div, dialog > fieldset > div > label + div { margin-left: 94px; } dialog > panel > fieldset > a > label + div, dialog > panel > fieldset > div > label + div { float: right; text-align: right; } dialog > panel > img { display: block; margin: 9px auto 4px auto; height: auto; width: 300px; } /* }}} */