drip-ui
Version:
Lightweight Mobile UI Components built on Vue
207 lines (204 loc) • 3.84 kB
CSS
@import './common/invalid.css';
@import './common/var.css';
.form {
width: 750px;
margin: 0 auto 10px;
padding: 0 40px;
box-sizing: border-box;
background: #fff;
&-title {
font-size: 36px;
color: #333;
font-weight: 500;
line-height: 58px;
padding-top: 50px;
position: relative;
background: #fff;
box-sizing: border-box;
}
.drip-button--normal {
min-width: 140px;
padding: 0 10px;
}
}
.cell {
min-height: 128px;
display: flex;
line-height: 128px;
box-sizing: border-box;
background: #fff;
position: relative;
align-items: inherit;
&-small {
min-height: 100px;
line-height: 100px;
&-label {
padding: 30px 0 ;
}
&-right {
min-height: 100px ;
}
}
&:after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
border-bottom: 1PX solid #f1f1f1;
transform-origin: 0 100%;
transform: scaleY(0.5);
}
label {
display: block;
width: 180px;
font-size: 30px;
color: #666;
line-height: 40px;
padding: 45px 0 40px;
font-weight: 500;
}
&-line:after {
content: none;
}
&-right{
width: 530px;
min-height: 120px;
border: none;
position: relative;
display: flex;
align-items: center;
&-textarea{
position: relative;
width: 100%;
min-height: 228px;
textarea{
width: 100%;
height: 100%;
transform: translateY(-2px);
padding: 0;
margin: 45px 0 0 0;
border: none;
font-size: 30px;
line-height: 42px;
resize: none;
outline: none;
&::placeholder{
color: #DADADA;
}
}
}
input {
width: 85%;
height: 64px;
line-height: 64px;
outline: none;
border: none;
font-size: 30px;
&::placeholder{
color: #DADADA;
}
}
}
&-tip {
position: absolute;
right: 15%;
top: -2px;
}
&-select {
position: absolute;
top: 0;
right: 0px;
border: none;
outline: none;
min-width: 15%;
display: flex;
align-items: center;
height: 100%;
text-align: right;
font-size: 30px;
}
&-letter {
&:first-letter {
margin-right: 60px;
}
&-three {
letter-spacing: 10px;
}
}
}
.cell-hight {
align-items: flex-start;
margin-top: 40px;
padding: 0 0 56px 0;
}
.counter {
margin-top: 8px;
padding-top: 4px;
display: flex;
align-items: flex-end;
height: 60px;
line-height: 60px;
text-align: center;
box-sizing: border-box;
font-size: 28px;
color: #848484;
position: relative;
&::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 200%;
height: 200%;
border: 1PX solid #DADADA;
border-radius: 60px;
transform: scale(.5);
transform-origin: 0 0;
pointer-events: none;
box-sizing: border-box;
}
&-icon {
width: 100px;
display: block;
}
&-num {
border-left: 1PX solid #DADADA;
border-right: 1PX solid #DADADA;
width: 122px;
display: block;
}
}
.form-desc{
display: inline-block;
margin:0 12px;
&-wrap{
width: 436px;
padding: 22px 20px 20px 20px;
box-sizing: border-box;
}
&-text{
line-height: 36px;
font-size: 24px;
text-align: left;
color: #848484;
word-break: break-word;
font-weight: 600;
&-desc{
line-height: 36px;
font-size: 24px;
text-align: left;
color: #848484;
word-break: break-word;
font-weight: normal;
& span {
line-height: 36px;
font-size: 24px;
text-align: left;
color: #848484;
word-break: break-word;
font-weight: normal;
}
}
}
}