beyond_canvas 0.19.0.pre → 0.19.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/beyond_canvas/components/_margins.scss +4 -0
- data/app/assets/stylesheets/beyond_canvas/components/_menu.scss +10 -0
- data/lib/beyond_canvas/version.rb +1 -1
- data/lib/generators/beyond_canvas/custom_menu/templates/beyond_canvas_custom_menu.html.erb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c84129e6115395f01b8e78b1735dae375c7bb5713da50c46145735030426892
|
4
|
+
data.tar.gz: e49319bf188fabb275490b5c712a2c8129fc3f109684b537c31d31d490c2aa23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 736b4b8a858a3c6053687497a69d9fb622895c94953cd0e4786309611720018e38c7d6989ee436e9f2e83a1493981c73bc46a9be0c9d3b68d06395da706b884c
|
7
|
+
data.tar.gz: 22559c6d1c346a04ec970a042061ec22270463795ec8be10c87229f8d814f09538dc2d886e9316f4252711278875a55ee0f7abc46a65dd81ad83a20b93083c56
|
@@ -15,14 +15,24 @@
|
|
15
15
|
height: $menu-logo-height;
|
16
16
|
}
|
17
17
|
|
18
|
+
&--left {
|
19
|
+
display: inherit;
|
20
|
+
}
|
21
|
+
|
18
22
|
&--center {
|
19
23
|
left: 50%;
|
20
24
|
position: absolute;
|
21
25
|
transform: translateX(-50%);
|
26
|
+
display: inherit;
|
27
|
+
}
|
28
|
+
|
29
|
+
&--right {
|
30
|
+
display: inherit;
|
22
31
|
}
|
23
32
|
|
24
33
|
&__item {
|
25
34
|
@include margin(0 15px);
|
35
|
+
line-height: 1;
|
26
36
|
color: $menu-item-color;
|
27
37
|
|
28
38
|
&:hover {
|
@@ -7,25 +7,25 @@
|
|
7
7
|
<div class="menu--center">
|
8
8
|
|
9
9
|
<%
|
10
|
-
=begin
|
10
|
+
=begin %>
|
11
11
|
Add here your menu links. You can use `menu__item` as class name and add
|
12
12
|
`menu__item--selected` as secondary class for selected menu item. E.g:
|
13
13
|
|
14
14
|
<%= link_to 'About us', about_us_path, class: "menu__item #{ 'menu__item--selected' if params[:controller] == 'about_us' }" %>
|
15
15
|
<%= link_to 'Support', support_path, class: "menu__item #{ 'menu__item--selected' if params[:controller] == 'support' }" %>
|
16
|
-
|
17
|
-
%>
|
16
|
+
<%
|
17
|
+
=end %>
|
18
18
|
|
19
19
|
</div>
|
20
20
|
|
21
21
|
<div class="menu--right">
|
22
22
|
|
23
23
|
<%
|
24
|
-
=begin
|
24
|
+
=begin %>
|
25
25
|
You can also add here some content that will be right-aligned, like a user
|
26
26
|
avatar image or a dropdown account menu.
|
27
|
-
|
28
|
-
%>
|
27
|
+
<%
|
28
|
+
=end %>
|
29
29
|
|
30
30
|
</div>
|
31
31
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond_canvas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.1.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Unai Abrisketa
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-10-
|
13
|
+
date: 2020-10-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: attr_encrypted
|