1/* 2 * Copyright (C) 2009, 2010, 2011, 2012 Research In Motion Limited. All rights reserved. 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 */ 18 19textarea { 20 font-family: monospace; 21} 22 23select { 24 border-radius: 0; 25} 26 27select[size="0"], 28select[size="1"] { 29 border-radius: 0; 30} 31 32::-webkit-validation-bubble-message { 33 padding-left: 10px; 34 padding-right: 10px; 35 background: #fafafa; 36 border-color: #ffffff; 37 border-width: 1px; 38 box-shadow: 2px 2px 4px rgba(100,100,100,0.3), 0 0 4px rgba(100,100,100,0.6); 39 -webkit-border-radius: 4px; 40 top: -1px; 41} 42 43::-webkit-validation-bubble-arrow { 44 left: 40px; 45 top: 3px; 46 background: #fafafa; 47 border-color: #ffffff; 48 border-width: 1px; 49 box-shadow: 0 0 4px rgba(100,100,100,0.6); 50} 51 52::-webkit-validation-bubble-heading { 53 font-weight: normal; 54} 55 56 57/* Suggestion Box */ 58 59input::-webkit-suggestion-dropdown-box { 60 position: absolute; 61 z-index: 2147483647; 62 opacity: 0.98; 63 max-height: 200px; 64 overflow-y: scroll; 65 overflow-x: hidden; 66 border: 1px solid #e0e0e0; 67 border-top: none; 68 background-color: #fcfcfc; 69 -webkit-box-shadow: 0px 5px 5px -2px #606060 inset; 70 -webkit-box-shadow: 2px 0px 8px -5px #AEAEAE; 71} 72 73input::-webkit-suggestion-dropdown-box-item { 74 display: block; 75 width: 100%; 76 padding: 10px 5px; 77 color: #363636; 78 text-decoration: none; 79 border-bottom: 1px solid #e8e8e8; 80 text-overflow: -blackberry-fade; 81 overflow: hidden; 82} 83 84input::-webkit-suggestion-prefix-text { 85 font-weight: bold; 86} 87 88input::-webkit-suggestion-dropdown-box-item-last { 89 display: block; 90 width: 100%; 91 padding: 10px 5px; 92 color: #363636; 93 text-decoration: none; 94 text-overflow: -blackberry-fade; 95 overflow: hidden; 96 border-bottom: none; 97} 98 99input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="time"], input[type="month"] { 100 font-family: "Slate Pro"; 101 -webkit-appearance: button; 102 text-align: center; 103 width:auto; 104} 105 106input::-webkit-date-and-time-value { 107 margin: 1px 6px 1px 6px; 108} 109