caboose-cms 0.9.115 → 0.9.116

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: c881ecff72b90de1f04649f55304be6eedfe0eae
4
- data.tar.gz: a79e20da78208dbcecc615da798fb73bff964760
3
+ metadata.gz: d420edee4905eb0c5efd46fad49653ef02b8ae80
4
+ data.tar.gz: 76eb6c0655e6c15e69fad16c5e408cfb21e0080e
5
5
  SHA512:
6
- metadata.gz: 1be162c82d2f71eec2df372e02de03204520bc920952608c03445f8f2c03f550f0b11a07a876e5c71d5cfe6dac2d476dc7e88fe9ce425d83b99c1ba54d464e16
7
- data.tar.gz: 2e5c6970cac98644bdaeddb720fc99231069439bb13c70d8356dd538b8ab4a8d76d2a2a1afe3fe5e057d1ab997de6671e49802dd11fed55152a57b886217244d
6
+ metadata.gz: 66f57a094bb0866aad1768dc62cfdbb7646b8c827fe701ffc16893d004a6524e4f153eaa111bd59cfda70c6a3d561ad1c055b04a1f88809736d5385e8b5f6962
7
+ data.tar.gz: 9fcf35c4256ded02237a17fe400b26c59412ec4851fc075003304d42a1d8d0bc40332192217d9f54122ee3c561c11e9e882d4cfcdabf1d050bd829322ccbfcb4
@@ -214,12 +214,14 @@
214
214
 
215
215
  .caboose-btn {
216
216
  background: #141516;
217
- color: #f7f7f7;
217
+ color: #f7f7f7 !important;
218
218
  text-align: center;
219
219
  padding: 0 15px;
220
220
  height: auto;
221
221
  display: inline-block;
222
222
  margin: 0 auto;
223
+ font-family: "Roboto", Arial;
224
+ font-weight: 400;
223
225
  font-size: 15px;
224
226
  line-height: 32px;
225
227
  cursor: pointer;
@@ -229,7 +231,7 @@
229
231
  border-width: 0;
230
232
  -webkit-appearance: none;
231
233
  border-radius: 5px;
232
- text-decoration: none;
234
+ text-decoration: none !important;
233
235
  margin-right: 8px;
234
236
  }
235
237
  .caboose-btn:focus {
@@ -25,6 +25,11 @@ body * {
25
25
  background: url('/assets/caboose/modal_overlay.png') !important;
26
26
  }
27
27
 
28
+ #modal_content div .caboose-btn {
29
+ color: #fff;
30
+ text-decoration: none;
31
+ }
32
+
28
33
  #cboxWrapper {
29
34
  -webkit-border-radius: 7px !important;
30
35
  -moz-border-radius: 7px !important;
@@ -612,7 +617,7 @@ Page Bar Generator
612
617
 
613
618
  .caboose-btn {
614
619
  background: #141516;
615
- color: #f7f7f7;
620
+ color: #f7f7f7 !important;
616
621
  text-align: center;
617
622
  font-family: "Roboto", Arial;
618
623
  font-weight: 400;
@@ -629,13 +634,13 @@ Page Bar Generator
629
634
  border-width: 0;
630
635
  -webkit-appearance: none;
631
636
  border-radius: 5px;
632
- text-decoration: none;
637
+ text-decoration: none !important;
633
638
  }
634
639
 
635
640
  .caboose-btn-white, input[type="submit"], input[type="button"] {
636
641
  background: #e3e3e3;
637
642
  border: 1px solid #fff;
638
- color: #141516;
643
+ color: #141516 !important;
639
644
  text-align: center;
640
645
  font-family: "Roboto", Arial;
641
646
  font-weight: 400;
@@ -651,7 +656,7 @@ Page Bar Generator
651
656
  -moz-border-radius: 5px;
652
657
  border-radius: 5px;
653
658
  line-height: 32px;
654
- text-decoration: none;
659
+ text-decoration: none !important;
655
660
  }
656
661
 
657
662
  .caboose-btn:focus {
@@ -1,28 +1,32 @@
1
1
  <%
2
2
  btsm = Caboose::BlockTypeSiteMembership.where(:site_id => @site.id).pluq(:block_type_id)
3
+ grid = Caboose::BlockType.where(:name => 'flex_grid').first
3
4
  @block_types = Caboose::BlockType.where(:parent_id => nil, :block_type_category_id => 2).where(:id => btsm).order(:description)
4
5
  %>
5
6
 
6
7
  <div class='icons' id='new_blocks_container2'>
7
8
  <h4>Drag a block<br />onto the page.</h4>
9
+
8
10
  <ul id='new_blocks'>
9
- <li class='title'><span>Structure</span></li>
10
- <li class='blocktype bt' id='new_block_3159_2' data-btid='3159' data-children='2'>
11
- <span class='icon icon-insert-template'></span>
12
- <span class='bname'>2 Column Row</span>
13
- </li>
14
- <li class='blocktype bt' id='new_block_3159_3' data-btid='3159' data-children='3'>
15
- <span class='icon icon-insert-template'></span>
16
- <span class='bname'>3 Column Row</span>
17
- </li>
18
- <li class='blocktype bt' id='new_block_3159_4' data-btid='3159' data-children='4'>
19
- <span class='icon icon-insert-template'></span>
20
- <span class='bname'>4 Column Row</span>
21
- </li>
22
- <li class='blocktype bt' id='new_block_3159_5' data-btid='3159' data-children='5'>
23
- <span class='icon icon-insert-template'></span>
24
- <span class='bname'>5 Column Row</span>
25
- </li>
11
+ <% if grid %>
12
+ <li class='title'><span>Structure</span></li>
13
+ <li class='blocktype bt' id='new_block_<%= grid.id %>_2' data-btid='<%= grid.id %>' data-children='2'>
14
+ <span class='icon icon-insert-template'></span>
15
+ <span class='bname'>2 Column Row</span>
16
+ </li>
17
+ <li class='blocktype bt' id='new_block_<%= grid.id %>_3' data-btid='<%= grid.id %>' data-children='3'>
18
+ <span class='icon icon-insert-template'></span>
19
+ <span class='bname'>3 Column Row</span>
20
+ </li>
21
+ <li class='blocktype bt' id='new_block_<%= grid.id %>_4' data-btid='<%= grid.id %>' data-children='4'>
22
+ <span class='icon icon-insert-template'></span>
23
+ <span class='bname'>4 Column Row</span>
24
+ </li>
25
+ <li class='blocktype bt' id='new_block_<%= grid.id %>_5' data-btid='<%= grid.id %>' data-children='5'>
26
+ <span class='icon icon-insert-template'></span>
27
+ <span class='bname'>5 Column Row</span>
28
+ </li>
29
+ <% end %>
26
30
  <li class='title'><span>Content</span></li>
27
31
  <% @block_types.each do |block_type| %>
28
32
  <li class='blocktype bt' id='new_block_<%= block_type.id %>' data-btid='<%= block_type.id %>'>
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.115'
2
+ VERSION = '0.9.116'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.115
4
+ version: 0.9.116
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-07 00:00:00.000000000 Z
11
+ date: 2018-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg