Skip to content

Commit 81ac847

Browse files
Mats0mar10
authored andcommitted
Ext fixed (#766)
* Boilerplate for ext-fixed * Fix jshint * Test * Add sample data * Optical changes * Assigned css to .less & performance * Switched node origin to the left table * Removed redundant CSS * Exchanged class names with constants * Adjustable scroll speed for the bottom left container * Refactoring
1 parent 1772794 commit 81ac847

31 files changed

+351
-347
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
*.log
1313
sauce_connect.*
1414
.pyftpsync-meta.json
15-
.DS_Store
15+
.DS_Store

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# 2.24.1 / Unreleased
22
*
33

4+
# ext-fixesd / Unreleased
5+
* [Added] New extension ext-fixed
6+
47
# 2.24.0 / 2017-08-26
58
* [Added] ext-glyph option `preset` (making the `map` option optional)
69
* [Fixed] Drop marker for ext-glyph + ext-dnd5

bin/jsdoc3-moogle/README.md

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/container.tmpl

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/details.tmpl

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/example.tmpl

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/examples.tmpl

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/exceptions.tmpl

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/layout.tmpl

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/mainpage.tmpl

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/members.tmpl

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/method.tmpl

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/params.tmpl

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/properties.tmpl

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/returns.tmpl

100644100755
File mode changed.

bin/jsdoc3-moogle/tmpl/tutorial.tmpl

100644100755
File mode changed.

demo/ajax-tree-mass-data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"folder": true,
1616
"children": [
1717
{
18-
"title": "Node 0.5"
18+
"title": "<div>Test1</div><div>Test2</div>"
1919
}
2020
],
2121
"title": "Node 0.4"

demo/sample-ext-fixed.html

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,10 @@
3636
border-collapse: collapse;
3737
}
3838

39-
/* span.fancytree-node {
40-
white-space: pre;
41-
} */
42-
4339
#tableWrapper {
44-
width: 1200px;
40+
width: 100%;
4541
height: 600px;
46-
overflow: auto;
42+
overflow: hidden;
4743
position: relative;
4844
}
4945

@@ -54,7 +50,35 @@
5450
table.fancytree-container.fancytree-ext-fixed tbody tr td:nth-child(1) {
5551
width: 22px;
5652
}
53+
54+
table.fancytree-ext-table tbody tr.fancytree-ext-fixed-hover {
55+
border-color: inherit;
56+
background: #f8fcfe;
57+
color: inherit;
58+
background: -moz-linear-gradient(top, #f8fcfe 0%, #eff9fe 100%);
59+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8fcfe), color-stop(100%, #eff9fe));
60+
background: -webkit-linear-gradient(top, #f8fcfe 0%, #eff9fe 100%);
61+
background: -o-linear-gradient(top, #f8fcfe 0%, #eff9fe 100%);
62+
background: -ms-linear-gradient(top, #f8fcfe 0%, #eff9fe 100%);
63+
background: linear-gradient(to bottom, #f8fcfe 0%, #eff9fe 100%);
64+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8fcfe', endColorstr='#eff9fe', GradientType=0);
65+
outline: 1px solid #d8f0fa;
66+
}
5767

68+
table.fancytree-ext-table tbody tr.fancytree-active.fancytree-ext-fixed-hover,
69+
table.fancytree-ext-table tbody tr.fancytree-selected.fancytree-ext-fixed-hover {
70+
border-color: inherit;
71+
background: #f2f9fd;
72+
color: inherit;
73+
background: -moz-linear-gradient(top, #f2f9fd 0%, #c4e8fa 100%);
74+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f2f9fd), color-stop(100%, #c4e8fa));
75+
background: -webkit-linear-gradient(top, #f2f9fd 0%, #c4e8fa 100%);
76+
background: -o-linear-gradient(top, #f2f9fd 0%, #c4e8fa 100%);
77+
background: -ms-linear-gradient(top, #f2f9fd 0%, #c4e8fa 100%);
78+
background: linear-gradient(to bottom, #f2f9fd 0%, #c4e8fa 100%);
79+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2f9fd', endColorstr='#c4e8fa', GradientType=0);
80+
outline: 1px solid #B6E6FB;
81+
}
5882

5983
</style>
6084
<link href="../src/skin-win7/ui.fancytree.css" rel="stylesheet" type="text/css">
@@ -79,7 +103,7 @@
79103
extensions: ["table", "fixed"],
80104
checkbox: true,
81105
fixed: {
82-
fixCols: 3, // Fix leftmost n columns
106+
fixCols: 4, // Fix leftmost n columns
83107
// fixColWidths: [16, 50, 200],
84108
fixRows: 2 // Fix topmost n rows (true: whole <thead>)
85109
},

0 commit comments

Comments
 (0)