caboose-cms 0.9.142 → 0.9.143

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4101ff715f3350bdf7f403582837404239a21b14
4
- data.tar.gz: acdfda2009f0ea2c7f645638f1835d43d093f27c
3
+ metadata.gz: a92776f5ed142c3e522858dd4ba25d6be8957e39
4
+ data.tar.gz: 345197a5844595eaf4de3ea6ce9ca32049e1a3e7
5
5
  SHA512:
6
- metadata.gz: 46ee55cdbb2d71c15fe7cc6102aea19b78c19528ccdf4d948bcac9da2350a98182c9faefaedeeac5108ef64acc67667a2424225d01c2aac7f001b0cb7088a879
7
- data.tar.gz: 4c945c4379334ab43ac7fc7cfa20dbed51f31da4439c39b2dc46694c56d7c9d33d37eef544b5ee0f7d98e8e763190bd6c8e478fe1b14e93b0e46ee916a8f702c
6
+ metadata.gz: 533b503d91b9eb8e8805fe3af5b9dc002c998df0bf45319cfb77feb5f0247ee1c910c41b800b023f2ec4e70e84f3ae489baa085fce8ebd5b004a80cd5c471cd1
7
+ data.tar.gz: 22ef7c2d5a27c51aeec9e40d966b6fdb8518c6c01cb45e3db78f3e2ff4296a06c47ca0496c7d757a05f9a8cd253ef4bc8ddb9b8d1a43a5c1499dd68c1cbd1a3b
@@ -164,7 +164,7 @@ $current-text-color: #ccc;
164
164
  a.icon3-settings {
165
165
  position: absolute;
166
166
  right: 30px;
167
- top: 8px;
167
+ top: 9px;
168
168
  font-size: 0;
169
169
  color: transparent;
170
170
  width: 23px;
@@ -201,13 +201,13 @@ $current-text-color: #ccc;
201
201
  font-size: 20px;
202
202
  position: absolute;
203
203
  left: 5px;
204
- top: 7px;
204
+ top: 8px;
205
205
  }
206
206
  }
207
207
  a.pub {
208
208
  position: absolute;
209
209
  right: 9px;
210
- top: 10px;
210
+ top: 11px;
211
211
  font-size: 0;
212
212
  color: transparent;
213
213
  width: 17px;
@@ -273,7 +273,7 @@ body > .container, body > .mm-page > .container {
273
273
  a {
274
274
  display: inline-block;
275
275
  color: #fff;
276
- padding: 0 10px;
276
+ padding: 0 10px 1px 10px;
277
277
  font-family: 'Roboto';
278
278
  font-weight: 300;
279
279
  font-size: 12px;
@@ -282,7 +282,7 @@ body > .container, body > .mm-page > .container {
282
282
  margin-left: 8px;
283
283
  text-transform: uppercase;
284
284
  border-radius: 3px;
285
- line-height: 24px;
285
+ line-height: 28px;
286
286
  &[href*="revert"] {
287
287
  background: #903b3b;
288
288
  }
@@ -372,7 +372,7 @@ body > .container, body > .mm-page > .container {
372
372
  a {
373
373
  position: absolute;
374
374
  top: 1px;
375
- right: 5px;
375
+ left: 5px;
376
376
  text-decoration: none;
377
377
  color: #fff;
378
378
  display: inline-block;
@@ -178,7 +178,7 @@ h1,h2,h3,h4,h5,h6 {
178
178
  margin: 0 0 20px 0;
179
179
  width: calc(100% + 30px);
180
180
  padding: 0 2% 0 50px;
181
- height: 53px;
181
+ height: 54px;
182
182
  background: #dcdcdc;
183
183
  border-bottom: #aaa 1px solid;
184
184
  font-size: 25px;
@@ -255,12 +255,32 @@ input, select, textarea {
255
255
  font-family: 'Roboto', arial;
256
256
  font-weight: 400;
257
257
  border: 1px solid #ccc;
258
- padding: 6px 4px 4px 8px;
258
+ padding: 4px 4px 4px 8px;
259
259
  height: 36px;
260
260
  font-size: 15px;
261
261
  z-index: 20;
262
262
  }
263
263
 
264
+ span.explanation {
265
+ display: block;
266
+ color: #545454;
267
+ font-size: 13px;
268
+ padding: 4px 5px 0px 9px;
269
+ a {
270
+ color: #5151a9;
271
+ text-decoration: none;
272
+ &:hover {
273
+ color: #69a951;
274
+ }
275
+ }
276
+ }
277
+
278
+ div.field_with_explanation {
279
+ padding: 13px 5px 10px 5px;
280
+ border-bottom: 1px solid #e8e8e8;
281
+ max-width: 800px;
282
+ }
283
+
264
284
  input:focus, textarea:focus {
265
285
  outline-width: 0;
266
286
  border-color: #28acc1;
@@ -582,7 +602,7 @@ Page Bar Generator
582
602
  #tabs a {
583
603
  display: block;
584
604
  margin: 0;
585
- padding: 13px 12px 12px 12px;
605
+ padding: 12px;
586
606
  text-decoration: none;
587
607
  background: #efefef;
588
608
  border-bottom: #ccc 1px solid;
@@ -631,12 +651,12 @@ Page Bar Generator
631
651
  text-align: center;
632
652
  font-family: "Roboto", Arial;
633
653
  font-weight: 400;
634
- padding: 1px 15px 0 15px;
654
+ padding: 1px 15px 3px 15px;
635
655
  height: auto;
636
656
  display: inline-block;
637
657
  margin: 0 auto;
638
658
  font-size: 15px;
639
- line-height: 32px;
659
+ line-height: 30px;
640
660
  cursor: pointer;
641
661
  border: 1px solid #fff;
642
662
  -webkit-border-radius: 5px;
@@ -654,7 +674,7 @@ Page Bar Generator
654
674
  text-align: center;
655
675
  font-family: "Roboto", Arial;
656
676
  font-weight: 400;
657
- padding: 1px 15px 0 15px;
677
+ padding: 1px 15px 3px 15px;
658
678
  height: auto;
659
679
  display: inline-block;
660
680
  margin: 0 auto;
@@ -665,7 +685,7 @@ Page Bar Generator
665
685
  -webkit-appearance: none;
666
686
  -moz-border-radius: 5px;
667
687
  border-radius: 5px;
668
- line-height: 32px;
688
+ line-height: 30px;
669
689
  text-decoration: none !important;
670
690
  }
671
691
 
@@ -88,10 +88,8 @@ div.mb_container div.mb_placeholder {
88
88
  display: block;
89
89
  margin: 0;
90
90
  padding: 0 5px 0 0;
91
- /*height: 34px;*/
92
-
93
91
  position: absolute;
94
- top: 10px;
92
+ top: 8px;
95
93
  left: 9px;
96
94
  z-index: 19;
97
95
  }
@@ -4,9 +4,9 @@
4
4
  p.uri {
5
5
  background: #efefef;
6
6
  border: #999 1px solid;
7
- padding: 9px 10px;
7
+ padding: 8px 10px;
8
8
  position: absolute;
9
- top: -44px;
9
+ top: -45px;
10
10
  left: 0;
11
11
  height: 36px;
12
12
  margin: 0;
@@ -17,22 +17,7 @@
17
17
 
18
18
  <%= render :partial => 'caboose/pages/admin_footer' %>
19
19
 
20
- <% content_for :caboose_css do %>
21
- <style type='text/css'>
22
20
 
23
- div.field_with_explanation {
24
- width: 420px;
25
- background: #efefef;
26
- margin-bottom: 12px;
27
- }
28
-
29
- span.explanation {
30
- display: block;
31
- padding: 8px;
32
- }
33
-
34
- </style>
35
- <% end %>
36
21
  <% content_for :caboose_js do %>
37
22
  <script type='text/javascript'>
38
23
 
@@ -51,18 +36,18 @@ $(document).ready(function() {
51
36
  update_url: '/admin/pages/<%= @page.id %>',
52
37
  authenticity_token: '<%= form_authenticity_token %>',
53
38
  attributes: [
54
- { name: 'title' , nice_name: 'Title' , type: 'text' , value: <%= raw Caboose.json(@page.title ) %> , width: 400 },
55
- { name: 'menu_title' , nice_name: 'Menu title' , type: 'text' , value: <%= raw Caboose.json(@page.menu_title ) %> , width: 400 },
56
- { name: 'parent_id' , nice_name: 'Parent' , type: 'select' , value: <%= @page.parent_id %> , width: 400, after_update: function() { update_uri(<%= @page.id %>); }, text: <%= raw (@page.parent_id == -1 ? "[No Parent]" : @page.parent.title).to_json %>, options_url: '/admin/pages/sitemap-options' },
57
- { name: 'slug' , nice_name: 'Slug' , type: 'text' , value: <%= raw Caboose.json(@page.slug ) %> , width: 400, after_update: function() { update_uri(<%= @page.id %>); } },
58
- { name: 'alias' , nice_name: 'Alias' , type: 'text' , value: <%= raw Caboose.json(@page.alias ) %> , width: 400, after_update: function() { update_uri(<%= @page.id %>); } },
59
- { name: 'redirect_url' , nice_name: 'Redirect URL' , type: 'text' , value: <%= raw Caboose.json(@page.redirect_url ) %> , width: 400 },
60
- { name: 'hide' , nice_name: 'Hide' , type: 'checkbox' , value: <%= raw @page.hide %> , width: 400 },
61
- { name: 'custom_sort_children' , nice_name: 'Custom sort children' , type: 'checkbox' , value: <%= raw @page.custom_sort_children %> , width: 400 },
39
+ { name: 'title' , nice_name: 'Title' , type: 'text' , value: <%= raw Caboose.json(@page.title ) %> , width: 500 },
40
+ { name: 'menu_title' , nice_name: 'Menu title' , type: 'text' , value: <%= raw Caboose.json(@page.menu_title ) %> , width: 500 },
41
+ { name: 'parent_id' , nice_name: 'Parent' , type: 'select' , value: <%= @page.parent_id %> , width: 500, after_update: function() { update_uri(<%= @page.id %>); }, text: <%= raw (@page.parent_id == -1 ? "[No Parent]" : @page.parent.title).to_json %>, options_url: '/admin/pages/sitemap-options' },
42
+ { name: 'slug' , nice_name: 'Slug' , type: 'text' , value: <%= raw Caboose.json(@page.slug ) %> , width: 500, after_update: function() { update_uri(<%= @page.id %>); } },
43
+ { name: 'alias' , nice_name: 'Alias' , type: 'text' , value: <%= raw Caboose.json(@page.alias ) %> , width: 500, after_update: function() { update_uri(<%= @page.id %>); } },
44
+ { name: 'redirect_url' , nice_name: 'Redirect URL' , type: 'text' , value: <%= raw Caboose.json(@page.redirect_url ) %> , width: 500 },
45
+ { name: 'hide' , nice_name: 'Hide' , type: 'checkbox' , value: <%= raw @page.hide %> , width: 500 },
46
+ { name: 'custom_sort_children' , nice_name: 'Custom sort children' , type: 'checkbox' , value: <%= raw @page.custom_sort_children %> , width: 500 },
62
47
  <% if false %>
63
- { name: 'content_format' , nice_name: 'Content format' , type: 'select' , value: <%= raw Caboose.json(@page.content_format ) %> , width: 400, text: <%= raw Caboose.json(@page.content_format) %>, options_url: '/admin/pages/format-options' },
48
+ { name: 'content_format' , nice_name: 'Content format' , type: 'select' , value: <%= raw Caboose.json(@page.content_format ) %> , width: 500, text: <%= raw Caboose.json(@page.content_format) %>, options_url: '/admin/pages/format-options' },
64
49
  <% end %>
65
- { name: 'tags' , nice_name: 'Tags' , type: 'text' , value: <%= raw Caboose.json(tags ) %> , width: 400 }
50
+ { name: 'tags' , nice_name: 'Tags' , type: 'text' , value: <%= raw Caboose.json(tags ) %> , width: 500 }
66
51
  ]
67
52
  });
68
53
  });
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.142'
2
+ VERSION = '0.9.143'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.142
4
+ version: 0.9.143
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry