bcms_tools 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1,2 +1,2 @@
1
- 0.0.7
1
+ 0.0.8
2
2
 
data/bcms_tools.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bcms_tools}
8
- s.version = "0.0.7"
8
+ s.version = "0.0.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["buzzware"]
12
- s.date = %q{2010-03-08}
12
+ s.date = %q{2010-03-09}
13
13
  s.description = %q{Tools for BrowserCms.}
14
14
  s.email = %q{contact@buzzware.com.au}
15
15
  s.extra_rdoc_files = [
@@ -36,6 +36,7 @@ Gem::Specification.new do |s|
36
36
  "lib/bcms_tools/view_helpers.rb",
37
37
  "lib/bcms_tools/view_helpers.rb",
38
38
  "lib/bcms_tools_dev.rb",
39
+ "public/stylesheets/bcms_tools.css",
39
40
  "rails/init.rb",
40
41
  "test/bcms_tools_test.rb",
41
42
  "test/test_helper.rb"
@@ -80,7 +80,7 @@ Cms::FormBuilder.class_eval do
80
80
  end
81
81
 
82
82
  thumbnail = if _attachment
83
- "<img class=\"thumbnail\" src=\"#{Cms::PageHelper.attachment_cropped_src(_attachment,64,64)}\" width=\"64\" height=\"64\"/>"
83
+ "<img class=\"thumbnail\" src=\"#{BcmsTools::PageHelper.attachment_cropped_src(_attachment,64,64)}\" width=\"64\" height=\"64\"/>"
84
84
  else
85
85
  '<div style="width: 64px; height: 64px; position:static; display: block; float: left; border-style: solid; border-width: 1px; border-color: gray"></div>'
86
86
  end
@@ -0,0 +1,68 @@
1
+ div.thumbnail_upload div.file_inputs {
2
+ height: 64px;
3
+ }
4
+
5
+ div.thumbnail_upload input.mock {
6
+ width: 306px; /* 378 - 64*/
7
+ left: 72px;
8
+ top: 16px;
9
+ }
10
+
11
+ div.thumbnail_upload input.file {
12
+ height:64px;
13
+ left:-64px;
14
+ top:0;
15
+ width:456px;
16
+ }
17
+
18
+ div.thumbnail_upload div.fakefile img {
19
+ top: 16px;
20
+ }
21
+
22
+ div.thumbnail_upload img.thumbnail {
23
+ position: static;
24
+ display: block;
25
+ float: left;
26
+ margin: 0;
27
+ }
28
+
29
+ div.child_fields {
30
+ margin-left: 16px;
31
+ border-width: 4px;
32
+ border-style: solid;
33
+ margin-top: 8px;
34
+ padding: 8px;
35
+ border-color: gray;
36
+ }
37
+
38
+ .text_editor_fields textarea.a_few_lines {
39
+ height: auto;
40
+ }
41
+
42
+ .horiz_menu {
43
+ margin: 0;
44
+ padding: 0;
45
+ }
46
+
47
+ .horiz_menu ul {
48
+ margin: 0;
49
+ padding: 0;
50
+ }
51
+
52
+ .horiz_menu li {
53
+ display: -moz-inline-box;
54
+ display: inline-block;
55
+ zoom: 1;
56
+ *display:inline
57
+ height:auto;
58
+ width:auto;
59
+ padding: 5px 8px;
60
+ list-style:none;
61
+ list-style-type:none;
62
+ }
63
+
64
+ .horiz_menu li.on {
65
+ font-weight: bold;
66
+ }
67
+
68
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcms_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - buzzware
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-03-08 00:00:00 +08:00
12
+ date: 2010-03-09 00:00:00 +08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -67,6 +67,7 @@ files:
67
67
  - lib/bcms_tools/migration_helpers.rb
68
68
  - lib/bcms_tools/view_helpers.rb
69
69
  - lib/bcms_tools_dev.rb
70
+ - public/stylesheets/bcms_tools.css
70
71
  - rails/init.rb
71
72
  - test/bcms_tools_test.rb
72
73
  - test/test_helper.rb