social_stream-base 2.0.0.beta1 → 2.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/icons/favicon.ico +0 -0
  3. data/app/assets/images/jplayer.blue.monday.png +0 -0
  4. data/app/assets/javascripts/social_stream-base.js +1 -0
  5. data/app/assets/javascripts/social_stream/pagination.js +6 -3
  6. data/app/assets/stylesheets/social_stream-base.css.sass +11 -4
  7. data/app/assets/stylesheets/social_stream/base/contacts/_contacts.css.sass +4 -0
  8. data/app/assets/stylesheets/social_stream/base/contacts/layouts/_contacts.css.sass +4 -1
  9. data/app/assets/stylesheets/social_stream/base/contacts/responsive/_responsive-1200px-min.css.sass +6 -3
  10. data/app/assets/stylesheets/social_stream/base/contacts/responsive/_responsive-768px-979px.css.sass +0 -2
  11. data/app/assets/stylesheets/social_stream/base/conversation/_conversation.css.sass +10 -3
  12. data/app/assets/stylesheets/social_stream/base/explore/layout/_explore-search.css.sass +8 -1
  13. data/app/assets/stylesheets/social_stream/base/explore/responsive/_responsive-1200px-min.css.sass +19 -0
  14. data/app/assets/stylesheets/social_stream/base/frontpage_devise/_devise.css.sass +5 -1
  15. data/app/assets/stylesheets/social_stream/base/frontpage_devise/_frontpage.css.sass +20 -3
  16. data/app/assets/stylesheets/social_stream/base/frontpage_devise/layout/_frontpage.css.sass +3 -1
  17. data/app/assets/stylesheets/social_stream/base/frontpage_devise/responsive/_responsive-1200px-min.css.sass +2 -0
  18. data/app/assets/stylesheets/social_stream/base/layouts/_header.css.sass +67 -21
  19. data/app/assets/stylesheets/social_stream/base/layouts/_layout.css.sass +0 -2
  20. data/app/assets/stylesheets/social_stream/base/logo/_logo-in.css +18 -18
  21. data/app/assets/stylesheets/social_stream/base/logo/_logo-out.css +8 -8
  22. data/app/assets/stylesheets/social_stream/base/logo/layout/_logo-in.css.sass +78 -0
  23. data/app/assets/stylesheets/social_stream/base/mixins/_animation.css.sass +5 -0
  24. data/app/assets/stylesheets/social_stream/base/mixins/_buttons.css.sass +5 -5
  25. data/app/assets/stylesheets/social_stream/base/mixins/_colorfont.css.sass +4 -0
  26. data/app/assets/stylesheets/social_stream/base/notifications/_notifications.css.sass +2 -0
  27. data/app/assets/stylesheets/social_stream/base/notifications/responsive/_responsive-1200px-min.css.sass +15 -0
  28. data/app/assets/stylesheets/social_stream/base/notifications/responsive/_responsive-767px-max.css.sass +2 -3
  29. data/app/assets/stylesheets/social_stream/base/notifications/responsive/_responsive-768px-979px.css.sass +2 -0
  30. data/app/assets/stylesheets/social_stream/base/profile/_profile.css.sass +2 -0
  31. data/app/assets/stylesheets/social_stream/base/profile/responsive/_responsive-767px-max.css.sass +1 -0
  32. data/app/assets/stylesheets/social_stream/base/responsive/_responsive-1200px-min.css.sass +51 -9
  33. data/app/assets/stylesheets/social_stream/base/responsive/_responsive-767px-max.css.sass +3 -2
  34. data/app/assets/stylesheets/social_stream/base/responsive/_responsive-768px-979px.css.sass +0 -5
  35. data/app/assets/stylesheets/social_stream/base/settings/_settings.css.sass +15 -0
  36. data/app/assets/stylesheets/social_stream/base/settings/layout/_settings.css.sass +1 -4
  37. data/app/assets/stylesheets/social_stream/base/settings/responsive/_responsive-768px-979px.css.sass +2 -3
  38. data/app/assets/stylesheets/social_stream/base/sidebar/_sidebar.css.sass +14 -22
  39. data/app/assets/stylesheets/social_stream/base/sidebar/layout/_sidebar.css.sass +14 -39
  40. data/app/assets/stylesheets/social_stream/base/sidebar/responsive/_responsive-1200px-min.css.sass +15 -0
  41. data/app/assets/stylesheets/social_stream/base/timeline/_timeline.css.sass +13 -13
  42. data/app/assets/stylesheets/social_stream/base/timeline/_wrapper_activities.css.sass +3 -0
  43. data/app/assets/stylesheets/social_stream/base/toolbar/_toolbar.css.sass +3 -0
  44. data/app/assets/stylesheets/social_stream/base/toolbar/layout/_toolbar.css.sass +5 -4
  45. data/app/assets/stylesheets/social_stream/base/toolbar/responsive/_responsive-1200px-min.css.sass +27 -0
  46. data/app/assets/stylesheets/social_stream/base/toolbar/responsive/_responsive-767px-max.css.sass +29 -0
  47. data/app/assets/stylesheets/social_stream/base/toolbar/responsive/_responsive-768px-979px.css.sass +9 -0
  48. data/app/assets/stylesheets/social_stream/bootstrap-rewrite/_navbar.scss +4 -2
  49. data/app/assets/stylesheets/social_stream/bootstrap-rewrite/_variables.scss +3 -2
  50. data/app/assets/stylesheets/social_stream/fonts/DIN_OSP-Original.ttf +0 -0
  51. data/app/assets/stylesheets/social_stream/fonts/DIN_OSP-Outline.ttf +0 -0
  52. data/app/assets/stylesheets/social_stream/fonts/DIN_OSP-Overlay.ttf +0 -0
  53. data/app/assets/stylesheets/social_stream/fonts/DIN_OSP/DIN_OSP-Original.ttf +0 -0
  54. data/app/assets/stylesheets/social_stream/fonts/DIN_OSP/DIN_OSP-Outline.ttf +0 -0
  55. data/app/assets/stylesheets/social_stream/fonts/DIN_OSP/DIN_OSP-Overlay.ttf +0 -0
  56. data/app/assets/stylesheets/social_stream/fonts/OpenSans-Light.ttf +0 -0
  57. data/app/assets/stylesheets/social_stream/fonts/colorfont.css +11 -0
  58. data/app/assets/stylesheets/social_stream/fonts/fonts.css +20 -3
  59. data/app/controllers/omniauth_callbacks_controller.rb +1 -2
  60. data/app/helpers/posts_helper.rb +10 -0
  61. data/app/models/activity_object.rb +20 -2
  62. data/app/models/user.rb +17 -22
  63. data/app/views/activities/_index.html.erb +2 -2
  64. data/app/views/comments/_quick_search_result.html.erb +1 -1
  65. data/app/views/contacts/_pendings.html.erb +1 -1
  66. data/app/views/contacts/_suggestions.html.erb +1 -1
  67. data/app/views/conversations/_conversation.html.erb +1 -1
  68. data/app/views/explore/_explore.html.erb +6 -6
  69. data/app/views/explore/_participants.html.erb +6 -6
  70. data/app/views/explore/_resources.html.erb +7 -7
  71. data/app/views/layouts/_header_signed_in.erb +16 -7
  72. data/app/views/layouts/_header_signed_out.erb +1 -1
  73. data/app/views/layouts/_logo_in.html.erb +15 -13
  74. data/app/views/layouts/_logo_out.html.erb +19 -0
  75. data/app/views/layouts/_more.html.erb +1 -1
  76. data/app/views/messages/_form.html.erb +1 -1
  77. data/app/views/notifications/_index.html.erb +14 -12
  78. data/app/views/posts/_quick_search_result.html.erb +1 -1
  79. data/app/views/profiles/_profile.html.erb +1 -1
  80. data/app/views/relation/customs/index.html.erb +3 -1
  81. data/app/views/repositories/show.html.erb +17 -14
  82. data/app/views/settings/_index.html.erb +3 -1
  83. data/app/views/toolbar/_logo.html.erb +3 -3
  84. data/config/locales/en.yml +6 -0
  85. data/config/locales/es.yml +6 -0
  86. data/config/locales/pt.yml +1 -0
  87. data/lib/generators/social_stream/base/install_generator.rb +1 -3
  88. data/lib/social_stream/base/version.rb +1 -1
  89. data/vendor/assets/javascripts/colorfont.js +26 -0
  90. metadata +22 -5
  91. data/app/assets/stylesheets/social_stream/base/logo/layout/_logo-in.css +0 -93
  92. data/app/views/layouts/_logo-in.html.erb +0 -17
  93. data/app/views/layouts/_logo-out.html.erb +0 -17
