diff options
author | Michael <icarus@dabo.de> | 2012-05-26 11:59:19 +0200 |
---|---|---|
committer | Michael <icarus@dabo.de> | 2012-05-26 11:59:19 +0200 |
commit | 7b3c02057db47a627b56bdd79f1055ea7f876617 (patch) | |
tree | 8c9b11fa72e544aea721f385b40bff7254e42ed2 /view/theme/slackr | |
parent | 6342b3e0bdd5774857a8fca809994f05e0208d25 (diff) | |
parent | f5290a5a107ef2d6c309c4a3205319c9b0d13994 (diff) | |
download | volse-hubzilla-7b3c02057db47a627b56bdd79f1055ea7f876617.tar.gz volse-hubzilla-7b3c02057db47a627b56bdd79f1055ea7f876617.tar.bz2 volse-hubzilla-7b3c02057db47a627b56bdd79f1055ea7f876617.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( |