support classic theme

This commit is contained in:
rolux 2011-05-28 02:02:00 +02:00
parent d915e9f205
commit fada9f8a0c
3 changed files with 50 additions and 8 deletions

View file

@ -155,7 +155,6 @@ Calendar
border-radius: 4px; border-radius: 4px;
background: -moz-linear-gradient(top, rgba(255, 0, 0, 0.9), rgba(224, 0, 0, 0.9)); background: -moz-linear-gradient(top, rgba(255, 0, 0, 0.9), rgba(224, 0, 0, 0.9));
background: -webkit-linear-gradient(top, rgba(255, 0, 0, 0.9), rgba(224, 0, 0, 0.9)); background: -webkit-linear-gradient(top, rgba(255, 0, 0, 0.9), rgba(224, 0, 0, 0.9));
color: rgb(255, 255, 255);
} }
.OxCalendar .OxLine > .OxEvent.OxCurrent { .OxCalendar .OxLine > .OxEvent.OxCurrent {
border-top-right-radius: 0; border-top-right-radius: 0;
@ -202,11 +201,6 @@ Calendar
} }
.OxCalendar .OxOverlay div:nth-child(even) { .OxCalendar .OxOverlay div:nth-child(even) {
height: 14px; height: 14px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.OxCalendar .OxOverlay div:nth-child(odd) {
background-color: rgba(0, 0, 0, 0.5);
} }
.OxCalendar .OxRange .OxArrow { .OxCalendar .OxRange .OxArrow {

View file

@ -29,6 +29,42 @@ Bars
background-color: rgb(208, 208, 208); background-color: rgb(208, 208, 208);
} }
/*
================================================================================
Calendar
================================================================================
*/
.OxThemeClassic .OxCalendar .OxTimeline > div.odd {
background: -moz-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192));
background: -webkit-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192));
}
.OxThemeClassic .OxCalendar .OxTimeline > div.even {
background: -moz-linear-gradient(top, rgb(208, 208, 208), rgb(176, 176, 176));
background: -webkit-linear-gradient(top, rgb(208, 208, 208), rgb(176, 176, 176));
}
.OxThemeClassic .OxCalendar .OxBackground > div {
//background: rgb(20, 20, 20);
background: rgb(232, 232, 232);
}
.OxThemeClassic .OxCalendar .OxBackground > div.line {
background: rgb(224, 224, 224);
}
.OxThemeClassic .OxCalendar .OxLine > .OxEvent {
color: rgb(0, 0, 0);
}
.OxThemeClassic .OxCalendar .OxOverlay div:nth-child(even) {
border-top: 1px solid rgba(0, 0, 0, 0.5);
border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
.OxThemeClassic .OxCalendar .OxOverlay div:nth-child(odd) {
background-color: rgba(255, 255, 255, 0.5);
}
/* /*
================================================================================ ================================================================================
Dialog Dialog

View file

@ -39,12 +39,12 @@ Calendar
.OxThemeModern .OxCalendar .OxTimeline > div.odd { .OxThemeModern .OxCalendar .OxTimeline > div.odd {
background: -moz-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32)); 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(16, 16, 16))); background: -webkit-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32));
} }
.OxThemeModern .OxCalendar .OxTimeline > div.even { .OxThemeModern .OxCalendar .OxTimeline > div.even {
background: -moz-linear-gradient(top, rgb(48, 48, 48), rgb(24, 24, 24)); 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))); background: -webkit-linear-gradient(top, rgb(48, 48, 48), rgb(24, 24, 24));
} }
.OxThemeModern .OxCalendar .OxBackground > div { .OxThemeModern .OxCalendar .OxBackground > div {
@ -55,6 +55,18 @@ Calendar
background: rgb(32, 32, 32); background: rgb(32, 32, 32);
} }
.OxThemeModern .OxCalendar .OxLine > .OxEvent {
color: rgb(255, 255, 255);
}
.OxThemeModern .OxCalendar .OxOverlay div:nth-child(even) {
border-top: 1px solid rgba(255, 255, 255, 0.5);
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.OxThemeModern .OxCalendar .OxOverlay div:nth-child(odd) {
background-color: rgba(0, 0, 0, 0.5);
}
/* /*
================================================================================ ================================================================================