.app-message-root {
|
position: fixed;
|
top: 72px;
|
left: 50%;
|
z-index: 220;
|
display: grid;
|
gap: 10px;
|
transform: translateX(-50%);
|
pointer-events: none;
|
}
|
|
.app-message {
|
min-width: 190px;
|
max-width: 420px;
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
padding: 12px 18px;
|
border: 1px solid #edf1f6;
|
border-radius: 4px;
|
color: #24364f;
|
background: #fff;
|
box-shadow: 0 10px 28px rgba(16, 42, 78, 0.18);
|
font-size: 14px;
|
line-height: 20px;
|
pointer-events: auto;
|
animation: app-message-in 0.18s ease-out;
|
}
|
|
.app-message-icon {
|
width: 24px;
|
height: 24px;
|
flex: 0 0 24px;
|
display: inline-flex;
|
align-items: center;
|
justify-content: center;
|
border-radius: 50%;
|
color: #fff;
|
font-size: 15px;
|
font-weight: 700;
|
line-height: 1;
|
}
|
|
.app-message-success .app-message-icon {
|
background: #27c46b;
|
}
|
|
.app-message-error .app-message-icon {
|
background: #f05a5a;
|
}
|
|
.app-message-text {
|
word-break: break-word;
|
}
|
|
.app-confirm-layer {
|
position: fixed;
|
inset: 0;
|
z-index: 230;
|
display: grid;
|
place-items: center;
|
}
|
|
.app-confirm-mask {
|
position: absolute;
|
inset: 0;
|
background: rgba(24, 30, 38, 0.48);
|
}
|
|
.app-confirm-panel {
|
position: relative;
|
width: 360px;
|
min-height: 232px;
|
display: grid;
|
justify-items: center;
|
padding: 34px 36px 28px;
|
border-radius: 4px;
|
background: #fff;
|
box-shadow: 0 16px 42px rgba(13, 34, 64, 0.28);
|
text-align: center;
|
}
|
|
.app-confirm-icon {
|
width: 42px;
|
height: 42px;
|
display: inline-flex;
|
align-items: center;
|
justify-content: center;
|
border-radius: 50%;
|
color: #fff;
|
background: #f05a5a;
|
font-size: 28px;
|
line-height: 1;
|
}
|
|
.app-confirm-title {
|
margin: 18px 0 8px;
|
color: #1f2d3d;
|
font-size: 17px;
|
font-weight: 600;
|
}
|
|
.app-confirm-message {
|
margin: 0;
|
color: #8492a6;
|
font-size: 13px;
|
line-height: 20px;
|
}
|
|
.app-confirm-actions {
|
display: flex;
|
justify-content: center;
|
gap: 18px;
|
margin-top: 28px;
|
}
|
|
.app-confirm-button {
|
min-width: 74px;
|
height: 30px;
|
border-radius: 3px;
|
font-size: 13px;
|
cursor: pointer;
|
}
|
|
.app-confirm-cancel {
|
border: 1px solid #d8e2ee;
|
color: #52657a;
|
background: #fff;
|
}
|
|
.app-confirm-submit {
|
border: 1px solid #1f82ea;
|
color: #fff;
|
background: #1f82ea;
|
}
|
|
.app-confirm-submit:disabled {
|
cursor: not-allowed;
|
opacity: 0.72;
|
}
|
|
@keyframes app-message-in {
|
from {
|
opacity: 0;
|
transform: translateY(-8px);
|
}
|
|
to {
|
opacity: 1;
|
transform: translateY(0);
|
}
|
}
|