| /* |
| * Copyright (C) 2009, 2010, 2011, 2012 Research In Motion Limited. All rights reserved. |
| * |
| * This library is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU Lesser 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 |
| * Lesser General Public License for more details. |
| * |
| * You should have received a copy of the GNU Lesser General Public |
| * License along with this library; if not, write to the Free Software |
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| */ |
| |
| textarea { |
| font-family: monospace; |
| } |
| |
| /* If the select do not have multiple nor size larger than 1 attribute, which are menulist appearance, we wanna change text color when it is actived. */ |
| input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active, input[type="file"]:active::-webkit-file-upload-button, button:active, select:not([multiple]):not([size]):active, select[size="0"]:active, select[size="1"]:active { |
| color: #fafafa; |
| } |
| |
| input[type="button"]:active:disabled, input[type="submit"]:active:disabled, input[type="reset"]:active:disabled, input[type="file"]:active:disabled::-webkit-file-upload-button, button:active:disabled, select:not([multiple]):not([size]):active:disabled, select[size="0"]:active:disabled, select[size="1"]:active:disabled { |
| color: GrayText; |
| } |
| |
| select { |
| border-radius: 0; |
| } |
| |
| select[size="0"], |
| select[size="1"] { |
| border-radius: 0; |
| } |
| |
| ::-webkit-validation-bubble-message { |
| padding-left: 10px; |
| padding-right: 10px; |
| background: #fafafa; |
| border-color: #ffffff; |
| border-width: 1px; |
| box-shadow: 2px 2px 4px rgba(100,100,100,0.3), 0 0 4px rgba(100,100,100,0.6); |
| -webkit-border-radius: 4px; |
| top: -1px; |
| } |
| |
| ::-webkit-validation-bubble-arrow { |
| left: 40px; |
| top: 3px; |
| background: #fafafa; |
| border-color: #ffffff; |
| border-width: 1px; |
| box-shadow: 0 0 4px rgba(100,100,100,0.6); |
| } |
| |
| ::-webkit-validation-bubble-heading { |
| font-weight: normal; |
| } |
| |
| input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="time"], input[type="month"] { |
| font-family: "Slate Pro"; |
| -webkit-appearance: button; |
| text-align: center; |
| } |