Skip to content

Commit

Permalink
Complete datepicker styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Wood committed Jun 11, 2008
1 parent 5d22c5f commit 36dd1c8
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions themes/flora/flora.datepicker.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
font-size: 14px; font-size: 14px;
padding: 0; padding: 0;
margin: 0; margin: 0;
background: #DDD; background: #E0F4D7;
width: 185px; width: 185px;
} }
#ui-datepicker-div { #ui-datepicker-div {
Expand All @@ -17,9 +17,12 @@
display: block; display: block;
border: 0; border: 0;
} }
.ui-datepicker-rtl {
direction: rtl;
}
.ui-datepicker-dialog { .ui-datepicker-dialog {
padding: 5px !important; padding: 5px !important;
border: 4px ridge #DDD !important; border: 4px ridge #83C948 !important;
} }
button.ui-datepicker-trigger { button.ui-datepicker-trigger {
width: 25px; width: 25px;
Expand All @@ -31,7 +34,7 @@ img.ui-datepicker-trigger {
.ui-datepicker-prompt { .ui-datepicker-prompt {
float: left; float: left;
padding: 2px; padding: 2px;
background: #DDD; background: #E0F4D7;
color: #000; color: #000;
} }
*html .ui-datepicker-prompt { *html .ui-datepicker-prompt {
Expand Down Expand Up @@ -64,6 +67,10 @@ img.ui-datepicker-trigger {
float: left; float: left;
width: 34%; width: 34%;
} }
.ui-datepicker-rtl .ui-datepicker-clear, .ui-datepicker-rtl .ui-datepicker-prev {
float: right;
text-align: right;
}
.ui-datepicker-current { .ui-datepicker-current {
float: left; float: left;
width: 30%; width: 30%;
Expand All @@ -74,6 +81,10 @@ img.ui-datepicker-trigger {
width: 34%; width: 34%;
text-align: right; text-align: right;
} }
.ui-datepicker-rtl .ui-datepicker-close, .ui-datepicker-rtl .ui-datepicker-next {
float: left;
text-align: left;
}
.ui-datepicker-header { .ui-datepicker-header {
padding: 1px 0 3px; padding: 1px 0 3px;
background: #83C948; background: #83C948;
Expand Down Expand Up @@ -118,6 +129,9 @@ img.ui-datepicker-trigger {
.ui-datepicker .ui-datepicker-week-end-cell { .ui-datepicker .ui-datepicker-week-end-cell {
background: #E0F4D7; background: #E0F4D7;
} }
.ui-datepicker-title-row .ui-datepicker-week-end-cell {
background: #B1DB87;
}
.ui-datepicker .ui-datepicker-days-cell-over { .ui-datepicker .ui-datepicker-days-cell-over {
background: #FFF; background: #FFF;
border: 1px solid #777; border: 1px solid #777;
Expand All @@ -131,6 +145,12 @@ img.ui-datepicker-trigger {
.ui-datepicker-current-day { .ui-datepicker-current-day {
background: #83C948 !important; background: #83C948 !important;
} }
.ui-datepicker-status {
background: #E0F4D7;
width: 100%;
font-size: 80%;
text-align: center;
}
#ui-datepicker-div a, .ui-datepicker-inline a { #ui-datepicker-div a, .ui-datepicker-inline a {
cursor: pointer; cursor: pointer;
margin: 0; margin: 0;
Expand Down

0 comments on commit 36dd1c8

Please sign in to comment.