Stepper: number element box-shadow defect
parent
9c6b66d4e6
commit
1a06013a05
|
@ -60,6 +60,7 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
position: relative;
|
||||||
color: ${dt('stepper.marker.color')};
|
color: ${dt('stepper.marker.color')};
|
||||||
border: 1px solid ${dt('stepper.marker.border.color')};
|
border: 1px solid ${dt('stepper.marker.border.color')};
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
|
@ -69,10 +70,18 @@ export default {
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
font-size: 1.143rem;
|
font-size: 1.143rem;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
box-shadow: 0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12);
|
|
||||||
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}, border-color ${dt('transition.duration')}, box-shadow ${dt('transition.duration')}, outline-color ${dt('transition.duration')};
|
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}, border-color ${dt('transition.duration')}, box-shadow ${dt('transition.duration')}, outline-color ${dt('transition.duration')};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.p-stepper-number::after {
|
||||||
|
content: " ";
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: 50%;
|
||||||
|
box-shadow: 0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12);
|
||||||
|
}
|
||||||
|
|
||||||
.p-stepper-header.p-highlight .p-stepper-action {
|
.p-stepper-header.p-highlight .p-stepper-action {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
@ -156,6 +165,6 @@ export default {
|
||||||
|
|
||||||
.p-stepper-vertical .p-stepper-panel:last-of-type .p-stepper-content {
|
.p-stepper-vertical .p-stepper-panel:last-of-type .p-stepper-content {
|
||||||
padding-left: 3rem;
|
padding-left: 3rem;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue