UNPKG

black-horse-cli

Version:

142 lines (140 loc) 2.85 kB
.hik-card-container { margin: 10px; background: #ffffff; max-width: 560px; box-shadow: 0 0 8px 0 rgba(152, 174, 210, 0.5); } .hik-card-container:hover { box-shadow: 0 0 14px 0 rgba(40, 124, 255, 0.6) !important; } .hik-card-head { padding: 0 12px; min-height: 48px; margin-bottom: -1px; color: rgba(0, 0, 0, 0.85); font-weight: 500; background: transparent; border-bottom: 1px solid #e8e8e8; border-radius: 2px 2px 0 0; display: flex; align-items: center; } .hik-card-head-body { flex: 1; display: flex; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .hik-card-head-body-title { font-size: 18px; font-weight: 700; color: #555; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .hik-card-head-body-model { display: inline-block; background: #2ad9b4; border-radius: 6px; line-height: 30px; padding: 0 12px; color: #fff; margin-left: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .hik-card-head-extra { line-height: 0; display: inline-block; float: right; margin-left: 10px; } .hik-card-head-extra:hover { cursor: pointer; } .hik-card-body { padding: 10px 24px; display: flex; } .hik-card-body-dec { width: 50%; } .hik-card-body-dec::-webkit-scrollbar { width: 4px; } .hik-card-body-dec::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 5px; box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); background: #c7c9cc; } .hik-card-body-dec::-webkit-scrollbar-track { /*滚动条里面轨道*/ box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); border-radius: 5px; background: transparent; } .hik-card-body-dec-item { padding-bottom: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; } .hik-card-body-dec-item-title { color: #00b2ff; } .hik-card-body-dec-item-value { color: rgba(0, 0, 0, 0.65); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .hik-card-body-img { width: 50%; position: relative; border-left: 1px solid #e8e8e8; } .hik-card-body-img::after { content: ''; position: absolute; z-index: 2; right: 0; width: 95%; height: 100%; background: #fff url(../../img/noPicture.80ae094a.png) no-repeat 50% 50%; background-size: cover; } .hik-card-body-cover-img { z-index: 3; position: absolute; width: 95%; height: 100%; right: 0; background-size: cover; } .equipment-length { overflow: visible; padding: 0 12px; border: 1px solid #418bff; color: #418bff; border-radius: 3px; } .equipment-length:hover { cursor: pointer; } .equ-popover .ant-popover-inner-content { padding: 0; } .equ-popover .ant-popover-title { background-color: #f5f4f4; } .equipment-list { margin: 0; padding: 2px 16px; border-bottom: 1px solid #e8e8e8; }