.indexCard { height: 100%; :global { .ant-card-body { padding: 0; height: calc(100% - 38px); display: flex; } } .instructionSet { width: 200px; height: 100%; } .instructionContent { width: calc(100% - 400px); height: 100%; } .draggableTree { width: 100%; overflow: auto; } .instructionResult { width: 200px; height: 100%; } .collapseItem { margin-bottom: 0; background: transparent; border-radius: 0; border: none; :global { .ant-collapse-content-box { padding: 10px 10px 4px 16px !important; } .ant-form-item { margin-bottom: 16px; } } } .draggableList { width: 100%; height: 100%; overflow-y: auto; :global { .draggable-item { width: 100%; min-height: 50px; border: 1px solid rgba(0, 0, 0, .125); padding: 20px; margin-bottom: 4px; border-radius: 4px; } .draggable-item.lv1 { background-color: #e6e6e6; } .draggable-item.lv2 { background-color: #cccccc; } .draggable-item-title { width: 100%; height: 40px; } } } .settingBtn { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; gap: 4px; width: 25px; height: auto; } } .draggableItemSelected { background: rgb(140, 204, 228) !important; } // 下拉颜色 .code1 { background-color: rgba(34, 197, 94, 0.2) !important; margin-bottom: 2px; } .code_1 { background-color: rgba(239, 68, 68, 0.2) !important; margin-bottom: 2px; } .code_8 { background-color: rgba(220, 38, 38, 0.3) !important; margin-bottom: 2px; } .code2 { background-color: rgba(234, 179, 8, 0.2) !important; margin-bottom: 2px; } .code_7 { background-color: rgba(59, 130, 246, 0.2) !important; } .settingModal { top: 20px; left: 10px; width: auto !important; :global { .ant-modal-content { margin: 0; width: calc(100vw - 50px); height: calc(100vh - 50px); } } } // .settingModal { // width: calc(100vw - 20px); // height: calc(100vh - 100px); // }