.wrap-side-operation { position: fixed; right: 40px; bottom: 50px; z-index: 999; font-size: 14px; .icon { color: $colorF; text-shadow: 1px 1px 1px #509eb7; font-size: 24px; line-height: 40px; width: 40px; text-align: center; display: block; transition: 0.3s; } } .mod-side-operation { width: 40px; text-align: center; } .jump-container:hover, .toc-container:hover{ .icon { background: rgba(36, 193, 246, 0.9); } } .jump-container, .toc-container { position: relative; cursor: pointer; width: 40px; height: 40px; background: #ccc; opacity: .7; } .jump-plan-container { position: absolute; top: -11px; left: -4px; width: 50px; height: 61px; overflow: hidden; .jump-plane { display: block; position: absolute; width: 42px; height: 66px; transform: translateY(68px); left: -2px; } } .toc-container.tooltip-left{ margin-top: 10px; transition: 0.3s; .tooltip { width: 40px; height: 40px; top: 0; left: 0; } .tooltip-east .tooltip-content { min-height: 100px; text-align: left; padding: 5px 0 5px 20px; right: 4.7em; min-width: 200px; width: initial; font-size: 14px; text-shadow: 1px 1px 1px #398199; bottom: -10px; transform-origin: 100% 100%; transform: translate3d(0, -10px, 0) rotate3d(1, 1, 1, -30deg); a { color: $colorF; } &::after { top: initial; bottom: 23px; } .toc-article { max-height: 500px; overflow-x: hidden; overflow-y: auto; } .toc-article li ol, .toc-article li ul { margin-left: 30px; } .toc-article li { white-space: nowrap; } } .tooltip:hover .tooltip-content { bottom: -10px; transform: translate(0); } }