User:Monster Domosed/common.css: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 67: | Line 67: | ||
} | } | ||
/* ---- MODE TOGGLE — top-right ---- */ | /* ---- MODE TOGGLE — single button, top-right ---- */ | ||
.rm-mode-toggle { | .rm-mode-toggle { | ||
position: absolute; | position: absolute; | ||
| Line 73: | Line 73: | ||
right: 8px; | right: 8px; | ||
z-index: 10; | z-index: 10; | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
width: 40px; | |||
height: | height: 40px; | ||
border-radius: 8px; | |||
background: rgba(30, 30, 30, 0.55); | background: rgba(30, 30, 30, 0.55); | ||
cursor: pointer; | cursor: pointer; | ||
transition: background 0.15s, | transition: background 0.15s, transform 0.1s; | ||
box-shadow: 0 1px 4px rgba(0,0,0,0.3); | |||
pointer-events: auto; | pointer-events: auto; | ||
} | } | ||
.rm-mode- | .rm-mode-toggle:hover { | ||
background: rgba(30, 30, 30, 0.8); | |||
transform: scale(1.05); | |||
} | } | ||
.rm-mode- | .rm-mode-toggle:active { | ||
transform: scale(0.95); | |||
} | } | ||
/* | /* Icon inside toggle button */ | ||
.rm-mode-icon { | .rm-mode-icon { | ||
width: | width: 24px; | ||
height: | height: 24px; | ||
object-fit: contain; | object-fit: contain; | ||
pointer-events: none; | pointer-events: none; | ||
| Line 118: | Line 102: | ||
} | } | ||
/* Text fallback | /* Text fallback */ | ||
.rm-mode- | .rm-mode-toggle { | ||
font-size: | font-size: 14px; | ||
font-weight: 700; | font-weight: 700; | ||
color: #fff; | color: #fff; | ||
| Line 126: | Line 110: | ||
} | } | ||
/* ---- ROTATION ICON — bottom-right | /* ---- ROTATION ICON — bottom-right ---- */ | ||
.rm-rotate-icon { | .rm-rotate-icon { | ||
position: absolute; | position: absolute; | ||