diff --git a/vendor/built_in_modules/calendar/app/assets/stylesheets/calendar.css b/vendor/built_in_modules/calendar/app/assets/stylesheets/calendar.css index e7d3e35c..e8bc4a96 100644 --- a/vendor/built_in_modules/calendar/app/assets/stylesheets/calendar.css +++ b/vendor/built_in_modules/calendar/app/assets/stylesheets/calendar.css @@ -31,6 +31,59 @@ border-radius: 3px; cursor: pointer; padding: 1px 3px; + box-shadow: inset 0 0 1px black; + -webkit-box-shadow: inset 0 0 1px black; + -moz-box-shadow: inset 0 0 1px black; +} +.event_list .cell { + height: 38px; + border: solid 1px #ddd; + border-top: 0; +} +.event_list .divide { + height: 18px; + margin-bottom: 18px; + border-bottom: solid 1px #eee; +} +.event_list .day_time { + height: 30px; + border-bottom: solid 1px #ddd; + border-left: solid 1px #ddd; + text-align: right; + padding: 4px; +} +.event dl, .event dt, .event dd { + margin: 0; + padding: 0; +} +.event dl { + padding: 3px; +} +.event dt { + font-size: 11px; + font-weight: normal; + line-height: 12px; +} +#calendar_day .event_holder { + width: 100%; + height: 100%; + position: absolute; + top: 0; +} +.event_holder .inner { + position: relative; + margin: 0 16px 0 2px; +} +.event_holder .event { + padding: 0px; + position: absolute; + width: 100%; +} +.event_holder .event.half { + +} +.event_holder .event.over { + border: solid 1px #fff; } /* month view */ #calendar_month { @@ -97,6 +150,11 @@ color: #ccc; border-left: solid 1px #ddd; } +#calendar_month .event.single { + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} /* agenda view */ #calendar_agenda { @@ -105,6 +163,11 @@ #calendar_agenda .table { margin-bottom: 0; } +#calendar_agenda .event { + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} .event_time { font-family: Tahoma, sans-serif; } @@ -132,52 +195,61 @@ #calendar_day .event_list td { padding: 0; } -#calendar_day .event_list .day_time { - height: 30px; - border-bottom: solid 1px #ddd; - border-left: solid 1px #ddd; - text-align: right; - padding: 4px; -} -#calendar_day .event_list .cell { - height: 38px; - border: solid 1px #ddd; - border-top: 0; -} -#calendar_day .event_list .divide { - height: 18px; - margin-bottom: 18px; - border-bottom: solid 1px #eee; -} -#calendar_day .event_holder { - width: 100%; - height: 100%; - position: absolute; - top: 0; -} -#calendar_day .event_holder .event { - padding: 0px; - position: absolute; - width: 100%; -} -#calendar_day .event_holder .event.half { + +/* week view */ +#calendar_week { } -#calendar_day .event_holder .event.over { - outline: solid 1px #fff; +#calendar_week .cell_wrapper { + position: absolute; + width: 100%; } -#calendar_day .event dl, #calendar_day .event dt, #calendar_day .event dd { - margin: 0; +#calendar_week td { padding: 0; } -#calendar_day .event dl { - padding: 3px; +#calendar_week .table { + margin-bottom: 0; } -#calendar_day .event dt { - font-size: 11px; - font-weight: normal; - line-height: 12px; +#calendar_week .header { + margin-bottom: 12px; + border-top: 0; + table-layout: fixed; } +#calendar_week .header th { + text-align: center; + font-size: 12px; +} +#calendar_week .header td { + border: solid 1px #ddd; + background-color: #eee; +} +#calendar_week .week_day { + padding: 0 2px; + border: solid 1px #ddd; +} +#calendar_week .header .week_day { + padding: 1px 2px 10px 2px; +} +#calendar_week .event_list .event { + position: absolute; + width: 100%; + margin-bottom: 2px; +} +#calendar_week .cell_map { + margin-bottom: 18px; +} +#calendar_week .cell_map td { + border-top: 0; + border-bottom: 0; +} +#calendar_week .cell_map tr:first-child td { + border-top: solid 1px #ddd; +} +#calendar_week .event_holder .inner { + margin: 0 8px 0 0; +} + + /* calendars(category) */ diff --git a/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/cals/day_view.html.erb b/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/cals/day_view.html.erb index 047be06f..cdbc1c47 100644 --- a/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/cals/day_view.html.erb +++ b/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/cals/day_view.html.erb @@ -117,35 +117,37 @@
+ | Sun 9/11 | +Mon 9/12 | +Tue 9/13 | +Wed 9/14 | +Thu 9/15 | +Fri 9/16 | +Sat 9/17 | +
---|---|---|---|---|---|---|---|
+ |
+
+
+
|
+ + | ++ |
+
+
+
|
+ + | + | + |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ ||||||
+ 12am
+ 1am
+ 2am
+ 3am
+ 4am
+ 5am
+ 6am
+ 7am
+ 8am
+ 9am
+ 10am
+ 11am
+ 12am
+ 1pm
+ 2pm
+ 3pm
+ 4pm
+ 5pm
+ 6pm
+ 7pm
+ 8pm
+ 9pm
+ 10pm
+ 11pm
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
|
+
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+ |
+