ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
32 lines (31 loc) • 665 B
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
.ant-qrcode {
position: relative;
display: inline-block;
padding: 12px;
}
.ant-qrcode > canvas {
display: block;
}
.ant-qrcode-border {
border: 1px solid #f0f0f0;
border-radius: 2px;
}
.ant-qrcode-mask {
position: absolute;
top: 0;
right: 0;
z-index: 10;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
text-align: center;
background-color: rgba(255, 255, 255, 0.96);
}
.ant-qrcode-expired {
color: rgba(0, 0, 0, 0.85);
}