Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Hide the whole toolbar area unless urlbar is focused or cursor is over the toolbar */
- /* Dimensions on non-Win10 OS probably needs to be adjusted */
- @media (-moz-os-version: windows-win10){
- :root[titlepreface="www.twitch.tv"][sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 10px !important; }
- :root[titlepreface="www.twitch.tv"][sizemode="maximized"] #navigator-toolbox{ margin-top: -2px }
- @media screen and (min-resolution: 1.25dppx){
- :root[titlepreface="www.twitch.tv"][sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 9px !important; }
- }
- @media screen and (min-resolution: 1.5dppx){
- :root[titlepreface="www.twitch.tv"][sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 8px !important; }
- :root[titlepreface="www.twitch.tv"][sizemode="maximized"] #navigator-toolbox{ margin-top: -1px }
- }
- @media screen and (min-resolution: 2dppx){
- :root[titlepreface="www.twitch.tv"][sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 7px !important; }
- }
- }
- :root[titlepreface="www.twitch.tv"][sizemode="fullscreen"]{ margin-top: 0px !important; }
- :root[titlepreface="www.twitch.tv"] #navigator-toolbox{
- position: fixed !important;
- display: block;
- background-color: var(--lwt-accent-color,black) !important;
- transition: transform 82ms 33ms linear, opacity 82ms 33ms linear !important;
- transform-origin: top;
- line-height: 0;
- z-index: 1;
- }
- :root[titlepreface="www.twitch.tv"] #navigator-toolbox > *{ line-height: normal }
- :root[titlepreface="www.twitch.tv"] #navigator-toolbox,
- :root[titlepreface="www.twitch.tv"] #navigator-toolbox > *{
- width: 100vw;
- -moz-appearance: none !important;
- }
- :root[titlepreface="www.twitch.tv"] #navigator-toolbox:not(:focus-within):not(:hover){
- transform: rotateX(70deg);
- opacity: 0;
- }
- :root[titlepreface="www.twitch.tv"][sizemode="maximized"] #navigator-toolbox:not(:focus-within):not(:hover){ transform: rotateX(82deg) }
- /* Don't apply transform before window has been fully created */
- :root[titlepreface="www.twitch.tv"]:not([sessionrestored]) #navigator-toolbox{ transform:none !important }
- :root[titlepreface="www.twitch.tv"][customizing] #navigator-toolbox{
- position: relative !important;
- transform: none !important;
- opacity: 1 !important;
- }
- :root[titlepreface="www.twitch.tv"] #navigator-toolbox[inFullscreen] > #PersonalToolbar,
- :root[titlepreface="www.twitch.tv"] #PersonalToolbar[collapsed="true"]{ display: none }
- :root[titlepreface="www.twitch.tv"] #navigator-toolbox { pointer-events: none }
- :root[titlepreface="www.twitch.tv"] #navigator-toolbox > *{ pointer-events: auto }
- /* Uncomment this if tabs toolbar is hidden with hide_tabs_toolbar.css */
- /*#titlebar{ margin-bottom: -9px }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement