meurio_ui 1.3.1 → 1.3.2.pre.foundation
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/meurio_ui.js +4 -0
- data/app/assets/stylesheets/meurio_ui/meurio_header.css.sass +2 -0
- data/app/assets/stylesheets/meurio_ui.css.sass +20 -0
- data/app/views/meurio_ui/meurio_header.html.slim +145 -49
- data/lib/meurio_ui/version.rb +1 -1
- data/lib/meurio_ui.rb +2 -0
- data/meurio_ui.gemspec +2 -0
- metadata +32 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0280b3833d128e1396e2600d5d3bfe5763e891a5
|
4
|
+
data.tar.gz: 372158b63c4891487d519cbe873c238543a8af15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f4c16bf06ab0958c76a599797a34e02c62c8776d87df262debf19af18e253ff2e858941f60d44d44e31f78f61cbce4e29ea01eb3a9f4c2bb50b90295f4a709d
|
7
|
+
data.tar.gz: 144fe7c1af876dcb909b8b971840fa1ede7441403ccf7424cbeb8867638779d42cebd7c0d73358341c648b37e7bb3e38ba2dde98c885e8978826b36698401f70
|
@@ -1,4 +1,5 @@
|
|
1
1
|
header.meurio_header
|
2
|
+
font-size: 14px
|
2
3
|
.row
|
3
4
|
overflow: visible
|
4
5
|
.meurio_logo_and_user_menu
|
@@ -15,6 +16,7 @@ header.meurio_header
|
|
15
16
|
padding: 7px 0
|
16
17
|
line-height: 44px
|
17
18
|
.current_user
|
19
|
+
line-height: 35px
|
18
20
|
img
|
19
21
|
width: 35px
|
20
22
|
+border-radius(35px)
|
@@ -1,4 +1,13 @@
|
|
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
|
2
11
|
@import meurio_ui/meurio_header
|
3
12
|
|
4
13
|
[class^="icon-"], [class*=" icon-"]
|
@@ -14,3 +23,14 @@
|
|
14
23
|
/* Better Font Rendering =========== */
|
15
24
|
-webkit-font-smoothing: antialiased
|
16
25
|
-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,51 +1,147 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
.
|
4
|
-
.
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
= image_tag(current_user.avatar_url)
|
10
|
-
= current_user.name
|
11
|
-
= content_tag(:span, nil, class: 'icon-triangle-down') if @app == :pdp
|
12
|
-
- if @app == :pdp
|
13
|
-
.current_user_links
|
14
|
-
= link_to('Minhas campanhas', user_campaigns_path(current_user))
|
15
|
-
- if can?(:moderate, Campaign)
|
16
|
-
= link_to 'Moderar campanhas', unmoderated_campaigns_path
|
17
|
-
- if can?(:export, User)
|
18
|
-
= link_to "Exportar todos os usuários", users_path(:format => :csv)
|
19
|
-
- else
|
20
|
-
= link_to 'Entrar', "http://accounts.meurio.org.br/?redirect_url=#{request.url}", class: :hollow_btn
|
21
|
-
.clear
|
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
|
22
9
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
= link_to(root_path) do
|
28
|
-
= image_tag("#{@app}.png")
|
29
|
-
span= application_name(@app)
|
30
|
-
span.icon-arrow-box
|
31
|
-
.other_apps
|
32
|
-
= link_to('http://meurio.org.br/', class: :meurio_app) do
|
33
|
-
= image_tag('mr20.png')
|
34
|
-
span= application_name(:mr20)
|
35
|
-
= link_to('http://paneladepressao.meurio.org.br/', class: :meurio_app) do
|
10
|
+
section.top-bar-section
|
11
|
+
ul.right
|
12
|
+
li.has-dropdown
|
13
|
+
a href="#"
|
36
14
|
= image_tag('pdp.png')
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
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
|
data/lib/meurio_ui/version.rb
CHANGED
data/lib/meurio_ui.rb
CHANGED
data/meurio_ui.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meurio_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2.pre.foundation
|
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-
|
11
|
+
date: 2013-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
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
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
41
69
|
description: Meu Rio UI is a Rails engine that provides user interface components
|
42
70
|
like buttons, fields, icons, fonts, and more patterns for Meu Rio organization
|
43
71
|
email:
|
@@ -84,9 +112,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
112
|
version: '0'
|
85
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
114
|
requirements:
|
87
|
-
- - "
|
115
|
+
- - ">"
|
88
116
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
117
|
+
version: 1.3.1
|
90
118
|
requirements: []
|
91
119
|
rubyforge_project:
|
92
120
|
rubygems_version: 2.1.10
|