// 패널 배치 집계 .penal-wrap{ position: fixed; top: 200px; left: 50px; z-index: 100000; display: flex; width: 237px; height: 40px; line-height: 40px; background-color: #fff; border: 1px solid #DFDFDF; padding: 0 10px 0 10px; border-radius: 2px; box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, 0.05); cursor: pointer; .penal-arr{ flex: none; width: 24px; height: 100%; background: url(../../public/static/images/canvas/penal_arr.svg)no-repeat center; background-size: 10px 6px; } h2{ font-size: 12px; font-weight: 500; color: #3D3D3D; flex: 1; } .penal-table-wrap{ display: none; position: absolute; top: 100%; left: -1px; min-width: calc(100% + 2px); background-color: #3D3D3D; border: 1px solid #3D3D3D; padding: 20px; .penal-table{ table-layout: auto; border-collapse: collapse; thead{ th{ text-align: center; background-color:rgba(255, 255, 255, 0.05); font-size: 12px; font-weight: 500; min-width: 140px; padding: 0 15px; color: #fff; border: 1px solid #505050; white-space: nowrap; } } tbody{ td{ font-size: 12px; color: #fff; font-weight: 400; text-align: center; padding: 0 10px; border: 1px solid #505050; } } } } &.act{ border: 1px solid #3D3D3D; background-color: #3D3D3D; h2{ color: #fff; } .penal-arr{ background: url(../../public/static/images/canvas/penal_arr_white.svg)no-repeat center; } .penal-table-wrap{ display: block; } } } // context menu .context-menu-wrap{ min-width: 238px; border-radius: 4px; border: 1px solid #E9E9E9; background: #FFF; box-shadow: 0px 6px 14px 0px rgba(0, 0, 0, 0.05); ul{ padding: 17px 0; border-bottom: 1px solid #E9E9E9; &:last-child{ border: none; } li{ padding: 4px 30px; cursor: pointer; font-size: 12px; font-weight: 400; color: #101010; &:hover{ color: #fff; background-color: #0D99FF; } } } }