tenon 1.0.68 → 1.0.69

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.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/tenon/layout/breakpoints.css.scss +14 -14
  3. data/app/assets/stylesheets/tenon/layout/global.css.scss +2 -2
  4. data/app/assets/stylesheets/tenon/layout/grid.css.scss +16 -16
  5. data/app/assets/stylesheets/tenon/layout/main-nav.css.scss +5 -5
  6. data/app/assets/stylesheets/tenon/layout/mobile.css.scss +1 -1
  7. data/app/assets/stylesheets/tenon/layout/sidebar.css.scss +3 -3
  8. data/app/assets/stylesheets/tenon/layout/util-nav.css.scss +1 -1
  9. data/app/assets/stylesheets/tenon/ui/asset-attachment.css.scss +2 -2
  10. data/app/assets/stylesheets/tenon/ui/callouts.css.scss +2 -2
  11. data/app/assets/stylesheets/tenon/ui/forms.css.scss +1 -1
  12. data/app/assets/stylesheets/tenon/ui/header-tools.css.scss +2 -2
  13. data/app/assets/stylesheets/tenon/ui/list-style-toggle.css.scss +1 -1
  14. data/app/assets/stylesheets/tenon/ui/login.css.scss +2 -2
  15. data/app/assets/stylesheets/tenon/ui/modals.css.scss +2 -2
  16. data/app/assets/stylesheets/tenon/ui/record-grids.css.scss +5 -5
  17. data/app/assets/stylesheets/tenon/ui/record-lists.css.scss +2 -2
  18. data/app/assets/stylesheets/tenon/ui/section-headers.css.scss +2 -2
  19. data/app/assets/stylesheets/tenon/ui/tenon-content-library.css.scss +4 -4
  20. data/app/assets/stylesheets/tenon/ui/tenon-content.css.scss +1 -1
  21. data/app/views/tenon/tenon_content/row_types/display/_four_column_image.html.haml +1 -1
  22. data/app/views/tenon/tenon_content/row_types/display/_four_column_image_and_text.html.haml +1 -1
  23. data/app/views/tenon/tenon_content/row_types/display/_four_column_text.html.haml +1 -1
  24. data/app/views/tenon/tenon_content/row_types/display/_full_width_embedded_content.html.haml +1 -1
  25. data/app/views/tenon/tenon_content/row_types/display/_full_width_image.html.haml +1 -1
  26. data/app/views/tenon/tenon_content/row_types/display/_full_width_text.html.haml +1 -1
  27. data/app/views/tenon/tenon_content/row_types/display/_left_image_right_text.html.haml +1 -1
  28. data/app/views/tenon/tenon_content/row_types/display/_left_text_right_image.html.haml +1 -1
  29. data/app/views/tenon/tenon_content/row_types/display/_left_wrapped_image_with_text.html.haml +1 -1
  30. data/app/views/tenon/tenon_content/row_types/display/_right_wrapped_image_with_text.html.haml +1 -1
  31. data/app/views/tenon/tenon_content/row_types/display/_six_column_image.html.haml +1 -1
  32. data/app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml +1 -1
  33. data/app/views/tenon/tenon_content/row_types/display/_three_column_image.html.haml +1 -1
  34. data/app/views/tenon/tenon_content/row_types/display/_three_column_image_and_text.html.haml +1 -1
  35. data/app/views/tenon/tenon_content/row_types/display/_three_column_text.html.haml +1 -1
  36. data/app/views/tenon/tenon_content/row_types/display/_two_column_image.html.haml +1 -1
  37. data/app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml +1 -1
  38. data/app/views/tenon/tenon_content/row_types/display/_two_column_text.html.haml +1 -1
  39. data/app/views/tenon/tenon_content/row_types/display/_two_column_with_background_image.html.haml +1 -1
  40. data/app/views/tenon/tenon_content/row_types/form/_two_column_with_background_image.html.haml +2 -2
  41. data/lib/tenon/version.rb +1 -1
  42. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3bcdeacf12a76cb1e60d096b7bd141c7cf44d985
4
- data.tar.gz: d58719f677142abd25adc5b0b24ff2875726a97f
3
+ metadata.gz: 1e8a3a0f94907c5b8af16fd5f75d1cab83056c63
4
+ data.tar.gz: 35b2c12bcab49c0f63e413f4b02770230cd66715
5
5
  SHA512:
