.noteMove { position: absolute; &::before{ content: ''; position: absolute; left: -4px; right: -4px; bottom: -4px; top: -4px; border-radius: 2px; background-color: rgba(0, 0, 0, .3); } } .activeModel{ &::before{ background-color: rgba(255,145,0,.3); } } .toolBox { position: fixed; left: 0; top: 30%; padding: 8px; background: rgba(0, 0, 0, .3); border-radius: 4px; display: flex; flex-direction: column; z-index: 9999; backdrop-filter: blur(10px); &>div, &>button { margin: 4px 0; } } .moveDisabled{ .noteMove{ display: none; } } .hideTool { transform: translateX(-120%); } .rightHideIcon { width: 15px; height: 30px; position: absolute; left: 0; top: 50%; z-index: 10; cursor: pointer; transition: all 0.5s; transform: rotate(180deg); } .editToolBox { position: fixed; left: 0; top: 0; width: 100%; background: rgba(0, 0, 0, 0.5); z-index: 999999; display: flex; align-items: center; justify-content: flex-end; padding: 14PX 30PX; pointer-events: none; min-height: 58PX; .editItem { display: flex; align-items: center; padding: 5PX 12PX; background: rgba(255,255,255,0.2); border-radius: 20PX; margin-left: 18PX; cursor: pointer; pointer-events: all; &:active { opacity: .5; } img { width: 18PX; height: 18PX; margin-right: 6PX; } span { font-size: 14PX; color: #fff; } } .extraItem { margin-left: 18PX; display: flex; align-items: center; justify-content: space-between; padding: 5PX 12PX; background: rgba(255,255,255,0.2); border-radius: 20PX; position: relative; width: 76PX; box-sizing: border-box; img { width: 18PX; height: 18PX; cursor: pointer; &:active { opacity: .5; } } &::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 1PX; height: 20PX; background: rgba(255,255,255,0.3); z-index: 1; } } .disabled { opacity: .5; pointer-events: none; } } .itemDisabled { .editItem { opacity: .5; pointer-events: none; } .canEdit { opacity: 1; pointer-events: visible; } }