;; --------------------------------------------------------------------------- ;; SX app boot — styles, behaviors, and post-render hooks ;; ;; Replaces inline_css and init_sx from Python app config. ;; Called as a data-init script on every page. ;; --------------------------------------------------------------------------- ;; Framework styles — request indicators + link jiggle (collect! "cssx" ".sx-indicator{display:none}") (collect! "cssx" ".sx-request .sx-indicator{display:inline-flex}") (collect! "cssx" "@keyframes sxJiggle{0%,100%{transform:translateX(0)}25%{transform:translateX(-.5px)}75%{transform:translateX(.5px)}}") (collect! "cssx" "a.sx-request{animation:sxJiggle .3s ease-in-out infinite}") ;; CSSX flush hook — inject collected CSS rules into a