367 lines
22 KiB
CSS
367 lines
22 KiB
CSS
.designerShell {
|
|
--navy: #142033;
|
|
--text: #2a3548;
|
|
--muted: #7d8798;
|
|
--line: #e5e8ee;
|
|
--blue: #3370ff;
|
|
--blueSoft: #eaf1ff;
|
|
--green: #25a66a;
|
|
--greenSoft: #eaf8f1;
|
|
--orange: #e79024;
|
|
--orangeSoft: #fff4e5;
|
|
--purple: #7656d6;
|
|
--purpleSoft: #f0ecfd;
|
|
min-width: 1040px;
|
|
min-height: 100vh;
|
|
overflow: hidden;
|
|
background: #f4f6f9;
|
|
color: var(--text);
|
|
font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
|
|
}
|
|
|
|
.topbar {
|
|
position: relative;
|
|
z-index: 30;
|
|
height: 68px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 0 22px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: #fff;
|
|
box-shadow: 0 2px 9px rgba(27, 38, 59, .04);
|
|
}
|
|
|
|
.topbarLeft, .topbarActions, .processIdentity > div, .settingsHeader > div, .previewModal header > div {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.topbarLeft { gap: 12px; }
|
|
.backButton {
|
|
width: 34px;
|
|
height: 34px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 1px solid #e2e6ec;
|
|
border-radius: 8px;
|
|
color: #6f7a8c;
|
|
text-decoration: none;
|
|
font-size: 18px;
|
|
}
|
|
.backButton:hover { border-color: #abc2fa; color: var(--blue); background: #f7f9ff; }
|
|
.brandMark { position: relative; width: 25px; height: 25px; display: block; margin-left: 2px; transform: rotate(-11deg); }
|
|
.brandMark i { position: absolute; bottom: 1px; display: block; width: 6px; border-radius: 4px; background: var(--blue); }
|
|
.brandMark i:nth-child(1) { left: 1px; height: 12px; background: #7ca5ff; }
|
|
.brandMark i:nth-child(2) { left: 9px; height: 22px; background: var(--navy); }
|
|
.brandMark i:nth-child(3) { left: 17px; height: 16px; }
|
|
.processIdentity { min-width: 260px; display: flex; flex-direction: column; gap: 2px; }
|
|
.processIdentity > div { gap: 8px; }
|
|
.processIdentity input {
|
|
width: 185px;
|
|
padding: 0;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: var(--navy);
|
|
font-size: 14px;
|
|
font-weight: 750;
|
|
}
|
|
.processIdentity small { color: #8e97a6; font-size: 9px; }
|
|
.draft, .published { padding: 3px 7px; border-radius: 5px; font-size: 8px; font-weight: 700; }
|
|
.draft { background: var(--orangeSoft); color: var(--orange); }
|
|
.published { background: var(--greenSoft); color: var(--green); }
|
|
.topbarActions { gap: 8px; }
|
|
.topbarActions button { min-height: 36px; padding: 0 13px; border-radius: 7px; cursor: pointer; font-size: 10px; font-weight: 650; }
|
|
.quietButton { border: 1px solid #dde2e9; background: #fff; color: #5e6b7f; }
|
|
.quietButton:hover { border-color: #b7c8e9; background: #f9fbff; color: var(--blue); }
|
|
.publishButton { border: 1px solid var(--blue); background: var(--blue); color: #fff; box-shadow: 0 5px 13px rgba(51,112,255,.2); }
|
|
.publishButton:hover { background: #235bd4; }
|
|
|
|
.workspace {
|
|
height: calc(100vh - 68px);
|
|
display: grid;
|
|
grid-template-columns: 235px minmax(520px, 1fr) 326px;
|
|
}
|
|
|
|
.palette, .propertyPanel { position: relative; z-index: 10; overflow-y: auto; background: #fff; }
|
|
.palette { border-right: 1px solid var(--line); }
|
|
.propertyPanel { border-left: 1px solid var(--line); }
|
|
.paletteHeader {
|
|
height: 68px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 17px;
|
|
border-bottom: 1px solid #edf0f4;
|
|
}
|
|
.paletteHeader > div { display: flex; flex-direction: column; gap: 4px; }
|
|
.paletteHeader strong { color: var(--navy); font-size: 13px; }
|
|
.paletteHeader small { color: #98a1af; font-size: 9px; }
|
|
.paletteHeader > button { display: none; border: 0; background: none; color: #8490a2; font-size: 18px; }
|
|
.paletteSection { padding: 17px 13px 4px; }
|
|
.paletteSection > p { margin: 0 4px 10px; color: #98a0ae; font-size: 9px; font-weight: 750; letter-spacing: .7px; }
|
|
.paletteItem {
|
|
width: 100%;
|
|
min-height: 64px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 8px;
|
|
padding: 9px 10px;
|
|
border: 1px solid #e5e9ef;
|
|
border-radius: 9px;
|
|
background: #fff;
|
|
cursor: grab;
|
|
text-align: left;
|
|
transition: border-color .16s, box-shadow .16s, transform .16s;
|
|
}
|
|
.paletteItem:hover { border-color: #a9c2fa; box-shadow: 0 7px 18px rgba(38,72,137,.08); transform: translateY(-1px); }
|
|
.paletteItem:active { cursor: grabbing; }
|
|
.paletteIcon, .nodeIcon {
|
|
display: grid;
|
|
place-items: center;
|
|
flex: 0 0 auto;
|
|
border-radius: 8px;
|
|
font-weight: 800;
|
|
}
|
|
.paletteIcon { width: 35px; height: 35px; font-size: 15px; }
|
|
.blue { background: var(--blueSoft); color: var(--blue); }
|
|
.green { background: var(--greenSoft); color: var(--green); }
|
|
.orange { background: var(--orangeSoft); color: var(--orange); }
|
|
.purple { background: var(--purpleSoft); color: var(--purple); }
|
|
.gray { background: #edf0f4; color: #697589; }
|
|
.paletteItem > span:nth-child(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
|
|
.paletteItem strong { color: #36445b; font-size: 10px; }
|
|
.paletteItem small { overflow: hidden; color: #8e98a8; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.paletteItem > b { color: #a1a9b6; font-size: 15px; }
|
|
.disabledItem { background: #fbfcfd; }
|
|
.helpCard { display: flex; gap: 10px; margin: 20px 13px; padding: 13px; border: 1px solid #dbe5fb; border-radius: 9px; background: #f6f9ff; }
|
|
.helpCard > span { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--blueSoft); color: var(--blue); font-size: 10px; font-weight: 800; }
|
|
.helpCard div { min-width: 0; }
|
|
.helpCard strong { color: #405273; font-size: 9px; }
|
|
.helpCard p { margin: 4px 0 0; color: #77849a; font-size: 8px; line-height: 1.6; }
|
|
|
|
.canvasArea { min-width: 0; display: flex; flex-direction: column; background: #f2f4f8; }
|
|
.canvasToolbar {
|
|
height: 47px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
padding: 0 16px;
|
|
border-bottom: 1px solid #e2e6ec;
|
|
background: rgba(255,255,255,.86);
|
|
}
|
|
.breadcrumb { min-width: 0; display: flex; align-items: center; gap: 8px; color: #8993a4; font-size: 9px; }
|
|
.breadcrumb strong { overflow: hidden; color: #536077; text-overflow: ellipsis; white-space: nowrap; }
|
|
.breadcrumb b { color: #bdc3cc; font-weight: 400; }
|
|
.canvasTools { display: flex; align-items: center; overflow: hidden; border: 1px solid #dde2e9; border-radius: 7px; background: #fff; }
|
|
.canvasTools button { height: 29px; padding: 0 9px; border: 0; border-right: 1px solid #edf0f3; background: #fff; color: #647085; cursor: pointer; font-size: 9px; }
|
|
.canvasTools button:hover { background: #f3f6fc; color: var(--blue); }
|
|
.canvasTools span { min-width: 43px; color: #7e899a; font-size: 8px; text-align: center; }
|
|
.mobilePaletteButton { display: none; padding: 6px 10px; border: 1px solid #bfd0f5; border-radius: 6px; background: #fff; color: var(--blue); font-size: 9px; }
|
|
.canvasScroller { min-height: 0; flex: 1; overflow: auto; }
|
|
.canvasGrid { min-width: 750px; min-height: 100%; padding: 42px 34px 120px; background: #f4f6f9; }
|
|
.flowWrap {
|
|
width: 680px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
transform-origin: center top;
|
|
transition: transform .18s ease;
|
|
}
|
|
.flowStep { width: 100%; display: flex; flex-direction: column; align-items: center; }
|
|
.processNode {
|
|
position: relative;
|
|
width: 310px;
|
|
min-height: 86px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 15px;
|
|
border: 1px solid #dfe4eb;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
box-shadow: 0 5px 16px rgba(28,42,68,.07);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: border-color .16s, box-shadow .16s, transform .16s;
|
|
}
|
|
.processNode:hover { border-color: #a9c3fb; box-shadow: 0 9px 22px rgba(28,67,143,.1); transform: translateY(-1px); }
|
|
.selectedNode { border: 2px solid var(--blue); box-shadow: 0 0 0 4px rgba(51,112,255,.1), 0 9px 22px rgba(28,67,143,.1); }
|
|
.nodeIcon { width: 39px; height: 39px; font-size: 16px; }
|
|
.nodeCopy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
|
|
.nodeCopy small { color: #9aa3b0; font-size: 7px; font-weight: 750; letter-spacing: .4px; text-transform: uppercase; }
|
|
.nodeCopy strong { overflow: hidden; color: #28374e; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.nodeCopy em { overflow: hidden; color: #8791a1; font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
|
|
.approverPreview { display: flex; align-items: center; flex: 0 0 auto; }
|
|
.approverPreview i { width: 22px; height: 22px; display: grid; place-items: center; margin-left: -5px; border: 2px solid #fff; border-radius: 50%; background: #dce8ff; color: #3567c8; font-size: 7px; font-style: normal; font-weight: 700; }
|
|
.approverPreview b { margin-left: 5px; color: #7f8999; font-size: 7px; font-weight: 600; }
|
|
.nodeMore { position: absolute; top: 7px; right: 9px; color: #b0b6c0; font-size: 7px; letter-spacing: 1px; }
|
|
.node_start, .node_end { width: 270px; min-height: 72px; }
|
|
.connector { position: relative; width: 2px; height: 42px; background: #b8c1cf; }
|
|
.connector::after { content: ""; position: absolute; bottom: -1px; left: -3px; width: 6px; height: 6px; border-right: 2px solid #9ca7b7; border-bottom: 2px solid #9ca7b7; transform: rotate(45deg); }
|
|
.connector i { position: absolute; top: 16px; left: -3px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #b6c0cd; }
|
|
|
|
.conditionGroup { position: relative; width: 680px; padding: 0 18px 22px; border: 1px dashed transparent; border-radius: 13px; }
|
|
.selectedCondition { border-color: #94b4f8; background: rgba(233,240,255,.5); }
|
|
.conditionTitle {
|
|
width: 310px;
|
|
min-height: 72px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
margin: 0 auto;
|
|
padding: 11px 14px;
|
|
border: 1px solid #f0d7b2;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
box-shadow: 0 5px 16px rgba(28,42,68,.06);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
.conditionTitle > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 3px; }
|
|
.conditionTitle small { color: var(--orange); font-size: 7px; font-weight: 750; }
|
|
.conditionTitle strong { color: #2e3b50; font-size: 11px; }
|
|
.conditionTitle > b { color: #a0a7b2; font-size: 8px; font-weight: 500; }
|
|
.branchRail { position: relative; width: calc(50% + 2px); height: 37px; margin: 0 auto; border-right: 2px solid #b8c1cf; border-bottom: 2px solid #b8c1cf; border-left: 2px solid #b8c1cf; }
|
|
.branchRail::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 18px; background: #b8c1cf; }
|
|
.branchGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
|
|
.branchLane { display: flex; flex-direction: column; align-items: center; }
|
|
.branchLabel { width: 100%; min-height: 56px; padding: 9px 11px; border: 1px solid #e3e7ed; border-radius: 8px; background: #fff; }
|
|
.branchLabel > span { width: 17px; height: 17px; display: grid; place-items: center; float: left; margin-right: 7px; border-radius: 4px; background: var(--orangeSoft); color: var(--orange); font-size: 7px; font-weight: 750; }
|
|
.branchLabel strong { display: block; color: #4a5669; font-size: 9px; }
|
|
.branchLabel code { display: block; margin: 5px 0 0 24px; color: #9a7b55; font-size: 7px; }
|
|
.branchConnector { width: 2px; height: 23px; background: #b8c1cf; }
|
|
.branchLane .processNode { width: 100%; }
|
|
.branchJoin { position: relative; width: calc(50% + 2px); height: 37px; margin: 0 auto; border-right: 2px solid #b8c1cf; border-top: 2px solid #b8c1cf; border-left: 2px solid #b8c1cf; }
|
|
.branchJoin i { position: absolute; bottom: -1px; left: 50%; width: 2px; height: 20px; background: #b8c1cf; }
|
|
.canvasAdd { display: flex; align-items: center; gap: 7px; margin-top: 18px; padding: 7px 12px; border: 1px dashed #aeb9c9; border-radius: 8px; background: rgba(255,255,255,.75); color: #7a8799; cursor: pointer; font-size: 8px; }
|
|
.canvasAdd:hover { border-color: var(--blue); color: var(--blue); }
|
|
.canvasAdd span { font-size: 13px; }
|
|
|
|
.settingsHeader { min-height: 67px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid #edf0f4; }
|
|
.settingsHeader > div { gap: 10px; }
|
|
.settingsHeader .nodeIcon { width: 33px; height: 33px; font-size: 13px; }
|
|
.settingsHeader > div > span:last-child { display: flex; flex-direction: column; gap: 3px; }
|
|
.settingsHeader strong { max-width: 190px; overflow: hidden; color: var(--navy); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.settingsHeader small { color: #98a1af; font-size: 7px; }
|
|
.settingsHeader > button { width: 27px; height: 27px; border: 0; border-radius: 6px; background: #fff2f2; color: #d85656; cursor: pointer; }
|
|
.settingsTabs { height: 42px; display: flex; padding: 0 13px; border-bottom: 1px solid #edf0f4; }
|
|
.settingsTabs button { position: relative; flex: 1; border: 0; background: transparent; color: #8791a1; cursor: pointer; font-size: 9px; }
|
|
.settingsTabs button.activeTab { color: var(--blue); font-weight: 700; }
|
|
.settingsTabs button.activeTab::after { content: ""; position: absolute; right: 20%; bottom: -1px; left: 20%; height: 2px; border-radius: 2px; background: var(--blue); }
|
|
.settingsBody { padding: 18px 16px 45px; }
|
|
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
|
|
.field > span, .settingLabel strong { color: #536076; font-size: 9px; font-weight: 700; }
|
|
.field input, .field textarea {
|
|
width: 100%;
|
|
padding: 9px 10px;
|
|
border: 1px solid #dde2e9;
|
|
border-radius: 7px;
|
|
outline: 0;
|
|
background: #fff;
|
|
color: #3e4b60;
|
|
font: inherit;
|
|
font-size: 9px;
|
|
resize: vertical;
|
|
}
|
|
.field input:focus, .field textarea:focus { border-color: #8eb0fa; box-shadow: 0 0 0 3px rgba(51,112,255,.08); }
|
|
.settingGroup, .approverSetting, .branchSettings { margin: 19px 0; padding-top: 17px; border-top: 1px solid #edf0f4; }
|
|
.settingLabel { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
|
|
.settingLabel small { color: #99a2b0; font-size: 7px; }
|
|
.segmented { display: flex; padding: 3px; border-radius: 7px; background: #f0f2f5; }
|
|
.segmented button { flex: 1; height: 28px; border: 0; border-radius: 5px; background: transparent; color: #7e899b; cursor: pointer; font-size: 8px; }
|
|
.segmented button.segmentActive { background: #fff; color: var(--blue); box-shadow: 0 2px 6px rgba(43,56,81,.08); font-weight: 700; }
|
|
.peopleList { display: flex; flex-direction: column; gap: 7px; }
|
|
.peopleList > div { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid #e5e9ef; border-radius: 7px; }
|
|
.peopleList > div > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--blueSoft); color: #3b68c6; font-size: 8px; font-weight: 700; }
|
|
.peopleList p { flex: 1; display: flex; flex-direction: column; gap: 2px; margin: 0; }
|
|
.peopleList p strong { color: #47556b; font-size: 9px; }
|
|
.peopleList p small { color: #9ba3b0; font-size: 7px; }
|
|
.peopleList button { border: 0; background: none; color: #a2aab6; cursor: pointer; }
|
|
.addPeople { width: 100%; height: 34px; margin-top: 8px; border: 1px dashed #b8c4d7; border-radius: 7px; background: #fbfcfe; color: var(--blue); cursor: pointer; font-size: 8px; }
|
|
.branchSettings > div { margin-bottom: 12px; padding: 11px; border: 1px solid #e5e9ef; border-radius: 8px; background: #fafbfc; }
|
|
.branchSettings > div > div:first-child { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
|
|
.branchSettings > div > div:first-child span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 4px; background: var(--orangeSoft); color: var(--orange); font-size: 7px; font-weight: 700; }
|
|
.branchSettings > div > div:first-child strong { color: #566276; font-size: 9px; }
|
|
.branchSettings .field { margin-bottom: 10px; }
|
|
.branchSettings .field:last-child { margin-bottom: 0; }
|
|
.infoBox { display: flex; gap: 9px; padding: 11px; border: 1px solid #dbe5fa; border-radius: 8px; background: #f6f9ff; }
|
|
.infoBox span { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--blueSoft); color: var(--blue); font-size: 8px; font-weight: 800; }
|
|
.infoBox p { margin: 1px 0 0; color: #6e7c92; font-size: 8px; line-height: 1.6; }
|
|
.permissions { border: 1px solid #e5e9ef; border-radius: 8px; overflow: hidden; }
|
|
.permissions > div { min-height: 40px; display: grid; grid-template-columns: 1fr 42px 42px; align-items: center; padding: 0 9px; border-bottom: 1px solid #edf0f4; }
|
|
.permissions > div:last-child { border-bottom: 0; }
|
|
.permissions span, .permissions strong { color: #627086; font-size: 8px; }
|
|
.permissions input { accent-color: var(--blue); }
|
|
.permissionHead { background: #f7f8fa; }
|
|
.advancedSettings { display: flex; flex-direction: column; gap: 10px; }
|
|
.advancedSettings > label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px; border: 1px solid #e5e9ef; border-radius: 8px; }
|
|
.advancedSettings > label span { display: flex; flex-direction: column; gap: 4px; }
|
|
.advancedSettings strong { color: #506076; font-size: 9px; }
|
|
.advancedSettings small { color: #98a1af; font-size: 7px; }
|
|
.advancedSettings input { width: 32px; height: 18px; accent-color: var(--blue); }
|
|
.advancedSettings > button { height: 36px; border: 1px dashed #b8c4d7; border-radius: 7px; background: #fbfcfe; color: var(--blue); cursor: pointer; font-size: 8px; }
|
|
.noSelection { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; }
|
|
.noSelection > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #f0f3f7; color: #9aa3b1; font-size: 22px; }
|
|
.noSelection strong { margin: 14px 0 5px; color: #556176; font-size: 11px; }
|
|
.noSelection p { margin: 0; color: #949dab; font-size: 8px; line-height: 1.6; }
|
|
|
|
.modalBackdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 25px; background: rgba(16,25,42,.5); backdrop-filter: blur(4px); }
|
|
.previewModal { width: 580px; max-height: calc(100vh - 50px); overflow: auto; border-radius: 13px; background: #fff; box-shadow: 0 30px 80px rgba(12,21,37,.28); }
|
|
.previewModal header, .jsonDrawer header { display: flex; align-items: flex-start; justify-content: space-between; padding: 20px; border-bottom: 1px solid #edf0f4; }
|
|
.previewModal header > div { gap: 11px; }
|
|
.previewModal header > div > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--blueSoft); color: var(--blue); }
|
|
.previewModal h2, .jsonDrawer h2 { margin: 0 0 4px; color: var(--navy); font-size: 15px; }
|
|
.previewModal header p, .jsonDrawer header p { margin: 0; color: #929cab; font-size: 8px; }
|
|
.previewModal header > button, .jsonDrawer header > button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f2f4f7; color: #778296; cursor: pointer; font-size: 16px; }
|
|
.previewForm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 15px 20px; border-bottom: 1px solid #edf0f4; background: #fafbfc; }
|
|
.previewForm > div { display: flex; flex-direction: column; gap: 4px; }
|
|
.previewForm span { color: #98a1af; font-size: 7px; }
|
|
.previewForm strong { color: #4b586d; font-size: 9px; }
|
|
.previewForm .hitBranch { color: var(--orange); }
|
|
.previewRoute { padding: 20px 85px 25px; }
|
|
.previewRoute > div { position: relative; display: flex; gap: 11px; min-height: 62px; }
|
|
.previewDot { position: relative; z-index: 2; width: 25px; height: 25px; display: grid; place-items: center; flex: 0 0 auto; border: 2px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px #a9c2fa; color: #fff; font-size: 7px; font-weight: 700; }
|
|
.previewRoute p { display: flex; flex-direction: column; gap: 4px; margin: 3px 0 0; }
|
|
.previewRoute strong { color: #435168; font-size: 9px; }
|
|
.previewRoute small { color: #9099a8; font-size: 7px; }
|
|
.previewRoute i { position: absolute; top: 24px; left: 12px; bottom: 0; width: 1px; background: #cbd3df; }
|
|
.previewModal footer, .jsonDrawer footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid #edf0f4; }
|
|
.previewModal footer button, .jsonDrawer footer button { min-height: 34px; padding: 0 13px; border: 1px solid #dce1e8; border-radius: 7px; background: #fff; color: #657187; cursor: pointer; font-size: 8px; }
|
|
.previewModal footer button:last-child, .jsonDrawer footer button:last-child { border-color: var(--blue); background: var(--blue); color: #fff; }
|
|
.jsonDrawer { position: fixed; inset: 0 0 0 auto; width: 520px; display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 60px rgba(12,21,37,.18); }
|
|
.jsonDrawer pre { flex: 1; margin: 0; padding: 18px; overflow: auto; background: #101a2c; color: #c9d9f5; font: 9px/1.7 "SFMono-Regular", Consolas, monospace; white-space: pre-wrap; }
|
|
.toast { position: fixed; right: 25px; bottom: 24px; z-index: 100; min-width: 225px; display: flex; align-items: center; gap: 9px; padding: 12px 14px; border: 1px solid #dce3ec; border-radius: 9px; background: #fff; box-shadow: 0 16px 35px rgba(23,35,58,.18); color: #4b596e; font-size: 9px; animation: toastIn .2s ease-out; }
|
|
.toast span { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--greenSoft); color: var(--green); font-weight: 800; }
|
|
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
|
|
|
|
@media (max-width: 1180px) {
|
|
.designerShell { min-width: 840px; }
|
|
.workspace { grid-template-columns: minmax(500px, 1fr) 320px; }
|
|
.palette { position: fixed; top: 68px; bottom: 0; left: 0; z-index: 50; width: 235px; transform: translateX(-100%); box-shadow: 14px 0 30px rgba(24,38,61,.13); transition: transform .2s ease; }
|
|
.paletteOpen { transform: translateX(0); }
|
|
.paletteHeader > button, .mobilePaletteButton { display: block; }
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.designerShell { min-width: 680px; }
|
|
.topbar { padding: 0 13px; }
|
|
.processIdentity { min-width: 210px; }
|
|
.processIdentity input { width: 145px; }
|
|
.topbarActions .quietButton:first-child { display: none; }
|
|
.workspace { grid-template-columns: minmax(390px, 1fr) 290px; }
|
|
.conditionGroup { width: 640px; }
|
|
.flowWrap { width: 640px; }
|
|
.canvasGrid { padding-right: 16px; padding-left: 16px; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.processNode, .paletteItem, .flowWrap, .palette { transition: none; }
|
|
.toast { animation: none; }
|
|
}
|