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 /* FIXME: We'd like to use the standard button appearance for non-Mac. */
101 -webkit-appearance: none;
102 background: -webkit-gradient(linear, left top, left bottom, from(#eee), color-stop(0.4, #fff), color-stop(0.6, #dddddd), to(#eee));
103 border: solid 1px #444;
105 box-shadow: inset 1px 1px 1px rgba(255,255,255,0.4), inset -1px -1px 1px rgba(255,255,255,0.4);
110 .year-month-button:hover {
111 background: -webkit-gradient(linear, left top, left bottom, from(#e0f0ff), color-stop(0.4, #e0f0ff), color-stop(0.6, #b0e0ff), to(#b0e0ff));
112 border: solid 1px #448;
115 .year-month-button:active {
116 border: solid 1px black;
117 box-shadow: inset 1px 1px 1px rgba(0,0,0,0.3), inset -1px -1px 1px rgba(0,0,0,0.3);
120 .year-month-button:disabled {
122 background: -webkit-gradient(linear, left top, left bottom, from(#eee), color-stop(0.4, #fff), color-stop(0.6, #dddddd), to(#eee));
123 border: solid 1px #ccc;
124 box-shadow: inset 1px 1px 1px rgba(255,255,255,0.4), inset -1px -1px 1px rgba(255,255,255,0.4);
127 .year-month-button-left {
128 display: inline-block;
131 .year-month-button-right {
132 display: inline-block;
135 .days-area-container {
136 background-color: white;
137 border: solid 1px black;
143 .days-area { /* <table> */
144 background-color: white;
145 border-collapse: separate;
147 font: -webkit-small-control;
148 /* table-layout:fixed and width:100% are added in the JS code. */
151 .day-label { /* <th> */
152 -webkit-box-sizing: border-box;
153 background-color: #e3e9ff;
154 border-left-color: #f0f4ff;
155 border-top-color: #f0f4ff;
156 border: solid 1px #d0d4f0;
165 background-color: white;
166 border: 1px solid white;
167 -webkit-box-sizing: border-box;
173 background-color: white;
174 border: 1px solid white;
176 -webkit-transition: all 0.2s ease;
185 .available.day-selected {
186 background-color: highlight;
187 color: highlighttext;
194 background-color: #eee;
195 border: 1px solid #eee;
196 -webkit-transition: border-color 0.2s ease;
199 .unavailable.day-selected {
200 border: 1px solid highlight;