oak-general-business/es/components/common/weChatLoginQrCode/index.less

141 lines
3.0 KiB
Plaintext

.oak-loginQrCode {
display: flex;
flex-direction: column;
align-items: center;
iframe {
height: 280px !important;
}
&_dev {
// height: 280px;
border: 1px dashed var(--oak-color-primary);
padding: 10px;
margin-bottom: 12px;
&_header {
display: flex;
flex-direction: column;
align-items: center;
&_input {
border: none;
outline: none;
font-size: 48px;
font-weight: 500;
width: 200px;
text-align: center;
}
&_input:focus {
border: none;
box-shadow: none;
}
&_btn {
// margin-top: 16px;
width: 80px;
height: 80px;
border-radius: 40px;
background-color: transparent;
color: #000000d9;
border: 1px solid #d9d9d9;
font-size: 14px;
line-height: 24px;
box-shadow: 0 2px #00000004;
cursor: pointer;
transition: .3s;
}
&_btn:hover {
color: var(--oak-color-primary);
border-color: currentColor;
}
&_btn::after {
/*其他样式*/
opacity: 0;
box-shadow: 0 0 0 6px var(--oak-color-primary);
transition: .3s;
}
/*点击*/
&_btn:active::after {
box-shadow: none;
opacity: 0.4;
transition: 0s;
/*取消过渡*/
}
}
&_bottom {
display: flex;
flex-direction: column;
margin-top: 16px;
&_title {
font-size: 13px;
line-height: 26px;
color: var(--oak-text-color-primary);
text-align: center;
margin-bottom: 8px;
}
&_desc {
font-size: 12px;
line-height: 20px;
color: var(--oak-text-color-secondary);
}
}
}
&_disable {
&_border {
height: 220px;
width: 220px;
// margin: 15px;
background-color: #f5f7fa;
color: rgba(0, 0, 0, .4);
font-size: 14px;
display: flex;
flex-direction: column;
justify-content: center;
// padding: 15px;
}
&_info {
padding: 7px 14px;
font-size: 13px;
color: #373737;
}
}
&_err {
// height: 280px;
border: 1px dashed var(--oak-color-primary);
padding: 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 280px;
&_text {
font-size: 28px;
}
}
}