ten-design-vue
Version:
ten-vue
155 lines (154 loc) • 2.7 kB
CSS
/* dependencies icon */
/**
* 文字部分
* size 大小,line 行高, color 颜色
*/
/* button */
/* input */
/* transfer */
/* alert */
/* menu */
/* message */
/* modal */
/* badge */
/* tag */
/* progress */
/* popup */
/* tooltip */
/* loading */
/* tabs */
/* check */
/* mention */
/* popup */
/* steps */
/* tabs */
/* modal */
/* form */
/* table */
/* pagination */
/* upload */
/* collapse */
/* anchor */
/* list */
.ten-alert {
min-width: 630px;
display: block;
padding: 8px;
font-size: 14px;
line-height: 20px;
z-index: 999;
text-align: center;
color: #FFFFFF;
outline: none;
border: none;
position: relative;
border-radius: 0px;
}
.ten-alert .ten-icon {
vertical-align: middle;
margin-right: 12px;
font-size: 18px;
position: relative;
bottom: 1px;
}
.ten-alert .ten-alert__closeable__icon,
.ten-alert .ten-alert__closeable__content {
font-size: 14px;
float: right;
margin-top: 4px;
margin-right: 4px;
cursor: pointer;
z-index: 10;
}
.ten-alert .ten-alert__closeable__content {
font-size: 14px;
}
.ten-alert .ten-alert__closeable__content .ten-icon {
margin-right: 0;
}
.ten-alert .ten-alert__description {
opacity: 0.8;
font-size: 12px;
color: #FFFFFF;
line-height: 14px;
margin-top: 5px;
padding-left: 32px;
}
.ten-alert .ten-alert__message {
display: inline-block;
}
.ten-alert .ten-alert__message--noicon {
display: inline-block;
line-height: 24px;
}
.ten-alert .ten-alert__description--noicon {
padding-left: 0;
}
.ten-alert--info {
background: #c7ddf3;
color: #102C53;
}
.ten-alert--info .ten-icon {
color: #344f73;
}
.ten-alert--info .closeBtn {
color: rgba(16, 44, 83, 0.8);
}
.ten-alert--success {
background: #3ecc36;
}
.ten-alert--success .closeBtn {
opacity: 0.72;
}
.ten-alert--error {
background: #ff3e00;
}
.ten-alert--error .closeBtn {
opacity: 0.72;
}
.ten-alert--warn {
background: #FFF0CE;
color: #ffa700;
}
.ten-alert--warn .ten-icon {
color: #ffa700;
}
.ten-alert--warn .closeBtn {
color: #333;
opacity: 0.72;
}
.ten-alert--warn .ten-alert__description {
opacity: 0.6;
color: #010101;
}
.ten-alert--disabled {
background: #D8D8D8;
color: #102C53;
}
.ten-alert--disabled .ten-icon {
color: #6b6b6b;
}
.ten-alert--disabled .closeBtn {
color: #333;
opacity: 0.72;
}
.ten-alert--disabled .ten-alert__description {
opacity: 0.6;
color: #010101;
}
.ten-alert--hasclose {
text-align: left;
}
.ten-alert--noicon .ten-alert__message {
display: inline-block;
line-height: 24px;
}
.ten-alert--noicon .ten-alert__description {
padding-left: 0;
}
.ten-alert--fade-leave-active {
transition: opacity 0.3s;
}
.ten-alert--fade-leave-to {
opacity: 0;
}