diff --git a/source/Ox.UI/css/Ox.UI.css b/source/Ox.UI/css/Ox.UI.css index 9efcb18b..f594ab98 100644 --- a/source/Ox.UI/css/Ox.UI.css +++ b/source/Ox.UI/css/Ox.UI.css @@ -212,6 +212,7 @@ Calendar white-space: nowrap; } .OxCalendar .OxLine > .OxEvent { + //box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5); border-radius: 4px; } .OxCalendar .OxLine > .OxEvent.OxCurrent { @@ -219,30 +220,24 @@ Calendar border-bottom-right-radius: 0; } .OxCalendar .OxLine > .OxEvent.OxDate { - background: -moz-linear-gradient(top, rgba(192, 0, 0, 0.9), rgba(160, 0, 0, 0.9)); - background: -o-linear-gradient(top, rgba(192, 0, 0, 0.9), rgba(160, 0, 0, 0.9)); - background: -webkit-linear-gradient(top, rgba(192, 0, 0, 0.9), rgba(160, 0, 0, 0.9)); + background: -moz-linear-gradient(top, rgba(96, 96, 192, 0.9), rgba(64, 64, 160, 0.9)); + background: -o-linear-gradient(top, rgba(96, 96, 192, 0.9), rgba(64, 64, 160, 0.9)); + background: -webkit-linear-gradient(top, rgba(96, 96, 192, 0.9), rgba(64, 64, 160, 0.9)); } .OxCalendar .OxLine > .OxEvent.OxPlace { - background: -moz-linear-gradient(top, rgba(255, 192, 0, 0.9), rgba(224, 160, 0, 0.9)); - background: -o-linear-gradient(top, rgba(255, 192, 0, 0.9), rgba(224, 160, 0, 0.9)); - background: -webkit-linear-gradient(top, rgba(255, 192, 0, 0.9), rgba(224, 160, 0, 0.9)); + background: -moz-linear-gradient(top, rgba(0, 128, 96, 0.9), rgba(0, 96, 64, 0.9)); + background: -o-linear-gradient(top, rgba(0, 128, 96, 0.9), rgba(0, 96, 64, 0.9)); + background: -webkit-linear-gradient(top, rgba(0, 128, 96, 0.9), rgba(0, 96, 64, 0.9)); } .OxCalendar .OxLine > .OxEvent.OxPerson { - background: -moz-linear-gradient(top, rgba(255, 96, 0, 0.9), rgba(224, 80, 0, 0.9)); - background: -o-linear-gradient(top, rgba(255, 96, 0, 0.9), rgba(224, 80, 0, 0.9)); - background: -webkit-linear-gradient(top, rgba(255, 96, 0, 0.9), rgba(224, 80, 0, 0.9)); + background: -moz-linear-gradient(top, rgba(255, 96, 0, 0.9), rgba(224, 64, 0, 0.9)); + background: -o-linear-gradient(top, rgba(255, 96, 0, 0.9), rgba(224, 64, 0, 0.9)); + background: -webkit-linear-gradient(top, rgba(255, 96, 0, 0.9), rgba(224, 64, 0, 0.9)); } .OxCalendar .OxLine > .OxEvent.OxOther { - background: -moz-linear-gradient(top, rgba(255, 0, 0, 0.9), rgba(224, 0, 0, 0.9)); - background: -o-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)); -} - -.OxCalendar .OxLine > .OxEvent.OxSelected { - background: -moz-linear-gradient(top, rgba(128, 128, 255, 0.9), rgba(96, 96, 224, 0.9)); - background: -o-linear-gradient(top, rgba(128, 128, 255, 0.9), rgba(96, 96, 224, 0.9)); - background: -webkit-linear-gradient(top, rgba(128, 128, 255, 0.9), rgba(96, 96, 224, 0.9)); + background: -moz-linear-gradient(top, rgba(192, 32, 32, 0.9), rgba(160, 0, 0, 0.9)); + background: -o-linear-gradient(top, rgba(192, 32, 32, 0.9), rgba(160, 0, 0, 0.9)); + background: -webkit-linear-gradient(top, rgba(192, 32, 32, 0.9), rgba(160, 0, 0, 0.9)); } .OxCalendar .OxTimeline { diff --git a/source/Ox.UI/themes/classic/css/classic.css b/source/Ox.UI/themes/classic/css/classic.css index 42761923..17a383e7 100644 --- a/source/Ox.UI/themes/classic/css/classic.css +++ b/source/Ox.UI/themes/classic/css/classic.css @@ -111,6 +111,12 @@ Calendar .OxThemeClassic .OxCalendar .OxLine > .OxEvent { color: rgb(0, 0, 0); } +.OxThemeClassic .OxCalendar .OxLine > .OxEvent.OxSelected { + box-shadow: inset 0 0 1px rgb(0, 0, 0), + inset 0 0 1px rgb(0, 0, 0), + inset 0 0 1px rgb(0, 0, 0), + inset 0 0 1px rgb(0, 0, 0); +} .OxThemeClassic .OxCalendar .OxOverlay div:nth-child(even) { border-top: 1px solid rgba(0, 0, 0, 0.5); diff --git a/source/Ox.UI/themes/modern/css/modern.css b/source/Ox.UI/themes/modern/css/modern.css index 3e4f3750..6af8e43e 100644 --- a/source/Ox.UI/themes/modern/css/modern.css +++ b/source/Ox.UI/themes/modern/css/modern.css @@ -110,6 +110,12 @@ Calendar .OxThemeModern .OxCalendar .OxLine > .OxEvent { color: rgb(255, 255, 255); } +.OxThemeModern .OxCalendar .OxLine > .OxEvent.OxSelected { + box-shadow: inset 0 0 1px rgb(255, 255, 255), + inset 0 0 1px rgb(255, 255, 255), + inset 0 0 1px rgb(255, 255, 255), + inset 0 0 1px rgb(255, 255, 255); +} .OxThemeModern .OxCalendar .OxOverlay div:nth-child(even) { border-top: 1px solid rgba(255, 255, 255, 0.5);