2019-08-01 13:46:03 +08:00
|
|
|
@import './mixins/mixins.scss';
|
2019-09-17 19:21:07 +08:00
|
|
|
@import './themes/vars.scss';
|
2019-08-01 13:46:03 +08:00
|
|
|
|
2019-09-28 18:50:56 +08:00
|
|
|
@include themes-mixin {
|
|
|
|
@include b(confirm) {
|
|
|
|
@include once {
|
2019-12-06 17:44:58 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
2019-09-28 18:50:56 +08:00
|
|
|
max-width: 446px;
|
|
|
|
margin: auto;
|
|
|
|
border-radius: 9px;
|
|
|
|
padding: 28px;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
padding-top: 16px;
|
|
|
|
@include e(content) {
|
|
|
|
font-size: 16px;
|
|
|
|
padding-right: 9px;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 19px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
@include e(footer) {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include b(confirm-title) {
|
|
|
|
@include once {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 18px;
|
2019-10-10 22:38:29 +08:00
|
|
|
font-weight: 700;
|
2019-09-28 18:50:56 +08:00
|
|
|
@include b(confirm-title-icon) {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
@include b(confirm-title-content) {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include b(confirm-title-icon) {
|
|
|
|
@include m(confirm-type) {
|
2019-10-24 18:04:31 +08:00
|
|
|
path {
|
|
|
|
fill: $--warning-6;
|
|
|
|
}
|
2019-09-28 18:50:56 +08:00
|
|
|
}
|
|
|
|
@include m(success-type) {
|
2019-10-24 18:04:31 +08:00
|
|
|
path {
|
|
|
|
fill: $--success-6;
|
|
|
|
}
|
2019-09-28 18:50:56 +08:00
|
|
|
}
|
|
|
|
@include m(error-type) {
|
2019-10-24 18:04:31 +08:00
|
|
|
path {
|
|
|
|
fill: $--error-6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include e(close-mark) {
|
|
|
|
path {
|
|
|
|
fill: $--n-secondary-text-color;
|
2019-09-28 18:50:56 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
color: $--confirm-title-color;
|
|
|
|
}
|
|
|
|
background: $--confirm-background-color;
|
|
|
|
color: $--confirm-color;
|
2019-08-01 13:46:03 +08:00
|
|
|
}
|
2019-09-28 18:50:56 +08:00
|
|
|
}
|