/* * The default style sheet used to render WML. * * Copyright (C) 2000 Lars Knoll (knoll@kde.org) * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public License * along with this library; see the file COPYING.LIB. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ @namespace "http://www.wapforum.org/DTD/wml_1.1.xml" wml { display: block } /* children of the element all have display:none */ head { display: none } meta { display: none } access { display: none } /* generic block-level elements */ card { display: block; margin: 8px } p { display: block; margin: 1.0__qem 0px } /* tables */ table { display: table; border-collapse: separate; border-spacing: 2px; border-color: gray } /* for tables without table section elements (can happen with XHTML or dynamically created tables) */ table > tr { vertical-align: middle; } tr { display: table-row; vertical-align: inherit; border-color: inherit } td { display: table-cell; vertical-align: inherit } /* form elements */ go { display: block; margin-top: 0__qem } insertedLegend { display: block; padding-left: 2px; padding-right: 2px; border: none } fieldset { display: block; margin-left: 2px; margin-right: 2px; padding: 0.35em 0.75em 0.625em; border: 2px groove ThreeDFace } do { -webkit-appearance: button; -webkit-box-align: center; text-align: center; cursor: default; color: ButtonText; padding: 2px 6px 3px 6px; border: 2px outset ButtonFace; background-color: ButtonFace; box-sizing: border-box } input, select, do { margin: 0__qem; font: -webkit-small-control; color: initial; letter-spacing: normal; word-spacing: normal; line-height: normal; text-transform: none; text-indent: 0; text-shadow: none; display: inline-block; text-align: -webkit-auto; } input, input[type="password"] { -webkit-appearance: textfield; padding: 1px; background-color: white; border: 2px inset; -webkit-rtl-ordering: logical; -webkit-user-select: text; cursor: auto; } input::-webkit-input-placeholder { color: darkGray; } input[type="password"] { -webkit-text-security: disc !important; } input:-webkit-autofill { background-color: #FAFFBD !important; background-image:none !important; color: #000000 !important; } do:disabled, select:disabled, optgroup:disabled, option:disabled { color: GrayText } do:active { border-style: inset } do:active:disabled { border-style: outset } select { -webkit-appearance: menulist; box-sizing: border-box; -webkit-box-align: center; border: 1px solid; -webkit-border-radius: 5px; white-space: pre; -webkit-rtl-ordering: logical; color: black; background-color: white; cursor: default; } select[size], select[multiple], select[size][multiple] { -webkit-appearance: listbox; -webkit-box-align: start; border: 1px inset gray; -webkit-border-radius: initial; white-space: initial; } select[size="0"], select[size="1"] { -webkit-appearance: menulist; -webkit-box-align: center; border: 1px solid; -webkit-border-radius: 5px; white-space: pre; } optgroup { font-weight: bolder; } option { font-weight: normal; } /* inline elements */ u { text-decoration: underline } strong, b { font-weight: bolder } i, em { font-style: italic } big { font-size: larger } small { font-size: smaller } pre { display: block; font-family: monospace; white-space: pre; margin: 1__qem 0 } /* states */ :focus { outline: auto 5px -webkit-focus-ring-color } /* Read-only text fields do not show a focus ring but do still receive focus */ wml:focus, card:focus { outline: none } input:focus, select:focus { outline-offset: -2px } a:-webkit-any-link, anchor:-webkit-any-link { color: -webkit-link; text-decoration: underline; cursor: auto; } a:-webkit-any-link:active, anchor:-webkit-any-link:active { color: -webkit-activelink }