6
- metadata.gz: ade7f0c577456bd46361a87252c17afa87e4ba8252d48a80eb35116abd99a5231ca07c194ed02850f13b3693e530aff93336af548abcf6783c21789d64ed715f
7
- data.tar.gz: dda1e868b51926fce0bf10f498e7ecd93d6812ec9f2c662005f0a29cc497fa274fc7700d96173111b9832a9e4fd0bd3e6f48b73c00aa28406cd263338cd2befb
6
+ metadata.gz: a1d27539edc0b7fe3607061a68376e32fc16a92d4c7e4428bf6a486c676e4d319ab5b9efe43ffd943ac46fdb9ed0a9f6e9dd5f9d4b01ddcbf7e57e05abfdfdf8
7
+ data.tar.gz: 28a2f3e942bae4f0748c0c151bcac90642c083dd606857b1deaf8ce6576f4d583f1b0009714793e51494a5aa292c076038a61279c68216ece6f3e21ecc30eed4
@@ -1,48 +1,48 @@
1
1
  // define breakpoints
2
- $desktop-breakpoint: new-breakpoint(min-width 1400px 12);
3
- $laptop-breakpoint: new-breakpoint(min-width 960px 12);
4
- $tablet-breakpoint: new-breakpoint(min-width 768px 12);
5
- $mobile-breakpoint: new-breakpoint(max-width 767px 12);
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-breakpoint) {
9
+ @include media($tn-bp-tablet) {
10
10
  display: none !important;
11
11
  }
12
12
  }
13
13
 
14
14
  .tablet {
15
- @include media($mobile-breakpoint) {
15
+ @include media($tn-bp-mobile) {
16
16
  display: none !important;
17
17
  }
18
- @include media($tablet-breakpoint) {
18
+ @include media($tn-bp-tablet) {
19
19
  display: block !important;
20
20
  }
21
21
  }
22
22
 
23
23
  .laptop {
24
- @include media($mobile-breakpoint) {
24
+ @include media($tn-bp-mobile) {
25
25
  display: none !important;
26
26
  }
27
- @include media($tablet-breakpoint) {
27
+ @include media($tn-bp-tablet) {
28
28
  display: none !important;
29
29
  }
30
- @include media($laptop-breakpoint) {
30
+ @include media($tn-bp-laptop) {
31
31
  display: block !important;
32
32
  }
33
33
  }
34
34
 
35
35
  .desktop {
36
- @include media($mobile-breakpoint) {
36
+ @include media($tn-bp-mobile) {
37
37
  display: none !important;
38
38
  }
39
- @include media($tablet-breakpoint) {
39
+ @include media($tn-bp-tablet) {
40
40
  display: none !important;
41
41
  }
42
- @include media($laptop-breakpoint) {
42
+ @include media($tn-bp-laptop) {
43
43
  display: none !important;
44
44
  }
45
- @include media($desktop-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
72
+ @include media($tn-bp-laptop) {
73
73
  @include span-columns(12);
74
74
  }
75
75
 
76
- @include media($mobile-breakpoint) {
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-breakpoint) {
82
+ @include media($tn-bp-tablet) {
83
83
  @include span-columns(12);
84
84
  }
85
85
 
86
- @include media($laptop-breakpoint) {
86
+ @include media($tn-bp-laptop) {
87
87
  @include span-columns(4);
88
88
  }
89
89
 
90
- @include media($desktop-breakpoint) {
90
+ @include media($tn-bp-desktop) {
91
91
  @include span-columns(3);
92
92
  }
93
93
 
94
- @include media($mobile-breakpoint) {
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-breakpoint) {
100
+ @include media($tn-bp-tablet) {
101
101
  @include span-columns(12);
102
102
  }
103
103
 
104
- @include media($laptop-breakpoint) {
104
+ @include media($tn-bp-laptop) {
105
105
  @include span-columns(8);
106
106
  }
107
107
 
108
- @include media($desktop-breakpoint) {
108
+ @include media($tn-bp-desktop) {
109
109
  @include span-columns(9);
110
110
  }
111
111
 
112
- @include media($mobile-breakpoint) {
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-breakpoint) {
119
+ @include media($tn-bp-laptop) {
120
120
  @include span-columns(6);
121
121
  }
122
122
 
123
- @include media($mobile-breakpoint) {
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-breakpoint) {
130
+ @include media($tn-bp-laptop) {
131
131
  @include span-columns(4);
132
132
  }
133
133
 
134
- @include media($tablet-breakpoint) {
134
+ @include media($tn-bp-tablet) {
135
135
  @include span-columns(4);
136
136
  }
137
137
 
138
- @include media($mobile-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
119
+ @include media($tn-bp-mobile) {
120
120
  margin-left: 0;
121
121
  }
122
122
 
@@ -1,4 +1,4 @@
1
- @include media($mobile-breakpoint) {
1
+ @include media($tn-bp-mobile) {
2
2
  .page-wrap {
3
3
  margin-left: 0;
4
4
  }
@@ -1,5 +1,5 @@
1
1
  .sidebar-container {
2
- @include media($mobile-breakpoint) {
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-breakpoint) {
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-breakpoint) {
29
+ @include media($tn-bp-mobile) {
30
30
  padding-bottom: 50px;
31
31
  }
32
32
 
@@ -25,7 +25,7 @@ util-nav {
25
25
  display: none;
26
26
  text-transform: uppercase;
27
27
 
28
- @include media($tablet_breakpoint) {
28
+ @include media($tn-bp-tablet) {
29
29
  display: block;
30
30
  }
31
31
 
@@ -71,7 +71,7 @@
71
71
 
72
72
  li {
73
73
 
74
- @include media($mobile-breakpoint) {
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-breakpoint) {
82
+ @include media($tn-bp-tablet) {
83
83
  width: 22%;
84
84
 
85
85
  &:nth-child(4n) {
@@ -1,10 +1,10 @@
1
1
  #dashboard-callouts {
2
2
  .callout {
3
- @include media($mobile-breakpoint) {
3
+ @include media($tn-bp-mobile) {
4
4
  @include tetris-grid(2);
5
5
  }
6
6
 
7
- @include media($tablet-breakpoint) {
7
+ @include media($tn-bp-tablet) {
8
8
  @include tetris-grid(4);
9
9
  }
10
10
 
@@ -72,7 +72,7 @@ input[type=text], input[type=password], input[type=email] {
72
72
 
73
73
  .content, .form-group {
74
74
 
75
- @include media($mobile-breakpoint) {
75
+ @include media($tn-bp-mobile) {
76
76
 
77
77
  button {
78
78
  margin-bottom: 5px;
@@ -7,11 +7,11 @@ $tn-tool-border: 0;
7
7
  float: right;
8
8
  }
9
9
  .header-label {
10
- @include media($mobile-breakpoint) {
10
+ @include media($tn-bp-mobile) {
11
11
  display: none;
12
12
  }
13
13
 
14
- @include media($tablet-breakpoint) {
14
+ @include media($tn-bp-tablet) {
15
15
  display: block;
16
16
  }
17
17
 
@@ -1,5 +1,5 @@
1
1
  .list-style-toggle-holder {
2
- @include media($mobile-breakpoint) {
2
+ @include media($tn-bp-mobile) {
3
3
  display: none;
4
4
  }
5
5
 
@@ -1,6 +1,6 @@
1
1
  .tenon-login {
2
2
 
3
- @include media($mobile-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
19
+ @include media($tn-bp-mobile) {
20
20
  @include column(2);
21
21
  }
22
22
 
23
- @include media($tablet-breakpoint) {
23
+ @include media($tn-bp-tablet) {
24
24
  @include column(3);
25
25
  }
26
26
 
27
- @include media($laptop-breakpoint) {
27
+ @include media($tn-bp-laptop) {
28
28
  @include column(5);
29
29
  }
30
30
 
31
- @include media($desktop-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
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-breakpoint) {
41
+ @include media($tn-bp-mobile) {
42
42
  left: 80px;
43
43
  padding-right: 100px;
44
44
  }
45
45
 
46
- @include media($tablet-breakpoint) {
46
+ @include media($tn-bp-tablet) {
47
47
  left: 120px;
48
48
  padding-right: 140px;
49
49
  }
@@ -163,7 +163,7 @@
163
163
  }
164
164
  }
165
165
  .wrapped-image {
166
- @include media($mobile-breakpoint) {
166
+ @include media($tn-bp-mobile) {
167
167
  &.left, &.right {
168
168
  float: none;
169
169
  padding: 0;
@@ -1,4 +1,4 @@
1
- .four-column-image
1
+ .tn-tc-row.four-column-image
2
2
  - row.pieces.each do |piece|
3
3
  .tn-tc-piece.tn-tc-asset-field.three{class: cycle('', '', '', 'omega')}
4
4
  = render "tenon/tenon_content/piece_types/display/image", piece: piece
@@ -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
- .four-column-text.tn-tc-multi-text
1
+ .tn-tc-row.four-column-text.tn-tc-multi-text
2
2
  - row.pieces.each do |piece|
3
3
  .tn-tc-piece.three{class: cycle('', '', '', 'omega')}
4
4
  = render "tenon/tenon_content/piece_types/display/text", piece: piece
@@ -1,4 +1,4 @@
1
- .full-width-embedded-content
1
+ .tn-tc-row.full-width-embedded-content
2
2
  .tn-tc-piece.twelve
3
3
  = render "tenon/tenon_content/piece_types/display/embedded_content", piece: row.pieces.first
4
4
  .spacer
@@ -1,4 +1,4 @@
1
- .two-column-text-with-background-image
1
+ .tn-tc-row.full-width-image
2
2
  .tn-tc-piece.twelve.tn-tc-asset-field
3
3
  = render "tenon/tenon_content/piece_types/display/image", piece: row.pieces.first
4
4
  .spacer
@@ -1,4 +1,4 @@
1
- .full-width-text
1
+ .tn-tc-row.full-width-text
2
2
  .tn-tc-piece.twelve
3
3
  = render "tenon/tenon_content/piece_types/display/text", piece: row.pieces.first
4
4
  .spacer
@@ -1,4 +1,4 @@
1
- .tn-tc-left-image-right-text.tn-tc-image-and-text
1
+ .tn-tc-row.tn-tc-left-image-right-text.tn-tc-image-and-text
2
2
  - row.pieces.each do |piece|
3
3
  - if piece.piece_type == "Image"
4
4
  .tn-tc-piece.tn-tc-asset-field{:class => piece.size}
@@ -1,4 +1,4 @@
1
- .tn-tc-left-text-right-image.tn-tc-image-and-text
1
+ .tn-tc-row.tn-tc-left-text-right-image.tn-tc-image-and-text
2
2
  - row.pieces.each do |piece|
3
3
  - if piece.piece_type == "Text"
4
4
  .tn-tc-piece{class: piece.size}
@@ -1,4 +1,4 @@
1
- .tn-tc-left-wrapped-image-with-text.tn-tc-wrapped-image-with-text
1
+ .tn-tc-row.tn-tc-left-wrapped-image-with-text.tn-tc-wrapped-image-with-text
2
2
  .twelve
3
3
  - row.pieces.each do |piece|
4
4
  - if piece.piece_type == "Image"
@@ -1,4 +1,4 @@
1
- .tn-tc-right-wrapped-image-with-text.tn-tc-wrapped-image-with-text
1
+ .tn-tc-row.tn-tc-right-wrapped-image-with-text.tn-tc-wrapped-image-with-text
2
2
  .twelve
3
3
  - row.pieces.each do |piece|
4
4
  - if piece.piece_type == "Image"
@@ -1,4 +1,4 @@
1
- .six-column-image
1
+ .tn-tc-row.tn-tc-six-column-image
2
2
  - [ [0, 1], [2, 3], [4, 5] ].each_with_index do |columns, i|
3
3
  .tn-tc-piece.four{class: i == 2 ? 'omega' : ''}
4
4
  - columns.each do |position|
@@ -1,4 +1,4 @@
1
- .six-column-image-and-text.stacked-image-and-text
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
1
+ .tn-tc-row.tn-tc-three-column-image
2
2
  - row.pieces.each do |piece|
3
3
  .tn-tc-piece.tn-tc-asset-field.four{class: cycle('', '', 'omega')}
4
4
  = render "tenon/tenon_content/piece_types/display/image", piece: piece
@@ -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|
@@ -1,4 +1,4 @@
1
- .three-column-text.tn-tc-multi-text
1
+ .tn-tc-row.tn-tc-three-column-text.tn-tc-multi-text
2
2
  - row.pieces.each do |piece|
3
3
  .tn-tc-piece.four{class: cycle('', '', 'omega')}
4
4
  = render "tenon/tenon_content/piece_types/display/text", piece: piece
@@ -1,4 +1,4 @@
1
- .two-column-image
1
+ .tn-tc-row.tn-tc-two-column-image
2
2
  - row.pieces.each do |piece|
3
3
  .tn-tc-piece.tn-tc-asset-field{ class: [piece.size, cycle('', 'omega')] }
4
4
  = render "tenon/tenon_content/piece_types/display/image", piece: piece
@@ -1,4 +1,4 @@
1
- .two-column-image-and-text.stacked-image-and-text
1
+ .tn-tc-row.tn-tc-two-column-image-and-text.stacked-image-and-text
2
2
  -[[0,1], [2,3]].each do |positions|
3
3
  .six{class: cycle('', 'omega')}
4
4
  - row.pieces.select { |p| positions.include?(p.position) }.each do |piece|
@@ -1,4 +1,4 @@
1
- .two-column-text
1
+ .tn-tc-row.tn-tc-two-column-text
2
2
  - row.pieces.each do |piece|
3
3
  .tn-tc-piece.six{class: cycle('', 'omega')}
4
4
  = render "tenon/tenon_content/piece_types/display/text", piece: piece
@@ -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
@@ -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 "tenon/tenon_content/piece_types/form/background_image", f: piece, position: 0, style: 'full'
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 "tenon/tenon_content/piece_types/form/text", f: piece, position: piece.object.position
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
@@ -1,3 +1,3 @@
1
1
  module Tenon
2
- VERSION = '1.0.68'
2
+ VERSION = '1.0.69'
3
3
  end
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.68
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-17 00:00:00.000000000 Z
11
+ date: 2015-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: better_errors