@@ -2,20 +2,17 @@
2
2
  #toolbar
3
3
  @include hidden-phone
4
4
  @include hidden-tablet
5
- h2
6
- @include ellipsis
7
5
  .settings
8
6
  @include grid-core-span(10, $fluidGridColumnWidth, $fluidGridGutterWidth)
9
7
  float: left
10
8
  margin-left: 2%
11
9
  h2
12
- @include ellipsis
13
10
  margin-top: 0
11
+ width: 100%
14
12
  .accordion
15
13
  margin-bottom: 0
16
14
  .settings_content
17
15
  padding: 0px 15px 0px
18
- @include gradient-vertical-three-colors($startColor: #e2e2e2, $midColor: #ededed, $colorStop: 3%, $endColor: #f1f1f1)
19
16
  .accordion-toggle
20
17
  @include ellipsis
21
18
  form
@@ -7,7 +7,7 @@
7
7
 
8
8
  #settings
9
9
  .settings
10
- @include grid-core-span(9, $fluidGridColumnWidth, $fluidGridGutterWidth)
10
+ @include grid-core-span(12, $fluidGridColumnWidth, $fluidGridGutterWidth)
11
11
  @include grid-core-offset(1, $fluidGridColumnWidth, $fluidGridGutterWidth)
12
12
  border-left: 1px solid #c4c4c4
13
13
  border-right: 1px solid #c4c4c4
@@ -19,11 +19,10 @@
19
19
  background-color: #c4c4c4
20
20
  color: $white
21
21
  font-weight: bold
22
- padding-left: 2%
23
22
  border-top-left-radius: 10px
24
23
  border-top-right-radius: 10px
25
24
  margin: 0px !important
26
- width: 98%
25
+
27
26
  header
28
27
  border-bottom: 1px solid #c4c4c4
29
28
  padding-left: 20px
@@ -1,37 +1,29 @@
1
1
  #sidebar
2
- .contact
3
- .data
4
- .x
5
- a
6
- text-decoration: none
7
- .info
8
- font-size: 11px
9
- color: #ccc
10
-
11
-
12
2
  #suggestions,
13
3
  #pendings
14
4
  h4
15
- color: $black
16
- font-family: $serifFontFamily
5
+ font-size: 35.5px
17
6
 
18
7
  .contact
19
8
  .avatar
20
9
  img
21
10
  @include border-radius(5px)
22
11
 
23
- .data
24
- .name
25
- color: $black
26
- .x
27
- font-size: 12px
12
+ .data
13
+ .name
28
14
  color: $black
29
- .info
30
- font-size: 11px
31
- color: #ccc
15
+ .x
16
+ font-size: 12px
17
+ color: $black
18
+ a
19
+ text-decoration: none
20
+ .info
21
+ font-size: 11px
22
+ color: #777
23
+ font-family: $sansFontFamilyLight
32
24
 
33
- .add
34
- @include btn-add
25
+ .add
26
+ @include btn-add
35
27
 
36
28
 
37
29
  .see-more
@@ -9,52 +9,27 @@
9
9
  width: 45px !important
10
10
  float: left
11
11
  .data
12
+ display: inline-block
13
+ margin: 0 0 3px 3px
14
+ float: left
15
+ width: 65%
16
+ .info
17
+ z-index: 1
12
18
  a
13
19
  display: inline
14
- .x
15
- a
16
- float: right
17
- display: inline-block
18
- margin-top: -20px
20
+ .x
21
+ a
22
+ float: right
23
+ display: inline-block
24
+ margin-right: 16px
25
+ margin-top: -91px
19
26
  .info
20
27
  z-index: 1
21
28
  .add
22
29
  margin-top: 2px
23
30
  width: auto
24
31
 
32
+ #suggestions
33
+ margin-top: 20px
25
34
 
26
35
 
27
-
28
- #suggestions,
29
- #pendings
30
-
31
- .contact
32
- padding: 5px 2%
33
- display: inline-block
34
- .avatar
35
- width: 45px
36
- display: inline
37
- float: left
38
- img
39
- width: 45px
40
-
41
- .data
42
- display: inline-block
43
- margin: 0 0 3px 3px
44
- float: left
45
- width: 65%
46
- .info
47
- z-index: 1
48
-
49
- .add
50
- z-index: 1
51
- float: left
52
- .btn-group
53
- max-width: 400px
54
- .btn
55
- .caret
56
- margin-left: 6px
57
-
58
-
59
- .see-more
60
- line-height: 20px
@@ -0,0 +1,15 @@
1
+ //
2
+ // Responsive: Large desktop and up
3
+ // --------------------------------------------------
4
+
5
+
6
+ @media (min-width: 1200px)
7
+
8
+ #sidebar
9
+ #suggestions,
10
+ #pendings
11
+ .data
12
+ .info
13
+ font-size: 14px
14
+ line-height: 26px
15
+ color: #555
@@ -8,22 +8,22 @@
8
8
  .media
9
9
  .avatar
10
10
  @include border-radius (5px)
11
-
11
+ .media-heading
12
+ font-size: 12px
13
+ color: #919191
12
14
  .media-body
13
15
  color: $grayLight
14
16
  word-wrap: break-word
15
- .media-heading
16
- font-size: 14px
17
+ a
18
+ text-decoration: none
19
+ .x
20
+ font-size: 12px
21
+ color: $black
17
22
  a
18
23
  text-decoration: none
19
- .x
20
- font-size: 12px
21
- color: $black
22
- a
23
- text-decoration: none
24
- color: $grayLight
25
- &:hover
26
- color: $red
24
+ color: $grayLight
25
+ &:hover
26
+ color: $red
27
27
  .objects
28
28
  word-wrap: break-word
29
29
  .thumb
@@ -79,8 +79,7 @@
79
79
  font-size: 12px
80
80
 
81
81
  nav
82
- a
83
- @include btn-see-more
82
+ @include see-more
84
83
 
85
84
  #new_comment
86
85
  .btn
@@ -148,6 +147,7 @@
148
147
  @include border-radius(3px)
149
148
  margin-left: auto
150
149
  margin-right: auto
150
+ max-height: 400px
151
151
  .carousel-control
152
152
  padding-top: 7%
153
153
  padding-bottom: 9%
@@ -4,11 +4,14 @@
4
4
  @include grid-fluid(12, 0)
5
5
 
6
6
  .activities
7
+ header h2
8
+ @include colorfont-big-size
7
9
  .wall_input
8
10
  padding: 5px 13px
9
11
  background-color: $grayLighter
10
12
  margin-bottom: 20px
11
13
  @include border-radius (5px)
14
+ @include box-shadow (rgba(0, 0, 0, .15) 0 1px 3px)
12
15
  label
13
16
  font-size: 14px
14
17
  input
@@ -69,9 +69,12 @@
69
69
  @extend .hidden-phone
70
70
  h4
71
71
  margin-bottom: 0px
72
+ font-family: $sansFontFamilyLight
72
73
  border-bottom: 1px solid #ddd
73
74
  ul
74
75
  border-right: 1px solid #ddd
76
+ img
77
+ @include border-radius(5px)
75
78
  .contacts-more,
76
79
  .groups-more
77
80
  text-align: right
@@ -13,7 +13,6 @@
13
13
  .icon_navbar-message-blue,
14
14
  .icon_tool16-info
15
15
  margin-right: 4px
16
-
17
16
 
18
17
  .contacts-toolbar,
19
18
  section.groups
@@ -60,12 +59,14 @@
60
59
 
61
60
  #avatar_profile,
62
61
  .logo_home
63
- img
64
- width: 100%
65
62
 
66
63
  .subject-name
67
- @extend .hidden-tablet
64
+ @include ellipsis
68
65
  @extend .hidden-phone
66
+ .subject-name-phone
67
+ @include ellipsis
68
+ display: none
69
+ @extend .visible-phone
69
70
 
70
71
 
71
72
  .logo_caption
@@ -0,0 +1,27 @@
1
+ //
2
+ // Responsive: Large desktop and up
3
+ // --------------------------------------------------
4
+
5
+
6
+ @media (min-width: 1200px)
7
+
8
+ #toolbar
9
+ width: 9.9%
10
+ float: left
11
+ margin-left: 3.25%
12
+ h5
13
+ a
14
+ font-size: 25px
15
+ section.groups,
16
+ section.contacts-toolbar
17
+ ul
18
+ li
19
+ img
20
+ width: 85%
21
+
22
+ #repository
23
+ #toolbar
24
+ .logo_home
25
+ a
26
+ img
27
+ width: 100%
@@ -0,0 +1,29 @@
1
+ //
2
+ // Responsive: Landscape phone to desktop/tablet
3
+ // --------------------------------------------------
4
+
5
+
6
+ @media (max-width: 767px)
7
+
8
+
9
+ #toolbar
10
+ width: 100%
11
+ .user
12
+ width: 39%
13
+ float: left
14
+ #avatar_profile
15
+ float: left
16
+ .toolbar_menu
17
+ display: inline-block
18
+ width: 47%
19
+ margin-left: 4%
20
+
21
+
22
+
23
+
24
+ // UP TO LANDSCAPE PHONE
25
+ // ---------------------
26
+
27
+ @media (max-width: 480px)
28
+
29
+
@@ -0,0 +1,9 @@
1
+ //
2
+ // Responsive: Tablet to desktop
3
+ // --------------------------------------------------
4
+
5
+
6
+ @media (min-width: 768px) and (max-width: 979px)
7
+
8
+
9
+
@@ -24,7 +24,9 @@
24
24
  box-shadow: none;
25
25
  padding: 0;
26
26
  }
