diff --git a/custom.css b/custom.css index f57de4d..ed02df8 100644 --- a/custom.css +++ b/custom.css @@ -14,6 +14,14 @@ padding-top: 2px !important; } +/* Prevent white new tab flash - see alternative solution in userContent */ +#tabbrowser-tabpanels { + background-color: #404040 !important; +} +#browser { + background-color: #404040 !important; +} + /* #main-window { background-color: rgba(0,0,0,0.45) !important; background: linear-gradient(8deg, rgba(0,0,0,0.4) 96%, #000) !important; /* gradient to hide the required windows control buttons in bg diff --git a/extensions/sidebar.css b/extensions/sidebar.css index 464a6da..06e8c85 100644 --- a/extensions/sidebar.css +++ b/extensions/sidebar.css @@ -36,7 +36,7 @@ position: relative !important; margin-top: var(--menubar-height) !important; border-right: none; - transition: 0.25s !important; + transition: 0.2s !important; /* lock sidebar to specified width */ min-width: var(--sidebar-width) !important; @@ -64,23 +64,24 @@ top: 42px; } -/*All other sidebar-boxes should be larger on hover*/ +All other sidebar-boxes should be larger on hover #sidebar-box:hover, #sidebar-box #sidebar:hover { min-width: 350px !important; max-width: 350px !important; z-index: 999; margin-right: -300px !important; - a } /*Tree Style Tabs && Sideberry specific sidebar width and size*/ #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover, #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]:hover, -#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] #sidebar:hover { - min-width: 260px !important; - max-width: 260px !important; - margin-right: -210px !important; +#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]:hover .child-element[data-selected="true"], +#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] #sidebar:hover +#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] #sidebar:hover .child-element[data-selected="true"] { + min-width: 350px !important; + max-width: 350px !important; + margin-right: -300px !important; } #sidebar-header {