2 * The default style sheet used to render WML.
4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/)
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public License
19 * along with this library; see the file COPYING.LIB. If not, write to
20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA.
25 @namespace "http://www.wapforum.org/DTD/wml_1.1.xml"
31 /* children of the <head> element all have display:none */
44 /* generic block-level elements */
60 border-collapse: separate;
65 /* for tables without table section elements (can happen with XHTML or dynamically created tables) */
67 vertical-align: middle;
72 vertical-align: inherit;
78 vertical-align: inherit
99 padding: 0.35em 0.75em 0.625em;
100 border: 2px groove ThreeDFace
104 -webkit-appearance: button;
105 -webkit-box-align: center;
109 padding: 2px 6px 3px 6px;
110 border: 2px outset ButtonFace;
111 background-color: ButtonFace;
112 -webkit-box-sizing: border-box
117 font: -webkit-small-control;
119 letter-spacing: normal;
120 word-spacing: normal;
122 text-transform: none;
125 display: inline-block;
126 text-align: -webkit-auto;
129 input, input[type="password"] {
130 -webkit-appearance: textfield;
132 background-color: white;
134 -webkit-rtl-ordering: logical;
135 -webkit-user-select: text;
139 input::-webkit-input-placeholder {
143 input[type="password"] {
144 -webkit-text-security: disc !important;
147 input:-webkit-autofill {
148 background-color: #FAFFBD !important;
149 background-image:none !important;
152 do:disabled, select:disabled, optgroup:disabled, option:disabled {
165 -webkit-appearance: menulist;
166 -webkit-box-sizing: border-box;
167 -webkit-box-align: center;
169 -webkit-border-radius: 5px;
171 -webkit-rtl-ordering: logical;
173 background-color: white;
179 select[size][multiple] {
180 -webkit-appearance: listbox;
181 -webkit-box-align: start;
182 border: 1px inset gray;
183 -webkit-border-radius: initial;
184 white-space: initial;
189 -webkit-appearance: menulist;
190 -webkit-box-align: center;
192 -webkit-border-radius: 5px;
204 /* inline elements */
207 text-decoration: underline
228 font-family: monospace;
236 outline: auto 5px -webkit-focus-ring-color
239 /* Read-only text fields do not show a focus ring but do still receive focus */
240 wml:focus, card:focus {
244 input:focus, select:focus {
248 a:-webkit-any-link, anchor:-webkit-any-link {
250 text-decoration: underline;
254 a:-webkit-any-link:active, anchor:-webkit-any-link:active {
255 color: -webkit-activelink