Index: reference/jquery-plugins/gantt-0.6.1/dist/frappe-gantt.css
===================================================================
diff -u -r2c721735f9fbd5d05cd643e6f7ee66c88da19973 -r6f8715c27fab8239419cfa1395b3cecec58b5b89
--- reference/jquery-plugins/gantt-0.6.1/dist/frappe-gantt.css (.../frappe-gantt.css) (revision 2c721735f9fbd5d05cd643e6f7ee66c88da19973)
+++ reference/jquery-plugins/gantt-0.6.1/dist/frappe-gantt.css (.../frappe-gantt.css) (revision 6f8715c27fab8239419cfa1395b3cecec58b5b89)
@@ -10,7 +10,8 @@
.table-container {
flex: 1;
- overflow: auto;
+ min-width: 0;
+ position: relative;
}
.table-container::-webkit-scrollbar {
height: 10px;
@@ -33,9 +34,14 @@
font-weight: 400;
font-size: 12px;
border-collapse: collapse;
- table-layout: fixed;
border-spacing: 0;
}
+.table-container table .table-header tr th {
+ position: sticky;
+ top: 0;
+ z-index: 1;
+ background-color: #404246;
+}
.table-container table .table-header tr th,
.table-container table .table-body tr td {
max-width: 300px;
Index: reference/jquery-plugins/gantt-0.6.1/dist/frappe-gantt.min.css
===================================================================
diff -u -r2c721735f9fbd5d05cd643e6f7ee66c88da19973 -r6f8715c27fab8239419cfa1395b3cecec58b5b89
--- reference/jquery-plugins/gantt-0.6.1/dist/frappe-gantt.min.css (.../frappe-gantt.min.css) (revision 2c721735f9fbd5d05cd643e6f7ee66c88da19973)
+++ reference/jquery-plugins/gantt-0.6.1/dist/frappe-gantt.min.css (.../frappe-gantt.min.css) (revision 6f8715c27fab8239419cfa1395b3cecec58b5b89)
@@ -1 +1 @@
-.hide{display:none}.wrapper{display:flex;position:relative;border-top:1px solid #515256}.table-container{flex:1;overflow:auto}.table-container::-webkit-scrollbar{height:10px}.table-container:hover::-webkit-scrollbar-track{background-color:#414141}.table-container:hover::-webkit-scrollbar-thumb{background-color:#784a3d}.table-container::-webkit-scrollbar-track,.table-container::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,0)}.table-container::-webkit-scrollbar-thumb{border-radius:5px}.table-container table{min-width:100%;color:#fff;font-weight:400;font-size:12px;border-collapse:collapse;table-layout:fixed;border-spacing:0}.table-container table .table-header tr th,.table-container table .table-body tr td{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis;padding:0 7px;box-sizing:border-box}.table-container table .table-body tr:first-child{height:37px !important}.table-container table .table-body tr:nth-child(odd){background-color:rgba(51,51,51,.325)}.table-container table .table-body tr.dragging{opacity:.5;border:2px dashed red}.table-container table .table-body tr.selected{background-color:rgba(229,96,59,.2)}.table-container table .table-body tr td{border-right:2px solid #515256}.table-container table .table-body tr td:first-child{border-right:none}.table-container table .table-body tr td.work-name{position:relative}.table-container table .table-body tr td.work-name:before,.table-container table .table-body tr td.work-name .row-line:before{content:"";position:absolute;left:8px;top:0;bottom:0;border-left:1px dotted #999}.table-container table .table-body tr td.work-name ins{display:inline-block;text-decoration:none;height:100%;margin:0;padding:0}.table-container table .table-body tr td.work-name ins:nth-child(1):before{left:28px}.table-container table .table-body tr td.work-name ins:nth-child(2):before{left:48px}.table-container table .table-body tr td.work-name ins:nth-child(3):before{left:68px}.table-container table .table-body tr td.work-name ins.marker{width:18px;height:18px;background-image:url(313devgrp.png);background-position:-36px 2px;background-repeat:no-repeat;background-color:rgba(0,0,0,0)}.table-container table .table-body tr td.work-name.indent-1-first:before{top:50%}.table-container table .table-body tr td.work-name.indent-1-last::before,.table-container table .table-body tr td.work-name.indent-2-last ins:last-child::before,.table-container table .table-body tr td.work-name.indent-3-last ins:last-child::before,.table-container table .table-body tr td.work-name.indent-4-last ins:last-child::before,.table-container table .table-body tr td.work-name.indent-5-last ins:last-child::before{bottom:50%}.table-container table .table-body tr td.indent-1{padding-left:0px}.table-container table .table-body tr td.indent-2{padding-left:20px}.table-container table .table-body tr td.indent-3{padding-left:40px}.table-container table .table-body tr td.indent-4{padding-left:60px}.table-container table .table-body tr td.indent-5{padding-left:80px}.table-container table .table-body tr td[rel=folder].opened>ins{background-position:-72px 2px}.table-container table .table-body tr td[rel=folder].closed>ins{background-position:-54px 0}.table-container table .table-body tr:last-child td:first-child{background:rgba(0,0,0,0)}.split-bar{position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:9;width:5px;height:100%;border-radius:2.5px;background-color:#515256;cursor:col-resize}.split-bar:hover{background-color:#a4c6ff}.gantt .grid-background{fill:rgba(0,0,0,0)}.gantt .grid-header{fill:rgba(0,0,0,0)}.gantt .grid-row{fill:rgba(0,0,0,0)}.gantt .grid-row:nth-child(odd){fill:rgba(51,51,51,.325)}.gantt .grid-row.selected{fill:rgba(229,96,59,.2)}.gantt .row-line{stroke:#ebeff2}.gantt .tick{stroke:#b0b0b2;stroke-width:.2}.gantt .tick.thick{stroke-width:.4}.gantt .today-highlight{fill:#616161;opacity:.5}.gantt .arrow{fill:none;stroke:#666;stroke-width:1.4}.gantt .bar{fill:#f8f8f8;stroke:#8d99a6;stroke-width:0;transition:stroke-width .3s ease;user-select:none}.gantt .bar-progress{fill:#a4c6ff}.gantt .bar-invalid{fill:rgba(0,0,0,0);stroke:#8d99a6;stroke-width:1;stroke-dasharray:5}.gantt .bar-invalid~.bar-label{fill:#555}.gantt .bar-label{fill:#333;dominant-baseline:central;text-anchor:middle;font-size:12px;font-weight:lighter}.gantt .bar-label.big{fill:#ddd;text-anchor:start}.gantt .handle{fill:#ddd;cursor:ew-resize;opacity:0;visibility:hidden;transition:opacity .3s ease}.gantt .bar-wrapper{cursor:pointer;outline:none}.gantt .bar-wrapper:hover .bar{fill:#ebebeb}.gantt .bar-wrapper:hover .bar-progress{fill:#8bb6ff}.gantt .bar-wrapper:hover .handle{visibility:visible;opacity:1}.gantt .bar-wrapper.active .bar{fill:#ebebeb}.gantt .bar-wrapper.active .bar-progress{fill:#8bb6ff}.gantt .lower-text,.gantt .upper-text{font-size:12px;text-anchor:middle}.gantt .hide{display:none}.gantt-container{flex:1;position:relative;overflow:auto;font-size:12px}.gantt-container::-webkit-scrollbar{height:10px}.gantt-container:hover::-webkit-scrollbar-track{background-color:#414141}.gantt-container:hover::-webkit-scrollbar-thumb{background-color:#784a3d}.gantt-container::-webkit-scrollbar-track,.gantt-container::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,0)}.gantt-container::-webkit-scrollbar-thumb{border-radius:5px}.gantt-container .popup-wrapper{position:absolute;top:0;left:0;background:rgba(0,0,0,.8);padding:0;color:#959da5;border-radius:3px}.gantt-container .popup-wrapper .title{border-bottom:3px solid #a4c6ff;padding:10px}.gantt-container .popup-wrapper .subtitle{padding:10px;color:#dfe2e5}.gantt-container .popup-wrapper .pointer{position:absolute;height:5px;margin:0 0 0 -5px;border:5px solid rgba(0,0,0,0);border-top-color:rgba(0,0,0,.8)}.hide{display:none}
\ No newline at end of file
+.hide{display:none}.wrapper{display:flex;position:relative;border-top:1px solid #515256}.table-container{flex:1;min-width:0;position:relative}.table-container::-webkit-scrollbar{height:10px}.table-container:hover::-webkit-scrollbar-track{background-color:#414141}.table-container:hover::-webkit-scrollbar-thumb{background-color:#784a3d}.table-container::-webkit-scrollbar-track,.table-container::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,0)}.table-container::-webkit-scrollbar-thumb{border-radius:5px}.table-container table{min-width:100%;color:#fff;font-weight:400;font-size:12px;border-collapse:collapse;border-spacing:0}.table-container table .table-header tr th{position:sticky;top:0;z-index:1;background-color:#404246}.table-container table .table-header tr th,.table-container table .table-body tr td{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis;padding:0 7px;box-sizing:border-box}.table-container table .table-body tr:first-child{height:37px !important}.table-container table .table-body tr:nth-child(odd){background-color:rgba(51,51,51,.325)}.table-container table .table-body tr.dragging{opacity:.5;border:2px dashed red}.table-container table .table-body tr.selected{background-color:rgba(229,96,59,.2)}.table-container table .table-body tr td{border-right:2px solid #515256}.table-container table .table-body tr td:first-child{border-right:none}.table-container table .table-body tr td.work-name{position:relative}.table-container table .table-body tr td.work-name:before,.table-container table .table-body tr td.work-name .row-line:before{content:"";position:absolute;left:8px;top:0;bottom:0;border-left:1px dotted #999}.table-container table .table-body tr td.work-name ins{display:inline-block;text-decoration:none;height:100%;margin:0;padding:0}.table-container table .table-body tr td.work-name ins:nth-child(1):before{left:28px}.table-container table .table-body tr td.work-name ins:nth-child(2):before{left:48px}.table-container table .table-body tr td.work-name ins:nth-child(3):before{left:68px}.table-container table .table-body tr td.work-name ins.marker{width:18px;height:18px;background-image:url(313devgrp.png);background-position:-36px 2px;background-repeat:no-repeat;background-color:rgba(0,0,0,0)}.table-container table .table-body tr td.work-name.indent-1-first:before{top:50%}.table-container table .table-body tr td.work-name.indent-1-last::before,.table-container table .table-body tr td.work-name.indent-2-last ins:last-child::before,.table-container table .table-body tr td.work-name.indent-3-last ins:last-child::before,.table-container table .table-body tr td.work-name.indent-4-last ins:last-child::before,.table-container table .table-body tr td.work-name.indent-5-last ins:last-child::before{bottom:50%}.table-container table .table-body tr td.indent-1{padding-left:0px}.table-container table .table-body tr td.indent-2{padding-left:20px}.table-container table .table-body tr td.indent-3{padding-left:40px}.table-container table .table-body tr td.indent-4{padding-left:60px}.table-container table .table-body tr td.indent-5{padding-left:80px}.table-container table .table-body tr td[rel=folder].opened>ins{background-position:-72px 2px}.table-container table .table-body tr td[rel=folder].closed>ins{background-position:-54px 0}.table-container table .table-body tr:last-child td:first-child{background:rgba(0,0,0,0)}.split-bar{position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:9;width:5px;height:100%;border-radius:2.5px;background-color:#515256;cursor:col-resize}.split-bar:hover{background-color:#a4c6ff}.gantt .grid-background{fill:rgba(0,0,0,0)}.gantt .grid-header{fill:rgba(0,0,0,0)}.gantt .grid-row{fill:rgba(0,0,0,0)}.gantt .grid-row:nth-child(odd){fill:rgba(51,51,51,.325)}.gantt .grid-row.selected{fill:rgba(229,96,59,.2)}.gantt .row-line{stroke:#ebeff2}.gantt .tick{stroke:#b0b0b2;stroke-width:.2}.gantt .tick.thick{stroke-width:.4}.gantt .today-highlight{fill:#616161;opacity:.5}.gantt .arrow{fill:none;stroke:#666;stroke-width:1.4}.gantt .bar{fill:#f8f8f8;stroke:#8d99a6;stroke-width:0;transition:stroke-width .3s ease;user-select:none}.gantt .bar-progress{fill:#a4c6ff}.gantt .bar-invalid{fill:rgba(0,0,0,0);stroke:#8d99a6;stroke-width:1;stroke-dasharray:5}.gantt .bar-invalid~.bar-label{fill:#555}.gantt .bar-label{fill:#333;dominant-baseline:central;text-anchor:middle;font-size:12px;font-weight:lighter}.gantt .bar-label.big{fill:#ddd;text-anchor:start}.gantt .handle{fill:#ddd;cursor:ew-resize;opacity:0;visibility:hidden;transition:opacity .3s ease}.gantt .bar-wrapper{cursor:pointer;outline:none}.gantt .bar-wrapper:hover .bar{fill:#ebebeb}.gantt .bar-wrapper:hover .bar-progress{fill:#8bb6ff}.gantt .bar-wrapper:hover .handle{visibility:visible;opacity:1}.gantt .bar-wrapper.active .bar{fill:#ebebeb}.gantt .bar-wrapper.active .bar-progress{fill:#8bb6ff}.gantt .lower-text,.gantt .upper-text{font-size:12px;text-anchor:middle}.gantt .hide{display:none}.gantt-container{flex:1;position:relative;overflow:auto;font-size:12px}.gantt-container::-webkit-scrollbar{height:10px}.gantt-container:hover::-webkit-scrollbar-track{background-color:#414141}.gantt-container:hover::-webkit-scrollbar-thumb{background-color:#784a3d}.gantt-container::-webkit-scrollbar-track,.gantt-container::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,0)}.gantt-container::-webkit-scrollbar-thumb{border-radius:5px}.gantt-container .popup-wrapper{position:absolute;top:0;left:0;background:rgba(0,0,0,.8);padding:0;color:#959da5;border-radius:3px}.gantt-container .popup-wrapper .title{border-bottom:3px solid #a4c6ff;padding:10px}.gantt-container .popup-wrapper .subtitle{padding:10px;color:#dfe2e5}.gantt-container .popup-wrapper .pointer{position:absolute;height:5px;margin:0 0 0 -5px;border:5px solid rgba(0,0,0,0);border-top-color:rgba(0,0,0,.8)}.hide{display:none}
\ No newline at end of file
Index: reference/jquery-plugins/gantt-0.6.1/src/gantt.scss
===================================================================
diff -u -r2c721735f9fbd5d05cd643e6f7ee66c88da19973 -r6f8715c27fab8239419cfa1395b3cecec58b5b89
--- reference/jquery-plugins/gantt-0.6.1/src/gantt.scss (.../gantt.scss) (revision 2c721735f9fbd5d05cd643e6f7ee66c88da19973)
+++ reference/jquery-plugins/gantt-0.6.1/src/gantt.scss (.../gantt.scss) (revision 6f8715c27fab8239419cfa1395b3cecec58b5b89)
@@ -24,7 +24,9 @@
.table-container {
flex: 1;
- overflow: auto;
+ overflow-x: auto;
+ position: relative;
+
&::-webkit-scrollbar {
height: 10px;
}
@@ -52,9 +54,15 @@
font-weight: 400;
font-size: 12px;
border-collapse: collapse;
- table-layout: fixed;
border-spacing: 0;
+ .table-header tr th {
+ position: sticky;
+ top: 0;
+ z-index: 1;
+ background-color: #404246;
+ }
+
.table-header tr th,
.table-body tr td {
max-width: 300px;