OLD | NEW |
1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 input[type="date"], | 6 input[type="date" i], |
7 input[type="datetime-local"], | 7 input[type="datetime-local" i], |
8 input[type="month"], | 8 input[type="month" i], |
9 input[type="time"], | 9 input[type="time" i], |
10 input[type="week"] { | 10 input[type="week" i] { |
11 align-items: center; | 11 align-items: center; |
12 display: -webkit-inline-flex; | 12 display: -webkit-inline-flex; |
13 font-family: monospace; | 13 font-family: monospace; |
14 overflow: hidden; | 14 overflow: hidden; |
15 padding: 0; | 15 padding: 0; |
16 -webkit-padding-start: 1px; | 16 -webkit-padding-start: 1px; |
17 } | 17 } |
18 | 18 |
19 input::-webkit-datetime-edit { | 19 input::-webkit-datetime-edit { |
20 flex: 1; | 20 flex: 1; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 } | 76 } |
77 | 77 |
78 /* If you update padding, border, or margin in the following ruleset, update | 78 /* If you update padding, border, or margin in the following ruleset, update |
79 DateTimeEditElement::customStyelForRenderer too. */ | 79 DateTimeEditElement::customStyelForRenderer too. */ |
80 input::-webkit-datetime-edit-text { | 80 input::-webkit-datetime-edit-text { |
81 -webkit-user-modify: read-only !important; | 81 -webkit-user-modify: read-only !important; |
82 display: inline; | 82 display: inline; |
83 font: inherit !important; | 83 font: inherit !important; |
84 } | 84 } |
85 | 85 |
86 input[type="date"]::-webkit-inner-spin-button, | 86 input[type="date" i]::-webkit-inner-spin-button, |
87 input[type="datetime"]::-webkit-inner-spin-button, | 87 input[type="datetime" i]::-webkit-inner-spin-button, |
88 input[type="datetime-local"]::-webkit-inner-spin-button, | 88 input[type="datetime-local" i]::-webkit-inner-spin-button, |
89 input[type="month"]::-webkit-inner-spin-button, | 89 input[type="month" i]::-webkit-inner-spin-button, |
90 input[type="time"]::-webkit-inner-spin-button, | 90 input[type="time" i]::-webkit-inner-spin-button, |
91 input[type="week"]::-webkit-inner-spin-button { | 91 input[type="week" i]::-webkit-inner-spin-button { |
92 /* FIXME: Remove height. */ | 92 /* FIXME: Remove height. */ |
93 height: 1.5em; | 93 height: 1.5em; |
94 -webkit-margin-start: 2px; | 94 -webkit-margin-start: 2px; |
95 } | 95 } |
OLD | NEW |