tenon 1.0.68 → 1.0.69
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/tenon/layout/breakpoints.css.scss +14 -14
- data/app/assets/stylesheets/tenon/layout/global.css.scss +2 -2
- data/app/assets/stylesheets/tenon/layout/grid.css.scss +16 -16
- data/app/assets/stylesheets/tenon/layout/main-nav.css.scss +5 -5
- data/app/assets/stylesheets/tenon/layout/mobile.css.scss +1 -1
- data/app/assets/stylesheets/tenon/layout/sidebar.css.scss +3 -3
- data/app/assets/stylesheets/tenon/layout/util-nav.css.scss +1 -1
- data/app/assets/stylesheets/tenon/ui/asset-attachment.css.scss +2 -2
- data/app/assets/stylesheets/tenon/ui/callouts.css.scss +2 -2
- data/app/assets/stylesheets/tenon/ui/forms.css.scss +1 -1
- data/app/assets/stylesheets/tenon/ui/header-tools.css.scss +2 -2
- data/app/assets/stylesheets/tenon/ui/list-style-toggle.css.scss +1 -1
- data/app/assets/stylesheets/tenon/ui/login.css.scss +2 -2
- data/app/assets/stylesheets/tenon/ui/modals.css.scss +2 -2
- data/app/assets/stylesheets/tenon/ui/record-grids.css.scss +5 -5
- data/app/assets/stylesheets/tenon/ui/record-lists.css.scss +2 -2
- data/app/assets/stylesheets/tenon/ui/section-headers.css.scss +2 -2
- data/app/assets/stylesheets/tenon/ui/tenon-content-library.css.scss +4 -4
- data/app/assets/stylesheets/tenon/ui/tenon-content.css.scss +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_four_column_image.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_four_column_image_and_text.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_four_column_text.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_full_width_embedded_content.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_full_width_image.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_full_width_text.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_left_image_right_text.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_left_text_right_image.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_left_wrapped_image_with_text.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_right_wrapped_image_with_text.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_six_column_image.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_three_column_image.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_three_column_image_and_text.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_three_column_text.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_two_column_image.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_two_column_text.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/display/_two_column_with_background_image.html.haml +1 -1
- data/app/views/tenon/tenon_content/row_types/form/_two_column_with_background_image.html.haml +2 -2
- data/lib/tenon/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: 1e8a3a0f94907c5b8af16fd5f75d1cab83056c63
|
4
|
+
data.tar.gz: 35b2c12bcab49c0f63e413f4b02770230cd66715
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1d27539edc0b7fe3607061a68376e32fc16a92d4c7e4428bf6a486c676e4d319ab5b9efe43ffd943ac46fdb9ed0a9f6e9dd5f9d4b01ddcbf7e57e05abfdfdf8
|
7
|
+
data.tar.gz: 28a2f3e942bae4f0748c0c151bcac90642c083dd606857b1deaf8ce6576f4d583f1b0009714793e51494a5aa292c076038a61279c68216ece6f3e21ecc30eed4
|
@@ -1,48 +1,48 @@
|
|
1
1
|
// define breakpoints
|
2
|
-
$desktop
|
3
|
-
$laptop
|
4
|
-
$tablet
|
5
|
-
$mobile
|
2
|
+
$tn-bp-desktop: new-breakpoint(min-width 1400px 12);
|
3
|
+
$tn-bp-laptop: new-breakpoint(min-width 960px 12);
|
4
|
+
$tn-bp-tablet: new-breakpoint(min-width 768px 12);
|
5
|
+
$tn-bp-mobile: new-breakpoint(max-width 767px 12);
|
6
6
|
$max-width: 100%;
|
7
7
|
|
8
8
|
.mobile {
|
9
|
-
@include media($tablet
|
9
|
+
@include media($tn-bp-tablet) {
|
10
10
|
display: none !important;
|
11
11
|
}
|
12
12
|
}
|
13
13
|
|
14
14
|
.tablet {
|
15
|
-
@include media($mobile
|
15
|
+
@include media($tn-bp-mobile) {
|
16
16
|
display: none !important;
|
17
17
|
}
|
18
|
-
@include media($tablet
|
18
|
+
@include media($tn-bp-tablet) {
|
19
19
|
display: block !important;
|
20
20
|
}
|
21
21
|
}
|
22
22
|
|
23
23
|
.laptop {
|
24
|
-
@include media($mobile
|
24
|
+
@include media($tn-bp-mobile) {
|
25
25
|
display: none !important;
|
26
26
|
}
|
27
|
-
@include media($tablet
|
27
|
+
@include media($tn-bp-tablet) {
|
28
28
|
display: none !important;
|
29
29
|
}
|
30
|
-
@include media($laptop
|
30
|
+
@include media($tn-bp-laptop) {
|
31
31
|
display: block !important;
|
32
32
|
}
|
33
33
|
}
|
34
34
|
|
35
35
|
.desktop {
|
36
|
-
@include media($mobile
|
36
|
+
@include media($tn-bp-mobile) {
|
37
37
|
display: none !important;
|
38
38
|
}
|
39
|
-
@include media($tablet
|
39
|
+
@include media($tn-bp-tablet) {
|
40
40
|
display: none !important;
|
41
41
|
}
|
42
|
-
@include media($laptop
|
42
|
+
@include media($tn-bp-laptop) {
|
43
43
|
display: none !important;
|
44
44
|
}
|
45
|
-
@include media($desktop
|
45
|
+
@include media($tn-bp-desktop) {
|
46
46
|
display: block !important;
|
47
47
|
}
|
48
48
|
}
|
@@ -15,7 +15,7 @@ body {
|
|
15
15
|
|
16
16
|
.page-wrap {
|
17
17
|
|
18
|
-
@include media($mobile
|
18
|
+
@include media($tn-bp-mobile) {
|
19
19
|
padding-top: 50px;
|
20
20
|
}
|
21
21
|
|
@@ -27,7 +27,7 @@ body {
|
|
27
27
|
.main-content {
|
28
28
|
margin: 0 $tn-margin;
|
29
29
|
padding-top: $tn-padding;
|
30
|
-
@include media($mobile
|
30
|
+
@include media($tn-bp-mobile) {
|
31
31
|
margin: 0 10px;
|
32
32
|
padding-top: 10px;
|
33
33
|
}
|
@@ -60,7 +60,7 @@
|
|
60
60
|
.one, .two, .three, .four, .five, .six,
|
61
61
|
|
62
62
|
.seven, .eight, .nine, .ten, .eleven, .twelve {
|
63
|
-
@include media($mobile
|
63
|
+
@include media($tn-bp-mobile) {
|
64
64
|
@include span-columns(12);
|
65
65
|
}
|
66
66
|
}
|
@@ -69,73 +69,73 @@
|
|
69
69
|
|
70
70
|
.full {
|
71
71
|
@include span-columns(12);
|
72
|
-
@include media($laptop
|
72
|
+
@include media($tn-bp-laptop) {
|
73
73
|
@include span-columns(12);
|
74
74
|
}
|
75
75
|
|
76
|
-
@include media($mobile
|
76
|
+
@include media($tn-bp-mobile) {
|
77
77
|
@include span-columns(12);
|
78
78
|
}
|
79
79
|
}
|
80
80
|
|
81
81
|
.small {
|
82
|
-
@include media($tablet
|
82
|
+
@include media($tn-bp-tablet) {
|
83
83
|
@include span-columns(12);
|
84
84
|
}
|
85
85
|
|
86
|
-
@include media($laptop
|
86
|
+
@include media($tn-bp-laptop) {
|
87
87
|
@include span-columns(4);
|
88
88
|
}
|
89
89
|
|
90
|
-
@include media($desktop
|
90
|
+
@include media($tn-bp-desktop) {
|
91
91
|
@include span-columns(3);
|
92
92
|
}
|
93
93
|
|
94
|
-
@include media($mobile
|
94
|
+
@include media($tn-bp-mobile) {
|
95
95
|
@include span-columns(12);
|
96
96
|
}
|
97
97
|
}
|
98
98
|
|
99
99
|
.large {
|
100
|
-
@include media($tablet
|
100
|
+
@include media($tn-bp-tablet) {
|
101
101
|
@include span-columns(12);
|
102
102
|
}
|
103
103
|
|
104
|
-
@include media($laptop
|
104
|
+
@include media($tn-bp-laptop) {
|
105
105
|
@include span-columns(8);
|
106
106
|
}
|
107
107
|
|
108
|
-
@include media($desktop
|
108
|
+
@include media($tn-bp-desktop) {
|
109
109
|
@include span-columns(9);
|
110
110
|
}
|
111
111
|
|
112
|
-
@include media($mobile
|
112
|
+
@include media($tn-bp-mobile) {
|
113
113
|
@include span-columns(12);
|
114
114
|
}
|
115
115
|
}
|
116
116
|
|
117
117
|
.half {
|
118
118
|
@include span-columns(6);
|
119
|
-
@include media($laptop
|
119
|
+
@include media($tn-bp-laptop) {
|
120
120
|
@include span-columns(6);
|
121
121
|
}
|
122
122
|
|
123
|
-
@include media($mobile
|
123
|
+
@include media($tn-bp-mobile) {
|
124
124
|
@include span-columns(12);
|
125
125
|
}
|
126
126
|
}
|
127
127
|
|
128
128
|
.third {
|
129
129
|
@include span-columns(4);
|
130
|
-
@include media($laptop
|
130
|
+
@include media($tn-bp-laptop) {
|
131
131
|
@include span-columns(4);
|
132
132
|
}
|
133
133
|
|
134
|
-
@include media($tablet
|
134
|
+
@include media($tn-bp-tablet) {
|
135
135
|
@include span-columns(4);
|
136
136
|
}
|
137
137
|
|
138
|
-
@include media($mobile
|
138
|
+
@include media($tn-bp-mobile) {
|
139
139
|
@include span-columns(12);
|
140
140
|
}
|
141
141
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
.nav-holder {
|
2
|
-
@include media($mobile
|
2
|
+
@include media($tn-bp-mobile) {
|
3
3
|
@include transition(left 0.2s ease);
|
4
4
|
left: -100%;
|
5
5
|
display: block;
|
@@ -15,7 +15,7 @@
|
|
15
15
|
}
|
16
16
|
}
|
17
17
|
|
18
|
-
@include media($tablet
|
18
|
+
@include media($tn-bp-tablet) {
|
19
19
|
@include transition(width 0.2s ease);
|
20
20
|
left: 0;
|
21
21
|
&.open {
|
@@ -30,7 +30,7 @@
|
|
30
30
|
width: 60px;
|
31
31
|
height: 100%;
|
32
32
|
nav.main-nav {
|
33
|
-
@include media($mobile
|
33
|
+
@include media($tn-bp-mobile) {
|
34
34
|
padding-bottom: 50px;
|
35
35
|
}
|
36
36
|
overflow: hidden;
|
@@ -104,7 +104,7 @@
|
|
104
104
|
|
105
105
|
.page-wrap {
|
106
106
|
@include transition(margin-left 0.2s ease);
|
107
|
-
@include media($mobile
|
107
|
+
@include media($tn-bp-mobile) {
|
108
108
|
margin-left: 0;
|
109
109
|
}
|
110
110
|
|
@@ -116,7 +116,7 @@
|
|
116
116
|
|
117
117
|
.menu-open {
|
118
118
|
.page-wrap {
|
119
|
-
@include media($mobile
|
119
|
+
@include media($tn-bp-mobile) {
|
120
120
|
margin-left: 0;
|
121
121
|
}
|
122
122
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
.sidebar-container {
|
2
|
-
@include media($mobile
|
2
|
+
@include media($tn-bp-mobile) {
|
3
3
|
@include transition(all 0.2s ease);
|
4
4
|
left: -100%;
|
5
5
|
right: 100%;
|
@@ -11,7 +11,7 @@
|
|
11
11
|
}
|
12
12
|
}
|
13
13
|
|
14
|
-
@include media($tablet
|
14
|
+
@include media($tn-bp-tablet) {
|
15
15
|
left: 60px;
|
16
16
|
width: 190px;
|
17
17
|
float: left;
|
@@ -26,7 +26,7 @@
|
|
26
26
|
background: $tn-sidebar;
|
27
27
|
color: $tn-light-grey;
|
28
28
|
.sidebar {
|
29
|
-
@include media($mobile
|
29
|
+
@include media($tn-bp-mobile) {
|
30
30
|
padding-bottom: 50px;
|
31
31
|
}
|
32
32
|
|
@@ -71,7 +71,7 @@
|
|
71
71
|
|
72
72
|
li {
|
73
73
|
|
74
|
-
@include media($mobile
|
74
|
+
@include media($tn-bp-mobile) {
|
75
75
|
width: 29%;
|
76
76
|
|
77
77
|
&:nth-child(3n) {
|
@@ -79,7 +79,7 @@
|
|
79
79
|
}
|
80
80
|
}
|
81
81
|
|
82
|
-
@include media($tablet
|
82
|
+
@include media($tn-bp-tablet) {
|
83
83
|
width: 22%;
|
84
84
|
|
85
85
|
&:nth-child(4n) {
|
@@ -7,11 +7,11 @@ $tn-tool-border: 0;
|
|
7
7
|
float: right;
|
8
8
|
}
|
9
9
|
.header-label {
|
10
|
-
@include media($mobile
|
10
|
+
@include media($tn-bp-mobile) {
|
11
11
|
display: none;
|
12
12
|
}
|
13
13
|
|
14
|
-
@include media($tablet
|
14
|
+
@include media($tn-bp-tablet) {
|
15
15
|
display: block;
|
16
16
|
}
|
17
17
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.tenon-login {
|
2
2
|
|
3
|
-
@include media($mobile
|
3
|
+
@include media($tn-bp-mobile) {
|
4
4
|
padding: 10px 0;
|
5
5
|
min-height: 100%;
|
6
6
|
height: auto;
|
@@ -10,7 +10,7 @@
|
|
10
10
|
}
|
11
11
|
}
|
12
12
|
|
13
|
-
@include media($tablet
|
13
|
+
@include media($tn-bp-tablet) {
|
14
14
|
padding-top: 150px;
|
15
15
|
|
16
16
|
form {
|
@@ -37,7 +37,7 @@
|
|
37
37
|
|
38
38
|
.modal-content {
|
39
39
|
|
40
|
-
@include media($tablet
|
40
|
+
@include media($tn-bp-tablet) {
|
41
41
|
@include transform(translate(-50%, 0));
|
42
42
|
position: fixed;
|
43
43
|
top: $tn-margin;
|
@@ -45,7 +45,7 @@
|
|
45
45
|
width: 600px;
|
46
46
|
}
|
47
47
|
|
48
|
-
@include media($mobile
|
48
|
+
@include media($tn-bp-mobile) {
|
49
49
|
position: absolute;
|
50
50
|
width: 100%;
|
51
51
|
}
|
@@ -16,19 +16,19 @@ ul.record-grid {
|
|
16
16
|
padding: 0;
|
17
17
|
list-style: none;
|
18
18
|
li {
|
19
|
-
@include media($mobile
|
19
|
+
@include media($tn-bp-mobile) {
|
20
20
|
@include column(2);
|
21
21
|
}
|
22
22
|
|
23
|
-
@include media($tablet
|
23
|
+
@include media($tn-bp-tablet) {
|
24
24
|
@include column(3);
|
25
25
|
}
|
26
26
|
|
27
|
-
@include media($laptop
|
27
|
+
@include media($tn-bp-laptop) {
|
28
28
|
@include column(5);
|
29
29
|
}
|
30
30
|
|
31
|
-
@include media($desktop
|
31
|
+
@include media($tn-bp-desktop) {
|
32
32
|
@include column(6);
|
33
33
|
}
|
34
34
|
|
@@ -72,7 +72,7 @@ ul.record-grid {
|
|
72
72
|
.record-actions {
|
73
73
|
@include clearfix;
|
74
74
|
@include transition(all 0.2s ease);
|
75
|
-
@include media($tablet
|
75
|
+
@include media($tn-bp-tablet) {
|
76
76
|
opacity: 0.25;
|
77
77
|
&:hover {
|
78
78
|
opacity: 1;
|
@@ -55,14 +55,14 @@ ul.record-list {
|
|
55
55
|
@include clearfix;
|
56
56
|
color: $tn-black;
|
57
57
|
font-size: $tn-font-small;
|
58
|
-
@include media($tablet
|
58
|
+
@include media($tn-bp-tablet) {
|
59
59
|
opacity: 0.5;
|
60
60
|
}
|
61
61
|
}
|
62
62
|
.record-actions {
|
63
63
|
@include transition(opacity 0.2s ease);
|
64
64
|
@include clearfix;
|
65
|
-
@include media($tablet
|
65
|
+
@include media($tn-bp-tablet) {
|
66
66
|
opacity: 0.25;
|
67
67
|
}
|
68
68
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
header {
|
2
|
-
@include media($mobile
|
2
|
+
@include media($tn-bp-mobile) {
|
3
3
|
position: static;
|
4
4
|
top: 0;
|
5
5
|
padding-left: 0;
|
6
6
|
}
|
7
7
|
|
8
|
-
@include media($tablet
|
8
|
+
@include media($tn-bp-tablet) {
|
9
9
|
position: fixed;
|
10
10
|
top: 50px;
|
11
11
|
padding: 0 0 0 250px;
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
li {
|
16
16
|
|
17
|
-
@include media($mobile
|
17
|
+
@include media($tn-bp-mobile) {
|
18
18
|
width: 100%;
|
19
19
|
|
20
20
|
img {
|
@@ -22,7 +22,7 @@
|
|
22
22
|
}
|
23
23
|
}
|
24
24
|
|
25
|
-
@include media($tablet
|
25
|
+
@include media($tn-bp-tablet) {
|
26
26
|
width: 50%;
|
27
27
|
|
28
28
|
img {
|
@@ -38,12 +38,12 @@
|
|
38
38
|
|
39
39
|
p {
|
40
40
|
|
41
|
-
@include media($mobile
|
41
|
+
@include media($tn-bp-mobile) {
|
42
42
|
left: 80px;
|
43
43
|
padding-right: 100px;
|
44
44
|
}
|
45
45
|
|
46
|
-
@include media($tablet
|
46
|
+
@include media($tn-bp-tablet) {
|
47
47
|
left: 120px;
|
48
48
|
padding-right: 140px;
|
49
49
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.four-column-image-and-text.stacked-image-and-text
|
1
|
+
.tn-tc-row.four-column-image-and-text.stacked-image-and-text
|
2
2
|
-[[0,1], [2,3], [4,5], [6,7]].each do |positions|
|
3
3
|
.three{class: cycle('', '', '', 'omega')}
|
4
4
|
- row.pieces.select { |p| positions.include?(p.position) }.each do |piece|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.
|
1
|
+
.tn-tc-row.tn-tcsix-column-image-and-text.stacked-image-and-text
|
2
2
|
- [ [ [0,1], [2,3] ], [ [4,5], [6,7] ], [ [8,9], [10,11] ] ].each_with_index do |columns, i|
|
3
3
|
.four{class: i == 2 ? 'omega' : ''}
|
4
4
|
- columns.each do |positions|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.three-column-image-and-text.stacked-image-and-text
|
1
|
+
.tn-tc-row.tn-tc-three-column-image-and-text.stacked-image-and-text
|
2
2
|
-[[0,1], [2,3], [4,5]].each do |positions|
|
3
3
|
.four{class: cycle('', '', 'omega')}
|
4
4
|
- row.pieces.select { |p| positions.include?(p.position) }.each do |piece|
|
data/app/views/tenon/tenon_content/row_types/display/_two_column_with_background_image.html.haml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
.two-column-with-background-image.tn-tc-background-image{style: "background-image: url(#{row.pieces.first.image.url})"}
|
1
|
+
.tn-tc-row.tn-tc-two-column-with-background-image.tn-tc-background-image{style: "background-image: url(#{row.pieces.first.image.url})"}
|
2
2
|
- row.pieces[1..-1].each do |piece|
|
3
3
|
.tn-tc-piece.six{class: cycle('', 'omega')}
|
4
4
|
= render "tenon/tenon_content/piece_types/display/text", piece: piece
|
data/app/views/tenon/tenon_content/row_types/form/_two_column_with_background_image.html.haml
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
= f.fields_for :pieces do |piece|
|
5
5
|
- if piece.object.position == 0
|
6
6
|
.tn-tc-piece.tn-tc-background-image.tn-tc-asset-field.twelve
|
7
|
-
= render
|
7
|
+
= render 'tenon/tenon_content/piece_types/form/background_image', f: piece, position: 0, style: 'full'
|
8
8
|
- else
|
9
9
|
.tn-tc-piece.tn-text-overlay{class: cycle('', 'omega')}
|
10
|
-
= render
|
10
|
+
= render 'tenon/tenon_content/piece_types/form/text', f: piece, position: piece.object.position
|
11
11
|
|
12
12
|
.spacer
|
data/lib/tenon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tenon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.69
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- factor[e] design initiative
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: better_errors
|