social_stream 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/base/app/assets/javascripts/social_stream/contact.js +1 -3
  4. data/base/app/assets/stylesheets/social_stream-base.css.sass +9 -0
  5. data/base/app/assets/stylesheets/social_stream/base/adjust/_adjust.css.sass +1 -1
  6. data/base/app/assets/stylesheets/social_stream/base/contacts/layouts/_contacts.css.sass +11 -7
  7. data/base/app/assets/stylesheets/social_stream/base/contacts/responsive/_responsive-1200px-min.css.sass +1 -1
  8. data/base/app/assets/stylesheets/social_stream/base/explore/_explore-search.css.sass +2 -2
  9. data/base/app/assets/stylesheets/social_stream/base/explore/_explore-timeline.css.sass +1 -2
  10. data/base/app/assets/stylesheets/social_stream/base/frontpage_devise/_frontpage.css.sass +1 -1
  11. data/base/app/assets/stylesheets/social_stream/base/layouts/_layout.css.sass +1 -0
  12. data/base/app/assets/stylesheets/social_stream/base/mixins/_buttons.css.sass +38 -38
  13. data/base/app/assets/stylesheets/social_stream/base/modals/_modals.css.sass +17 -0
  14. data/base/app/assets/stylesheets/social_stream/base/modals/layout/_modals.css.sass +35 -0
  15. data/base/app/assets/stylesheets/social_stream/base/modals/responsive/_responsive-1200px-min.css.sass +5 -0
  16. data/base/app/assets/stylesheets/social_stream/base/modals/responsive/_responsive-767px-max.css.sass +10 -0
  17. data/base/app/assets/stylesheets/social_stream/base/modals/responsive/_responsive-768px-979px.css.sass +6 -0
  18. data/base/app/assets/stylesheets/social_stream/base/profile/_profile.css.sass +7 -5
  19. data/base/app/assets/stylesheets/social_stream/base/responsive/_responsive-1200px-min.css.sass +1 -11
  20. data/base/app/assets/stylesheets/social_stream/base/responsive/_responsive-767px-max.css.sass +2 -1
  21. data/base/app/assets/stylesheets/social_stream/base/responsive/_responsive-768px-979px.css.sass +1 -1
  22. data/base/app/assets/stylesheets/social_stream/base/search/_header.css.sass +3 -3
  23. data/base/app/assets/stylesheets/social_stream/base/select2/layout/_sselect2.css.sass +1 -1
  24. data/base/app/assets/stylesheets/social_stream/base/sidebar/_sidebar.css.sass +0 -1
  25. data/base/app/assets/stylesheets/social_stream/base/sidebar/layout/_sidebar.css.sass +2 -2
  26. data/base/app/assets/stylesheets/social_stream/base/sidebar/responsive/_responsive-1200px-min.css.sass +1 -1
  27. data/base/app/assets/stylesheets/social_stream/base/timeline/layout/_wrapper_activities.css.sass +2 -2
  28. data/base/app/assets/stylesheets/social_stream/base/toolbar/_toolbar.css.sass +2 -2
  29. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_modal.scss +1 -1
  30. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_variables.scss +12 -0
  31. data/base/app/assets/stylesheets/social_stream/fonts/fonts.css +8 -9
  32. data/base/app/assets/stylesheets/social_stream/fonts/{JosefinSlabOverlay.ttf → josefinSlab/JosefinSlabOverlay.ttf} +0 -0
  33. data/base/app/assets/stylesheets/social_stream/fonts/{JosefinSlabRegular-Outline.ttf → josefinSlab/JosefinSlabRegular-Outline.ttf} +0 -0
  34. data/base/app/assets/stylesheets/social_stream/fonts/{JosefinSlabRegular.ttf → josefinSlab/JosefinSlabRegular.ttf} +0 -0
  35. data/base/app/assets/stylesheets/social_stream/fonts/{OpenSans-Light.ttf → opensans/OpenSans-Light.ttf} +0 -0
  36. data/base/app/assets/stylesheets/social_stream/fonts/{opensans-regular-webfont.eot → opensans/opensans-regular-webfont.eot} +0 -0
  37. data/base/app/assets/stylesheets/social_stream/fonts/opensans/opensans-regular-webfont.svg +587 -0
  38. data/base/app/assets/stylesheets/social_stream/fonts/{opensans-regular-webfont.woff → opensans/opensans-regular-webfont.woff} +0 -0
  39. data/base/app/assets/stylesheets/social_stream/fonts/{opensans-regular.ttf → opensans/opensans-regular.ttf} +0 -0
  40. data/base/app/views/groups/_form.html.erb +8 -5
  41. data/base/app/views/home/index.html.erb +1 -1
  42. data/base/app/views/profiles/_avatar.html.erb +6 -6
  43. data/base/app/views/repositories/show.html.erb +0 -3
  44. data/base/config/locales/en.yml +1 -1
  45. data/base/lib/generators/social_stream/base/templates/initializer.rb +27 -19
  46. data/base/lib/social_stream/base/version.rb +1 -1
  47. data/contacts/_contacts.css.sass +64 -0
  48. data/contacts/layouts/_contacts.css.sass +177 -0
  49. data/contacts/responsive/_responsive-1200px-min.css.sass +29 -0
  50. data/contacts/responsive/_responsive-767px-max.css.sass +88 -0
  51. data/contacts/responsive/_responsive-768px-979px.css.sass +14 -0
  52. data/documents/app/assets/stylesheets/social_stream/documents/create/layout/_new.css.sass +7 -35
  53. data/documents/app/assets/stylesheets/social_stream/documents/documents/_documents.css.sass +6 -7
  54. data/documents/app/assets/stylesheets/social_stream/documents/documents/layout/_documents.css.sass +17 -3
  55. data/documents/app/assets/stylesheets/social_stream/documents/explore/layout/_explore-documents.css.sass +2 -1
  56. data/documents/app/assets/stylesheets/social_stream/documents/timeline/_audios.css.sass +4 -3
  57. data/documents/app/overrides/repositories/_filter/add_new_document_button.html.erb.deface +4 -0
  58. data/documents/app/views/common_documents/_index.html.erb +21 -17
  59. data/documents/app/views/documents/index.html.erb +0 -1
  60. data/documents/app/views/documents/new.html.erb +5 -3
  61. data/documents/lib/social_stream/documents/version.rb +1 -1
  62. data/documents/social_stream-documents.gemspec +1 -1
  63. data/events/app/assets/stylesheets/social_stream/events/responsive/_responsive-1200px-min.css.sass +1 -3
  64. data/events/app/views/rooms/_index.html.erb +9 -2
  65. data/events/lib/social_stream/events/version.rb +1 -1
  66. data/events/social_stream-events.gemspec +1 -1
  67. data/lib/social_stream/version.rb +1 -1
  68. data/oauth2_server/app/views/site/clients/_form.html.erb +1 -1
  69. data/oauth2_server/app/views/site/clients/show.html.erb +47 -45
  70. data/oauth2_server/lib/social_stream/oauth2_server/version.rb +1 -1
  71. data/oauth2_server/social_stream-oauth2_server.gemspec +1 -1
  72. data/presence/ejabberd/ejabberd_scripts/authentication_script +9 -11
  73. data/presence/lib/social_stream/presence/version.rb +1 -1
  74. data/presence/social_stream-presence.gemspec +1 -1
  75. data/social_stream.gemspec +5 -5
  76. metadata +31 -20
  77. data/base/app/assets/stylesheets/social_stream/fonts/opensans-regular-webfont.svg +0 -244
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe0301e354dc45ff970977c0c864b38e428286e3
4
- data.tar.gz: 57e99fba32b044c6063738699c325b28c9ebec3b
3
+ metadata.gz: 4533fdc4bdc68a8fcfc7ceecbd27e9484745ea0e
4
+ data.tar.gz: c6dc95d6224d4c4a4a15aeca3f0f06f0e9a0e1f9
5
5
  SHA512:
