mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
107 lines
1.9 KiB
CSS
107 lines
1.9 KiB
CSS
.stepsHeader {
|
|
@apply flex items-center px-6 py-6;
|
|
color: #344054;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
}
|
|
.navBack {
|
|
@apply box-border flex justify-center items-center mr-3 w-8 h-8 bg-white bg-center bg-no-repeat cursor-pointer hover:border-gray-300;
|
|
border: 0.5px solid #F2F4F7;
|
|
box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
|
|
border-radius: 32px;
|
|
background-image: url(../assets/arrow-narrow-left.svg);
|
|
background-size: 16px;
|
|
}
|
|
.stepList {
|
|
@apply p-4;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.stepItem {
|
|
@apply relative flex justify-items-start pt-3 pr-0 pb-3;
|
|
padding-left: 52px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.stepItem.step1::before {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 23px;
|
|
width: 2px;
|
|
height: 7px;
|
|
background-color: #f2f4f7;
|
|
}
|
|
|
|
.stepItem.step2::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 23px;
|
|
width: 2px;
|
|
height: 100%;
|
|
background-color: #f2f4f7;
|
|
}
|
|
.stepItem.step2::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 6px;
|
|
left: 23px;
|
|
width: 2px;
|
|
height: 28px;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.stepItem.step3::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 23px;
|
|
width: 2px;
|
|
height: 7px;
|
|
background-color: #f2f4f7;
|
|
}
|
|
|
|
.stepNum {
|
|
@apply box-border absolute top-2 left-3 flex justify-center items-center w-6 h-6;
|
|
color: #98a2b3;
|
|
font-size: 12px;
|
|
border: 1px solid #F2F4F7;
|
|
border-radius: 24px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.stepName {
|
|
color: #98a2b3;
|
|
}
|
|
|
|
.stepItem.active .stepNum {
|
|
color: #1c64f2;
|
|
background-color: #EFF4FF;
|
|
border: none;
|
|
}
|
|
|
|
.stepItem.active .stepName {
|
|
color: #1c64f2;
|
|
}
|
|
|
|
.stepItem.done .stepNum {
|
|
color: #667085;
|
|
background-color: #f2f4f7;
|
|
border: none;
|
|
}
|
|
|
|
.stepItem.done .stepNum::after {
|
|
content: '';
|
|
display: flex;
|
|
width: 12px;
|
|
height: 12px;
|
|
background: center no-repeat url(../assets/check.svg);
|
|
background-size: 12px;
|
|
}
|
|
|
|
.stepItem.done .stepName {
|
|
color: #667085;
|
|
}
|