meurio_ui 1.3.2.pre.foundation → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0280b3833d128e1396e2600d5d3bfe5763e891a5
4
- data.tar.gz: 372158b63c4891487d519cbe873c238543a8af15
3
+ metadata.gz: 43ab22e16bf95d490f45c332349c2116eca8f4e3
4
+ data.tar.gz: f80a366211543e800f5aaa72d6f496b68e13f838
5
5
  SHA512:
6
- metadata.gz: 3f4c16bf06ab0958c76a599797a34e02c62c8776d87df262debf19af18e253ff2e858941f60d44d44e31f78f61cbce4e29ea01eb3a9f4c2bb50b90295f4a709d
7
- data.tar.gz: 144fe7c1af876dcb909b8b971840fa1ede7441403ccf7424cbeb8867638779d42cebd7c0d73358341c648b37e7bb3e38ba2dde98c885e8978826b36698401f70
6
+ metadata.gz: 9f405bf3ad05383c189f3890b4952aad52c53172e261404098ee4d121b5060e73f9b27ef9ccb55d1ce89a6c9b41e30bd97547e41bc5430375e5889f9aa2aff1a
7
+ data.tar.gz: a2a90782a99b8acd0ba3568f93b54a32e069873a586ff2d483b895a9553bcfdadcf32fb24cfa28c6e79d2f20bac19fb41e23396e7d38b8976c1c62acc29fb0d1
@@ -1,8 +1,4 @@
1
- //= require foundation
2
-
3
1
  $(function(){
4
- $(document).foundation();
5
-
6
2
  $('header.meurio_header .icon-arrow-box').click(function(e){ $('.other_apps').toggle(); e.stopPropagation(); return false; });
7
3
  $(document).click(function(){ $('.other_apps').hide(); });
8
4
 
@@ -1,13 +1,4 @@
1
1
  @import meurio_ui/colors
2
-
3
- $topbar-bg: $green
4
- $topbar-height: 47px
5
- $topbar-dropdown-bg: lighten($green, 25%)
6
- $topbar-dropdown-link-bg: $green
7
- $topbar-menu-link-color-toggled: lighten($green, 35%)
8
- $topbar-menu-icon-color-toggled: lighten($green, 35%)
9
-
10
- @import foundation
11
2
  @import meurio_ui/meurio_header
12
3
 
13
4
  [class^="icon-"], [class*=" icon-"]
@@ -23,14 +14,3 @@ $topbar-menu-icon-color-toggled: lighten($green, 35%)
23
14
  /* Better Font Rendering =========== */
24
15
  -webkit-font-smoothing: antialiased
25
16
  -moz-osx-font-smoothing: grayscale
26
-
27
- li.has-dropdown
28
- img
29
- width: 25px
30
- margin-right: 5px
31
-
32
- .top-bar-section ul
33
- background: lighten($green, 5%)
34
- li
35
- a
36
- background: lighten($green, 5%)
@@ -1,147 +1,47 @@
1
- .contain-to-grid
2
- nav.top-bar{data-topbar data-options="custom_back_text:false"}
3
- ul.title-area
4
- li.name
5
- h1= link_to image_tag('meurio.png'), 'http://meurio.org.br/'
6
- li.toggle-topbar.menu-icon
7
- a href=""
8
- span Menu
1
+ header.meurio_header
2
+ .meurio_logo_and_user_menu
3
+ .row
4
+ .meurio_logo= link_to image_tag('meurio.png'), 'http://meurio.org.br/'
5
+ - if @app == :pdp or @app == :mr20
6
+ .user_menu
7
+ - if current_user.present?
8
+ .current_user
9
+ = image_tag(current_user.avatar_url)
10
+ = current_user.name
11
+ = content_tag(:span, nil, class: 'icon-triangle-down')
12
+ .current_user_links
13
+ = link_to "Editar perfil", "http://accounts.meurio.org.br/users/#{current_user.id}/edit"
14
+ = yield :current_user_links
15
+ - else
16
+ = link_to 'Entrar', "http://accounts.meurio.org.br/?redirect_url=#{request.url}", class: :hollow_btn
17
+ .clear
9
18
 
10
- section.top-bar-section
11
- ul.right
12
- li.has-dropdown
13
- a href="#"
19
+ .meurio_apps_and_application_menu
20
+ .row
21
+ .meurio_apps
22
+ .current_app
23
+ = link_to(root_path) do
24
+ = image_tag("#{@app}.png")
25
+ span= application_name(@app)
26
+ span.icon-arrow-box
27
+ .other_apps
28
+ = link_to('http://meurio.org.br/', class: :meurio_app) do
29
+ = image_tag('mr20.png')
30
+ span= application_name(:mr20)
31
+ = link_to('http://paneladepressao.meurio.org.br/', class: :meurio_app) do
14
32
  = image_tag('pdp.png')
15
- | Panela de Pressão
16
- ul.dropdown
17
- li
18
- = link_to('http://meurio.org.br/') do
19
- = image_tag('mr20.png')
20
- = application_name(:mr20)
21
- li
22
- = link_to('http://paneladepressao.meurio.org.br/') do
23
- = image_tag('pdp.png')
24
- = application_name(:pdp)
25
- li
26
- = link_to('http://imagine.meurio.org.br/') do
27
- = image_tag('imagine.png')
28
- = application_name(:imagine)
29
- li
30
- = link_to('https://apoie.meurio.org.br/') do
31
- = image_tag('apoie.png')
32
- = application_name(:apoie)
33
- li
34
- = link_to('http://deolho.meurio.org.br/') do
35
- = image_tag('deolho.png')
36
- = application_name(:deolho)
37
- li
38
- = link_to('http://deguarda.meurio.org.br/') do
39
- = image_tag("deguarda.png")
40
- = application_name(:deguarda)
41
- li.has-dropdown
42
- a href="#" Nícolas Iensen
43
- ul.dropdown
44
- li
45
- a href="#" Editar perfil
46
- li
47
- a href="#" Sair
48
-
49
- /.contain-to-grid
50
- / nav.top-bar{data-topbar}
51
- / section.top-bar-section
52
- / ul.left
53
- / li.has-dropdown
54
- / a href="#"
55
- / = image_tag('pdp.png')
56
- / | Panela de Pressão
57
- / ul.dropdown
58
- / li
59
- / = link_to('http://meurio.org.br/') do
60
- / = image_tag('mr20.png')
61
- / = application_name(:mr20)
62
- / li
63
- / = link_to('http://paneladepressao.meurio.org.br/') do
64
- / = image_tag('pdp.png')
65
- / = application_name(:pdp)
66
- / li
67
- / = link_to('http://imagine.meurio.org.br/') do
68
- / = image_tag('imagine.png')
69
- / = application_name(:imagine)
70
- / li
71
- / = link_to('https://apoie.meurio.org.br/') do
72
- / = image_tag('apoie.png')
73
- / = application_name(:apoie)
74
- / li
75
- / = link_to('http://deolho.meurio.org.br/') do
76
- / = image_tag('deolho.png')
77
- / = application_name(:deolho)
78
- / li
79
- / = link_to('http://deguarda.meurio.org.br/') do
80
- / = image_tag("deguarda.png")
81
- / = application_name(:deguarda)
82
-
83
- /nav.top-bar data-topbar=""
84
- / ul.title-area
85
- / li.name
86
- / h1
87
- / a href="#" My Site
88
- / section.top-bar-section
89
- / ul.right
90
- / li.active
91
- / a href="#" Right Nav Button Active
92
- / li.has-dropdown
93
- / a href="#" Right Button with Dropdown
94
- / ul.dropdown
95
- / li
96
- / a href="#" First link in dropdown
97
- / ul.left
98
- / li
99
- / a href="#" Left Nav Button
100
-
101
- /header.meurio_header
102
- / .meurio_logo_and_user_menu
103
- / .row
104
- / .meurio_logo= link_to image_tag('meurio.png'), 'http://meurio.org.br/'
105
- / - if @app == :pdp or @app == :mr20
106
- / .user_menu
107
- / - if current_user.present?
108
- / .current_user
109
- / = image_tag(current_user.avatar_url)
110
- / = current_user.name
111
- / = content_tag(:span, nil, class: 'icon-triangle-down')
112
- / .current_user_links
113
- / = link_to "Editar perfil", "http://accounts.meurio.org.br/users/#{current_user.id}/edit"
114
- / = yield :current_user_links
115
- / - else
116
- / = link_to 'Entrar', "http://accounts.meurio.org.br/?redirect_url=#{request.url}", class: :hollow_btn
117
- / .clear
118
- /
119
- / .meurio_apps_and_application_menu
120
- / .row
121
- / .meurio_apps
122
- / .current_app
123
- / = link_to(root_path) do
124
- / = image_tag("#{@app}.png")
125
- / span= application_name(@app)
126
- / span.icon-arrow-box
127
- / .other_apps
128
- / = link_to('http://meurio.org.br/', class: :meurio_app) do
129
- / = image_tag('mr20.png')
130
- / span= application_name(:mr20)
131
- / = link_to('http://paneladepressao.meurio.org.br/', class: :meurio_app) do
132
- / = image_tag('pdp.png')
133
- / span= application_name(:pdp)
134
- / = link_to('http://imagine.meurio.org.br/', class: :meurio_app) do
135
- / = image_tag('imagine.png')
136
- / span= application_name(:imagine)
137
- / = link_to('https://apoie.meurio.org.br/', class: :meurio_app) do
138
- / = image_tag('apoie.png')
139
- / span= application_name(:apoie)
140
- / = link_to('http://deolho.meurio.org.br/', class: :meurio_app) do
141
- / = image_tag('deolho.png')
142
- / span= application_name(:deolho)
143
- / = link_to('http://deguarda.meurio.org.br/', class: :meurio_app) do
144
- / = image_tag("deguarda.png")
145
- / span= application_name(:deguarda)
146
- / .application_menu= yield :application_menu
147
- / .clear
33
+ span= application_name(:pdp)
34
+ = link_to('http://imagine.meurio.org.br/', class: :meurio_app) do
35
+ = image_tag('imagine.png')
36
+ span= application_name(:imagine)
37
+ = link_to('https://apoie.meurio.org.br/', class: :meurio_app) do
38
+ = image_tag('apoie.png')
39
+ span= application_name(:apoie)
40
+ = link_to('http://deolho.meurio.org.br/', class: :meurio_app) do
41
+ = image_tag('deolho.png')
42
+ span= application_name(:deolho)
43
+ = link_to('http://deguarda.meurio.org.br/', class: :meurio_app) do
44
+ = image_tag("deguarda.png")
45
+ span= application_name(:deguarda)
46
+ .application_menu= yield :application_menu
47
+ .clear
data/lib/meurio_ui.rb CHANGED
@@ -1,5 +1,3 @@
1
- require "slim-rails"
2
- require "zurb-foundation"
3
1
  require "meurio_ui/engine"
4
2
  require "meurio_ui/version"
5
3
  require "meurio_ui/railtie" if defined?(Rails)
@@ -1,5 +1,5 @@
1
1
  module MeurioUi
2
2
  module Rails
3
- VERSION = "1.3.2-foundation"
3
+ VERSION = "1.3.2"
4
4
  end
5
5
  end
data/meurio_ui.gemspec CHANGED
@@ -20,6 +20,4 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.3"
22
22
  spec.add_development_dependency "rake"
23
- spec.add_runtime_dependency "zurb-foundation"
24
- spec.add_runtime_dependency "slim-rails"
25
23
  end
metadata CHANGED
@@ -1,69 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meurio_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2.pre.foundation
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nícolas Iensen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-27 00:00:00.000000000 Z
11
+ date: 2013-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: zurb-foundation
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: slim-rails
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
38
+ - - '>='
67
39
  - !ruby/object:Gem::Version
68
40
  version: '0'
69
41
  description: Meu Rio UI is a Rails engine that provides user interface components
@@ -74,7 +46,7 @@ executables: []
74
46
  extensions: []
75
47
  extra_rdoc_files: []
76
48
  files:
77
- - ".gitignore"
49
+ - .gitignore
78
50
  - Gemfile
79
51
  - LICENSE.txt
80
52
  - README.md
@@ -107,17 +79,17 @@ require_paths:
107
79
  - lib
108
80
  required_ruby_version: !ruby/object:Gem::Requirement
109
81
  requirements:
110
- - - ">="
82
+ - - '>='
111
83
  - !ruby/object:Gem::Version
112
84
  version: '0'
113
85
  required_rubygems_version: !ruby/object:Gem::Requirement
114
86
  requirements:
115
- - - ">"
87
+ - - '>='
116
88
  - !ruby/object:Gem::Version
117
- version: 1.3.1
89
+ version: '0'
118
90
  requirements: []
119
91
  rubyforge_project:
120
- rubygems_version: 2.1.10
92
+ rubygems_version: 2.0.3
121
93
  signing_key:
122
94
  specification_version: 4
123
95
  summary: Default UI elements for Meu Rio projects