cosmetic tweaks

This commit is contained in:
Alex Pankratov
2021-04-08 13:24:35 +02:00
parent 0db7f67577
commit c870b7e315

View File

@@ -720,7 +720,8 @@
background: #f8f9fb; background: #f8f9fb;
} }
.crowded .config:hover { .crowded .config:hover,
.crowded.adjusting .config {
background: #fff; background: #fff;
box-shadow: 0 1px 2px rgba(0,0,0,0.2); box-shadow: 0 1px 2px rgba(0,0,0,0.2);
} }
@@ -939,11 +940,13 @@
opacity: 0; opacity: 0;
} }
.config:hover .teaser { .config:hover .teaser,
.adjusting .config .teaser {
display: none; display: none;
} }
.config:hover .bulk { .config:hover .bulk,
.adjusting .config .bulk {
display: block; display: block;
opacity: 1; opacity: 1;
} }
@@ -953,15 +956,6 @@
cursor: row-resize !important; cursor: row-resize !important;
} }
.adjusting .config .teaser {
display: none;
}
.adjusting .config .bulk {
display: block;
opacity: 1;
}
/***/ /***/
.overlay { .overlay {
position: fixed; position: fixed;
@@ -2277,13 +2271,11 @@
var self = this; var self = this;
setTimeout(function(){ setTimeout(function(){
if (self.onChange) if (! self.onChange)
{ return;
$('body').addClass('adjusting'); $('body').addClass('adjusting');
self.used = true; self.used = true;
self.onChange(0); }, 250);
}
}, 350);
} }
this.onMouseMove = function(ev) this.onMouseMove = function(ev)
@@ -3155,7 +3147,7 @@
var want = $lists[0].scrollWidth; var want = $lists[0].scrollWidth;
var have = $inner.outerWidth(); var have = $inner.outerWidth();
if (want <= max+1) if (want <= max+5)
{ {
$scroller.hide(); $scroller.hide();
return; return;