social_stream-events 1.1.1 → 2.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/app/assets/javascripts/social_stream/calendar.js.erb +135 -0
  3. data/app/assets/javascripts/social_stream/event.js +44 -0
  4. data/app/assets/javascripts/social_stream/events.action.js +36 -0
  5. data/app/assets/javascripts/social_stream/events.poster.js +23 -0
  6. data/app/assets/javascripts/social_stream/events.timeline.js +6 -0
  7. data/app/assets/javascripts/social_stream/fullcalendar.js +135 -0
  8. data/app/assets/javascripts/social_stream-events.js +1 -1
  9. data/app/assets/stylesheets/social_stream/events/calendar/_calendar.css.sass +63 -0
  10. data/app/assets/stylesheets/social_stream/events/calendar/_calendar_modal.css.sass +15 -0
  11. data/app/assets/stylesheets/social_stream/events/calendar/_calendar_sidebar.css.sass +50 -0
  12. data/app/assets/stylesheets/social_stream/events/calendar/layout/_calendar.css.sass +28 -0
  13. data/app/assets/stylesheets/social_stream/events/calendar/layout/_calendar_modal.css.sass +60 -0
  14. data/app/assets/stylesheets/social_stream/events/calendar/layout/_calendar_sidebar.css.sass +26 -0
  15. data/app/assets/stylesheets/social_stream/events/explore/layout/_explore_timeline_events.css.sass +6 -0
  16. data/app/assets/stylesheets/social_stream/events/header_nav/layout/_header_nav_events.css.sass +2 -0
  17. data/app/assets/stylesheets/social_stream/events/repository/_repository.css.sass +16 -0
  18. data/app/assets/stylesheets/social_stream/events/repository/layout/_repository.css.sass +24 -0
  19. data/app/assets/stylesheets/social_stream/events/responsive/_responsive-1200px-min.css.sass +34 -0
  20. data/app/assets/stylesheets/social_stream/events/responsive/_responsive-767px-max.css.sass +77 -0
  21. data/app/assets/stylesheets/social_stream/events/responsive/_responsive-768px-979px.css.sass +32 -0
  22. data/app/assets/stylesheets/social_stream/events/timeline/_timeline_events.css.sass +66 -0
  23. data/app/assets/stylesheets/social_stream/events/timeline/layout/_timeline_events.css.sass +70 -0
  24. data/app/assets/stylesheets/social_stream-events.css.sass +42 -0
  25. data/app/helpers/events_helper.rb +12 -1
  26. data/app/models/event.rb +7 -9
  27. data/app/overrides/layouts/_header_signed_in/icon_nav.html.erb.deface +8 -0
  28. data/app/overrides/settings/_index/add_rooms.html.erb.deface +6 -0
  29. data/app/overrides/sidebar/_show/add_calendar.html.erb.deface +5 -0
  30. data/app/views/events/_calendar_month.erb +3 -1
  31. data/app/views/events/{_event_date.html.erb → _date.html.erb} +5 -8
  32. data/app/views/events/{_event_date_sidebar.html.erb → _date_sidebar.html.erb} +4 -4
  33. data/app/views/events/{_event_details.html.erb → _details.html.erb} +11 -8
  34. data/app/views/events/_event.html.erb +17 -9
  35. data/app/views/events/_event_sidebar.html.erb +3 -3
  36. data/app/views/events/_form_poster.html.erb +2 -2
  37. data/app/views/events/_new.html.erb +11 -20
  38. data/app/views/events/_poster.html.erb +13 -0
  39. data/app/views/events/_quick_search_result.html.erb +1 -0
  40. data/app/views/events/_search_result.html.erb +1 -0
  41. data/app/views/events/_timeline.html.erb +8 -0
  42. data/app/views/events/create.js.erb +4 -16
  43. data/app/views/events/edit.js.erb +2 -2
  44. data/app/views/events/index.html.erb +23 -91
  45. data/app/views/events/index.js.erb +1 -1
  46. data/app/views/rooms/_form.html.erb +11 -16
  47. data/app/views/rooms/_index.html.erb +3 -7
  48. data/app/views/settings/_rooms.html.erb +11 -0
  49. data/app/views/sidebar/_calendar.html.erb +48 -0
  50. data/config/locales/en.yml +6 -0
  51. data/config/locales/es.yml +6 -0
  52. data/lib/generators/social_stream/events/install_generator.rb +2 -3
  53. data/lib/social_stream/events/engine.rb +0 -12
  54. data/lib/social_stream/events/version.rb +1 -1
  55. data/lib/social_stream-events.rb +3 -12
  56. data/lib/tasks/db/populate.rake +44 -0
  57. data/social_stream-events.gemspec +2 -2
  58. data/spec/controllers/events_controller_spec.rb +20 -0
  59. data/spec/views/settings_spec.rb +39 -0
  60. metadata +69 -44
  61. data/app/assets/javascripts/social_stream.calendar.js.erb +0 -104
  62. data/app/assets/javascripts/social_stream.event.js +0 -55
  63. data/app/assets/javascripts/social_stream.events.action.js +0 -31
  64. data/app/assets/javascripts/social_stream.events.poster.js +0 -22
  65. data/app/assets/stylesheets/events.css.scss +0 -218
  66. data/app/assets/stylesheets/social_stream-events.css +0 -3
  67. data/app/decorators/social_stream/base/document_decorator.rb +0 -3
  68. data/app/models/activity_object_property/poster.rb +0 -2
  69. data/app/views/events/_event_poster.html.erb +0 -9
  70. data/app/views/events/_sidebar_calendar.html.erb +0 -45
  71. data/app/views/rooms/_settings.html.erb +0 -23
  72. data/lib/social_stream/events/models/document.rb +0 -26
  73. data/lib/social_stream/views/settings/events.rb +0 -18
  74. data/lib/social_stream/views/sidebar/events.rb +0 -17
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_stream-events
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
5
- prerelease:
4
+ version: 2.0.0.beta1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Antonio Tapiador
@@ -10,47 +9,54 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-01-28 00:00:00.000000000 Z
12
+ date: 2013-04-16 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: social_stream-base
17
- requirement: &73974000 !ruby/object:Gem::Requirement
18
- none: false
16
+ requirement: !ruby/object:Gem::Requirement
19
17
  requirements:
