2
Copyright 2007, Google Inc.
4
Redistribution and use in source and binary forms, with or without
5
modification, are permitted provided that the following conditions are met:
7
1. Redistributions of source code must retain the above copyright notice,
8
this list of conditions and the following disclaimer.
9
2. Redistributions in binary form must reproduce the above copyright notice,
10
this list of conditions and the following disclaimer in the documentation
11
and/or other materials provided with the distribution.
12
3. Neither the name of Google Inc. nor the names of its contributors may be
13
used to endorse or promote products derived from this software without
14
specific prior written permission.
16
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
17
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
19
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
background-color:white;
34
m4_ifelse(PRODUCT_OS,~wince~,m4_dnl
36
m4_ifelse(PRODUCT_BROWSER,~OPERA~,m4_dnl
39
On Opera Mobile we use overflow:auto to allow content to resize automatically
51
Makes the text unselectable in mozilla. See html_diaog.js for IE
54
-moz-user-select:none;
57
body, td, input, select, button {
58
font-family:arial,sans-serif;
69
text-decoration:underline;
74
It would be better to express margins in ems, but it causes layout
75
artifacts (presumably because of rounding errors) when combined with
76
the -moz-border-radius property used in button.css on Firefox 2.
78
Also: bizarely, if I try to use the more natural margin-left:10px, I get
79
a bug where the buttons bounce on IE when you hover over them.
92
On Android and Opera Mobile we do not use position:absolute due to some
93
rendering limitations (absolute positioning works, but
94
the automatic resizing of dialog is confused by the
95
variable content and the display is wrong, while if we
96
remove the absolute positioning, #foot is back in the
97
flow and the dialog displays correctly)
99
m4_ifelse(PRODUCT_OS,~android~,m4_dnl
101
m4_ifelse(PRODUCT_OS,~wince~,m4_dnl
103
m4_ifelse(PRODUCT_BROWSER,~OPERA~,m4_dnl
122
On IE Mobile, we hide the div containing the buttons by default, as
123
they are only used on touchscreen devices.
129
text-decoration: underline;
131
/* IE CSS extension */
136
/* Opera and Safari do not support <wbr>, so we use ​ instead. */