MediaWiki:Gadget-GrAnnotations.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 564: | Line 564: | ||
#gra-mobile-bar { | #gra-mobile-bar { | ||
position: fixed; | position: fixed; | ||
bottom: | /* Sit above browser chrome — use env() for safe area + extra buffer */ | ||
left: | bottom: calc(env(safe-area-inset-bottom, 20px) + 60px); | ||
right: | left: 12px; | ||
right: 12px; | |||
z-index: 10200; | z-index: 10200; | ||
transform: translateY(calc(100% + 120px)); | |||
transform: translateY(100%); | |||
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); | transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); | ||
pointer-events: none; | pointer-events: none; | ||
border-radius: 16px; | |||
overflow: hidden; | |||
box-shadow: 0 -4px 32px rgba(0,0,0,0.25); | |||
} | } | ||
#gra-mobile-bar.gra-mobile-bar-visible { | #gra-mobile-bar.gra-mobile-bar-visible { | ||
| Line 579: | Line 582: | ||
#gra-mobile-bar-inner { | #gra-mobile-bar-inner { | ||
background: #fff; | background: #fff; | ||
border | border: 1px solid #e0e0e0; | ||
border-radius: 16px | border-radius: 16px; | ||
display: flex; | display: flex; | ||
align-items: stretch; | align-items: stretch; | ||
padding-bottom: 0; | |||
padding-bottom: | |||
} | } | ||
.gra-mob-btn { | .gra-mob-btn { | ||