ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
127 lines (126 loc) • 2.63 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
.ant-hash-code {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 14px;
line-height: 1.5715;
list-style: none;
cursor: pointer;
}
.ant-hash-code-header-copy {
margin-left: 8px;
cursor: pointer;
opacity: 0.45;
}
.ant-hash-code-header {
display: flex;
justify-content: left;
width: 100%;
height: 22px;
padding-bottom: 8px;
}
.ant-hash-code-header .ant-hash-code-header-title {
font-size: 14px;
line-height: 1.5715;
text-align: center;
opacity: 0.45;
}
.ant-hash-code-header .ant-hash-code-header-logo {
display: flex;
flex: 1;
justify-content: right;
}
.ant-hash-code-double {
width: 172px;
}
.ant-hash-code-double.ant-hash-code-primary {
width: 220px;
}
.ant-hash-code-single {
display: flex;
flex-direction: row-reverse;
width: 236px;
}
.ant-hash-code-single.ant-hash-code-primary {
width: 284px;
}
.ant-hash-code-single .ant-hash-code-header-copy {
margin-top: 8px;
}
.ant-hash-code-strip {
width: 350px;
}
.ant-hash-code-strip.ant-hash-code-primary {
width: 398px;
}
.ant-hash-code-rect {
display: flex;
flex-direction: row-reverse;
width: 196px;
}
.ant-hash-code-rect.ant-hash-code-primary {
width: 244px;
}
.ant-hash-code-primary {
padding: 24px;
background-color: #1890ff;
border-radius: 24px;
}
.ant-hash-code-primary .ant-hash-code-header-copy {
opacity: 1;
}
.ant-hash-code-primary .ant-hash-code-header-title,
.ant-hash-code-primary .ant-hash-code-header-copy,
.ant-hash-code-primary .ant-hash-code-header-logo {
color: rgba(255, 255, 255, 0.85);
}
.ant-hash-code-contant {
width: 100%;
height: 100%;
}
.ant-hash-code-code-value {
display: flex;
flex-wrap: wrap;
gap: 0 10px;
justify-content: space-between;
height: 35px;
overflow: hidden;
}
.ant-hash-code-code-value-block {
height: 16px;
font-size: 14px;
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
}
.ant-hash-code-value-primary .ant-hash-code-code-value-block {
color: #fff;
}
.ant-hash-code-texaure-double {
width: 175px;
height: 36px;
}
.ant-hash-code-texaure {
position: absolute;
margin-top: -35px;
overflow: hidden;
}
.ant-hash-code-texaure-single {
width: 210px;
height: 28px;
margin-top: -21px;
}
.ant-hash-code-texaure-strip {
width: 350px;
height: 36px;
}
.ant-hash-code-texaure-rect {
width: 175px;
height: 72px;
margin-top: -71px;
}