forked from extern/egroupware
Make vfsPath scrolling available
This commit is contained in:
parent
8ee2e719de
commit
07c768e732
@ -292,7 +292,9 @@ var et2_vfsPath = (function(){ "use strict"; return et2_vfsName.extend(
|
|||||||
|
|
||||||
this.div.prepend(this.input);
|
this.div.prepend(this.input);
|
||||||
this.setDOMNode(this.div[0]);
|
this.setDOMNode(this.div[0]);
|
||||||
|
this.span.on('wheel', function(e){
|
||||||
|
this.scrollLeft = this.scrollLeft - (e.originalEvent.wheelDelta/10);
|
||||||
|
});
|
||||||
this.input.on('focus', function() {
|
this.input.on('focus', function() {
|
||||||
this.input.val(this.options.value);
|
this.input.val(this.options.value);
|
||||||
this.span.hide();
|
this.span.hide();
|
||||||
|
@ -907,7 +907,25 @@ div.et2_vfsPath ul {
|
|||||||
/* This hides the higher level directories if overflow */
|
/* This hides the higher level directories if overflow */
|
||||||
direction: rtl;
|
direction: rtl;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
overflow-y: hidden;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding-bottom: 13px;
|
||||||
|
max-width: 92%;
|
||||||
|
margin-right: 7%;
|
||||||
}
|
}
|
||||||
|
div.et2_vfsPath ul::-webkit-scrollbar {
|
||||||
|
background: transparent;
|
||||||
|
overflow-y: hidden;
|
||||||
|
width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.et2_vfsPath ul::-webkit-scrollbar-thumb {
|
||||||
|
background: transparent;
|
||||||
|
width: 1px;
|
||||||
|
border-radius: 0px;
|
||||||
|
height: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
div.et2_vfsPath li {
|
div.et2_vfsPath li {
|
||||||
direction: ltr;
|
direction: ltr;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
Loading…
Reference in New Issue
Block a user