diff --git a/Profice WebSite/style/cursor.css b/Profice WebSite/style/cursor.css index 621d741..89300ee 100644 --- a/Profice WebSite/style/cursor.css +++ b/Profice WebSite/style/cursor.css @@ -1,27 +1,45 @@ /* cursor.css */ /* Default: System cursor (not custom) */ -body, -html, -a, -button, -input, -textarea, -select, -.menu-toggle, -label { +body.system-cursor, +body.system-cursor *, +body.system-cursor a, +body.system-cursor button, +body.system-cursor input, +body.system-cursor textarea, +body.system-cursor select, +body.system-cursor .menu-toggle, +body.system-cursor label, +body.system-cursor [role="button"], +body.system-cursor [onclick], +body.system-cursor .clickable { cursor: auto !important; } -/* Custom cursor only when enabled */ +/* Custom cursor: Hide default cursor on ALL elements when custom is enabled */ body:not(.system-cursor), +body:not(.system-cursor) *, body:not(.system-cursor) a, body:not(.system-cursor) button, body:not(.system-cursor) input, body:not(.system-cursor) textarea, body:not(.system-cursor) select, body:not(.system-cursor) .menu-toggle, -body:not(.system-cursor) label { +body:not(.system-cursor) label, +body:not(.system-cursor) [role="button"], +body:not(.system-cursor) [onclick], +body:not(.system-cursor) .clickable, +body:not(.system-cursor) *:hover, +body:not(.system-cursor) *:active, +body:not(.system-cursor) *:focus, +body:not(.system-cursor) [style*="cursor: pointer"], +body:not(.system-cursor) .cursor-pointer, +body:not(.system-cursor) button, +body:not(.system-cursor) .btn, +body:not(.system-cursor) .offer-card, +body:not(.system-cursor) .service-card, +body:not(.system-cursor) .menu-toggle, +body:not(.system-cursor) #cursorToggle { cursor: none !important; }