pixarea-compass-themes 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pixarea-compass-themes/version.rb +1 -1
- data/sass/pixarea/lib/_structure.sass +10 -2
- data/sass/pixarea/themes/minipane/_shapes.sass +1 -2
- data/sass/pixarea/themes/minipane/_structure.sass +3 -5
- data/sass/pixarea/themes/minipane/tones/_dark.sass +5 -7
- data/templates/project/_base.sass +3 -4
- data/templates/project/views/inquiries/new.html.erb +42 -0
- data/templates/project/views/layouts/_default.html.erb +2 -1
- data/templates/project/views/layouts/application.html.erb +1 -1
- data/templates/project/views/pages/home.html.erb +8 -0
- data/templates/project/views/pages/show.html.erb +8 -0
- metadata +5 -2
@@ -1,6 +1,6 @@
|
|
1
|
-
=box($padding: 20px
|
1
|
+
=box($padding: 20px)
|
2
2
|
padding: $padding
|
3
|
-
margin-bottom: $margin-bottom
|
3
|
+
// margin-bottom: $margin-bottom
|
4
4
|
|
5
5
|
=container-alt
|
6
6
|
+container
|
@@ -10,3 +10,11 @@
|
|
10
10
|
=visually-hide
|
11
11
|
visibility: hidden
|
12
12
|
position: absolute
|
13
|
+
|
14
|
+
=liquid-column($last: false)
|
15
|
+
overflow: hidden
|
16
|
+
+append-bottom($blueprint-grid-margin)
|
17
|
+
@if $last
|
18
|
+
+last
|
19
|
+
@else
|
20
|
+
margin-right: $blueprint-grid-margin
|
@@ -30,15 +30,13 @@
|
|
30
30
|
position: relative
|
31
31
|
|
32
32
|
#{$_body_content_1}
|
33
|
-
+column
|
34
|
-
|
35
|
-
+column(22)
|
33
|
+
+liquid-column
|
34
|
+
|
36
35
|
@import compass/layout/stretching
|
37
36
|
#{$_body_content_2}
|
38
37
|
+column(8)
|
39
38
|
+last
|
40
|
-
+
|
41
|
-
right: 0
|
39
|
+
+float(right)
|
42
40
|
|
43
41
|
#{$_menu_1}
|
44
42
|
+menu-inline-blocks(4)
|
@@ -45,13 +45,11 @@
|
|
45
45
|
#{$_footer}
|
46
46
|
color: ($bg / 2) + ($neutral / 2.5)
|
47
47
|
|
48
|
-
#{$
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
color: $neutral - 50
|
54
|
-
//border: 2px solid $dark - 10
|
48
|
+
#{$_body_content}
|
49
|
+
section
|
50
|
+
background: $dark + 10
|
51
|
+
#{$_body_content_1}
|
52
|
+
background: $dark + 30
|
55
53
|
|
56
54
|
#{headers()}
|
57
55
|
color: $light - 40
|
@@ -7,9 +7,8 @@ $_menu_1: "#menu"
|
|
7
7
|
$_menu_lang: "#menu-lang"
|
8
8
|
$_body: "#body"
|
9
9
|
$_body_content: "#body_content"
|
10
|
-
$_body_content_1: "#
|
11
|
-
$_body_content_2: "#
|
12
|
-
$_no_body_content_2: ".
|
10
|
+
$_body_content_1: "#body_content_main"
|
11
|
+
$_body_content_2: "#body_content_sub"
|
12
|
+
$_no_body_content_2: ".no_body_content_sub"
|
13
13
|
$_page_title: "#body_content_title"
|
14
14
|
$_inner: ".inner"
|
15
|
-
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<% content_for :body_content_main do %>
|
2
|
+
<div class='inquiries'>
|
3
|
+
<%=raw @page[Page.default_parts.first.to_sym] %>
|
4
|
+
|
5
|
+
<%= form_for @inquiry do |f| %>
|
6
|
+
<%= render :partial => "/shared/admin/error_messages",
|
7
|
+
:locals => {
|
8
|
+
:object => @inquiry,
|
9
|
+
:include_object_name => true
|
10
|
+
} %>
|
11
|
+
<div class='field'>
|
12
|
+
<%= f.required_label :name %>
|
13
|
+
<%= f.text_field :name %>
|
14
|
+
</div>
|
15
|
+
<div class='field'>
|
16
|
+
<%= f.required_label :email %>
|
17
|
+
<%= f.text_field :email %>
|
18
|
+
</div>
|
19
|
+
<div class='field'>
|
20
|
+
<%= f.label :phone %>
|
21
|
+
<%= f.text_field :phone %>
|
22
|
+
</div>
|
23
|
+
<div class='field message_field'>
|
24
|
+
<%= f.required_label :message %>
|
25
|
+
<%= f.text_area :message, :rows => 8 %>
|
26
|
+
</div>
|
27
|
+
<div class='actions'>
|
28
|
+
<%= f.submit t('.send') %>
|
29
|
+
<%= link_to t('.privacy_policy'), "/pages/privacy-policy", :id => "privacy_link" if RefinerySetting.find_or_set(:show_contact_privacy_link, false) %>
|
30
|
+
</div>
|
31
|
+
<% end %>
|
32
|
+
</div>
|
33
|
+
<% end -%>
|
34
|
+
|
35
|
+
<%
|
36
|
+
sections = []
|
37
|
+
sections << {:yield => :body_content_title, :fallback => page_title, :title => true}
|
38
|
+
sections << {:yield => :body_content_sub, :fallback => @page[:side_body]}
|
39
|
+
sections << {:yield => :body_content_main, :fallback => @page[:body]}
|
40
|
+
-%>
|
41
|
+
|
42
|
+
<%= render :partial => "/shared/content_page", :locals => {:sections => sections} %>
|
@@ -16,12 +16,13 @@
|
|
16
16
|
|
17
17
|
<div id="page_container">
|
18
18
|
<header>
|
19
|
-
<%= yield :
|
19
|
+
<%= yield :header_prepend %>
|
20
20
|
<%= render :partial => "/shared/header" -%>
|
21
21
|
<%= render :partial => "/shared/menu", :locals => { :dom_id => 'menu', :css => 'menu' } -%>
|
22
22
|
</header>
|
23
23
|
|
24
24
|
<section id='page'>
|
25
|
+
|
25
26
|
<%= yield %>
|
26
27
|
</section>
|
27
28
|
<footer>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<%
|
2
|
+
sections = []
|
3
|
+
sections << {:yield => :body_content_title, :fallback => page_title, :title => true}
|
4
|
+
sections << {:yield => :body_content_sub, :fallback => @page[:side_body]}
|
5
|
+
sections << {:yield => :body_content_main, :fallback => @page[:body]}
|
6
|
+
-%>
|
7
|
+
|
8
|
+
<%= render :partial => "/shared/content_page", :locals => {:sections => sections} %>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<%
|
2
|
+
sections = []
|
3
|
+
sections << {:yield => :body_content_title, :fallback => page_title, :title => true}
|
4
|
+
sections << {:yield => :body_content_sub, :fallback => @page[:side_body]}
|
5
|
+
sections << {:yield => :body_content_main, :fallback => @page[:body]}
|
6
|
+
-%>
|
7
|
+
|
8
|
+
<%= render :partial => "/shared/content_page", :locals => {:sections => sections} %>
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: pixarea-compass-themes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.3.
|
5
|
+
version: 0.3.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Daniel Reszka
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-04-
|
13
|
+
date: 2011-04-28 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -107,9 +107,12 @@ files:
|
|
107
107
|
- templates/project/themes/shapy/dark.sass
|
108
108
|
- templates/project/themes/shapy/firen.sass
|
109
109
|
- templates/project/themes/shapy/rusty.sass
|
110
|
+
- templates/project/views/inquiries/new.html.erb
|
110
111
|
- templates/project/views/layouts/_cabinet.html.erb
|
111
112
|
- templates/project/views/layouts/_default.html.erb
|
112
113
|
- templates/project/views/layouts/application.html.erb
|
114
|
+
- templates/project/views/pages/home.html.erb
|
115
|
+
- templates/project/views/pages/show.html.erb
|
113
116
|
- templates/project/views/shared/_footer.html.erb
|
114
117
|
- templates/project/views/shared/_header.html.erb
|
115
118
|
- templates/project/views/shared/_menu_lang.html.erb
|