Index: trunk/src/main/resources/XWiki/DatePickerExtension.xml
===================================================================
--- trunk/src/main/resources/XWiki/DatePickerExtension.xml (revision 28359)
+++ trunk/src/main/resources/XWiki/DatePickerExtension.xml (working copy)
@@ -701,7 +701,7 @@
/* hack for buggy form elements layering in IE */
_wrap_in_iframe : function ( content ) {
return ( Prototype.Browser.IE ) ?
- "<div style='height:167px;width:185px;background-color:white;align:left'><iframe width='100%' height='100%' marginwidth='0' marginheight='0' frameborder='0' src='about:blank' style='filter:alpha(Opacity=50);'></iframe><div style='position:absolute;background-color:white;top:2px;left:2px;width:180px'>" + content + "</div></div>" : content;
+ "<div style='width:185px;align:left'><iframe width='100%' height='130px' marginwidth='0' marginheight='0' frameborder='0' src='about:blank' style='filter:alpha(Opacity=0);'></iframe><div style='position:absolute;top:2px;left:2px;width:180px'>" + content + "</div></div>" : content;
},
/**
* visible : return the visibility status of the datepicker.
@@ -1090,16 +1090,16 @@
* Original code at http://prototype-datepicker-widget.googlecode.com/svn/trunk/datepicker.css
*/
+#template('colorThemeInit.vm')
div.datepicker {
- position: absolute;
- text-align: center;
- border: 1px #C4D5E3 solid;
font-family: arial;
- background: #FFFFFF;
font-size: 10px;
padding: 0px;
+ position: absolute;
+ text-align: center;
}
div.datepicker table {
+ background: $theme.pageContentBackgroundColor;
font-size: 10px;
margin: 0px;
padding: 0px;
@@ -1107,76 +1107,54 @@
width: 180px;
}
div.datepicker table thead tr th {
+ background-color: $theme.menuBackgroundColor;
+ color: $theme.menuLinkColor;
font-size: 12px;
- font-weight: bold;
- background: #e9eff4;
- border-bottom:1px solid #c4d5e3;
+ font-weight: normal;
padding: 0px;
margin: 0px;
+ text-align: center;
+ text-transform: uppercase;
}
div.datepicker table tbody tr {
- border: 1px white solid;
margin: 0px;
padding: 0px;
}
div.datepicker table tbody tr td {
- border: 1px #eaeaea solid;
margin: 0px;
padding: 0px;
text-align: center;
}
div.datepicker table tbody tr td:hover,
-div.datepicker table tbody tr td.outbound:hover,
div.datepicker table tbody tr td.today:hover {
- border: 1px #c4d5e3 solid;
- background: #e9eff4;
+ background-color: $theme.highlightColor;
+ color: $theme.textColor;
cursor: pointer;
}
-div.datepicker table tbody tr td.wday {
- border: 1px #ffffff solid;
- background: #ffffff;
+div.datepicker table tbody tr td.wday,
+div.datepicker table tbody tr td.wday:hover {
+ background-color: $theme.backgroundSecondaryColor;
cursor: text;
}
-div.datepicker table tbody tr td.outbound {
- background: #e8e4e4;
-}
div.datepicker table tbody tr td.today {
- border: 1px #16518e solid;
- background: #c4d5e3;
+ background-color: $theme.highlightColor;
+ color: $theme.textColor;
}
-div.datepicker table tbody tr td.nclick,
div.datepicker table tbody tr td.nclick_outbound,
-div.datepicker table tbody tr td.nclick_today {
- cursor:default; color:#aaa;
-}
-div.datepicker table tbody tr td.nclick_outbound {
- background:#E8E4E4;
-}
-div.datepicker table tbody tr td.nclick_today {
- background:#c4d5e3;
-}
-div.datepicker table tbody tr td.nclick:hover,
-div.datepicker table tbody tr td.nclick_outbound:hover,
-div.datepicker table tbody tr td.nclick_today:hover {
- border: 1px #eaeaea solid;
- background: #FFF;
-}
div.datepicker table tbody tr td.nclick_outbound:hover {
- background:#E8E4E4;
+ background: $theme.pageContentBackgroundColor;
+ color: $theme.backgroundSecondaryColor;
+ cursor: default;
}
-div.datepicker table tbody tr td.nclick_today:hover {
- background:#c4d5e3;
-}
-div.datepicker table tfoot {
- font-size: 10px;
- background: #e9eff4;
- border-top:1px solid #c4d5e3;
+div.datepicker table tfoot td {
+ background-color: $theme.backgroundSecondaryColor;
cursor: pointer;
- text-align: center;
+ font-size: 10px;
padding: 0px;
+ text-align: center;
}
-0
+1