OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 23 matching lines...) Expand all Loading... |
34 select[multiple], | 34 select[multiple], |
35 select[size][multiple] { | 35 select[size][multiple] { |
36 -webkit-appearance: menulist; | 36 -webkit-appearance: menulist; |
37 align-items: center; | 37 align-items: center; |
38 background-color: ButtonFace; | 38 background-color: ButtonFace; |
39 border: 1px solid #a9a9a9; | 39 border: 1px solid #a9a9a9; |
40 border-radius: initial; | 40 border-radius: initial; |
41 white-space: pre; | 41 white-space: pre; |
42 } | 42 } |
43 | 43 |
44 input[type="date"]:disabled, | 44 input[type="date" i]:disabled, |
45 input[type="datetime-local"]:disabled, | 45 input[type="datetime-local" i]:disabled, |
46 input[type="month"]:disabled, | 46 input[type="month" i]:disabled, |
47 input[type="time"]:disabled, | 47 input[type="time" i]:disabled, |
48 input[type="week"]:disabled, | 48 input[type="week" i]:disabled, |
49 input[type="date"]:read-only, | 49 input[type="date" i]:read-only, |
50 input[type="datetime-local"]:read-only, | 50 input[type="datetime-local" i]:read-only, |
51 input[type="month"]:read-only, | 51 input[type="month" i]:read-only, |
52 input[type="time"]:read-only, | 52 input[type="time" i]:read-only, |
53 input[type="week"]:read-only { | 53 input[type="week" i]:read-only { |
54 background-color: ButtonFace; | 54 background-color: ButtonFace; |
55 color: GrayText; | 55 color: GrayText; |
56 } | 56 } |
57 | 57 |
58 input[type="date"], | 58 input[type="date" i], |
59 input[type="datetime-local"], | 59 input[type="datetime-local" i], |
60 input[type="month"], | 60 input[type="month" i], |
61 input[type="time"], | 61 input[type="time" i], |
62 input[type="week"] { | 62 input[type="week" i] { |
63 align-items: center; | 63 align-items: center; |
64 -webkit-appearance: menulist; | 64 -webkit-appearance: menulist; |
65 background-color: ButtonFace; | 65 background-color: ButtonFace; |
66 border: 1px solid #a9a9a9; | 66 border: 1px solid #a9a9a9; |
67 display: -webkit-inline-flex; | 67 display: -webkit-inline-flex; |
68 overflow: hidden; | 68 overflow: hidden; |
69 width: 10em; | 69 width: 10em; |
70 } | 70 } |
71 | 71 |
72 input::-webkit-date-and-time-value { | 72 input::-webkit-date-and-time-value { |
73 margin: 1px 24px 1px 4px; | 73 margin: 1px 24px 1px 4px; |
74 white-space: pre; | 74 white-space: pre; |
75 } | 75 } |
OLD | NEW |