WebCore/css/themeQtMaemo5.css
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 /*
       
     2  * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
       
     3  *
       
     4  * Redistribution and use in source and binary forms, with or without
       
     5  * modification, are permitted provided that the following conditions are
       
     6  * met:
       
     7  *
       
     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
       
    13  * distribution.
       
    14  *
       
    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.
       
    26  */
       
    27 
       
    28 input[type="button"],
       
    29 input[type="submit"],
       
    30 input[type="reset"],
       
    31 input[type="file"]::-webkit-file-upload-button, button,
       
    32 select {
       
    33     padding: 2px 18px 3px 18px;
       
    34     border: 1px solid black;
       
    35     -webkit-border-radius:5px;
       
    36     background-color: ButtonFace;
       
    37 }
       
    38 
       
    39 input[type="button"]:disabled,
       
    40 input[type="submit"]:disabled,
       
    41 input[type="reset"]:disabled,
       
    42 input[type="file"]:disabled::-webkit-file-upload-button,
       
    43 button:disabled,
       
    44 select:disabled {
       
    45     border: 1px solid gray;
       
    46 }
       
    47 
       
    48 input[type="button"]:active,
       
    49 input[type="submit"]:active,
       
    50 input[type="reset"]:active,
       
    51 input[type="file"]:active::-webkit-file-upload-button,
       
    52 button:active,
       
    53 select:active{
       
    54     background-color: ButtonShadow;
       
    55 }
       
    56 
       
    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;
       
    64 }
       
    65 
       
    66 input:not([type]),
       
    67 input[type="text"],
       
    68 input[type="password"],
       
    69 textarea {
       
    70     border: 1px solid black;
       
    71 }
       
    72 
       
    73 input:not([type]):disabled,
       
    74 input[type="text"]:disabled,
       
    75 input[type="password"]:disabled,
       
    76 textarea:disabled {
       
    77     border: 1px solid grey;
       
    78     background-color:ButtonHighlight;
       
    79 }
       
    80 
       
    81 input:not([type]):active,
       
    82 input[type="text"]:active,
       
    83 input[type="password"]:active,
       
    84 textarea:active {
       
    85     background-color:ButtonShadow;
       
    86 }