@ohu-mobile/core
Version:
53 lines • 1.04 kB
CSS
.ohu-toast {
box-sizing: border-box;
background: rgba(0, 0, 0, 0.639);
font-size: 32px;
font-weight: 400;
color: #fff;
padding: 18px 24px;
border-radius: 8px;
max-width: 72%;
display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items: center;
}
.ohu-toast__text {
font-size: 28px;
line-height: 1.375em;
word-wrap: break-word;
white-space: pre-wrap;
word-break: break-word;
}
.ohu-toast__icon ~ .ohu-toast__text {
margin-left: 16px;
}
.ohu-toast .ohu-loading {
font-size: 32px;
flex: 0 0 auto;
}
.ohu-toast .ohu-icon {
font-size: 1.4em;
flex: 0 0 auto;
}
.ohu-toast.is-vertical {
width: 240px;
min-height: 240px;
flex-wrap: wrap;
padding-top: 50px;
overflow: hidden;
align-items: flex-start;
align-content: flex-start;
}
.ohu-toast.is-vertical .ohu-icon {
font-size: 2.8em;
}
.ohu-toast.is-vertical .ohu-toast__icon {
width: 100%;
display: flex;
flex-flow: row nowrap;
justify-content: center;
}
.ohu-toast.is-vertical .ohu-toast__text {
margin: 10px 0 0 0;
}