zfben_rails_assets 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,140 @@
1
+ /*Grid*/
2
+ .ui-jqgrid {position: relative; font-size:11px;}
3
+ .ui-jqgrid .ui-jqgrid-view {position: relative;left:0px; top: 0px; padding: .0em;}
4
+ /* caption*/
5
+ .ui-jqgrid .ui-jqgrid-titlebar {padding: .3em .2em .2em .3em; position: relative; border-left: 0px none;border-right: 0px none; border-top: 0px none;}
6
+ .ui-jqgrid .ui-jqgrid-title { float: left; margin: .1em 0 .2em; }
7
+ .ui-jqgrid .ui-jqgrid-titlebar-close { position: absolute;top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height:18px;}.ui-jqgrid .ui-jqgrid-titlebar-close span { display: block; margin: 1px; }
8
+ .ui-jqgrid .ui-jqgrid-titlebar-close:hover { padding: 0; }
9
+ /* header*/
10
+ .ui-jqgrid .ui-jqgrid-hdiv {position: relative; margin: 0em;padding: 0em; overflow-x: hidden; overflow-y: auto; border-left: 0px none !important; border-top : 0px none !important; border-right : 0px none !important;}
11
+ .ui-jqgrid .ui-jqgrid-hbox {float: left; padding-right: 20px;}
12
+ .ui-jqgrid .ui-jqgrid-htable {table-layout:fixed;margin:0em;}
13
+ .ui-jqgrid .ui-jqgrid-htable th {height:22px;padding: 0 2px 0 2px;}
14
+ .ui-jqgrid .ui-jqgrid-htable th div {overflow: hidden; position:relative; height:17px;}
15
+ .ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {overflow: hidden;white-space: nowrap;text-align:center;border-top : 0px none;border-bottom : 0px none;}
16
+ .ui-th-ltr, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr {border-left : 0px none;}
17
+ .ui-th-rtl, .ui-jqgrid .ui-jqgrid-htable th.ui-th-rtl {border-right : 0px none;}
18
+ .ui-jqgrid .ui-th-div-ie {white-space: nowrap; zoom :1; height:17px;}
19
+ .ui-jqgrid .ui-jqgrid-resize {height:20px !important;position: relative; cursor :e-resize;display: inline;overflow: hidden;}
20
+ .ui-jqgrid .ui-grid-ico-sort {overflow:hidden;position:absolute;display:inline; cursor: pointer !important;}
21
+ .ui-jqgrid .ui-icon-asc {margin-top:-3px; height:12px;}
22
+ .ui-jqgrid .ui-icon-desc {margin-top:3px;height:12px;}
23
+ .ui-jqgrid .ui-i-asc {margin-top:0px;height:16px;}
24
+ .ui-jqgrid .ui-i-desc {margin-top:0px;margin-left:13px;height:16px;}
25
+ .ui-jqgrid .ui-jqgrid-sortable {cursor:pointer;}
26
+ .ui-jqgrid tr.ui-search-toolbar th { border-top-width: 1px !important; border-top-color: inherit !important; border-top-style: ridge !important }
27
+ tr.ui-search-toolbar input {margin: 1px 0px 0px 0px}
28
+ tr.ui-search-toolbar select {margin: 1px 0px 0px 0px}
29
+ /* body */
30
+ .ui-jqgrid .ui-jqgrid-bdiv {position: relative; margin: 0em; padding:0; overflow: auto; text-align:left;}
31
+ .ui-jqgrid .ui-jqgrid-btable {table-layout:fixed; margin:0em;}
32
+ .ui-jqgrid tr.jqgrow { outline-style: none; }
33
+ .ui-jqgrid tr.jqgrow td {font-weight: normal; overflow: hidden; white-space: pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
34
+ .ui-jqgrid tr.jqgfirstrow td {padding: 0 2px 0 2px;border-right-width: 1px; border-right-style: solid;}
35
+ .ui-jqgrid tr.jqgroup td {font-weight: normal; overflow: hidden; white-space: pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
36
+ .ui-jqgrid tr.jqfoot td {font-weight: bold; overflow: hidden; white-space: pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
37
+ .ui-jqgrid tr.ui-row-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;}
38
+ .ui-jqgrid tr.ui-row-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;}
39
+ .ui-jqgrid td.jqgrid-rownum { padding: 0 2px 0 2px; margin: 0px; border: 0px none;}
40
+ .ui-jqgrid .ui-jqgrid-resize-mark { width:2px; left:0; background-color:#777; cursor: e-resize; cursor: col-resize; position:absolute; top:0; height:100px; overflow:hidden; display:none; border:0 none;}
41
+ /* footer */
42
+ .ui-jqgrid .ui-jqgrid-sdiv {position: relative; margin: 0em;padding: 0em; overflow: hidden; border-left: 0px none !important; border-top : 0px none !important; border-right : 0px none !important;}
43
+ .ui-jqgrid .ui-jqgrid-ftable {table-layout:fixed; margin-bottom:0em;}
44
+ .ui-jqgrid tr.footrow td {font-weight: bold; overflow: hidden; white-space:nowrap; height: 21px;padding: 0 2px 0 2px;border-top-width: 1px; border-top-color: inherit; border-top-style: solid;}
45
+ .ui-jqgrid tr.footrow-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;}
46
+ .ui-jqgrid tr.footrow-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;}
47
+ /* Pager*/
48
+ .ui-jqgrid .ui-jqgrid-pager { border-left: 0px none !important;border-right: 0px none !important; border-bottom: 0px none !important; margin: 0px !important; padding: 0px !important; position: relative; height: 25px;white-space: nowrap;overflow: hidden;}
49
+ .ui-jqgrid .ui-pager-control {position: relative;}
50
+ .ui-jqgrid .ui-pg-table {position: relative; padding-bottom:2px; width:auto; margin: 0em;}
51
+ .ui-jqgrid .ui-pg-table td {font-weight:normal; vertical-align:middle; padding:1px;}
52
+ .ui-jqgrid .ui-pg-button { height:19px !important;}
53
+ .ui-jqgrid .ui-pg-button span { display: block; margin: 1px; float:left;}
54
+ .ui-jqgrid .ui-pg-button:hover { padding: 0px; }
55
+ .ui-jqgrid .ui-state-disabled:hover {padding:1px;}
56
+ .ui-jqgrid .ui-pg-input { height:13px;font-size:.8em; margin: 0em;}
57
+ .ui-jqgrid .ui-pg-selbox {font-size:.8em; line-height:18px; display:block; height:18px; margin: 0em;}
58
+ .ui-jqgrid .ui-separator {height: 18px; border-left: 1px solid #ccc ; border-right: 1px solid #ccc ; margin: 1px; float: right;}
59
+ .ui-jqgrid .ui-paging-info {font-weight: normal;height:19px; margin-top:3px;margin-right:4px;}
60
+ .ui-jqgrid .ui-jqgrid-pager .ui-pg-div {padding:1px 0;float:left;list-style-image:none;list-style-position:outside;list-style-type:none;position:relative;}
61
+ .ui-jqgrid .ui-jqgrid-pager .ui-pg-button { cursor:pointer; }
62
+ .ui-jqgrid .ui-jqgrid-pager .ui-pg-div span.ui-icon {float:left;margin:0 2px;}
63
+ .ui-jqgrid td input, .ui-jqgrid td select .ui-jqgrid td textarea { margin: 0em;}
64
+ .ui-jqgrid td textarea {width:auto;height:auto;}
65
+ .ui-jqgrid .ui-jqgrid-toppager {border-left: 0px none !important;border-right: 0px none !important; border-top: 0px none !important; margin: 0px !important; padding: 0px !important; position: relative; height: 25px !important;white-space: nowrap;overflow: hidden;}
66
+ /*subgrid*/
67
+ .ui-jqgrid .ui-jqgrid-btable .ui-sgcollapsed span {display: block;}
68
+ .ui-jqgrid .ui-subgrid {margin:0em;padding:0em; width:100%;}
69
+ .ui-jqgrid .ui-subgrid table {table-layout: fixed;}
70
+ .ui-jqgrid .ui-subgrid tr.ui-subtblcell td {height:18px;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
71
+ .ui-jqgrid .ui-subgrid td.subgrid-data {border-top: 0px none !important;}
72
+ .ui-jqgrid .ui-subgrid td.subgrid-cell {border-width: 0px 0px 1px 0px;}
73
+ .ui-jqgrid .ui-th-subgrid {height:20px;}
74
+ /* loading */
75
+ .ui-jqgrid .loading {position: absolute; top: 45%;left: 45%;width: auto;z-index:101;padding: 6px; margin: 5px;text-align: center;font-weight: bold;display: none;border-width: 2px !important;}
76
+ .ui-jqgrid .jqgrid-overlay {display:none;z-index:100;}
77
+ * html .jqgrid-overlay {width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}
78
+ * .jqgrid-overlay iframe {position:absolute;top:0;left:0;z-index:-1;width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}
79
+ /* end loading div */
80
+ /* toolbar */
81
+ .ui-jqgrid .ui-userdata {border-left: 0px none; border-right: 0px none; height : 21px;overflow: hidden; }
82
+ /*Modal Window */
83
+ .ui-jqdialog { display: none; width: 300px; position: absolute; padding: .2em; font-size:11px; overflow:visible;}
84
+ .ui-jqdialog .ui-jqdialog-titlebar { padding: .3em .2em; position: relative; }
85
+ .ui-jqdialog .ui-jqdialog-title { margin: .1em 0 .2em; }
86
+ .ui-jqdialog .ui-jqdialog-titlebar-close { position: absolute; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
87
+
88
+ .ui-jqdialog .ui-jqdialog-titlebar-close span { display: block; margin: 1px; }
89
+ .ui-jqdialog .ui-jqdialog-titlebar-close:hover, .ui-jqdialog .ui-jqdialog-titlebar-close:focus { padding: 0; }
90
+ .ui-jqdialog-content, .ui-jqdialog .ui-jqdialog-content { border: 0; padding: .3em .2em; background: none; height:auto;}
91
+ .ui-jqdialog .ui-jqconfirm {padding: .4em 1em; border-width:3px;position:absolute;bottom:10px;right:10px;overflow:visible;display:none;height:80px;width:220px;text-align:center;}
92
+ /* end Modal window*/
93
+ /* Form edit */
94
+ .ui-jqdialog-content .FormGrid {margin: 0px;}
95
+ .ui-jqdialog-content .EditTable { width: 100%; margin-bottom:0em;}
96
+ .ui-jqdialog-content .DelTable { width: 100%; margin-bottom:0em;}
97
+ .EditTable td input, .EditTable td select, .EditTable td textarea {margin: 0em;}
98
+ .EditTable td textarea { width:auto; height:auto;}
99
+ .ui-jqdialog-content td.EditButton {text-align: right;border-top: 0px none;border-left: 0px none;border-right: 0px none; padding-bottom:5px; padding-top:5px;}
100
+ .ui-jqdialog-content td.navButton {text-align: center; border-left: 0px none;border-top: 0px none;border-right: 0px none; padding-bottom:5px; padding-top:5px;}
101
+ .ui-jqdialog-content input.FormElement {padding:.3em}
102
+ .ui-jqdialog-content .data-line {padding-top:.1em;border: 0px none;}
103
+
104
+ .ui-jqdialog-content .CaptionTD {text-align: left; vertical-align: middle;border: 0px none; padding: 2px;white-space: nowrap;}
105
+ .ui-jqdialog-content .DataTD {padding: 2px; border: 0px none; vertical-align: top;}
106
+ .ui-jqdialog-content .form-view-data {white-space:pre}
107
+ .fm-button { display: inline-block; margin:0 4px 0 0; padding: .4em .5em; text-decoration:none !important; cursor:pointer; position: relative; text-align: center; zoom: 1; }
108
+ .fm-button-icon-left { padding-left: 1.9em; }
109
+ .fm-button-icon-right { padding-right: 1.9em; }
110
+ .fm-button-icon-left .ui-icon { right: auto; left: .2em; margin-left: 0; position: absolute; top: 50%; margin-top: -8px; }
111
+ .fm-button-icon-right .ui-icon { left: auto; right: .2em; margin-left: 0; position: absolute; top: 50%; margin-top: -8px;}
112
+ #nData, #pData { float: left; margin:3px;padding: 0; width: 15px; }
113
+ /* End Eorm edit */
114
+ /*.ui-jqgrid .edit-cell {}*/
115
+ .ui-jqgrid .selected-row, div.ui-jqgrid .selected-row td {font-style : normal;border-left: 0px none;}
116
+ /* Tree Grid */
117
+ .ui-jqgrid .tree-wrap {float: left; position: relative;height: 18px;white-space: nowrap;overflow: hidden;}
118
+ .ui-jqgrid .tree-minus {position: absolute; height: 18px; width: 18px; overflow: hidden;}
119
+ .ui-jqgrid .tree-plus {position: absolute; height: 18px; width: 18px; overflow: hidden;}
120
+ .ui-jqgrid .tree-leaf {position: absolute; height: 18px; width: 18px;overflow: hidden;}
121
+ .ui-jqgrid .treeclick {cursor: pointer;}
122
+ /* moda dialog */
123
+ .jqmOverlay { background-color: #000; }
124
+ * iframe.jqm {position:absolute;top:0;left:0;z-index:-1;width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}
125
+ .ui-jqgrid-dnd tr td {border-right-width: 1px; border-right-color: inherit; border-right-style: solid; height:20px}
126
+ /* RTL Support */
127
+ .ui-jqgrid .ui-jqgrid-title-rtl {float:right;margin: .1em 0 .2em; }
128
+ .ui-jqgrid .ui-jqgrid-hbox-rtl {float: right; padding-left: 20px;}
129
+ .ui-jqgrid .ui-jqgrid-resize-ltr {float: right;margin: -2px -2px -2px 0px;}
130
+ .ui-jqgrid .ui-jqgrid-resize-rtl {float: left;margin: -2px 0px -1px -3px;}
131
+ .ui-jqgrid .ui-sort-rtl {left:0px;}
132
+ .ui-jqgrid .tree-wrap-ltr {float: left;}
133
+ .ui-jqgrid .tree-wrap-rtl {float: right;}
134
+ .ui-jqgrid .ui-ellipsis {text-overflow:ellipsis; -moz-binding:url('ellipsis-xbl.xml#ellipsis');}
135
+ .ui-searchFilter { display: none; position: absolute; z-index: 770; overflow: visible;}
136
+ .ui-searchFilter table {position:relative; margin:0em; width:auto}
137
+ .ui-searchFilter table td {margin: 0em; padding: 1px;}
138
+ .ui-searchFilter table td input, .ui-searchFilter table td select {margin: 0.1em;}
139
+ .ui-searchFilter .ui-state-default { cursor: pointer; }
140
+ .ui-searchFilter .divider hr {margin: 1px; }
@@ -0,0 +1,30 @@
1
+ /* Multiselect
2
+ ----------------------------------*/
3
+
4
+ .ui-multiselect { border: solid 1px; font-size: 0.8em; }
5
+ .ui-multiselect ul { -moz-user-select: none; }
6
+ .ui-multiselect li { margin: 0; padding: 0; cursor: default; line-height: 20px; height: 20px; font-size: 11px; list-style: none; }
7
+ .ui-multiselect li a { color: #999; text-decoration: none; padding: 0; display: block; float: left; cursor: pointer;}
8
+ .ui-multiselect li.ui-draggable-dragging { padding-left: 10px; }
9
+
10
+ .ui-multiselect div.selected { position: relative; padding: 0; margin: 0; border: 0; float:left; }
11
+ .ui-multiselect ul.selected { position: relative; padding: 0; overflow: auto; overflow-x: hidden; background: #fff; margin: 0; list-style: none; border: 0; position: relative; width: 100%; }
12
+ .ui-multiselect ul.selected li { }
13
+
14
+ .ui-multiselect div.available { position: relative; padding: 0; margin: 0; border: 0; float:left; border-left: 1px solid; }
15
+ .ui-multiselect ul.available { position: relative; padding: 0; overflow: auto; overflow-x: hidden; background: #fff; margin: 0; list-style: none; border: 0; width: 100%; }
16
+ .ui-multiselect ul.available li { padding-left: 10px; }
17
+
18
+ .ui-multiselect .ui-state-default { border: none; margin-bottom: 1px; position: relative; padding-left: 20px;}
19
+ .ui-multiselect .ui-state-hover { border: none; }
20
+ .ui-multiselect .ui-widget-header {border: none; font-size: 11px; margin-bottom: 1px;}
21
+
22
+ .ui-multiselect .add-all { float: right; padding: 7px;}
23
+ .ui-multiselect .remove-all { float: right; padding: 7px;}
24
+ .ui-multiselect .search { float: left; padding: 4px;}
25
+ .ui-multiselect .count { float: left; padding: 7px;}
26
+
27
+ .ui-multiselect li span.ui-icon-arrowthick-2-n-s { position: absolute; left: 2px; }
28
+ .ui-multiselect li a.action { position: absolute; right: 2px; top: 2px; }
29
+
30
+ .ui-multiselect input.search { height: 14px; padding: 1px; opacity: 0.5; margin: 4px; width: 100px; }
@@ -19,8 +19,7 @@ namespace :assets do
19
19
  sys('rm -r ' + css_path) if File.exists?(css_path)
20
20
  sys('rm -r ' + img_path) if File.exists?(img_path)
21
21
  end
22
-
23
- desc 'add assets files to app/assets'
22
+
24
23
  task :add_assets => :clear_assets do
25
24
  p '== Add assets'
26
25
  sys 'cp -Ruf ' << File.join(ZfbenRailsAssetsPath, 'assets') << ' ' << File.join(Rails.root, 'app')
@@ -37,8 +36,7 @@ namespace :assets do
37
36
  File.open(gem_path, 'w'){ |f| f.write(file.gsub(regexp, '')) } if file =~ regexp
38
37
  end
39
38
  end
40
-
41
- desc 'add Gemfile'
39
+
42
40
  task :add_gem => :clear_gem do
43
41
  p '== Add gems'
44
42
  gem_path = File.join(Rails.root, 'Gemfile')
@@ -1,3 +1,3 @@
1
1
  module ZfbenRailsAssets
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: zfben_rails_assets
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ben
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-09 00:00:00 Z
13
+ date: 2011-06-11 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rainbow
@@ -106,14 +106,27 @@ files:
106
106
  - lib/zfben_rails_assets/assets/javascripts/zff/core/0_config.js
107
107
  - lib/zfben_rails_assets/assets/javascripts/zff/core/1_jquery.js
108
108
  - lib/zfben_rails_assets/assets/javascripts/zff/core/2_load.js
109
+ - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/colorbox.js
110
+ - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/contextmenu.js
109
111
  - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/core.js
110
112
  - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid.js
113
+ - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/addons.js
114
+ - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/core.js
115
+ - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/i18n/cn.js
116
+ - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/i18n/en.js
117
+ - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/postext.js
118
+ - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/setcolumns.js
111
119
  - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/qunit.js
120
+ - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/searchFilter.js
121
+ - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/tablednd.js
112
122
  - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/ui.js
123
+ - lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/ui/multiselect.js
113
124
  - lib/zfben_rails_assets/assets/javascripts/zff/lib/underscore/core.js
114
125
  - lib/zfben_rails_assets/assets/javascripts/zff/spec.js
115
126
  - lib/zfben_rails_assets/assets/javascripts/zff/spec/core.js
116
- - lib/zfben_rails_assets/assets/stylesheets/zff/lib/qunit.css
127
+ - lib/zfben_rails_assets/assets/stylesheets/zff/lib/jquery/grid/grid.css
128
+ - lib/zfben_rails_assets/assets/stylesheets/zff/lib/jquery/qunit/qunit.css
129
+ - lib/zfben_rails_assets/assets/stylesheets/zff/lib/jquery/ui/multiselect.css
117
130
  - lib/zfben_rails_assets/assets/stylesheets/zff/reset.sass
118
131
  - lib/zfben_rails_assets/assets/stylesheets/zff/spec.css
119
132
  - lib/zfben_rails_assets/tasks.rb