20
18
  - - ~>
21
19
  - !ruby/object:Gem::Version
22
- version: 1.1.1
20
+ version: 2.0.0.beta1
23
21
  type: :runtime
24
22
  prerelease: false
25
- version_requirements: *73974000
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ~>
26
+ - !ruby/object:Gem::Version
27
+ version: 2.0.0.beta1
26
28
  - !ruby/object:Gem::Dependency
27
29
  name: rails-scheduler
28
- requirement: &73973250 !ruby/object:Gem::Requirement
29
- none: false
30
+ requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
32
  - - ~>
32
33
  - !ruby/object:Gem::Version
33
- version: 0.0.8
34
+ version: 0.1.1
34
35
  type: :runtime
35
36
  prerelease: false
36
- version_requirements: *73973250
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ version: 0.1.1
37
42
  - !ruby/object:Gem::Dependency
38
43
  name: sqlite3-ruby
39
- requirement: &73972600 !ruby/object:Gem::Requirement
40
- none: false
44
+ requirement: !ruby/object:Gem::Requirement
41
45
  requirements:
42
- - - ! '>='
46
+ - - '>='
43
47
  - !ruby/object:Gem::Version
44
48
  version: '0'
45
49
  type: :development
46
50
  prerelease: false
47
- version_requirements: *73972600
48
- description: ! 'Social Stream is a Ruby on Rails engine providing your application
49
- with social networking features and activity streams.
50
-
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ description: |-
57
+ Social Stream is a Ruby on Rails engine providing your application with social networking features and activity streams.
51
58
 
52
- This gem allow you to add events as a new social stream activity, with a calendar-supported
53
- management'
59
+ This gem allow you to add events as a new social stream activity, with a calendar-supported management
54
60
  email: social-stream@dit.upm.es
55
61
  executables: []
56
62
  extensions: []
@@ -62,30 +68,49 @@ files:
62
68
  - Rakefile
63
69
  - app/assets/images/poster.png
64
70
  - app/assets/javascripts/social_stream-events.js
65
- - app/assets/javascripts/social_stream.calendar.js.erb
66
- - app/assets/javascripts/social_stream.event.js
67
- - app/assets/javascripts/social_stream.events.action.js
68
- - app/assets/javascripts/social_stream.events.poster.js
69
- - app/assets/stylesheets/events.css.scss
70
- - app/assets/stylesheets/social_stream-events.css
71
+ - app/assets/javascripts/social_stream/calendar.js.erb
72
+ - app/assets/javascripts/social_stream/event.js
73
+ - app/assets/javascripts/social_stream/events.action.js
74
+ - app/assets/javascripts/social_stream/events.poster.js
75
+ - app/assets/javascripts/social_stream/events.timeline.js
76
+ - app/assets/javascripts/social_stream/fullcalendar.js
77
+ - app/assets/stylesheets/social_stream-events.css.sass
78
+ - app/assets/stylesheets/social_stream/events/calendar/_calendar.css.sass
79
+ - app/assets/stylesheets/social_stream/events/calendar/_calendar_modal.css.sass
80
+ - app/assets/stylesheets/social_stream/events/calendar/_calendar_sidebar.css.sass
81
+ - app/assets/stylesheets/social_stream/events/calendar/layout/_calendar.css.sass
82
+ - app/assets/stylesheets/social_stream/events/calendar/layout/_calendar_modal.css.sass
83
+ - app/assets/stylesheets/social_stream/events/calendar/layout/_calendar_sidebar.css.sass
84
+ - app/assets/stylesheets/social_stream/events/explore/layout/_explore_timeline_events.css.sass
85
+ - app/assets/stylesheets/social_stream/events/header_nav/layout/_header_nav_events.css.sass
86
+ - app/assets/stylesheets/social_stream/events/repository/_repository.css.sass
87
+ - app/assets/stylesheets/social_stream/events/repository/layout/_repository.css.sass
88
+ - app/assets/stylesheets/social_stream/events/responsive/_responsive-1200px-min.css.sass
89
+ - app/assets/stylesheets/social_stream/events/responsive/_responsive-767px-max.css.sass
90
+ - app/assets/stylesheets/social_stream/events/responsive/_responsive-768px-979px.css.sass
91
+ - app/assets/stylesheets/social_stream/events/timeline/_timeline_events.css.sass
92
+ - app/assets/stylesheets/social_stream/events/timeline/layout/_timeline_events.css.sass
71
93
  - app/controllers/events_controller.rb
72
94
  - app/controllers/rooms_controller.rb
73
95
  - app/decorators/social_stream/base/actor_decorator.rb
74
- - app/decorators/social_stream/base/document_decorator.rb
75
96
  - app/helpers/events_helper.rb
76
- - app/models/activity_object_property/poster.rb
77
97
  - app/models/event.rb
78
98
  - app/models/room.rb
99
+ - app/overrides/layouts/_header_signed_in/icon_nav.html.erb.deface
100
+ - app/overrides/settings/_index/add_rooms.html.erb.deface
101
+ - app/overrides/sidebar/_show/add_calendar.html.erb.deface
79
102
  - app/views/events/_calendar_month.erb
103
+ - app/views/events/_date.html.erb
104
+ - app/views/events/_date_sidebar.html.erb
105
+ - app/views/events/_details.html.erb
80
106
  - app/views/events/_event.html.erb
81
- - app/views/events/_event_date.html.erb
82
- - app/views/events/_event_date_sidebar.html.erb
83
- - app/views/events/_event_details.html.erb
84
- - app/views/events/_event_poster.html.erb
85
107
  - app/views/events/_event_sidebar.html.erb
