155 lines
2.4 KiB
CSS
155 lines
2.4 KiB
CSS
/*
|
|
* Copyright 2009 The Closure Library Authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by the Apache License, Version 2.0.
|
|
* See the COPYING file for details.
|
|
*/
|
|
|
|
/*
|
|
* Standard styling for a goog.ui.DatePicker.
|
|
*
|
|
* @author arv@google.com (Erik Arvidsson)
|
|
*/
|
|
|
|
.goog-date-picker,
|
|
.goog-date-picker th,
|
|
.goog-date-picker td {
|
|
font: 13px Arial, sans-serif;
|
|
}
|
|
|
|
.goog-date-picker {
|
|
-moz-user-focus: normal;
|
|
-moz-user-select: none;
|
|
position: relative;
|
|
border: 1px solid #000;
|
|
float: left;
|
|
padding: 2px;
|
|
color: #000;
|
|
background: #c3d9ff;
|
|
cursor: default;
|
|
}
|
|
|
|
.goog-date-picker th {
|
|
text-align: center;
|
|
}
|
|
|
|
.goog-date-picker td {
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
padding: 1px 3px;
|
|
}
|
|
|
|
|
|
.goog-date-picker-menu {
|
|
position: absolute;
|
|
background: threedface;
|
|
border: 1px solid gray;
|
|
-moz-user-focus: normal;
|
|
z-index: 1;
|
|
outline: none;
|
|
}
|
|
|
|
.goog-date-picker-menu ul {
|
|
list-style: none;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
|
|
.goog-date-picker-menu ul li {
|
|
cursor: default;
|
|
}
|
|
|
|
.goog-date-picker-menu-selected {
|
|
background: #ccf;
|
|
}
|
|
|
|
.goog-date-picker th {
|
|
font-size: .9em;
|
|
}
|
|
|
|
.goog-date-picker td div {
|
|
float: left;
|
|
}
|
|
|
|
.goog-date-picker button {
|
|
padding: 0px;
|
|
margin: 1px 0;
|
|
border: 0;
|
|
color: #20c;
|
|
font-weight: bold;
|
|
background: transparent;
|
|
}
|
|
|
|
.goog-date-picker-date {
|
|
background: #fff;
|
|
}
|
|
|
|
.goog-date-picker-week,
|
|
.goog-date-picker-wday {
|
|
padding: 1px 3px;
|
|
border: 0;
|
|
border-color: #a2bbdd;
|
|
border-style: solid;
|
|
}
|
|
|
|
.goog-date-picker-week {
|
|
border-right-width: 1px;
|
|
}
|
|
|
|
.goog-date-picker-wday {
|
|
border-bottom-width: 1px;
|
|
}
|
|
|
|
.goog-date-picker-head td {
|
|
text-align: center;
|
|
}
|
|
|
|
/** Use td.className instead of !important */
|
|
td.goog-date-picker-today-cont {
|
|
text-align: center;
|
|
}
|
|
|
|
/** Use td.className instead of !important */
|
|
td.goog-date-picker-none-cont {
|
|
text-align: center;
|
|
}
|
|
|
|
.goog-date-picker-month {
|
|
min-width: 11ex;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.goog-date-picker-year {
|
|
min-width: 6ex;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.goog-date-picker-monthyear {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.goog-date-picker table {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.goog-date-picker-other-month {
|
|
color: #888;
|
|
}
|
|
|
|
.goog-date-picker-wkend-start,
|
|
.goog-date-picker-wkend-end {
|
|
background: #eee;
|
|
}
|
|
|
|
/** Use td.className instead of !important */
|
|
td.goog-date-picker-selected {
|
|
background: #c3d9ff;
|
|
}
|
|
|
|
.goog-date-picker-today {
|
|
background: #9ab;
|
|
font-weight: bold !important;
|
|
border-color: #246 #9bd #9bd #246;
|
|
color: #fff;
|
|
}
|