27
-
27
+ .navbar .nav.pull-right {
28
+ margin-right: -10px;
29
+ }
28
30
  // Navbar search
29
31
  // -------------------------
30
32
  .navbar-search {
@@ -39,7 +41,7 @@
39
41
  margin: 15px 0 0 0;
40
42
  width: 100%;
41
43
  position: relative;
42
- z-index: 4;
44
+ z-index: 8;
43
45
  }
44
46
  .navbar .nav {
45
47
  margin: 0;
@@ -14,7 +14,7 @@ $grayDarker: #222 !default;
14
14
  $grayDark: #333 !default;
15
15
  $gray: #555 !default;
16
16
  $grayLight: #888 !default;
17
- $grayLighter: #ccc !default;
17
+ $grayLighter: #e2e2e2 !default;
18
18
  $white: #fff !default;
19
19
 
20
20
 
@@ -39,13 +39,14 @@ $textColor: $grayDark !default;
39
39
 
40
40
  // Links
41
41
  // -------------------------
42
- $linkColor: #0088cc !default;
42
+ $linkColor: #049cdb !default;
43
43
  $linkColorHover: darken($linkColor, 15%) !default;
44
44
 
45
45
 
46
46
  // Typography
47
47
  // -------------------------
48
48
  $sansFontFamily: "OpenSans", Arial, sans-serif;
49
+ $sansFontFamilyLight: "OpenSansLight", Arial, sans-serif;
49
50
  $serifFontFamily: "BreeSerif", Times New Roman, Times, serif !default;
50
51
  $handwriteFontFamily: "Giveyouglory", Courier New, monospace !default;
51
52
 
@@ -0,0 +1,11 @@
1
+ /************* typography COLORFONT PLUGING*******/
2
+
3
+ .colorfont {
4
+ color: #e2e2e2;
5
+ font-family: 'Din OSP' !important;
6
+ }
7
+
8
+ .colorfont-overlay {
9
+ color: #ccc;
10
+ font-family: 'Din Overlay' !important;
11
+ }
@@ -1,16 +1,33 @@
1
1
  /************* typography*******/
2
2
 
3
3
  @font-face{
4
- font-family:OpenSans;
4
+ font-family:"OpenSans";
5
5
  src: url(social_stream/fonts/opensans-regular.ttf);
6
6
  }
7
+ @font-face{
8
+ font-family:"OpenSansLight";
9
+ src: url(social_stream/fonts/OpenSans-Light.ttf);
10
+ }
7
11
 
8
12
  @font-face{
9
- font-family:BreeSerif;
13
+ font-family:"BreeSerif";
10
14
  src: url(social_stream/fonts/BreeSerif-Regular.ttf);
11
15
  }
12
16
 
13
17
  @font-face{
14
- font-family:Giveyouglory;
18
+ font-family:"Giveyouglory";
15
19
  src: url(social_stream/fonts/GiveYouGlory.ttf);
20
+ }
21
+ @font-face{
22
+ font-family: "Din OSP";
23
+ font-weight: normal;
24
+ font-style: normal;
25
+ src: url(social_stream/fonts/DIN_OSP-Original.ttf);
26
+ }
27
+
28
+ @font-face{
29
+ font-family: 'Din Overlay';
30
+ font-weight: normal;
31
+ font-style: normal;
32
+ src: url(social_stream/fonts/DIN_OSP-Overlay.ttf);
16
33
  }