86
108
  - app/views/events/_form_poster.html.erb
87
109
  - app/views/events/_new.html.erb
88
- - app/views/events/_sidebar_calendar.html.erb
110
+ - app/views/events/_poster.html.erb
111
+ - app/views/events/_quick_search_result.html.erb
112
+ - app/views/events/_search_result.html.erb
113
+ - app/views/events/_timeline.html.erb
89
114
  - app/views/events/create.js.erb
90
115
  - app/views/events/destroy.js.erb
91
116
  - app/views/events/edit.js.erb
@@ -93,9 +118,10 @@ files:
93
118
  - app/views/events/index.js.erb
94
119
  - app/views/rooms/_form.html.erb
95
120
  - app/views/rooms/_index.html.erb
96
- - app/views/rooms/_settings.html.erb
97
121
  - app/views/rooms/create.js.erb
98
122
  - app/views/rooms/destroy.js.erb
123
+ - app/views/settings/_rooms.html.erb
124
+ - app/views/sidebar/_calendar.html.erb
99
125
  - config/locales/en.yml
100
126
  - config/locales/es.yml
101
127
  - config/routes.rb
@@ -105,12 +131,12 @@ files:
105
131
  - lib/social_stream/events/ability.rb
106
132
  - lib/social_stream/events/engine.rb
107
133
  - lib/social_stream/events/models/actor.rb
108
- - lib/social_stream/events/models/document.rb
109
134
  - lib/social_stream/events/version.rb
110
135
  - lib/social_stream/migrations/events.rb
111
- - lib/social_stream/views/settings/events.rb
112
- - lib/social_stream/views/sidebar/events.rb
136
+ - lib/tasks/db/populate.rake
113
137
  - social_stream-events.gemspec
138
+ - spec/controllers/events_controller_spec.rb
139
+ - spec/views/settings_spec.rb
114
140
  - vendor/assets/images/boxy-ne.png
115
141
  - vendor/assets/images/boxy-nw.png
116
142
  - vendor/assets/images/boxy-se.png
@@ -124,27 +150,26 @@ files:
124
150
  - vendor/assets/stylesheets/fullcalendar.print.css
125
151
  homepage: http://github.com/ging/social_stream-events
126
152
  licenses: []
153
+ metadata: {}
127
154
  post_install_message:
128
155
  rdoc_options: []
129
156
  require_paths:
130
157
  - lib
131
158
  required_ruby_version: !ruby/object:Gem::Requirement
132
- none: false
133
159
  requirements:
134
- - - ! '>='
160
+ - - '>='
135
161
  - !ruby/object:Gem::Version
136
162
  version: '0'
137
163
  required_rubygems_version: !ruby/object:Gem::Requirement
138
- none: false
139
164
  requirements:
140
- - - ! '>='
165
+ - - '>'
141
166
  - !ruby/object:Gem::Version
142
- version: '0'
167
+ version: 1.3.1
143
168
  requirements: []
144
169
  rubyforge_project:
145
- rubygems_version: 1.8.10
170
+ rubygems_version: 2.0.0
146
171
  signing_key:
147
- specification_version: 3
172
+ specification_version: 4
148
173
  summary: Scheduled events support for Social Stream, the core for building social
149
174
  network websites
150
175
  test_files: []
