diff options
author | Michael Vogel <icarus@dabo.de> | 2012-05-25 16:19:10 +0200 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-05-25 16:19:10 +0200 |
commit | a71e3134bf7250b60cafd1e51098eea70c3459de (patch) | |
tree | 456f59d30e5f4b8d22f4bfdac0c55e7323cd0427 /view/theme/slackr | |
parent | 8c80fe0bf51fa472ddf9bf225490e47ea1bf4a7f (diff) | |
parent | d1345e505406b1a1cdc3fc26a1734916c8abc89d (diff) | |
download | volse-hubzilla-a71e3134bf7250b60cafd1e51098eea70c3459de.tar.gz volse-hubzilla-a71e3134bf7250b60cafd1e51098eea70c3459de.tar.bz2 volse-hubzilla-a71e3134bf7250b60cafd1e51098eea70c3459de.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/theme/slackr')
-rw-r--r-- | view/theme/slackr/birthdays_reminder.tpl | 1 | ||||
-rw-r--r-- | view/theme/slackr/events_reminder.tpl | 39 | ||||
-rw-r--r-- | view/theme/slackr/style.css | 85 | ||||
-rw-r--r-- | view/theme/slackr/theme.php | 9 |
4 files changed, 133 insertions, 1 deletions
diff --git a/view/theme/slackr/birthdays_reminder.tpl b/view/theme/slackr/birthdays_reminder.tpl new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/view/theme/slackr/birthdays_reminder.tpl @@ -0,0 +1 @@ + diff --git a/view/theme/slackr/events_reminder.tpl b/view/theme/slackr/events_reminder.tpl new file mode 100644 index 000000000..99407fc3e --- /dev/null +++ b/view/theme/slackr/events_reminder.tpl @@ -0,0 +1,39 @@ +<link rel='stylesheet' type='text/css' href='$baseurl/library/fullcalendar/fullcalendar.css' /> +<script language="javascript" type="text/javascript" + src="$baseurl/library/fullcalendar/fullcalendar.min.js"></script> +<script> + // start calendar from yesterday + var yesterday= new Date() + yesterday.setDate(yesterday.getDate()-1) + + function showEvent(eventid) { + $.get( + '$baseurl/events/?id='+eventid, + function(data){ + $.fancybox(data); + } + ); + } + $(document).ready(function() { + $('#events-reminder').fullCalendar({ + firstDay: yesterday.getDay(), + year: yesterday.getFullYear(), + month: yesterday.getMonth(), + date: yesterday.getDate(), + events: '$baseurl/events/json/', + header: { + left: '', + center: '', + right: '' + }, + timeFormat: 'HH(:mm)', + defaultView: 'basicWeek', + height: 50, + eventClick: function(calEvent, jsEvent, view) { + showEvent(calEvent.id); + } + }); + }); +</script> +<div id="events-reminder"></div> +<br> diff --git a/view/theme/slackr/style.css b/view/theme/slackr/style.css index abb431ab9..82ba795cd 100644 --- a/view/theme/slackr/style.css +++ b/view/theme/slackr/style.css @@ -40,6 +40,29 @@ nav #site-location { right: 36px; } +#profile-jot-text_parent, .mceLayout { + border-radius: 3px; + -moz-border-radius: 3px; + box-shadow: 3px 3px 10px 0 #000000; +} + +#profile-jot-text:hover { + color: #000000; +} + +.fc { + opacity: 0.3; + filter:alpha(opacity=30); +} + +.fc:hover { + opacity: 1.0; + filter:alpha(opacity=100); +} + +.fc-event-skin { + background-color: #3465a4 !important; +} .wall-item-photo, .photo, .contact-block-img, .my-comment-photo { border-radius: 3px; -moz-border-radius: 3px; @@ -52,10 +75,70 @@ nav #site-location { box-shadow: 3px 3px 10px -2px #000000; } -.contact-entry-photo img, .profile-match-photo img, #photo-photo img, .directory-photo-img { +.contact-entry-photo img, .profile-match-photo img, #photo-photo img, .directory-photo-img, .photo-album-photo, .photo-top-photo, .fc, .profile-jot-text, .group-selected, .nets-selected, .fileas-selected, #profile-jot-submit, .categories-selected { border-radius: 3px; -moz-border-radius: 3px; box-shadow: 3px 3px 10px 0 #000000; } +.photo-top-photo, .photo-album-photo { + padding: 10px; + max-width: 300px; +} + +.rotleft1 { +-webkit-transform: rotate(-1deg); +-moz-transform: rotate(-1deg); +-ms-transform: rotate(-1deg); +-o-transform: rotate(-1deg); +} + +.rotleft2 { +-webkit-transform: rotate(-2deg); +-moz-transform: rotate(-2deg); +-ms-transform: rotate(-2deg); +-o-transform: rotate(-2deg); +} + +.rotleft3 { +-webkit-transform: rotate(-3deg); +-moz-transform: rotate(-3deg); +-ms-transform: rotate(-3deg); +-o-transform: rotate(-3deg); +} + +.rotleft4 { +-webkit-transform: rotate(-4deg); +-moz-transform: rotate(-4deg); +-ms-transform: rotate(-4deg); +-o-transform: rotate(-4deg); +} + +.rotright1 { +-webkit-transform: rotate(1deg); +-moz-transform: rotate(1deg); +-ms-transform: rotate(1deg); +-o-transform: rotate(1deg); +} + +.rotright2 { +-webkit-transform: rotate(2deg); +-moz-transform: rotate(2deg); +-ms-transform: rotate(2deg); +-o-transform: rotate(2deg); +} + +.rotright3 { +-webkit-transform: rotate(3deg); +-moz-transform: rotate(3deg); +-ms-transform: rotate(3deg); +-o-transform: rotate(3deg); +} + +.rotright4 { +-webkit-transform: rotate(4deg); +-moz-transform: rotate(4deg); +-ms-transform: rotate(4deg); +-o-transform: rotate(4deg); +} diff --git a/view/theme/slackr/theme.php b/view/theme/slackr/theme.php index 99e061a2f..988700860 100644 --- a/view/theme/slackr/theme.php +++ b/view/theme/slackr/theme.php @@ -43,8 +43,17 @@ function cmtBbOpen(id) { function cmtBbClose(id) { $(".comment-edit-bb-" + id).hide(); } + +function hidecal() { + if(editor) return; + $('.fc').hide(); +} + $(document).ready(function() { + $("#profile-jot-text").focus(hidecal); + $("#profile-jot-text").click(hidecal); + $('html').click(function() { $("#nav-notifications-menu" ).hide(); }); $('.group-edit-icon').hover( |