2 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
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
14 * * Neither the name of Google Inc. nor the names of its
15 * contributors may be used to endorse or promote products derived from
16 * this software without specific prior written permission.
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 -webkit-user-select: none;
33 background-color: white;
34 font: -webkit-small-control;
39 .no-focus-ring :focus {
44 background-color: white;
45 border: solid 1px #8899aa;
46 box-shadow: inset 2px 2px 2px white,
47 inset -2px -2px 1px rgba(0,0,0,0.1);
50 /* width and opacity are reset in the JS code. */
59 /* display:-webkit-box; is added in the JS code. */
68 display: inline-block;
74 background-color: white;
76 display: inline-block;
77 padding: 3px 6px 3px 6px;
79 .month-selector:after {
84 .month-selector-popup {
90 .month-selector-wall {
99 .year-month-button-left {
100 display: inline-block;
103 .year-month-button-right {
104 display: inline-block;
107 .days-area-container {
108 background-color: white;
109 border: solid 1px black;
115 .days-area { /* <table> */
116 background-color: white;
117 border-collapse: separate;
119 font: -webkit-small-control;
120 /* table-layout:fixed and width:100% are added in the JS code. */
123 .day-label { /* <th> */
124 -webkit-box-sizing: border-box;
125 background-color: #e3e9ff;
126 border-left-color: #f0f4ff;
127 border-top-color: #f0f4ff;
128 border: solid 1px #d0d4f0;
137 background-color: white;
138 border: 1px solid white;
139 -webkit-box-sizing: border-box;
145 background-color: white;
146 border: 1px solid white;
148 -webkit-transition: all 0.2s ease;
157 .available.day-selected {
158 background-color: highlight;
159 color: highlighttext;
166 background-color: #eee;
167 border: 1px solid #eee;
168 -webkit-transition: border-color 0.2s ease;
171 .unavailable.day-selected {
172 border: 1px solid highlight;