UNPKG

choerodon-ui

Version:

An enterprise-class UI design language and React-based implementation

44 lines (35 loc) 761 B
@import '../../../../lib/style/themes/default'; @import '../../../../lib/style/mixins/index'; @import "picture-viewer"; @picture-prefix-cls: ~'@{c7n-pro-prefix}-picture'; .@{picture-prefix-cls} { position: relative; display: inline-block; &-block { display: block; box-sizing: content-box; img { display: block; width: 100%; height: 100%; } } &-border { border: @border-width-base @border-style-base @border-color-base; } &-icon { position: absolute; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: rgba(0, 0, 0, 0.25); .@{iconfont-css-prefix} { font-size: .26rem; } } &-preview { cursor: pointer; } }