choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
51 lines (41 loc) • 872 B
text/less
@import '../../../../lib/style/themes/default';
@import '../../../../lib/style/mixins/index';
@picture-viewer-prefix-cls: ~'@{c7n-pro-prefix}-picture-viewer';
.@{picture-viewer-prefix-cls} {
display: flex;
align-items: center;
justify-content: space-between;
height: 100%;
&-header {
display: flex;
align-items: center;
justify-content: space-between;
color: @text-color-dark;
}
&-modal {
.@{c7n-pro-prefix}-modal {
&-header {
background-color: #000;
}
&-title,
&-header-button {
color: inherit;
}
&-content {
background-color: rgba(0, 0, 0, .75);
}
}
}
&-btn {
color: @text-color-dark ;
}
&-picture {
flex: 1;
height: 100%;
margin: 0 auto;
.@{c7n-pro-prefix}-picture {
width: 100%;
height: 100%;
}
}
}