@@ -1,104 +0,0 @@
1
- //= require jquery.tipsy
2
-
3
- SocialStream.Calendar = (function(SS, $, undefined){
4
- var eventsPath;
5
-
6
- var element = function(){
7
- return $("#sidebar_calendar");
8
- }
9
- var eventElementRegExp = new RegExp('sidebar_day_(..?)_(..?)_(..?.?.?)');
10
-
11
- var eventElementMatch = function(el){
12
- return eventElementRegExp.exec(el.id);
13
- }
14
-
15
- var eventElementDate = function(el) {
16
- var m = eventElementMatch(el);
17
-
18
- if(m == null) return;
19
-
20
- return new Date(m[3], (m[2]-1), m[1], 23, 59, 59);
21
- }
22
-
23
- var eventElement = function(date) {
24
- return $('#sidebar_day_' + date.getDate() + '_' + (date.getMonth()+1) + '_' + date.getFullYear())
25
- }
26
-
27
- var init = function(options){
28
- eventsPath = options["eventsPath"]
29
-
30
- var now = new Date();
31
-
32
- eventElement(now).addClass('today');
33
-
34
-
35
- $('#sidebar_calendar td').each(function(index, domEl){
36
- var d = eventElementDate(domEl)
37
-
38
- if(d < now) $(domEl).addClass('past');
39
- if(d.getMonth() != now.getMonth() && d > now) $(domEl).addClass('next_month');
40
- });
41
-
42
- $.ajax({
43
- dataType: 'json',
44
- cache: false,
45
- url: eventsPath,
46
- data: {
47
- start: options["start"],
48
- end: options["end"]
49
- },
50
-
51
- success: initBusyEvents
52
- });
53
- }
54
-
55
- var initBusyEvents = function(events) {
56
- $.map(events, function(event) {
57
- var start = new Date(event.start); // This applies TZ
58
- var end = new Date(event.end);
59
-
60
- for(loopTime=start.getTime(); loopTime <= end.getTime(); loopTime+=86400000) {
61
- var d = new Date(loopTime);
62
- var domEl = eventElement(d);
63
-
64
- domEl.addClass("busy");
65
- domEl.tipsy({
66
- title: busyTipsy,
67
- html: true,
68
- fade: true,
69
- hoverable: true,
70
- gravity: 'ne',
71
- opacity: 0.95
72
- });
73
- }
74
- })
75
- }
76
-
77
- var busyTipsy = function(){
78
- var startDate = eventElementDate(this)
79
- startDate.setHours(0);
80
- startDate.setMinutes(0);
81
- startDate.setSeconds(0);
82
- var endDate = eventElementDate(this)
83
-
84
- $.ajax({
85
- dataType: "script",
86
- url: eventsPath,
87
- data: {
88
- // use UNIX timestamps
89
- start: Math.round(startDate.getTime() / 1000),
90
- end: Math.round(endDate.getTime() / 1000),
91
- tipsy: this.id
92
- }
93
- });
94
-
95
- return '<div id="tipsy-' + this.id + '" class="tipsy-sidebar_calendar"><img src="<%= asset_path('loading.gif') %>"></div>';
96
- }
97
-
98
- return {
99
- init: init,
100
- element: element,
101
- eventElement: eventElement
102
- }
103
-
104
- })(SocialStream, jQuery);
@@ -1,55 +0,0 @@
1
- //= require social_stream.timeline
2
-
3
- SocialStream.Event = (function(SS, $, undefined) {
4
- var indexCallbacks = [];
5
-
6
- var addIndexCallback = function(callback){
7
- indexCallbacks.push(callback);
8
- }
9
-
10
- var index = function(){
11
- $.each(indexCallbacks, function(i, callback){ callback(); });
12
- }
13
-
14
- var color = function(){
15
- SocialStream.Events.current.eventColor;
16
- }
17
-
18
- var fixDates = function(){
19
- $(".event").each(function(){
20
- dateString = $(this).find("time").attr("datetime");
21
-
22
- date = new Date(dateString);
23
-
24
- var dayEl = $(this).find(".event_day");
25
- if (dayEl.length) {
26
- dayEl.text($.datepicker.formatDate('d', date));
27
- }
28
-
29
- var monthEl = $(this).find(".event_month");
30
- if (monthEl.length) {
31
- monthEl.text($.datepicker.formatDate('M', date));
32
- }
33
-
34
- var hourEl = $(this).find(".event_hour");
35
- if(hourEl.length) {
36
- var minutes = date.getMinutes();
37
- if (minutes<10) minutes = "0" + minutes;
38
- hourEl.text(date.getHours() + ':' + minutes);
39
- }
40
-
41
- });
42
-
43
- }
44
-
45
- addIndexCallback(fixDates);
46
-
47
- SocialStream.Timeline.addInitCallback(index);
48
-
49
- return {
50
- addIndexCallback: addIndexCallback,
51
- color: color,
52
- index: index
53
- }
54
-
55
- })(SocialStream, jQuery);
@@ -1,31 +0,0 @@
1
- //= require social_stream.action
2
-
3
- SocialStream.Events.Action = (function(SS, $, undefined){
4
- var animateCalendar = function(action) {
5
- if (action.activity_object.type != "Event") {
6
- return;
7
- }
8
-
9
- if (!action.follow) {
10
- return;
11
- }
12
-
13
- var fromEl = SS.Action.followForms(action).closest(".event").find("time");
14
- var fromDate = new Date(fromEl.attr('datetime'));
15
-
16
- var toEl = SS.Calendar.eventElement(fromDate) || SS.Calendar.element;
17
-
18
- if (action.follow.following) {
19
- fromEl.effect("transfer", {to: toEl}, 1000);
20
- toEl.addClass("busy");
21
- } else {
22
- toEl.effect("pulsate");
23
- }
24
- }
25
-
26
- SocialStream.Action.addUpdateCallback(animateCalendar);
27
-
28
- return {
29
- }
30
-
31
- })(SocialStream, jQuery);
@@ -1,22 +0,0 @@
1
- SocialStream.Events.Poster = (function(SS, $, undefined){
2
- var init = function(){
3
- $('.event_poster_update').hide();
4
-
5
- $('.event_poster').hover(
6
- function(){
7
- $(this).find(".event_poster_update").fadeIn("slow");
8
-
9
- },
10
- function(){
11
- $(this).find(".event_poster_update").fadeOut("slow");
12
- });
13
- }
14
-
15
- SS.Timeline.addInitCallback(init);
16
- SS.Event.addIndexCallback(init);
17
-
18
- return {
19
- init: init
20
- };
21
-
22
- })(SocialStream, jQuery);
@@ -1,218 +0,0 @@
1
- // Place all the styles related to the events controller here.
2
- // They will automatically be included in application.css.
3
- // You can use Sass (SCSS) here: http://sass-lang.com/
4
- //
5
- //= require fullcalendar
6
- //= require boxy
7
- //= require tipsy
8
-
9
- @import "colors";
10
-
11
- .event_date {
12
- cursor: pointer;
13
- display: block;
14
- float: left;
15
- font-weight: bold;
16
- text-align: center;
17
- width: 45px;
18
- }
19
-
20
- a.event_date {
21
- color: $details-color;
22
- }
23
-
24
- div.event_date {
25
- margin-top: 25px;
26
- }
27
-
28
- .event_day {
29
- font-size: 3em;
30
- line-height: 90%;
31
- }
32
-
33
- .event_month {
34
- font-size: 2em;
35
- line-height: 70%;
36
- }
37
-
38
- .event_hour {
39
- font-size: 1.2em;
40
- min-height: 20px;
41
- min-width: 30px;
42
- }
43
-
44
- .event_sidebar .event_hour {
45
- font-size: 2em;
46
- line-height: 90%;
47
- }
48
-
49
-
50
- .event_details {
51
- padding-top: 10px;
52
- float: left;
53
- }
54
-
55
- .event_poster {
56
- width: 80px;
57
- height: 113px;
58
- margin-left: 5px;
59
- float: left;
60
- position: relative;
61
- }
62
-
63
- .event_poster_update {
64
- top: 95px;
65
- left: 10px;
66
- float: left;
67
- position: absolute;
68
- background: $secondary-color;
69
- text-align: center;
70
- opacity: 0.8;
71
- width: 80;
72
- height: 18px;
73
- /* For IE 5-7 */
74
- filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
75
- /* For IE 8 */
76
- -MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
77
- }
78
-
79
- .event_frequency {
80
- text-align: center;
81
- font-size: 0.8em;
82
- }
83
-
84
- .event_details .description {
85
- overflow: hidden;
86
- text-overflow: ellipsis;
87
- height: 50px;
88
- width: 300px;
89
- }
90
-
91
- .event_details .title {
92
- text-align: left;
93
- }
94
-
95
- .event_details .follow_form {
96
- float: left;
97
- }
98
-
99
- .event_details .follow_sentence {
100
- float: left;
101
- padding: 10px 10px;
102
- width: 175px;
103
- }
104
-
105
- .event_sidebar .event_frequency {
106
- font-size: 1em;
107
- }
108
-
109
- #calendar {
110
- margin-top: 20px;
111
- }
112
-
113
- #sidebar_calendar_date {
114
- margin-left: 5px;
115
- }
116
-
117
- #sidebar_calendar {
118
- width: 100%;
119
- text-align: center;
120
- padding-top: 5px;
121
- border-top: thin solid $separation-color;
122
- border-bottom: thin solid $separation-color;
123
- }
124
-
125
- #sidebar_calendar a {
126
- color: black;
127
- }
128
-
129
- #sidebar_calendar td {
130
- height: 25px;
131
- padding: 1px;
132
- }
133
-
134
- #sidebar_calendar td.past {
135
- opacity: 0.2;
136
- }
137
-
138
- #sidebar_calendar td.today {
139
- border: 1px solid $sentence-color;
140
- }
141
-
142
- #sidebar_calendar td.next_month {
143
- opacity: 0.8;
144
- background-color: #F2F2F2;
145
- }
146
-
147
- #sidebar_calendar td.busy {
148
- font-weight: bold;
149
- }
150
-
151
- #sidebar_calendar td.busy:hover {
152
- font-weight: bold;
153
- color: $main-color;
154
- background: $secondary-color;
155
- border: $main-color 1px solid;
156
- padding: 0px;
157
- }
158
-
159
- #sidebar_calendar td.busy.today {
160
- padding: 0px;
161
- }
162
-
163
- #sidebar_calendar td.busy:hover a {
164
- color: $main-color;
165
- }
166
-
167
- .sidebar_calendar_month {
168
- text-align: center;
169
- padding: 5px;
170
- }
171
-
172
- .sidebar_calendar_month a {
173
- color: $sentence-color;
174
- }
175
-
176
- .sidebar_calendar_month.not_current a {
177
- color: $details-color;
178
- }
179
-
180
- #new_event div.form_row {
181
- padding: 3px 0;
182
- }
183
-
184
- #new_event label {
185
- float: left;
186
- min-width: 60px;
187
- text-align: right;
188
- padding-right: 10px;
189
- }
190
-
191
- #new_event textarea {
192
- height: 30px;
193
- width: 200px;
194
- }
195
-
196
- #scheduler-options {
197
- padding: 2px 10px;
198
- }
199
-
200
- .event_sidebar {
201
- float: left;
202
- border-bottom: 1px solid $secondary-color;
203
- padding: 5px;
204
- }
205
-
206
- .tipsy-sidebar_calendar {
207
- min-width: 470px;
208
- width: 470px;
209
- border: solid $separation-color 1px;
210
- padding: 10px;
211
- background-color: #FFF;
212
- opacity: 1;
213
- border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
214
- }
215
-
216
- .tipsy-inner {
217
- max-width: 500px;
218
- }
@@ -1,3 +0,0 @@
1
- /*
2
- *= require_tree .
3
- */
@@ -1,3 +0,0 @@
1
- Document.class_eval do
2
- include SocialStream::Events::Models::Document
3
- end
@@ -1,2 +0,0 @@
1
- class ActivityObjectProperty::Poster < ActivityObjectProperty
2
- end
@@ -1,9 +0,0 @@
1
- <div class="event_poster">
2
- <%= event_timeline_thumb(event) %>
3
-
4
- <% if can? :update, event %>
5
- <div class="event_poster_update">
6
- <%= link_to t('event.poster.update'), edit_event_path(event, :poster => true), :remote => true %>
7
- </div>
8
- <% end %>
9
- </div>