pixelforce_cms 0.9.9.5 → 0.9.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/pixelforce_cms/templates/application.html.haml +1 -1
- data/lib/generators/pixelforce_cms/templates/application/_head.html.haml +19 -9
- data/lib/generators/pixelforce_cms/templates/css/application/application.css +1 -1
- data/lib/generators/pixelforce_cms/templates/css/style.css.scss +3 -17
- data/lib/generators/pixelforce_cms/templates/javascripts/application.js +1 -1
- data/lib/pixelforce_cms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1da1ca2c4a98e02081f44d1e125e7b584df277f7
|
4
|
+
data.tar.gz: 9a6e946b9f1bef43ebe4eedff1e94ec5b6c86b31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e3d9b289b7c7bfc49f6d7be13b32862b499ff52a8c4e8efced7e8f8b8365ee159b476719a7fe8d4cfe1ad65de234ad2d23276e34ae1bdd7e5c70df3a8fc1db8
|
7
|
+
data.tar.gz: 753990fefcb6d8e0a19975530dd12432d5562dff34dfac9393dd148e334ca6d35be73c4fdf45660f6fba1439c3f0bce8c2fb0da6ca57dad53b81795b5391bd88
|
@@ -5,30 +5,40 @@
|
|
5
5
|
/[if IE]
|
6
6
|
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
7
7
|
- if current_page?(root_url)
|
8
|
-
- @title_tag = '
|
8
|
+
- @title_tag = 'Place Long Tagline Here | Brand'
|
9
9
|
- else
|
10
|
-
- @title_tag = '
|
10
|
+
- @title_tag = 'Brand | Place Tagline Here'
|
11
11
|
= display_meta_tags site: @title_tag,
|
12
12
|
keywords: '',
|
13
|
-
description: '
|
13
|
+
description: '',
|
14
14
|
separator: '|',
|
15
15
|
reverse: true
|
16
16
|
|
17
17
|
%meta{content: "PixelForce Systems", :name => "author"}
|
18
|
-
%meta{:content => "Copyright
|
18
|
+
%meta{:content => "Copyright Brand #{Date.today.year}. All Rights Reserved.", :name => "Copyright"}
|
19
19
|
|
20
|
-
%meta
|
20
|
+
%meta{name:"viewport", content:"width=640, initial-scale=0.6"}
|
21
21
|
:javascript
|
22
22
|
(function(doc) {
|
23
|
-
|
24
|
-
if ( navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i)) {
|
25
|
-
|
23
|
+
viewport = document.querySelector("meta[name=viewport]");
|
24
|
+
if ( navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) ) {
|
25
|
+
viewport.setAttribute('content', 'width=device-width, initial-scale=0.5');
|
26
26
|
} else if ( navigator.userAgent.match(/iPad/i) ) {
|
27
|
-
|
27
|
+
viewport.setAttribute('content', 'width=device-width, initial-scale=0.8');
|
28
|
+
} else if ( navigator.userAgent.match(/Android/i) ) {
|
29
|
+
viewport.setAttribute('content', 'width=900, initial-scale=0.8');
|
28
30
|
}
|
29
31
|
}(document));
|
30
32
|
|
31
33
|
%link{:href => "/favicon.ico", :rel => "shortcut icon"}
|
34
|
+
%link{href: "/apple-touch-icon.png", rel: "apple-touch-icon"}
|
35
|
+
%link{href: "/apple-touch-icon-57x57.png", rel: "apple-touch-icon", sizes: "57x57"}
|
36
|
+
%link{href: "/apple-touch-icon-72x72.png", rel: "apple-touch-icon", sizes: "72x72"}
|
37
|
+
%link{href: "/apple-touch-icon-76x76.png", rel: "apple-touch-icon", sizes: "76x76"}
|
38
|
+
%link{href: "/apple-touch-icon-114x114.png", rel: "apple-touch-icon", sizes: "114x114"}
|
39
|
+
%link{href: "/apple-touch-icon-120x120.png", rel: "apple-touch-icon", sizes: "120x120"}
|
40
|
+
%link{href: "/apple-touch-icon-144x144.png", rel: "apple-touch-icon", sizes: "144x144"}
|
41
|
+
%link{href: "/apple-touch-icon-152x152.png", rel: "apple-touch-icon", sizes: "152x152"}
|
32
42
|
/ %link{href: "http://fonts.googleapis.com/css?family=Open+Sans:300,400,700", rel: "stylesheet", type: "text/css"}
|
33
43
|
|
34
44
|
= render 'stylesheets'
|
@@ -69,6 +69,7 @@ abbr[title] { border: 0; }
|
|
69
69
|
.w_70 { width:70% !important; }
|
70
70
|
.w_80 { width:80% !important; }
|
71
71
|
.w_90 { width:90% !important; }
|
72
|
+
.w_100 { width:100% !important; }
|
72
73
|
.w_auto { width:auto !important; }
|
73
74
|
|
74
75
|
.font-mini { font-size:11px !important; }
|
@@ -83,28 +84,13 @@ abbr[title] { border: 0; }
|
|
83
84
|
|
84
85
|
.text-primary { color: $blue !important; }
|
85
86
|
.text-danger { color: $red !important; }
|
86
|
-
|
87
|
+
|
88
|
+
.text-white { color: white !important; }
|
87
89
|
.text-black { color: black !important; }
|
88
90
|
|
89
91
|
.pull-none { float: none; }
|
90
92
|
.media > .pull-left { margin-right: $gutter*2; }
|
91
93
|
.media > .pull-right { margin-left: $gutter*2; }
|
92
94
|
|
93
|
-
#main {
|
94
|
-
width: 100%;
|
95
|
-
overflow: hidden;
|
96
|
-
min-height: 900px;
|
97
|
-
background: WhiteSmoke;
|
98
|
-
border-bottom: 1px solid $light-gray;
|
99
|
-
& > section { padding: 0 $gutter $gutter; }
|
100
|
-
}
|
101
|
-
|
102
|
-
.search-box {
|
103
|
-
background: $blue;
|
104
|
-
color: white;
|
105
|
-
padding: 25px $gutter;
|
106
|
-
a { color: white; }
|
107
|
-
}
|
108
|
-
|
109
95
|
@import 'style.responsive';
|
110
96
|
@import 'layouts/*';
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pixelforce_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.9.
|
4
|
+
version: 0.9.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Zhang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|