tmatt_cms 0.1.8 → 0.1.9
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 +4 -4
- data/lib/generators/tmatt_cms/templates/css/application/mixin.css.scss +19 -5
- data/lib/generators/tmatt_cms/templates/css/application/z_index.css.scss +4 -1
- data/lib/generators/tmatt_cms/templates/css/style.css.scss +3 -3
- data/lib/generators/tmatt_cms/templates/helpers/application_helper.rb +1 -1
- data/lib/generators/tmatt_cms/templates/views/application/_head.html.haml +3 -3
- data/lib/generators/tmatt_cms/templates/views/application/_head_dashboard.html.haml +2 -2
- data/lib/tmatt_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: aed20dfa3ad72d6f76c03ef75bc1610f0046286f
|
4
|
+
data.tar.gz: 8529abcbce7a9d9f49a2e962edebe304baab1bff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fed4c1e6eb985e69cc765d04b235a2ba656b75bc0b0f19727f1643b779bebb475ca73f05785f607165eee6462fcd74fe3387fcfdc4742bbb04ec7e0a3165ccda
|
7
|
+
data.tar.gz: bcdcd8e45118dde98a9d823cf8770131f8c5a3f5943e6de5907b730cc379da1069d6fd5a3990a84be8a9f130269df02c25335ef5fbd7c7ce28602f4641586556
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@mixin respond-
|
1
|
+
@mixin respond-min-from($breakpoint) {
|
2
2
|
@if map-has-key($grid-breakpoints, $breakpoint) {
|
3
3
|
$value: map-get($grid-breakpoints, $breakpoint);
|
4
4
|
|
@@ -11,6 +11,20 @@
|
|
11
11
|
}
|
12
12
|
}
|
13
13
|
|
14
|
+
@mixin respond-to-range($breakpoint-from, $breakpoint-to) {
|
15
|
+
@if map-has-key($grid-breakpoints, $breakpoint-from) and map-has-key($grid-breakpoints, $breakpoint-to) {
|
16
|
+
$value-from: map-get($grid-breakpoints, $breakpoint-from);
|
17
|
+
$value-to: map-get($grid-breakpoints, $breakpoint-to);
|
18
|
+
|
19
|
+
@media screen and (min-width: $value-from) and (max-width: $value-to) {
|
20
|
+
@content;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
@else {
|
24
|
+
@warn "Unknown $breakpoints";
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
14
28
|
@mixin inner_border{
|
15
29
|
box-sizing: border-box;
|
16
30
|
-moz-box-sizing: border-box;
|
@@ -37,10 +51,10 @@
|
|
37
51
|
}
|
38
52
|
|
39
53
|
@mixin linear_gradient($color_from, $color_to) {
|
40
|
-
background: -webkit-linear-gradient($color_from, $
|
41
|
-
background: -o-linear-gradient($color_from, $
|
42
|
-
background: -moz-linear-gradient($color_from, $
|
43
|
-
background: linear-gradient($color_from, $
|
54
|
+
background: -webkit-linear-gradient($color_from, $color_to, $color_to);
|
55
|
+
background: -o-linear-gradient($color_from, $color_to, $color_to);
|
56
|
+
background: -moz-linear-gradient($color_from, $color_to, $color_to);
|
57
|
+
background: linear-gradient($color_from, $color_to, $color_to);
|
44
58
|
}
|
45
59
|
|
46
60
|
@mixin rotate($degree) {
|
@@ -1,10 +1,10 @@
|
|
1
|
-
@include respond-
|
1
|
+
@include respond-min-from(xs) {
|
2
2
|
html, body { height: 100%; font-size: 62.5%; }
|
3
3
|
}
|
4
|
-
@include respond-
|
4
|
+
@include respond-min-from(md) {
|
5
5
|
html, body { height: 100%; font-size: 62.5%; }
|
6
6
|
}
|
7
|
-
@include respond-
|
7
|
+
@include respond-min-from(lg) {
|
8
8
|
html, body { height: 100%; font-size: 62.5%; }
|
9
9
|
}
|
10
10
|
|
@@ -5,7 +5,7 @@ module ApplicationHelper
|
|
5
5
|
flash.each do |name, msg|
|
6
6
|
if msg.is_a?(String)
|
7
7
|
html << "<div class='action-alert alert alert-#{name} text-center m-c'>"
|
8
|
-
html << "<button type='button' class='close'>×</button>"
|
8
|
+
html << "<button type='button' class='close action-alert-close'>×</button>"
|
9
9
|
html << "#{msg}"
|
10
10
|
html << '</div>'
|
11
11
|
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
%head
|
2
2
|
/[if lt IE 9]
|
3
|
-
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
3
|
+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
4
4
|
%meta{:charset => 'UTF-8'}
|
5
5
|
/[if IE]
|
6
|
-
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
6
|
+
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
7
7
|
- if current_page?(root_url)
|
8
8
|
- @title_tag = 'Tmatt Technology'
|
9
9
|
- else
|
@@ -54,5 +54,5 @@
|
|
54
54
|
= csrf_meta_tag
|
55
55
|
|
56
56
|
/[if lt IE 9]
|
57
|
-
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
57
|
+
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
58
58
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
%head
|
2
2
|
/[if lt IE 9]
|
3
|
-
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
3
|
+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
4
4
|
%meta{:charset => 'UTF-8'}
|
5
5
|
/[if IE]
|
6
|
-
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
6
|
+
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
7
7
|
- if current_page?(root_url)
|
8
8
|
- @title_tag = 'Tmatt Technology'
|
9
9
|
- else
|
data/lib/tmatt_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tmatt_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xingyu Ye
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|