6
- metadata.gz: 48b432d1b37f0154a9d60c03f9e43f5678087c00fffba40f217de25fff3d6b4432df324370245a0ce9467982b21cf912cae7ee694160d76d8bcdad26e404c68d
7
- data.tar.gz: dcee3968c5338da7916adcb127405f6ba1951c8f8ba400d333ce170e34c0719ceded278fd4834081dcd6e36df0bcf058d1cc4bcf3cfc7527100c7ca9ce17ea1c
6
+ metadata.gz: 8fbfd2b71fdc1dbed2391075ced6b95e4ef514a295ea25426d72fc369d4d3ea09c630bf50cb45eab2eea69a10acf2f7948e26e79e0a29b0af5ddfea83c175608
7
+ data.tar.gz: a027af86f4eb436bc0a63a19847ef0560e687d2b35dba4169fe1fcda9097cc89c9a9a5bc733089f8870dfd8dbdf407f44db4994cc837a6e1d6c4c79e71c9c0d7
data/.gitignore CHANGED
@@ -19,3 +19,4 @@ spec/dummy/log/*.log
19
19
  spec/dummy/tmp/
20
20
  .code_swarm
21
21
  .sass-cache/
22
+ .yardoc/
@@ -116,16 +116,14 @@ SocialStream.Contact = (function($, SS, undefined) {
116
116
  }
117
117
  };
118
118
 
119
- // Dictate if some form has changed its status
120
119
  var getInputValues = function(form) {
121
120
  return $('ul.dropdown-menu input[type="checkbox"]', form).
122
121
  map(function() {
123
122
  if ($(this).is(':checked'))
124
123
  return $(this).val();
125
- });
124
+ });
126
125
  };
127
126
 
128
- // Dictate if some form has changed its status
129
127
  var setInputValues = function(form) {
130
128
  return $('ul.dropdown-menu input[type="checkbox"]', form).
131
129
  map(function() {
@@ -170,6 +170,15 @@
170
170
 
171
171
 
172
172
 
173
+ @import "social_stream/base/modals/modals"
174
+
175
+ @import "social_stream/base/modals/layout/modals"
176
+
177
+ @import "social_stream/base/modals/responsive/responsive-768px-979px"
178
+ @import "social_stream/base/modals/responsive/responsive-1200px-min"
179
+ @import "social_stream/base/modals/responsive/responsive-767px-max"
180
+
181
+
173
182
 
174
183
  @import "social_stream/base/toolbar/toolbar"
175
184
 
@@ -24,7 +24,7 @@ textarea
24
24
  @include border-radius(4px)
25
25
 
26
26
  #fdbk_tab
27
- background-color: $blue !important
27
+ background-color: $principalColor !important
28
28
 
29
29
  .jcrop-tracker
30
30
  background-color: rgba(255, 255, 255, .2)
@@ -1,3 +1,7 @@
1
+ input#group_name
2
+ margin-left: 0px
3
+ width: 93% !important
4
+
1
5
  #contacts
2
6
  @include grid-core-span(12, $fluidGridColumnWidth, $fluidGridGutterWidth)
3
7
 
@@ -11,12 +15,11 @@
11
15
  .caret
12
16
  margin-left: 6px
13
17
 
14
- input
15
- &[type="text"]
16
- margin-left: 0px
17
- width: 20% !important
18
- float: left
19
- margin-botom: 0 !important
18
+ .contact-filter
19
+ margin-left: 0px
20
+ width: 22% !important
21
+ float: left
22
+ margin-botom: 0 !important
20
23
  .new_group-modal-link
21
24
  float: right
22
25
 
@@ -66,7 +69,8 @@
66
69
  display: inline-block
67
70
  float: right
68
71
  margin-top: -40px
69
-
72
+
73
+
70
74
 
71
75
  #contact-form
72
76
  ul
@@ -1,4 +1,4 @@
1
- s//
1
+ //
2
2
  // Responsive: Large desktop and up
3
3
  // --------------------------------------------------
4
4
 
@@ -70,7 +70,7 @@
70
70
  color: $black
71
71
  .info
72
72
  font-size: 80%
73
- color: #888
73
+ color: $grayLight
74
74
 
75
75
 
76
76
  .event
@@ -81,7 +81,7 @@
81
81
  .frequency
82
82
  @include ellipsis
83
83
  font-size: 12px
84
- color: #888
84
+ color: $grayLight
85
85
 
86
86
  .link
87
87
  .brifing
@@ -15,5 +15,4 @@
15
15
  color: $grayLight
16
16
  .new_comment
17
17
  form
18
- background-color: #f9f9f9
19
-
18
+ background-color: $whiteSmoke
@@ -3,7 +3,7 @@
3
3
 
4
4
  .explanation
5
5
  background-color: rgba(255, 255, 255, 0.8)
6
- border-left: 12px solid $blue
6
+ border-left: 12px solid $principalColor
7
7
  .big
8
8
  font-size: 18px
9
9
  font-weight: bold
@@ -1,6 +1,7 @@
1
1
  body
2
2
  background-color: #f9f9f9
3
3
  color: #555
4
+ text-rendering: optimizeLegibility
4
5
 
5
6
 
6
7
 
@@ -6,8 +6,8 @@
6
6
  line-height: $baseLineHeight
7
7
  vertical-align: middle
8
8
  cursor: pointer
9
- background-color: $white
10
- border: 1px solid $blue
9
+ background-color: $principal-btnColorbackground
10
+ border: 1px solid $principal-btnColorborder
11
11
  *border: 0
12
12
  color: $gray
13
13
  background-image: none
@@ -18,34 +18,34 @@
18
18
  color: $gray
19
19
 
20
20
  &:hover
21
- border: 1px solid $white
22
- background-color: $blue !important
23
- color: $white
21
+ border: 1px solid $principal-btnColorbackground
22
+ background-color: $principalColor !important
23
+ color: $auxiliarColor
24
24
  .caret
25
25
  @include transition (border 1s, color, 1s)
26
- border-top-color: $white
27
- border-bottom-color: $white
26
+ border-top-color: $principal-btnColorbackground
27
+ border-bottom-color: $principal-btnColorbackground
28
28
  .caret
29
- border-top-color: $blue
30
- border-bottom-color: $blue
29
+ border-top-color: $principal-btnColorborder
30
+ border-bottom-color: $principal-btnColorborder
31
31
  &:hover
32
- border-top-color: $white
33
- border-bottom-color: $white
32
+ border-top-color: $principal-btnColorbackground
33
+ border-bottom-color: $principal-btnColorbackground
34
34
 
35
35
  &:focus
36
36
  @include tab-focus()
37
37
 
38
38
  &.active
39
- border: 1px solid $white
40
- background-color: $blue !important
41
- color: $white
39
+ border: 1px solid $auxiliarColor
40
+ background-color: $principalColor !important
41
+ color: $auxiliarColor
42
42
 
43
43
  &.disabled,
44
44
  &[disabled]
45
45
  cursor: default
46
46
  @include opacity(85)
47
- background-color: $blue
48
- color: $white
47
+ background-color: $principalColor
48
+ color: $auxiliarColor
49
49
 
50
50
 
51
51
 
@@ -57,10 +57,10 @@
57
57
  line-height: $baseLineHeight
58
58
  vertical-align: middle
59
59
  cursor: pointer
60
- background-color: $blue
61
- border: 1px solid $white
60
+ background-color: $secundary-btnColorbackground
61
+ border: 1px solid $secundary-btnColorborder
62
62
  *border: 0
63
- color: $white
63
+ color: $auxiliarColor
64
64
  background-image: none
65
65
  @include ie7-restore-left-whitespace()
66
66
  @include box-shadow(inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05))
@@ -69,23 +69,23 @@
69
69
  color: $gray
70
70
 
71
71
  &:hover
72
- border: 1px solid $blue
73
- background-color: $white !important
74
- color: $blue
72
+ border: 1px solid $secundary-btnColorbackground
73
+ background-color: $secundary-btnColorborder !important
74
+ color: $principalColor
75
75
 
76
76
  &:focus
77
77
  @include tab-focus()
78
78
 
79
79
  &.active
80
- border: 1px solid $blue
81
- background-color: $white !important
82
- color: $blue
80
+ border: 1px solid $secundary-btnColorborder
81
+ background-color: $secundary-btnColorbackground !important
82
+ color: $principalColor
83
83
 
84
84
  &.disabled,
85
85
  &[disabled]
86
86
  cursor: default
87
87
  @include opacity(85)
88
- background-color: $white
88
+ background-color: $secundary-btnColorbackground
89
89
  color: $gray
90
90
 
91
91
 
@@ -102,15 +102,15 @@
102
102
  border: 1px solid
103
103
  border-right: #edeaf2
104
104
  border-bottom: #e3e0e8
105
- border-color: #fff
105
+ border-color: $auxiliarColor
106
106
  @include border-radius (5px)
107
- color: #000
107
+ color: $black
108
108
  text-align: center
109
109
  padding: 0px 10px 0px 4px
110
110
 
111
111
  &:hover
112
- background-color: #555
113
- color: #fff
112
+ background-color: $gray
113
+ color: $auxiliarColor
114
114
  text-decoration: none
115
115
 
116
116
  &:focus
@@ -133,17 +133,17 @@
133
133
  &:hover
134
134
  .caret
135
135
  @include transition (border 1s, color, 1s)
136
- border-top-color: $white
137
- border-bottom-color: $white
136
+ border-top-color: $auxiliarColor
137
+ border-bottom-color: $auxiliarColor
138
138
  .caret
139
- border-top-color: $blue
140
- border-bottom-color: $blue
139
+ border-top-color: $principal-btnColorborder
140
+ border-bottom-color: $principal-btnColorborder
141
141
  &:hover
142
- border-top-color: $white
143
- border-bottom-color: $white
142
+ border-top-color: $auxiliarColor
143
+ border-bottom-color: $auxiliarColor
144
144
 
145
145
  .open
146
146
  .btn
147
147
  .caret
148
- border-top-color: $blue
149
- border-bottom-color: $blue
148
+ border-top-color: $principal-btnColorborder
149
+ border-bottom-color: $principal-btnColorborder
@@ -0,0 +1,17 @@
1
+ .modal-body
2
+ background: $auxiliarColor
3
+
4
+ label
5
+ font-size: 22px
6
+ font-weight: bold
7
+ color: #CCC
8
+
9
+ section
10
+ border-bottom: 1px dashed #CCC
11
+
12
+ #document_file
13
+ @include ellipsis
14
+
15
+ input
16
+ &[type="file"]
17
+ line-height: 0px
@@ -0,0 +1,35 @@
1
+ .modal-body
2
+ max-height: 520px
3
+ padding: 0 15px 0px 15px
4
+ #new_file
5
+ width: 100%
6
+ margin-left: 0px
7
+ #document_title
8
+ margin-left: 0px !important
9
+ .tags
10
+ .select2-container
11
+ width: 98.5%
12
+
13
+ section
14
+ padding-top: 15px
15
+ padding-bottom: 15px
16
+
17
+ input
18
+ &[type="submit"]
19
+ float: right
20
+ margin: 23px 16px 0 -14px
21
+ .name,
22
+ .url
23
+ margin-left: 0px
24
+ width: 100%
25
+
26
+ textarea
27
+ height: 63px
28
+
29
+ form
30
+ margin-left: 0px
31
+ width: 100%
32
+ padding-bottom: 50px
33
+ .select2-container-multi
34
+ .select2-choices
35
+ @include gradient-directional($startColor: #f9f9f9, $endColor: #f1f1f1, $deg: 45deg)
@@ -0,0 +1,5 @@
1
+ //
2
+ // Responsive: Large desktop and up
3
+ // --------------------------------------------------
4
+
5
+ @media (min-width: 1200px)
@@ -0,0 +1,10 @@
1
+ //
2
+ // Responsive: Landscape phone to desktop/tablet
3
+ // --------------------------------------------------
4
+
5
+ @media (max-width: 767px)
6
+
7
+ // UP TO LANDSCAPE PHONE
8
+ // ---------------------
9
+
10
+ @media (max-width: 480px)
@@ -0,0 +1,6 @@
1
+ //
2
+ // Responsive: Tablet to desktop
3
+ // --------------------------------------------------
4
+
5
+
6
+ @media (min-width: 768px) and (max-width: 979px)
@@ -14,9 +14,9 @@
14
14
  .avatar
15
15
  input,
16
16
  textarea
17
- background-color: #f9f9f9
17
+ background-color: $whiteSmoke
18
18
  .briefing
19
- background-color: white
19
+ background-color: $white
20
20
  color: $gray
21
21
  span
22
22
  @include border-radius(5px)
@@ -25,7 +25,7 @@
25
25
  color: #3A87AD
26
26
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5)
27
27
  p
28
- border-top: 5px solid #f9f9f9
28
+ border-top: 5px solid $whiteSmoke
29
29
  background-color: none
30
30
 
31
31
 
@@ -35,11 +35,13 @@
35
35
  @include btn-secundary
36
36
  .avatar
37
37
  form.edit_actor
38
- background-color: #f9f9f9
38
+ background-color: $white
39
39
  padding-left: 10px
40
40
  padding-top: 14px
41
41
  input
42
- &[type="file"]
42
+ &[type="submit"]
43
+ float: right
44
+ margin: -10px 24px 0 0px
43
45
 
44
46
  h5
45
47
  color: $grayLighter
@@ -94,14 +94,4 @@
94
94
  .comments
95
95
  h6
96
96
  a
97
- font-size: 16px !important
98
-
99
-
100
-
101
- #documents
102
- #toolbar
103
- display: none
104
- .documents
105
- @include grid-core-span(12, $fluidGridColumnWidth, $fluidGridGutterWidth)
106
- float: left
107
- margin-left: 0
97
+ font-size: 16px !important
@@ -118,7 +118,8 @@
118
118
  // ---------------------
119
119
 
120
120
  @media (max-width: 480px)
121
-
121
+ body
122
+ text-rendering: optimizeSpeed
122
123
  header.navbar
123
124
  ul
124
125
  li