tenon 1.0.18 → 1.0.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a2158731ad7d04b4520d0bd08b57fb8771dcd81
4
- data.tar.gz: 9323256bdf9cf2fbd67c62608d10143372c37187
3
+ metadata.gz: 26fe2e2693358e70f326dc57a7dbd7dfdd3cb226
4
+ data.tar.gz: 2327627cafbf3bb52a11d5e6b15ec4f22389e41c
5
5
  SHA512:
6
- metadata.gz: 7ec76c3de0b1dfeceed8e9f465491b787baf147c1dce86a80fa7aaea8c9425a939986f085f4376a99b2c3efc4bebaad9dab948034a55ddb654400d594145c4ce
7
- data.tar.gz: 5349f690b803572e56940b76a80b44344d4e37a7f41ff55180755b40821a8fa15424ce872106dfd4f07f071ac7f3c98e8f749069ae4e0726d9f034497588a6eb
6
+ metadata.gz: e29b905edcca21eea4fc5c67e44ad2130440817ebaebea716c2e9d34d70173e41f7f8939a8315c60bc16cd7963e5882a24b31b203ccfd203a2f0bb6a505fb22b
7
+ data.tar.gz: 745254829fe6c1fac1fbc26774889813a421b8506caaf7404dced70001d897cf262ff07849b6af43ff4b6b26765d95ef4558bc3795f71c1afde019f6d100623d
Binary file
@@ -2,7 +2,7 @@
2
2
 
3
3
  // Change these on a per-site basis
4
4
  $tn-client-color: #9c0f17;
5
- $tn-primary: #ff6a00;
5
+ $tn-primary: #df222A;
6
6
  $tn-comp: #978fcc;
7
7
  $tn-highlight: $tn-med-grey;
8
8
  $tn-nav: #12111a;
@@ -27,6 +27,10 @@ body {
27
27
  .main-content {
28
28
  margin: 0 $tn-margin;
29
29
  padding-top: $tn-padding;
30
+ @include media($mobile-breakpoint) {
31
+ margin: 0 10px;
32
+ padding-top: 10px;
33
+ }
30
34
  }
31
35
 
32
36
  $tn-header-height: 50px;
@@ -97,16 +97,6 @@
97
97
  .notification {
98
98
  margin-bottom: 20px;
99
99
  font-size: 12px;
100
- a {
101
- display: inline-block;
102
- margin-top: 3px;
103
- padding: 5px 10px;
104
- border-radius: 25px;
105
- background: lighten($tn-sidebar, 10%);
106
- color: $tn-primary-text;
107
- text-align: left;
108
- text-transform: uppercase;
109
- }
110
100
  }
111
101
  }
112
102
  }
