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-control
;
64 box-sizing: border-box
;
65 display: inline-block
;
72 box-sizing: border-box
;
75 box-shadow: 1px 0 0 #bfbfbf;
83 .day-cell
.highlighted
.today
,
85 border: 1px solid
#bfbfbf;
89 .week-number-cell
.highlighted
,
90 .day-cell.highlighted {
91 background-color: #e5ecf8;
94 .week-number-cell
.highlighted
.disabled
,
95 .day-cell.highlighted.disabled {
96 border: 1px solid
#e5ecf8;
100 .week-number-cell
.selected
,
102 background-color: #bccdec;
105 .week-number-cell
.disabled
,
107 background-color: #f5f5f5;
110 .day-cell.current-month {
114 .calendar-table-view {
115 border: 1px solid
#bfbfbf;
122 display: inline-block
;
125 box-sizing: padding-box
;
129 box-sizing: border-box
;
130 border-right: 1px solid
#bfbfbf;
133 .calendar-table-header-view {
134 background-color: #f5f5f5;
135 border-bottom: 1px solid
#bfbfbf;
140 border: 1px solid
#bfbfbf;
144 background-color: white
;
149 .calendar-header-view {
156 -webkit-align-self: center
;
161 .rtl .calendar-title {
166 .month-popup-button:hover
,
167 .month-popup-button:disabled {
168 background-color: transparent
!important
;
169 background-image: none
!important
;
170 box-shadow: none
!important
;
174 .month-popup-button:disabled {
178 .month-popup-button {
181 display: inline-block
;
183 border: 1px solid transparent
!important
;
184 height: 24px !important
;
187 .month-popup-button .disclosure-triangle {
191 .month-popup-button .disclosure-triangle svg {
195 .today-button::after {
201 background-color: #6e6e6e;
205 .calendar-navigation-button {
206 -webkit-align-self: center
;
209 min-width: 0 !important
;
210 padding-left: 0 !important
;
211 padding-right: 0 !important
;
212 -webkit-margin-start: 4px !important
;
216 border: 1px solid
#bfbfbf;
217 background-color: white
;
222 box-sizing: border-box
;
223 border-bottom: 1px solid
#bfbfbf;
224 background-color: white
;
228 .year-list-cell .label {
231 -webkit-padding-start: 8px;
232 background-color: #f5f5f5;
233 border-bottom: 1px solid
#bfbfbf;
236 .year-list-cell .month-chooser {
248 padding: 0 !important
;
249 margin: 0 !important
;
250 background-image: none
!important
;
251 background-color: #ffffff;
252 border-width: 0 !important
;
253 box-shadow: none
!important
;
257 .month-button.highlighted {
258 background-color: #e5ecf8;
261 .month-button[aria-disabled="true"] {
265 .scrubby-scroll-bar {
268 background-color: white
;
269 border-left: 1px solid
#bfbfbf;
274 .scrubby-scroll-thumb {
278 background-color: #d8d8d8;
292 .year-list-view .scrubby-scroll-bar {
296 .rtl .year-list-view .scrubby-scroll-bar {
299 border-left-width: 0;
300 border-right: 1px solid
#bfbfbf;
310 .month-popup-button:focus
,
311 .year-list-view:focus
,
312 .calendar-table-view:focus {
313 transition: border-color
200ms;
314 /* We use border color because it follows the border radius (unlike outline).
315 * This is particularly noticeable on mac. */
316 border-color: rgb
(77, 144, 254) !important
;
320 .preparing
button:focus
,
321 .preparing
.year-list-view:focus
,
322 .preparing .calendar-table-view:focus {