zfben_rails_assets 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -4
- data/Gemfile +11 -1
- data/README.rdoc +0 -8
- data/Rakefile +13 -0
- data/app/controllers/assets_controller.rb +32 -0
- data/app/helpers/assets_helper.rb +64 -0
- data/app/models/asset_format.rb +103 -0
- data/app/models/asset_format/css.rb +19 -0
- data/app/models/asset_format/js.rb +13 -0
- data/config/routes.rb +10 -0
- data/lib/{zfben_rails_assets/tasks.rb → tasks/tasks.rake} +0 -0
- data/lib/zfben_rails_assets.rb +3 -9
- data/test/assets_test.rb +145 -0
- data/{example → test/dummy}/Rakefile +2 -2
- data/test/dummy/app/assets/blank.css +1 -0
- data/test/dummy/app/assets/blank.js +1 -0
- data/test/dummy/app/assets/coffee.coffee +1 -0
- data/test/dummy/app/assets/import.css +1 -0
- data/test/dummy/app/assets/import.js +1 -0
- data/test/dummy/app/assets/import_404.css +1 -0
- data/test/dummy/app/assets/import_404.js +1 -0
- data/test/dummy/app/assets/import_iteration.css +1 -0
- data/test/dummy/app/assets/import_iteration.js +1 -0
- data/test/dummy/app/assets/import_twice.css +2 -0
- data/test/dummy/app/assets/import_twice.js +2 -0
- data/test/dummy/app/assets/sass.sass +2 -0
- data/test/dummy/app/assets/scss.scss +3 -0
- data/{example → test/dummy}/app/controllers/application_controller.rb +0 -0
- data/{example → test/dummy}/app/helpers/application_helper.rb +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/{example → test/dummy}/config.ru +1 -1
- data/test/dummy/config/application.rb +20 -0
- data/test/dummy/config/boot.rb +10 -0
- data/{example → test/dummy}/config/database.yml +0 -3
- data/{example → test/dummy}/config/environment.rb +1 -1
- data/{example → test/dummy}/config/environments/development.rb +4 -5
- data/{example → test/dummy}/config/environments/production.rb +13 -16
- data/{example → test/dummy}/config/environments/test.rb +2 -16
- data/{example → test/dummy}/config/initializers/backtrace_silencers.rb +0 -0
- data/{example → test/dummy}/config/initializers/inflections.rb +0 -0
- data/{example → test/dummy}/config/initializers/mime_types.rb +0 -0
- data/{example → test/dummy}/config/initializers/secret_token.rb +1 -1
- data/{example → test/dummy}/config/initializers/session_store.rb +2 -2
- data/{example → test/dummy}/config/locales/en.yml +1 -1
- data/test/dummy/config/routes.rb +58 -0
- data/{example → test/dummy}/public/404.html +0 -0
- data/{example → test/dummy}/public/422.html +0 -0
- data/{example → test/dummy}/public/500.html +0 -0
- data/{example → test/dummy}/public/favicon.ico +0 -0
- data/test/dummy/public/javascripts/application.js +2 -0
- data/test/dummy/public/javascripts/controls.js +965 -0
- data/test/dummy/public/javascripts/dragdrop.js +974 -0
- data/test/dummy/public/javascripts/effects.js +1123 -0
- data/test/dummy/public/javascripts/prototype.js +6001 -0
- data/test/dummy/public/javascripts/rails.js +202 -0
- data/{example/app/mailers → test/dummy/public/stylesheets}/.gitkeep +0 -0
- data/{example → test/dummy}/script/rails +0 -0
- data/test/dummy/tmp/assets/blank.css +1 -0
- data/test/dummy/tmp/assets/blank.js +1 -0
- data/test/dummy/tmp/assets/coffee.js +2 -0
- data/test/dummy/tmp/assets/import.css +4 -0
- data/test/dummy/tmp/assets/import.js +4 -0
- data/{example/app/models/.gitkeep → test/dummy/tmp/assets/import_404.css} +0 -0
- data/{example/db/development.sqlite3 → test/dummy/tmp/assets/import_404.js} +0 -0
- data/test/dummy/tmp/assets/import_iteration.css +11 -0
- data/test/dummy/tmp/assets/import_iteration.js +11 -0
- data/{example/lib/tasks/.gitkeep → test/dummy/tmp/assets/import_iteration.min.css} +0 -0
- data/{example/test/fixtures/.gitkeep → test/dummy/tmp/assets/import_iteration.min.js} +0 -0
- data/test/dummy/tmp/assets/import_twice.css +8 -0
- data/test/dummy/tmp/assets/import_twice.js +8 -0
- data/test/dummy/tmp/assets/sass.css +3 -0
- data/test/dummy/tmp/assets/scss.css +3 -0
- data/test/dummy/tmp/assets/simple.sass +3 -0
- data/test/test_helper.rb +10 -0
- data/zfben_rails_assets.gemspec +14 -4
- metadata +136 -133
- data/example/.gitignore +0 -7
- data/example/.sass-cache/686d48c4bb3405df08bdcc662a0722bb96d63df5/test.sassc +0 -0
- data/example/.sass-cache/7a5615116aa96cc45242210dec5b677975f46879/reset.sassc +0 -0
- data/example/Gemfile +0 -8
- data/example/README +0 -261
- data/example/app/assets/images/rails.png +0 -0
- data/example/app/assets/javascripts/application.js +0 -9
- data/example/app/assets/javascripts/test.js +0 -1
- data/example/app/assets/stylesheets/application.css +0 -7
- data/example/app/assets/stylesheets/test.css +0 -1
- data/example/app/controllers/test_controller.rb +0 -7
- data/example/app/views/test/index.haml +0 -12
- data/example/config/application.rb +0 -49
- data/example/config/boot.rb +0 -6
- data/example/config/initializers/wrap_parameters.rb +0 -12
- data/example/config/routes.rb +0 -3
- data/example/db/seeds.rb +0 -7
- data/example/doc/README_FOR_APP +0 -2
- data/example/public/robots.txt +0 -5
- data/example/test/functional/.gitkeep +0 -0
- data/example/test/integration/.gitkeep +0 -0
- data/example/test/performance/browsing_test.rb +0 -12
- data/example/test/test_helper.rb +0 -13
- data/example/test/unit/.gitkeep +0 -0
- data/example/vendor/assets/javascripts/zff.js +0 -0
- data/example/vendor/assets/javascripts/zff/core.js +0 -1
- data/example/vendor/assets/javascripts/zff/core/core.js +0 -57
- data/example/vendor/assets/javascripts/zff/lib/jquery/core.js +0 -8936
- data/example/vendor/assets/javascripts/zff/lib/jquery/grid.js +0 -467
- data/example/vendor/assets/javascripts/zff/lib/jquery/ui.js +0 -11631
- data/example/vendor/assets/javascripts/zff/lib/underscore/core.js +0 -807
- data/example/vendor/assets/javascripts/zff/spec.js +0 -2
- data/example/vendor/assets/javascripts/zff/spec/core.js +0 -38
- data/example/vendor/assets/javascripts/zff/spec/qunit.js +0 -1448
- data/example/vendor/assets/stylesheets/zff/lib/qunit.css +0 -225
- data/example/vendor/assets/stylesheets/zff/reset.sass +0 -1
- data/example/vendor/assets/stylesheets/zff/spec.css +0 -1
- data/example/vendor/plugins/.gitkeep +0 -0
- data/lib/zfben_rails_assets/Gemfile +0 -13
- data/lib/zfben_rails_assets/assets/javascripts/zff/core.js +0 -1
- data/lib/zfben_rails_assets/assets/javascripts/zff/core/0_config.js +0 -5
- data/lib/zfben_rails_assets/assets/javascripts/zff/core/1_jquery.js +0 -5
- data/lib/zfben_rails_assets/assets/javascripts/zff/core/2_load.js +0 -53
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/colorbox.js +0 -872
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/contextmenu.js +0 -144
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/core.js +0 -8936
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid.js +0 -2
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/addons.js +0 -704
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/core.js +0 -10913
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/i18n/cn.js +0 -132
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/i18n/en.js +0 -128
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/postext.js +0 -64
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/grid/setcolumns.js +0 -126
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/qunit.js +0 -1448
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/searchFilter.js +0 -716
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/tablednd.js +0 -383
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/ui.js +0 -11631
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/jquery/ui/multiselect.js +0 -314
- data/lib/zfben_rails_assets/assets/javascripts/zff/lib/underscore/core.js +0 -807
- data/lib/zfben_rails_assets/assets/javascripts/zff/spec.js +0 -3
- data/lib/zfben_rails_assets/assets/javascripts/zff/spec/core.js +0 -38
- data/lib/zfben_rails_assets/assets/stylesheets/zff/lib/jquery/grid/grid.css +0 -140
- data/lib/zfben_rails_assets/assets/stylesheets/zff/lib/jquery/qunit/qunit.css +0 -225
- data/lib/zfben_rails_assets/assets/stylesheets/zff/lib/jquery/ui/multiselect.css +0 -30
- data/lib/zfben_rails_assets/assets/stylesheets/zff/reset.sass +0 -1
- data/lib/zfben_rails_assets/assets/stylesheets/zff/spec.css +0 -1
- data/lib/zfben_rails_assets/version.rb +0 -3
@@ -1,38 +0,0 @@
|
|
1
|
-
module('Init');
|
2
|
-
|
3
|
-
test('jQuery', function(){
|
4
|
-
ok($ === jQuery, '$ === jQuery');
|
5
|
-
});
|
6
|
-
|
7
|
-
module('Load module');
|
8
|
-
|
9
|
-
asyncTest('success load', function(){
|
10
|
-
|
11
|
-
ok($.load('zff/lib/underscore/core') === 202, 'underscore is not loaded');
|
12
|
-
|
13
|
-
var i = 0;
|
14
|
-
|
15
|
-
$.load('zff/lib/underscore/core', function(){
|
16
|
-
ok($.isFunction(_), '_ is loaded');
|
17
|
-
ok($.load('zff/lib/underscore/core') === 200, 'zff/lib/underscore/core loaded');
|
18
|
-
i++;
|
19
|
-
ok(i === 1, 'success func is loaded');
|
20
|
-
});
|
21
|
-
$.load('zff/lib/underscore/core', function(){
|
22
|
-
i++;
|
23
|
-
ok(i === 2, 'twice success func is loaded');
|
24
|
-
start();
|
25
|
-
});
|
26
|
-
});
|
27
|
-
|
28
|
-
asyncTest('error load', function(){
|
29
|
-
ok($.load('null') === 202, 'null is not loaded');
|
30
|
-
|
31
|
-
$.load('null', {
|
32
|
-
error: function(){
|
33
|
-
ok($.load('null') === 500, 'module null is error');
|
34
|
-
start();
|
35
|
-
}
|
36
|
-
});
|
37
|
-
});
|
38
|
-
|
@@ -1,140 +0,0 @@
|
|
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; }
|
@@ -1,225 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* QUnit - A JavaScript Unit Testing Framework
|
3
|
-
*
|
4
|
-
* http://docs.jquery.com/QUnit
|
5
|
-
*
|
6
|
-
* Copyright (c) 2011 John Resig, Jörn Zaefferer
|
7
|
-
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
8
|
-
* or GPL (GPL-LICENSE.txt) licenses.
|
9
|
-
*/
|
10
|
-
|
11
|
-
/** Font Family and Sizes */
|
12
|
-
|
13
|
-
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
|
14
|
-
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
|
15
|
-
}
|
16
|
-
|
17
|
-
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
|
18
|
-
#qunit-tests { font-size: smaller; }
|
19
|
-
|
20
|
-
|
21
|
-
/** Resets */
|
22
|
-
|
23
|
-
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
|
24
|
-
margin: 0;
|
25
|
-
padding: 0;
|
26
|
-
}
|
27
|
-
|
28
|
-
|
29
|
-
/** Header */
|
30
|
-
|
31
|
-
#qunit-header {
|
32
|
-
padding: 0.5em 0 0.5em 1em;
|
33
|
-
|
34
|
-
color: #8699a4;
|
35
|
-
background-color: #0d3349;
|
36
|
-
|
37
|
-
font-size: 1.5em;
|
38
|
-
line-height: 1em;
|
39
|
-
font-weight: normal;
|
40
|
-
|
41
|
-
border-radius: 15px 15px 0 0;
|
42
|
-
-moz-border-radius: 15px 15px 0 0;
|
43
|
-
-webkit-border-top-right-radius: 15px;
|
44
|
-
-webkit-border-top-left-radius: 15px;
|
45
|
-
}
|
46
|
-
|
47
|
-
#qunit-header a {
|
48
|
-
text-decoration: none;
|
49
|
-
color: #c2ccd1;
|
50
|
-
}
|
51
|
-
|
52
|
-
#qunit-header a:hover,
|
53
|
-
#qunit-header a:focus {
|
54
|
-
color: #fff;
|
55
|
-
}
|
56
|
-
|
57
|
-
#qunit-banner {
|
58
|
-
height: 5px;
|
59
|
-
}
|
60
|
-
|
61
|
-
#qunit-testrunner-toolbar {
|
62
|
-
padding: 0.5em 0 0.5em 2em;
|
63
|
-
color: #5E740B;
|
64
|
-
background-color: #eee;
|
65
|
-
}
|
66
|
-
|
67
|
-
#qunit-userAgent {
|
68
|
-
padding: 0.5em 0 0.5em 2.5em;
|
69
|
-
background-color: #2b81af;
|
70
|
-
color: #fff;
|
71
|
-
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
|
72
|
-
}
|
73
|
-
|
74
|
-
|
75
|
-
/** Tests: Pass/Fail */
|
76
|
-
|
77
|
-
#qunit-tests {
|
78
|
-
list-style-position: inside;
|
79
|
-
}
|
80
|
-
|
81
|
-
#qunit-tests li {
|
82
|
-
padding: 0.4em 0.5em 0.4em 2.5em;
|
83
|
-
border-bottom: 1px solid #fff;
|
84
|
-
list-style-position: inside;
|
85
|
-
}
|
86
|
-
|
87
|
-
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
|
88
|
-
display: none;
|
89
|
-
}
|
90
|
-
|
91
|
-
#qunit-tests li strong {
|
92
|
-
cursor: pointer;
|
93
|
-
}
|
94
|
-
|
95
|
-
#qunit-tests li a {
|
96
|
-
padding: 0.5em;
|
97
|
-
color: #c2ccd1;
|
98
|
-
text-decoration: none;
|
99
|
-
}
|
100
|
-
#qunit-tests li a:hover,
|
101
|
-
#qunit-tests li a:focus {
|
102
|
-
color: #000;
|
103
|
-
}
|
104
|
-
|
105
|
-
#qunit-tests ol {
|
106
|
-
margin-top: 0.5em;
|
107
|
-
padding: 0.5em;
|
108
|
-
|
109
|
-
background-color: #fff;
|
110
|
-
|
111
|
-
border-radius: 15px;
|
112
|
-
-moz-border-radius: 15px;
|
113
|
-
-webkit-border-radius: 15px;
|
114
|
-
|
115
|
-
box-shadow: inset 0px 2px 13px #999;
|
116
|
-
-moz-box-shadow: inset 0px 2px 13px #999;
|
117
|
-
-webkit-box-shadow: inset 0px 2px 13px #999;
|
118
|
-
}
|
119
|
-
|
120
|
-
#qunit-tests table {
|
121
|
-
border-collapse: collapse;
|
122
|
-
margin-top: .2em;
|
123
|
-
}
|
124
|
-
|
125
|
-
#qunit-tests th {
|
126
|
-
text-align: right;
|
127
|
-
vertical-align: top;
|
128
|
-
padding: 0 .5em 0 0;
|
129
|
-
}
|
130
|
-
|
131
|
-
#qunit-tests td {
|
132
|
-
vertical-align: top;
|
133
|
-
}
|
134
|
-
|
135
|
-
#qunit-tests pre {
|
136
|
-
margin: 0;
|
137
|
-
white-space: pre-wrap;
|
138
|
-
word-wrap: break-word;
|
139
|
-
}
|
140
|
-
|
141
|
-
#qunit-tests del {
|
142
|
-
background-color: #e0f2be;
|
143
|
-
color: #374e0c;
|
144
|
-
text-decoration: none;
|
145
|
-
}
|
146
|
-
|
147
|
-
#qunit-tests ins {
|
148
|
-
background-color: #ffcaca;
|
149
|
-
color: #500;
|
150
|
-
text-decoration: none;
|
151
|
-
}
|
152
|
-
|
153
|
-
/*** Test Counts */
|
154
|
-
|
155
|
-
#qunit-tests b.counts { color: black; }
|
156
|
-
#qunit-tests b.passed { color: #5E740B; }
|
157
|
-
#qunit-tests b.failed { color: #710909; }
|
158
|
-
|
159
|
-
#qunit-tests li li {
|
160
|
-
margin: 0.5em;
|
161
|
-
padding: 0.4em 0.5em 0.4em 0.5em;
|
162
|
-
background-color: #fff;
|
163
|
-
border-bottom: none;
|
164
|
-
list-style-position: inside;
|
165
|
-
}
|
166
|
-
|
167
|
-
/*** Passing Styles */
|
168
|
-
|
169
|
-
#qunit-tests li li.pass {
|
170
|
-
color: #5E740B;
|
171
|
-
background-color: #fff;
|
172
|
-
border-left: 26px solid #C6E746;
|
173
|
-
}
|
174
|
-
|
175
|
-
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
|
176
|
-
#qunit-tests .pass .test-name { color: #366097; }
|
177
|
-
|
178
|
-
#qunit-tests .pass .test-actual,
|
179
|
-
#qunit-tests .pass .test-expected { color: #999999; }
|
180
|
-
|
181
|
-
#qunit-banner.qunit-pass { background-color: #C6E746; }
|
182
|
-
|
183
|
-
/*** Failing Styles */
|
184
|
-
|
185
|
-
#qunit-tests li li.fail {
|
186
|
-
color: #710909;
|
187
|
-
background-color: #fff;
|
188
|
-
border-left: 26px solid #EE5757;
|
189
|
-
}
|
190
|
-
|
191
|
-
#qunit-tests > li:last-child {
|
192
|
-
border-radius: 0 0 15px 15px;
|
193
|
-
-moz-border-radius: 0 0 15px 15px;
|
194
|
-
-webkit-border-bottom-right-radius: 15px;
|
195
|
-
-webkit-border-bottom-left-radius: 15px;
|
196
|
-
}
|
197
|
-
|
198
|
-
#qunit-tests .fail { color: #000000; background-color: #EE5757; }
|
199
|
-
#qunit-tests .fail .test-name,
|
200
|
-
#qunit-tests .fail .module-name { color: #000000; }
|
201
|
-
|
202
|
-
#qunit-tests .fail .test-actual { color: #EE5757; }
|
203
|
-
#qunit-tests .fail .test-expected { color: green; }
|
204
|
-
|
205
|
-
#qunit-banner.qunit-fail { background-color: #EE5757; }
|
206
|
-
|
207
|
-
|
208
|
-
/** Result */
|
209
|
-
|
210
|
-
#qunit-testresult {
|
211
|
-
padding: 0.5em 0.5em 0.5em 2.5em;
|
212
|
-
|
213
|
-
color: #2b81af;
|
214
|
-
background-color: #D2E0E6;
|
215
|
-
|
216
|
-
border-bottom: 1px solid white;
|
217
|
-
}
|
218
|
-
|
219
|
-
/** Fixture */
|
220
|
-
|
221
|
-
#qunit-fixture {
|
222
|
-
position: absolute;
|
223
|
-
top: -10000px;
|
224
|
-
left: -10000px;
|
225
|
-
}
|
@@ -1,30 +0,0 @@
|
|
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; }
|
@@ -1 +0,0 @@
|
|
1
|
-
@import compass/reset
|
@@ -1 +0,0 @@
|
|
1
|
-
/*= require zff/lib/qunit */
|