@@ -42,7 +42,7 @@ util-nav {
42
42
  left: 0;
43
43
  margin: 0;
44
44
  a {
45
- padding: 10px 13px;
45
+ padding: 10px 18px;
46
46
  display: block;
47
47
  width: 60px;
48
48
  height: 50px;
@@ -24,7 +24,7 @@
24
24
 
25
25
  form {
26
26
  margin: 0 auto;
27
- padding: 24px 0;
27
+ padding: 0;
28
28
  border: 1px solid $tn-dark-grey;
29
29
  border-radius: 5px;
30
30
  background: #fff;
@@ -52,7 +52,8 @@
52
52
  display: inline-block;
53
53
 
54
54
  img {
55
- height: 64px;
55
+ // height: 135px;
56
+ width: 100%;
56
57
  }
57
58
  }
58
59
 
@@ -67,7 +67,6 @@ ul.record-grid {
67
67
  padding: 0 10px 10px;
68
68
  width: 100%;
69
69
  color: $tn-dark-grey;
70
- text-transform: uppercase;
71
70
  font-size: $tn-font-small;
72
71
  }
73
72
  .record-actions {
@@ -55,7 +55,6 @@ ul.record-list {
55
55
  @include clearfix;
56
56
  color: $tn-black;
57
57
  font-size: $tn-font-small;
58
- text-transform: uppercase;
59
58
  @include media($tablet-breakpoint) {
60
59
  opacity: 0.5;
61
60
  }
@@ -121,23 +120,23 @@ ul.record-list {
121
120
 
122
121
  .record-list.with-thumbnail {
123
122
  li {
124
- min-height: 100px;
123
+ min-height: 80px;
125
124
  background-color: #fff;
126
125
  }
127
126
  .thumbnail {
128
127
  position: absolute;
129
128
  top: 0;
130
129
  left: 0;
131
- width: 100px;
132
- height: 100px;
130
+ width: 80px;
131
+ height: 80px;
133
132
  img {
134
133
  width: 100%;
135
134
  height: 100%;
136
135
  }
137
136
  }
138
137
  .record-details {
139
- margin-left: 100px;
140
- min-height: 100px;
138
+ margin-left: 80px;
139
+ min-height: 80px;
141
140
  &:hover > .record-actions {
142
141
  opacity: 1;
143
142
  }
@@ -10,4 +10,4 @@
10
10
  = nav_item 'Events', events_path, 'calendar'
11
11
  = nav_item 'Galleries', galleries_path, 'th'
12
12
  = nav_item 'Contacts', contacts_path, 'envelope'
13
- = nav_item 'Settings', settings_path, 'gear'
13
+ = nav_item 'Settings', settings_path, 'gear'
@@ -12,14 +12,16 @@
12
12
 
13
13
  .header-menu.hamburger-toggle
14
14
  = link_to '#', class: 'user-menu', data: { icon: 'user' } do
15
- .header-icon= fa_icon('fw user')
15
+ .header-icon
16
+ .mobile= fa_icon('fw user')
17
+ .tablet= fa_icon('fw caret-down')
16
18
  .header-label= current_user.email
17
19
 
18
20
  %ul
19
21
  %li
20
22
  = link_to edit_user_path(current_user) do
21
23
  .header-icon= fa_icon('fw gear')
22
- .header-label Settings
24
+ .header-label Edit Info
23
25
  %li
24
26
  = link_to destroy_user_session_path, method: :delete do
25
27
  .header-icon= fa_icon('fw sign-out')
data/lib/tenon/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tenon
2
- VERSION = '1.0.18'
2
+ VERSION = '1.0.19'
3
3
  end
@@ -6,11 +6,11 @@ module Tenon
6
6
 
7
7
  def warnings
8
8
  warnings = []
9
- warnings << "Your site needs a title<br /><a href='/tenon/settings'>OK</a><br />".html_safe if Tenon::MySettings.site_title.blank?
10
- warnings << "Your site needs an address<br /><a href='/tenon/settings'>OK</a><br />".html_safe if Tenon::MySettings.site_url.blank?
11
- warnings << "You haven't entered an email address to receive contact messages.<br /><a href='/tenon/settings'>Correct This</a><br />".html_safe if Tenon::MySettings.contact_email.blank?
12
- warnings << "You haven't entered an email address from which to send contact messages and other site notices.<br /><a href='/tenon/settings'>Correct This</a><br />".html_safe if Tenon::MySettings.from_email.blank?
13
- warnings << "You haven't entered the Google Analytics code.<br /><a href='/tenon/settings'>Correct This</a><br />".html_safe if Tenon::MySettings.google_analytics.blank?
9
+ warnings << "Your site needs a title.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>OK</a>".html_safe if Tenon::MySettings.site_title.blank?
10
+ warnings << "Your site needs an address.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>OK</a>".html_safe if Tenon::MySettings.site_url.blank?
11
+ warnings << "You haven't entered an email address to receive contact messages.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>".html_safe if Tenon::MySettings.contact_email.blank?
12
+ warnings << "You haven't entered an email address from which to send contact messages and other site notices.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>".html_safe if Tenon::MySettings.from_email.blank?
13
+ warnings << "You haven't entered the Google Analytics code.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>".html_safe if Tenon::MySettings.google_analytics.blank?
14
14
  warnings << 'You have not included a custom favicon.' unless favicon && favicon.size > 0
15
15
  warnings
16
16
  end
@@ -12,7 +12,7 @@ describe 'An admin viewing the comments index', js: true do
12
12
 
13
13
  it 'should see the comment in a list' do
14
14
  visit comments_path
15
- expect(page).to have_content('Test Comment'.upcase)
15
+ expect(page).to have_content('Test Comment')
16
16
  end
17
17
 
18
18
  it 'should be able to delete the comment' do
@@ -13,7 +13,7 @@ describe Tenon::WarningGenerator do
13
13
  end
14
14
 
15
15
  it 'should include a warning about no site title' do
16
- warning = "Your site needs a title<br /><a href='/tenon/settings'>OK</a><br />"
16
+ warning = "Your site needs a title.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>OK</a>"
17
17
  expect(wg.warnings).to include(warning)
18
18
  end
19
19
  end
@@ -24,7 +24,7 @@ describe Tenon::WarningGenerator do
24
24
  end
25
25
 
26
26
  it 'should include a warning about no site title' do
27
- warning = "Your site needs a title<br /><a href='/tenon/settings'>OK</a><br />"
27
+ warning = "Your site needs a title.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>OK</a>"
28
28
  expect(wg.warnings).not_to include(warning)
29
29
  end
30
30
  end
@@ -35,7 +35,7 @@ describe Tenon::WarningGenerator do
35
35
  end
36
36
 
37
37
  it 'should not include a warning about no site domain' do
38
- warning = "Your site needs an address<br /><a href='/tenon/settings'>OK</a><br />"
38
+ warning = "Your site needs an address.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>OK</a>"
39
39
  expect(wg.warnings).to include(warning)
40
40
  end
41
41
  end
@@ -46,7 +46,7 @@ describe Tenon::WarningGenerator do
46
46
  end
47
47
 
48
48
  it 'should not include a warning about no site title' do
49
- warning = "Your site needs an address<br /><a href='/tenon/settings'>OK</a><br />"
49
+ warning = "Your site needs an address.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>OK</a>"
50
50
  expect(wg.warnings).not_to include(warning)
51
51
  end
52
52
  end
@@ -57,7 +57,7 @@ describe Tenon::WarningGenerator do
57
57
  end
58
58
 
59
59
  it 'should include a warning about no contact email' do
60
- warning = "You haven't entered an email address to receive contact messages.<br /><a href='/tenon/settings'>Correct This</a><br />"
60
+ warning = "You haven't entered an email address to receive contact messages.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>"
61
61
  expect(wg.warnings).to include(warning)
62
62
  end
63
63
  end
@@ -68,7 +68,7 @@ describe Tenon::WarningGenerator do
68
68
  end
69
69
 
70
70
  it 'should include a warning about no contact email' do
71
- warning = "You haven't entered an email address to receive contact messages.<br /><a href='/tenon/settings'>Correct This</a><br />"
71
+ warning = "You haven't entered an email address to receive contact messages.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>"
72
72
  expect(wg.warnings).not_to include(warning)
73
73
  end
74
74
  end
@@ -79,7 +79,7 @@ describe Tenon::WarningGenerator do
79
79
  end
80
80
 
81
81
  it 'should include a warning about no from email' do
82
- warning = "You haven't entered an email address from which to send contact messages and other site notices.<br /><a href='/tenon/settings'>Correct This</a><br />"
82
+ warning = "You haven't entered an email address from which to send contact messages and other site notices.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>"
83
83
  expect(wg.warnings).to include(warning)
84
84
  end
85
85
  end
@@ -90,7 +90,7 @@ describe Tenon::WarningGenerator do
90
90
  end
91
91
 
92
92
  it 'should include a warning about no from email' do
93
- warning = "You haven't entered an email address from which to send contact messages and other site notices.<br /><a href='/tenon/settings'>Correct This</a><br />"
93
+ warning = "You haven't entered an email address from which to send contact messages and other site notices.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>"
94
94
  expect(wg.warnings).not_to include(warning)
95
95
  end
96
96
  end
@@ -101,7 +101,7 @@ describe Tenon::WarningGenerator do
101
101
  end
102
102
 
103
103
  it 'should include a warning about no Google Analytics' do
104
- warning = "You haven't entered the Google Analytics code.<br /><a href='/tenon/settings'>Correct This</a><br />"
104
+ warning = "You haven't entered the Google Analytics code.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>"
105
105
  expect(wg.warnings).to include(warning)
106
106
  end
107
107
  end
@@ -112,7 +112,7 @@ describe Tenon::WarningGenerator do
112
112
  end
113
113
 
114
114
  it 'should include a warning about no Google Analytics' do
115
- warning = "You haven't entered the Google Analytics code.<br /><a href='/tenon/settings'>Correct This</a><br />"
115
+ warning = "You haven't entered the Google Analytics code.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>"
116
116
  expect(wg.warnings).not_to include(warning)
117
117
  end
118
118
  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.18
4
+ version: 1.0.19
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: 2014-06-11 00:00:00.000000000 Z
11
+ date: 2014-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: better_errors
@@ -1452,7 +1452,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1452
1452
  version: '0'
1453
1453
  requirements: []
1454
1454
  rubyforge_project:
1455
- rubygems_version: 2.2.2
1455
+ rubygems_version: 2.3.0
1456
1456
  signing_key:
1457
1457
  specification_version: 4
1458
1458
  summary: A highly flexible mountable Rails CMS built for rapid application development.