automated_uniapp/uni_modules/cool-ui/static/css/confirm.scss

64 lines
970 B
SCSS
Raw Normal View History

2025-01-09 16:16:11 +08:00
.cl-confirm {
position: relative;
&__message {
word-break: break-all;
}
&__header {
display: flex;
align-items: center;
justify-content: center;
.cl-icon-toast-error,
.cl-icon-toast-success,
.cl-icon-toast-warning {
color: #fff;
height: 36rpx;
width: 36rpx;
display: flex;
align-items: center;
justify-content: center;
border-radius: 100%;
margin-right: 10rpx;
font-size: 24rpx;
line-height: 1;
}
.cl-icon-toast-error {
background-color: $cl-color-error;
}
.cl-icon-toast-success {
background-color: $cl-color-success;
}
.cl-icon-toast-warning {
background-color: $cl-color-warning;
}
}
&__title {
font-size: 32rpx;
font-weight: bold;
}
&__footer {
display: flex;
justify-content: center;
flex: 1;
margin: 0 -10rpx;
padding-bottom: 40rpx;
&-item {
position: relative;
flex: 1;
margin: 0 10rpx;
}
}
.cl-dialog__footer {
padding-bottom: 0 !important;
}
}