Firefox testing

- 4K display fixes
- use doc.ready over win.load
- min-size can be 0.1px and still fix the table spacing issue
This commit is contained in:
Samuel Georges 2019-03-29 04:33:18 +11:00
parent 463008450b
commit 288d9543af
8 changed files with 14 additions and 14 deletions

View File

@ -300,7 +300,7 @@ html.mobile .control-scrollbar {overflow:auto;-webkit-overflow-scrolling:touch}
.control-treeview ol >li >div >span.drag-handle {font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0;-webkit-transition:opacity 0.4s;transition:opacity 0.4s;position:absolute;right:9px;bottom:0;width:18px;height:19px;cursor:move;color:#bdc3c7;opacity:0;filter:alpha(opacity=0)}
.control-treeview ol >li >div >span.drag-handle:before {font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f0c9";font-size:18px}
.control-treeview ol >li >div span.borders {font-size:0}
.control-treeview ol >li >div >ul.submenu {position:absolute;left:20px;bottom:-37px;padding:0;list-style:none;z-index:200;height:37px;display:none;margin-left:15px;background:transparent url(../images/treeview-submenu-tabs.png) repeat-x left -39px}
.control-treeview ol >li >div >ul.submenu {position:absolute;left:20px;bottom:-36.9px;padding:0;list-style:none;z-index:200;height:37px;display:none;margin-left:15px;background:transparent url(../images/treeview-submenu-tabs.png) repeat-x left -39px}
.control-treeview ol >li >div >ul.submenu:before,
.control-treeview ol >li >div >ul.submenu:after {background:transparent url(../images/treeview-submenu-tabs.png) no-repeat left top;content:' ';display:block;width:20px;height:37px;position:absolute;top:0}
.control-treeview ol >li >div >ul.submenu:before {left:-20px}
@ -610,7 +610,7 @@ body {font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sa
.layout >.layout-row >.layout-cell.min-height {height:0}
.layout >.layout-row >.layout-cell.center {text-align:center}
.layout >.layout-row >.layout-cell.middle {vertical-align:middle}
.layout >.layout-row.min-size {height:1px}
.layout >.layout-row.min-size {height:0.1px}
.layout >.layout-cell {display:table-cell;vertical-align:top;height:100%}
.layout >.layout-cell.layout-container,
.layout >.layout-cell .layout-container,

View File

@ -690,7 +690,7 @@ if(!data)$this.data('oc.verticalMenu',(data=new VerticalMenu(this,toggleSelector
if(typeof option=='string')data[option].call($this)})}
$.fn.verticalMenu.Constructor=VerticalMenu
$.fn.verticalMenu.noConflict=function(){$.fn.verticalMenu=old
return this}}(window.jQuery);(function($){$(window).on('load',function(){$('nav.navbar').each(function(){var
return this}}(window.jQuery);(function($){$(document).ready(function(){$('nav.navbar').each(function(){var
navbar=$(this),nav=$('ul.nav',navbar),collapseMode=navbar.hasClass('navbar-mode-collapse'),isMobile=$('html').hasClass('mobile')
nav.verticalMenu($('a.menu-toggle',navbar),{breakpoint:collapseMode?Infinity:769})
$('li.with-tooltip:not(.active) > a',navbar).tooltip({container:'body',placement:'bottom',template:'<div class="tooltip mainmenu-tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'}).on('show.bs.tooltip',function(e){if(isMobile)e.preventDefault()})
@ -1013,7 +1013,7 @@ if(typeof option=='string')data[option].call(data)})}
$.fn.sidePanelTab.Constructor=SidePanelTab
$.fn.sidePanelTab.noConflict=function(){$.fn.sidePanelTab=old
return this}
$(window).on('load',function(){$('[data-control=layout-sidepanel]').sidePanelTab()})
$(document).ready(function(){$('[data-control=layout-sidepanel]').sidePanelTab()})
$(document).ready(function(){if(Modernizr.touchevents||(typeof(localStorage)!=='undefined')){if(localStorage.ocSidePanelFixed==0){$(document.body).addClass('side-panel-not-fixed')
$(window).trigger('resize')}
else if(localStorage.ocSidePanelFixed==1){$(document.body).removeClass('side-panel-not-fixed')

View File

@ -10,7 +10,7 @@
*/
(function($){
$(window).on('load', function() {
$(document).ready(function(){
$('nav.navbar').each(function(){
var
navbar = $(this),

View File

@ -230,7 +230,7 @@
// DATA-API
// ============
$(window).on('load', function() {
$(document).ready(function(){
$('[data-control=layout-sidepanel]').sidePanelTab()
})

View File

@ -108,7 +108,7 @@
> ul.submenu {
position: absolute;
left: 20px;
bottom: -37px;
bottom: -36.9px;
padding: 0;
list-style: none;
z-index: 200;

View File

@ -137,7 +137,7 @@ body {
}
&.min-size {
height: 1px;
height: 0.1px;
}
}