muf-ui
Version:
MUF-UI,基于Vue的Web多样化组件库
227 lines (159 loc) • 3.47 kB
CSS
/* 基础样式 */
.muf-text {
width: auto;
height: auto;
display: inline-block;
font-size: 14px;
color: rgb(50, 50, 50);
line-height: 1;
font-weight: inherit;
}
/* mold 样式 */
/* 默认样式 */
.muf-textMold-default {
background-color: rgb(230, 230, 230);
}
/* 文本样式 */
.muf-textMold-text {
font-size: inherit;
background-color: none;
}
/* 边框样式 */
.muf-textMold-border {
border: 1px solid gray;
}
/* 高斯模糊样式 */
.muf-textMold-gaussian {
background-color: rgba(255, 255, 255, 0.38);
backdrop-filter: blur(5.5px);
-webkit-backdrop-filter: blur(5.5px);
-moz-backdrop-filter: blur(5.5px);
}
/* 文本域大小 */
.med {
font-size: 14px;
padding: 5px 10px 5px 10px;
}
.min {
font-size: 12px;
padding: 2px 5px 2px 5px;
}
.max {
font-size: 16px;
padding: 10px 20px 10px 20px;
letter-spacing: 1px;
}
/* 内部p */
.muf-text-inner {
display: inline-block;
padding: 0px 0px;
margin: 0px 0px 0px 0px;
text-decoration: inherit;
}
/* 内部a */
.muf-anchor-text-inner {
display: inline-block;
padding: 0px 0px;
margin: 0px 0px 0px 0px;
text-decoration: inherit;
}
/* 圆角设置 */
.tiny {
border-radius: 5px 5px;
}
.half {
border-radius: 25px 25px;
}
/* 外部链接anchor */
.muf-text-anchor {
display: inline-block;
text-decoration: none;
color: inherit;
transition: all 0.3s;
}
.muf-text-isAnchor {
color: #409eff;
}
.muf-text-anchor:hover {
cursor: pointer;
color: rgb(216, 49, 49);
}
.isUnderline:hover {
text-decoration: underline;
}
/* 前缀图标 */
.muf-anthor-prefix-icon {
font-size: inherit;
}
.muf-text-prefix-icon {
margin-right: 6px;
font-size: inherit;
}
/* 后缀图标 */
.muf-text-suffix-icon {
margin-left: 6px;
font-size: inherit;
}
.muf-anthor-suffix-icon {
font-size: inherit;
}
/* 中号标题框 */
.muf-headerTextTitle-med {
font-size: 28px;
font-weight: 800;
margin: 0px 0px 10px 0px;
}
.muf-headerTextSubhead-med {
font-size: 16px;
color: rgb(89, 89, 89);
margin: 0px 0px 0px 0px;
line-height: 1.8 ;
}
/* 大号标题框 */
.muf-headerTextTitle-max {
font-size: 35px;
font-weight: 800;
margin: 0px 0px 15px 0px;
}
.muf-headerTextSubhead-max {
font-size: 20px;
color: rgb(89, 89, 89);
margin: 0px 0px 0px 0px;
line-height: 1.8;
}
/* 小号标题框 */
.muf-headerTextTitle-min {
font-size: 20px;
font-weight: 800;
margin: 0px 0px 8px 0px;
}
.muf-headerTextSubhead-min {
font-size: 14px;
color: rgb(89, 89, 89);
margin: 0px 0px 0px 0px;
}
/* 当出现logo标题文本域时 */
/* 根元素样式基础 */
.is-header-text {
width: 100%;
height: 100%;
box-sizing: border-box;
overflow: hidden;
}
.muf-text-header {
overflow: hidden;
width: 100%;
height: 100%;
display: -webkit-flex;
display: flex;
}
/* logo的样式 */
.muf-text-header-img {
display: inline-flex;
display: -webkit-inline-flex;
margin-right: 30px;
}
/* 出现Logo时,文字的样式 */
.muf-text-isLogo {
display: inline-block;
}