.canvas_container_openpose { width: auto !important; height: auto !important; } .canvas_container_openpose canvas { width: 100% !important; height: auto !important; border: 1px solid #000000; } .pose_panelButtons { position: absolute; padding: 4px; display: flex; gap: 4px; flex-direction: column; width: fit-content; align-items: center; } .pose_panelButtons button { width: 32px; } .pose_panelButtons .clear_history { border-color: var(--error-text); color: var(--error-text) !important; } .pose_context_menu { position: absolute; flex-direction: column; min-width: 100px; padding: 5px; background-color: var(--bg-color); display: flex; justify-content: center; align-items: stretch; border: 1px solid var(--border-color); gap: 2px; font-size: 0.4rem; } .pose_btn_context { border: 1px solid; padding: 5px; border-color: var(--border-color); transition: 0.8s border-color, 0.8s background-color; cursor: pointer; user-select: none; } .pose_btn_context:hover { color: var(--error-text); border-color: var(--error-text); } .pose_SetBackgroundBg { position: relative; width: 24px; height: 27px; padding: 0; outline: 0; border: 0; margin: 0; background: none; } .pose_SetBackgroundBg:before { content: "BG"; position: absolute; font-size: 0.4rem; left: 50%; top: 50%; transform: translate(-50%, -50%); } .pose_SetBackgroundBg.lightColor:before { color: #000000; }