2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above
11 * copyright notice, this list of conditions and the following disclaimer
12 * in the documentation and/or other materials provided with the
15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
19 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 input[type="file"]::-webkit-file-upload-button, button,
33 padding: 2px 18px 3px 18px;
34 border: 1px solid black;
35 -webkit-border-radius:5px;
36 background-color: ButtonFace;
39 input[type="button"]:disabled,
40 input[type="submit"]:disabled,
41 input[type="reset"]:disabled,
42 input[type="file"]:disabled::-webkit-file-upload-button,
45 border: 1px solid gray;
48 input[type="button"]:active,
49 input[type="submit"]:active,
50 input[type="reset"]:active,
51 input[type="file"]:active::-webkit-file-upload-button,
54 background-color: ButtonShadow;
57 input[type="button"]:active:disabled,
58 input[type="submit"]:active:disabled,
59 input[type="reset"]:active:disabled,
60 input[type="file"]:active:disabled::-webkit-file-upload-button,
61 button:active:disabled,
62 select:active:disabled {
63 border: 1px solid gray;
68 input[type="password"],
70 border: 1px solid black;
73 input:not([type]):disabled,
74 input[type="text"]:disabled,
75 input[type="password"]:disabled,
77 border: 1px solid grey;
78 background-color:ButtonHighlight;
81 input:not([type]):active,
82 input[type="text"]:active,
83 input[type="password"]:active,
85 background-color:ButtonShadow;