From db4e9aeaadc15700aca737a620fb0a56c4ed3531 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 3 Apr 2016 12:19:49 +0200 Subject: fullscreen mode for events --- view/css/mod_cal.css | 51 +++++++++++++++++++++++++++++++++++++++ view/css/mod_events.css | 13 +++++++--- view/theme/redbasic/css/style.css | 2 -- view/tpl/events-js.tpl | 2 ++ view/tpl/events_cal-js.tpl | 2 ++ 5 files changed, 65 insertions(+), 5 deletions(-) create mode 100644 view/css/mod_cal.css diff --git a/view/css/mod_cal.css b/view/css/mod_cal.css new file mode 100644 index 000000000..f0b5c0166 --- /dev/null +++ b/view/css/mod_cal.css @@ -0,0 +1,51 @@ +/* fix borders */ + +.fc th:first-child, +.fc td:first-child { + border-left-width: 0px; +} + +.fc th:last-child, +.fc td:last-child { + border-right-width: 0px; + border-bottom-width: 0px; +} + +.fc-unthemed th, +.fc-unthemed td, +.fc-unthemed thead, +.fc-unthemed tbody, +.fc-unthemed .fc-divider, +.fc-unthemed .fc-row, +.fc-unthemed .fc-popover { + border-color: #ccc !important; +} + +#events-spinner .spinner { + margin-top: 9px; + margin-bottom: -9px; +} + +.bootstrap-tagsinput { + width: 100%; + padding: 6px 12px; +} + +.event-wrapper, +.vevent { + max-width: 700px; +} + +.event-owner { + padding: 10px; +} + +.event-owner img { + margin-right: 5px; +} + +.vevent, +.event-buttons { + padding: 10px; +} + diff --git a/view/css/mod_events.css b/view/css/mod_events.css index e72464539..f0b5c0166 100644 --- a/view/css/mod_events.css +++ b/view/css/mod_events.css @@ -1,7 +1,14 @@ /* fix borders */ -#events-calendar { - margin-left: -1px; - margin-bottom: -1px; + +.fc th:first-child, +.fc td:first-child { + border-left-width: 0px; +} + +.fc th:last-child, +.fc td:last-child { + border-right-width: 0px; + border-bottom-width: 0px; } .fc-unthemed th, diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 9dcfcdf3e..9a365d8a7 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1521,10 +1521,8 @@ nav .dropdown-menu { .generic-content-wrapper.fullscreen { position: absolute; width: 100%; - height: 100%; top: 0px; left: 0px; - border: 0px; border-radius: 0px; } diff --git a/view/tpl/events-js.tpl b/view/tpl/events-js.tpl index c29d80347..5c9eb2814 100755 --- a/view/tpl/events-js.tpl +++ b/view/tpl/events-js.tpl @@ -1,6 +1,8 @@
+ +
diff --git a/view/tpl/events_cal-js.tpl b/view/tpl/events_cal-js.tpl index bc8a3aa31..abffb2a92 100755 --- a/view/tpl/events_cal-js.tpl +++ b/view/tpl/events_cal-js.tpl @@ -2,6 +2,8 @@
+ +
-- cgit v1.2.3