mrr.sj.front/unpackage/dist/dev/mp-weixin/components/highlight-textarea/highlight-textarea.wxss

85 lines
1.8 KiB
Plaintext

.highlight-box {
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
position: relative;
display: flex;
width: 100%;
background: #ffffff;
border-radius: 2px;
overflow: hidden;
}
.highlight-box .textarea-outer,
.highlight-box .input-outer {
box-sizing: border-box;
width: 100%;
position: absolute;
top: 0;
left: 0;
right: 0;
border-top: 0;
pointer-events: none;
cursor: text;
color: #333333;
font-weight: 400;
font-size: 28rpx;
line-height: 40rpx;
}
.highlight-box .textarea-outer ._span,
.highlight-box .input-outer ._span {
color: red;
}
.highlight-box .textarea-outer:hover,
.highlight-box .input-outer:hover {
border-color: #4C84FF;
}
.highlight-box .textarea-outer {
overflow-y: auto;
word-break: break-all;
}
.highlight-box .textarea-outer .outer-inner {
width: 100%;
box-sizing: border-box;
}
.highlight-box textarea {
width: 100%;
resize: none;
}
.highlight-box .input-outer,
.highlight-box input {
width: 100%;
height: 32px;
line-height: 32px;
}
.highlight-box .input-outer {
bottom: 0;
padding: 0 8px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.highlight-box textarea,
.highlight-box input {
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
text-shadow: 0 0 0 rgba(0, 0, 0, 0);
-webkit-text-fill-color: transparent;
font-weight: 400;
font-size: 28rpx;
line-height: 40rpx;
min-height: 300rpx;
background: transparent;
border-radius: 2px;
padding: 0px;
box-sizing: border-box;
}
.highlight-box textarea .textarea-placeholder,
.highlight-box input .textarea-placeholder {
-webkit-text-fill-color: #B8B8B8;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 28rpx;
color: #B8B8B8;
line-height: 40rpx;
text-align: left;
font-style: normal;
}