IITC-CE / ingress-intel-total-conversion

intel.ingress.com total conversion user script with some new features. Should allow easier extension of the intel map.
https://iitc.app
ISC License
290 stars 109 forks source link

style: sidebar and sidebartoggle do not have the same Z-index #363

Closed le-jeu closed 3 years ago

le-jeu commented 4 years ago

When using a screen small enough (half a screen for instance), the sidebartoggle is above the chat while the sidebar content is below the chat.

Using Firefox 77: image

I suggest to use the same z-index for #sidebar, #sidebartoggle and #scrollwrapper to 3001 (chat using 3000 as z-index).

https://github.com/IITC-CE/ingress-intel-total-conversion/blob/85ce020bfc32b00be005e65736f637607a14b2c4/core/style.css#L59-L100

https://github.com/IITC-CE/ingress-intel-total-conversion/blob/85ce020bfc32b00be005e65736f637607a14b2c4/core/code/boot.js#L419-L426

modos189 commented 4 years ago

Let's set z-index: 2999 for #sidebartoggle. Then this button will be below #chat, but above #scrollwrapper

johnd0e commented 3 years ago

If someone is still interested in these fixes - please put them into PR.

@le-jeu @modos189