1 /* This file is part of Indico.
2 * Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN).
4 * Indico is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 3 of the
7 * License, or (at your option) any later version.
9 * Indico is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with Indico; if not, see <http://www.gnu.org/licenses/>.
19 @include border-all();
20 @include single-box-shadow();
24 .ui-datepicker-header {
25 @include border-bottom();
26 @include border-radius(0);
27 background-color: $light-gray !important;
28 color: $dark-blue !important;
29 margin: -0.2em -0.2em 0;
40 @include transition-property(background, color);
41 border: none !important;
55 background: none !important;
60 &:not(.ui-state-disabled) {
61 .ui-datepicker-prev:hover,
62 .ui-datepicker-next:hover {
69 @include icon-before('icon-prev');
74 @include icon-before('icon-next');
75 right: 3px !important;
83 .ui-datepicker-calendar {
96 @include single-transition(background);
97 border: 1px solid white;
102 &.ui-state-disabled .ui-datepicker-current-day a {
107 background: $light-blue;
112 color: white !important;
118 color: white !important;
122 .ui-datepicker-buttonpane {
126 button.ui-datepicker-current {
128 @include transition-property(background, color);
129 background: $light-blue;
130 border: none !important;
139 &:not(.ui-state-disabled) button.ui-datepicker-current:hover {
144 &.ui-state-disabled button.ui-datepicker-current {
150 .ui-datepicker-trigger {
151 @include icon-before('icon-calendar');
152 background: transparent;
171 input.hasDatepicker {
172 @include icon-before('icon-calendar');
174 padding-right: 22px !important;
176 &:disabled + button {
177 pointer-events: none;