diff --git a/modules/component/navigation.js b/modules/component/navigation.js index e7243b3..dc1ef87 100644 --- a/modules/component/navigation.js +++ b/modules/component/navigation.js @@ -120,7 +120,7 @@ export default class MinimalUINavigation { switch(game.settings.get('minimal-ui', 'sceneNavigationPreview')) { case 'hover': { if (game.user.isGM) { - let sceneTabs = $("#scene-list li"); + let sceneTabs = $("#scene-list li,.scene-list li"); rootStyle.setProperty('--navithumbmarg', '10px'); sceneTabs.each(function(i, sceneTab) { let sceneId = $(sceneTab).attr('data-scene-id'); diff --git a/styles/component/navigation.css b/styles/component/navigation.css index 955ad80..00f4633 100644 --- a/styles/component/navigation.css +++ b/styles/component/navigation.css @@ -40,4 +40,41 @@ border: 1px solid var(--bordercolor); border-bottom: 1px solid var(--bordercolor); box-shadow: 0 0 var(--shadowstrength) var(--shadowcolor); +} + +#navigation .monks-scene-navigation{ + flex: 0 0 var(--navilh); + height: var(--navilh); +} + +#navigation .monks-scene-navigation .scene-list > li.nav-item{ + height: var(--navilh); +} + +#navigation .monks-scene-navigation .scene-list > li.nav-item a{ + line-height: var(--navilh); + height: var(--navilh); + font-size: var(--navifs); + padding:0px 4px; +} + +#navigation .monks-scene-navigation .scene-list > li.nav-item ul.scene-players{ + top:16px; +} + +#navigation .monks-scene-navigation .scene-list > li.nav-item.folder a{ + padding-top:0px; + border-top:1px; +} + +#navigation .monks-scene-navigation .scene-list > li.nav-item.folder.expanded a{ + height:calc(var(--navilh) + 6px); +} + +#navigation .monks-scene-navigation .scene-list > li.nav-item.folder-header{ + line-height: var(--navilh); +} + +#navigation .monks-scene-navigation .scene-list > li.nav-item .navi-preview{ + top: calc(var(--navithumbmarg) + 15px); } \ No newline at end of file