jh-admin/app/component/view/text/css/design.css

698 lines
13 KiB
CSS

@CHARSET "UTF-8";
/*标题组件*/
.component-title h2 {
margin: 0;
font-size: 16px;
overflow: hidden;
text-overflow: ellipsis;
}
.component-title p {
font-size: 12px;
color: #8c8c8c;
padding: 5px 0 0;
overflow: hidden;
text-overflow: ellipsis;
}
.component-title .style-list-box-text {
display: none;
}
.style-list-con-text {
display: flex;
flex-wrap: wrap;
}
.style-list-con-text .style-li-text {
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
width: 280px;
height: 100px;
margin-right: 12px;
margin-top: 15px;
cursor: pointer;
border: 1px solid #ededed;
background: #f7f8fa;
}
.style-list-con-text .style-li-text img {
max-width: 280px;
max-height: 220px;
}
.style-list-con-text .style-li-text:nth-child(1), .style-list-con-text .style-li-text:nth-child(2), .style-list-con-text .style-li-text:nth-child(3) {
margin-top: 0;
}
.style-list-con-text .style-li-text:nth-child(3n) {
margin-right: 0;
}
.layui-layer-page .layui-layer-content {
overflow: auto !important;
}
.component-title .text-title-img {
text-align: center;
}
/* 文本标题 */
.component-title .text-title {
text-align: center;
position: relative;
padding: 5px 0;
}
.component-title .text-title .text-title-box {
position: relative;
}
.component-title .text-style-1 .text-title-box {
display: inline-block;
}
.component-title .text-title .line-left, .component-title .text-title .line-right {
position: absolute;
display: inline-block;
width: 30px;
height: 1px;
top: 50%;
}
.component-title .text-style-1 .line-left {
left: 0;
margin-left: -30px;
background-color: #dde0e7;
}
.component-title .text-style-1 .line-right {
right: 0;
margin-right: -30px;
background-color: #dde0e7;
}
/* 图二 */
.text-title-style-2 {
width: 100%;
height: 6px;
margin-top: 3px;
position: relative;
}
.component-title .text-title .inner-line {
display: inline-block;
width: 100%;
height: 1px;
vertical-align: top;
}
.component-title .text-style-2 .line-triangle {
background: transparent !important;
position: absolute;
display: inline-block;
border: 6px solid #000;
border-top-color: transparent !important;
border-left-color: transparent !important;
left: 50%;
bottom: 0;
margin-left: -6px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
/* 图三 */
.text-title-style-3 {
width: 100%;
height: 1px;
margin-top: 5px;
position: relative;
}
.component-title .line-short {
width: 162px;
height: 3px;
background: #000;
position: absolute;
display: inline-block;
bottom: 0;
left: 50%;
margin-left: -81px;
}
/* 图四 */
.component-title .text-style-4 .text-title-line {
height: 5px;
position: relative;
text-align: center;
margin-top: 5px;
}
.component-title .text-style-4 .line-left {
display: inline-block;
position: absolute;
top: 4px;
left: 0;
width: calc((100% - 22px) / 2);
height: 1px;
}
.component-title .text-style-4 .line-center {
width: 6px;
height: 6px;
border: 1px solid #000;
display: inline-block;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
top: 0;
left: 50%;
margin-left: -3px;
}
.component-title .text-style-4 .line-right {
display: inline-block;
position: absolute;
top: 4px;
right: 0;
width: calc((100% - 22px) / 2);
height: 1px;
}
/* 图五 */
.component-title .text-style-5 .text-title-con {
display: inline-block;
padding: 5px 10px;
border: 1px solid;
}
.text-title-border {
position: absolute;
top: -5px;
bottom: -5px;
left: -5px;
right: -5px;
border: 1px solid;
}
.component-title .text-style-5 .text-title-block {
display: inline-block;
padding: 5px;
border: 1px solid;
position: relative;
}
.component-title .text-style-5 .line-left {
height: 5px;
position: absolute;
width: 40px;
top: 50%;
margin-top: -2px;
left: 0;
margin-left: -30px;
}
.component-title .text-style-5 .line-right {
height: 5px;
position: absolute;
width: 40px;
top: 50%;
margin-top: -2px;
right: 0;
margin-right: -30px;
}
/* 图六 */
.component-title .text-title .text-title-outer {
display: inline-block;
position: relative;
}
.component-title .text-title .text-title-outer .text-title-con {
display: inline-block;
padding: 3px 25px;
border: 1px solid;
position: relative;
z-index: 2;
}
.component-title .text-title .text-title-outer .text-title-con-2 {
position: absolute;
display: inline-block;
top: 5px;
right: -5px;
bottom: -5px;
left: 5px;
border: 1px solid;
z-index: 0;
}
/* 图八 */
.component-title .text-style-8 .text-title-con {
margin-left: 10px;
}
.component-title .text-style-8 .line-left {
position: absolute;
display: inline-block;
top: 50%;
transform: translateY(-50%);
left: 0;
width: 2px;
}
/* 图九 */
.component-title .text-style-9 .text-title-box {
position: relative;
}
.component-title .text-style-9 .text-title-box span {
padding: 0 8px;
}
.component-title .text-style-9 .text-title-box .left {
position: absolute;
left: 0;
width: 66px;
height: 20px;
top: 0;
}
.component-title .text-style-9 .text-title-box .more {
font-size: 12px;
width: 66px;
text-align: right;
position: absolute;
top: 2px;
right: 0;
}
.component-title .text-style-9 .text-title-box .center {
width: calc(100% - 132px);
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
}
.component-title .text-style-9 .text-title-box .center div {
width: 20px;
text-align: center;
flex-shrink: 0;
}
.component-title .text-style-9 .text-title-box .center img {
max-width: 100%;
}
.component-title .text-style-9 .text-title-box .center span {
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.component-title .text-style-9 .text-title-box i {
font-size: 14px;
}
.component-title .text-style-9 .text-subTitle-box p {
/*letter-spacing: 7px;*/
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
/* 图十 */
.component-title .text-style-10 .text-title-box {
position: relative;
}
.component-title .text-style-10 .text-title-box span {
padding: 0 8px;
}
.component-title .text-style-10 .text-title-box .left {
position: absolute;
left: 0;
width: 66px;
height: 20px;
top: 0;
}
.component-title .text-style-10 .text-title-box .more {
font-size: 12px;
width: 66px;
text-align: right;
position: absolute;
top: 2px;
right: 0;
}
.component-title .text-style-10 .text-title-box .center {
width: calc(100% - 132px);
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.component-title .text-style-10 .text-title-box .center div {
width: 20px;
text-align: center;
flex-shrink: 0;
}
.component-title .text-style-10 .text-title-box .center img {
max-width: 100%;
}
.component-title .text-style-10 .text-title-box .center span {
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
z-index: 5;
}
.component-title .text-style-10 .text-title-box .center > img {
width: 99px;
position: absolute;
bottom: 0;
left: 50%;
margin-left: -50px;
z-index: 0;
}
.component-title .text-style-10 .text-title-box i {
font-size: 14px;
}
.component-title .text-style-10 .text-subTitle-box p {
letter-spacing: 7px;
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
/* 图十一 */
.component-title .text-style-11 {
text-align: unset;
}
.component-title .text-style-11 .text-title-box {
position: relative;
margin: 5px 0;
padding-left: 17px;
}
.component-title .text-style-11 .text-title-box .left {
width: calc(100% - 66px);
text-align: left;
}
.component-title .text-style-11 .text-title-box .more {
font-size: 12px;
width: 68px;
text-align: right;
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 10px;
}
.component-title .text-style-11 .text-title-box i {
font-size: 14px;
}
.component-title .text-style-11 .text-title-box .text-title-con {
display: inline-block;
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
position: relative;
z-index: 5;
}
.component-title .text-style-11 .text-subTitle-box {
position: relative;
z-index: 5;
}
.component-title .text-style-11 .text-subTitle-box p {
letter-spacing: 7px;
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.component-title .text-style-11 .left-img {
width: 30.5px;
position: absolute;
bottom: -13px;
left: 8px;
z-index: 0;
}
.component-title .text-style-11 .right-img {
width: 17.5px;
position: absolute;
top: -7px;
left: 86px;
z-index: 0;
}
/* 图十二 */
.component-title .text-style-12 .text-title-box {
display: flex;
align-items: center;
padding: 10px;
}
.component-title .text-style-12 .text-title-box .more {
display: flex;
align-items: center;
margin-left: auto;
}
.component-title .text-style-12 .text-title-box .title {
text-align: left;
max-width: 100px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.component-title .text-style-12 .text-title-box .sub-title {
margin-left: 8px;
text-align: left;
max-width: 150px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.component-title .text-style-12 .text-title-box .more > span {
max-width: 100px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
font-size: 12px;
margin-right: 4px;
}
.component-title .text-style-12 .text-title-box .more > i{
font-size: 12px;
}
/* 图十三 */
.component-title .text-style-13 .text-title-box {
display: flex;
align-items: center;
justify-content: center;
}
.component-title .text-style-13 .text-title-box .right-img {
transform: rotateY(180deg);
}
.component-title .text-style-13 .text-title-box img {
max-height: 25px;
max-width: 38px;
}
.component-title .text-style-13 .text-title-box .text-title {
max-width: 210px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
margin: 0 8px;
}
/* 图十四 */
.component-title .text-title.text-style-14 {
display: flex;
justify-content: space-between;
text-align: initial;
align-items: center;
padding: 0 10px;
}
.component-title .text-title.text-style-14 .title-wrap .text {
font-size: 0;
display: inline-block;
}
.component-title .text-title.text-style-14 .title-wrap .zone {
}
.component-title .text-title.text-style-14 .title-wrap .iconfont {
font-size: 12px;
}
.component-title .text-title.text-style-14 .title-wrap .iconfont:nth-of-type(1) {
margin-left: 5px;
}
.component-title .text-title.text-style-14 .title-wrap .iconfont:nth-of-type(2) {
opacity: 0.6;
}
.component-title .text-title.text-style-14 .title-wrap .iconfont:nth-of-type(3) {
opacity: 0.4;
}
.component-title .text-title.text-style-14 .title-wrap .sub-title {
opacity: 0.6;
margin-top: 5px;
}
.component-title .text-title.text-style-14 .more {
font-size: 0;
}
.component-title .text-title.text-style-14 .more span {
font-size: 14px;
}
/* 图十五 */
.component-title .text-title.text-style-15 {
}
.component-title .text-title.text-style-15 .title-wrap {
display: flex;
justify-content: center;
align-items: center;
}
.component-title .text-title.text-style-15 .ornament {
display: flex;
align-items: flex-end;
}
.component-title .text-title.text-style-15 .ornament .line {
border-left: 4px solid;
transform: rotate(40deg);
border-radius: 20px;
height: 14px;
display: block;
margin-right: 6px;
}
.component-title .text-title.text-style-15 .ornament .line:nth-of-type(1) {
}
.component-title .text-title.text-style-15 .ornament .line:nth-of-type(2) {
height: 20px;
margin-right: 5px;
position: relative;
top: 2px;
}
.component-title .text-title.text-style-15 .ornament .my {
transform: rotate(40deg);
line-height: 0;
position: relative;
top: 2px;
}
.component-title .text-title.text-style-15 .ornament .my .yuan {
font-size: 50px;
border-radius: 50%;
width: 4px;
height: 4px;
display: block;
}
.component-title .text-title.text-style-15 .ornament .my .vertical {
border-left: 4px solid;
height: 10px;
margin-top: 2px;
display: inline-block;
border-radius: 20px;
}
.component-title .text-title.text-style-15 .sub-title {
opacity: 0.6;
margin-top: 2px;
}
/* 图十六 */
.component-title .text-style-16 .text-title-box {
display: flex;
align-items: center;
padding: 10px;
}
.component-title .text-style-16 .text-title-box .more {
display: flex;
align-items: center;
margin-left: auto;
}
.component-title .text-style-16 .text-title-box .title {
text-align: left;
max-width: 100px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.component-title .text-style-16 .text-title-box .sub-title {
margin-left: 10px;
text-align: left;
max-width: 150px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
border-radius: 17px;
background-image: radial-gradient(transparent 60%, #fff);
height: 25px;
display: flex;
align-items: center;
padding: 0 10px;
position: relative;
}
.component-title .text-style-16 .text-title-box .sub-title > i {
padding: 6px;
background-image: radial-gradient(transparent 30%, #fff);
border-radius: 50%;
margin-left: -10px;
margin-right: 3px;
font-size: 14px;
}
.component-title .text-style-16 .text-title-box .more > span {
max-width: 100px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}