1
0
Fork 0
forked from 0x2620/oxjs

calendar updates

This commit is contained in:
rlx 2011-04-21 03:10:49 +00:00
commit 0cbf31e981
4 changed files with 212 additions and 77 deletions

View file

@ -119,6 +119,17 @@ Calendar
overflow: hidden;
}
.OxCalendar .OxBackground {
position: absolute;
top: 0;
bottom: 0;
}
.OxCalendar .OxBackground > div {
position: absolute;
top: 0;
bottom: 0;
}
.OxCalendar .OxLine {
position: absolute;
}
@ -131,12 +142,11 @@ Calendar
white-space: nowrap;
cursor: pointer;
}
.OxCalendar .OxLine:nth-child(even) .OxDate {
background-color: rgb(255, 0, 0);
}
.OxCalendar .OxLine:nth-child(odd) .OxDate {
background-color: rgb(255, 64, 64);
.OxCalendar .OxLine > .OxDate {
background: -moz-linear-gradient(top, rgba(255, 64, 64, 0.75), rgba(255, 0, 0, 0.75));
background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 32, 32, 1)), to(rgba(224, 0, 0, 1)));
}
.OxCalendar .OxTimeline {
position: absolute;
height: 16px;

View file

@ -37,16 +37,24 @@ Calendar
================================================================================
*/
.OxThemeModern .OxCalendar .OxTimeline > div.even {
.OxThemeModern .OxCalendar .OxTimeline > div.odd {
background: -moz-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32));
background: -webkit-gradient(linear, left top, left bottom, from(rgb(64, 64, 64)), to(rgb(32, 32, 32)));
background: -webkit-gradient(linear, left top, left bottom, from(rgb(64, 64, 64)), to(rgb(16, 16, 16)));
}
.OxThemeModern .OxCalendar .OxTimeline > div.odd {
background: -moz-linear-gradient(top, rgb(56, 56, 56), rgb(24, 24, 24));
background: -webkit-gradient(linear, left top, left bottom, from(rgb(56, 56, 56)), to(rgb(24, 24, 24)));
.OxThemeModern .OxCalendar .OxTimeline > div.even {
background: -moz-linear-gradient(top, rgb(48, 48, 48), rgb(24, 24, 24));
background: -webkit-gradient(linear, left top, left bottom, from(rgb(48, 48, 48)), to(rgb(16, 16, 16)));
}
.OxThemeModern .OxCalendar .OxBackground > div.odd {
background: rgb(16, 16, 16);
}
.OxThemeModern .OxCalendar .OxBackground > div.even {
background: rgb(24, 24, 24);
}
/*
================================================================================
Dialog