UNPKG

iep-ui

Version:

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

292 lines (272 loc) 5.98 kB
@import '../../style/themes/index'; @import '../../style/mixins/index'; .iep-mutiple-chart { height: 100%; width: 100%; display: flex; justify-content: center; align-content: center; flex-direction: column; gap: 20px; .ant-radio-wrapper { color: var(--mdTextColor); } .line-bar-buttons { display: flex; justify-content: flex-end; } &-core { flex: 1; height: 100%; &-box { flex: 1; width: 100%; display: flex; padding-right: var(--px); box-sizing: border-box; gap: 0 var(--px); justify-content: space-between; position: relative; .params6-name-tooltip { font-size: 12px; position: absolute; left: 5%; top: calc(15% - 10px); transform: translate(-50%, 0); padding: 5px 10px; color: var(--mdTextColor); border-radius: 4px; background-color: var(--mdBgColor); z-index: 10; cursor: pointer; & > div:hover { color: var(--hoverTextColor); } } .params6-check-list { display: flex; gap: 10px; position: absolute; left: 5%; top: 8%; color: var(--mdTextColor); z-index: 10; & > div { cursor: pointer; position: relative; &:hover { color: var(--hoverTextColor); } &.current { color: var(--hoverTextColor); display: flex; flex-direction: column; align-items: center; &::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background-color: var(--hoverTextColor); } } } } .paramsOther-check-list { display: flex; gap: 10px; position: absolute; left: 5%; top: 52%; color: var(--mdTextColor); z-index: 10; & > div { cursor: pointer; position: relative; &:hover { color: var(--hoverTextColor); } &.current { color: var(--hoverTextColor); display: flex; flex-direction: column; align-items: center; &::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background-color: var(--hoverTextColor); } } } } } &-box-expand { width: 100%; height: 100%; display: grid; gap: 20px; & > div { overflow: hidden; } } } &-axis { width: 50px; height: var(--height); display: flex; flex-direction: column; overflow: hidden; &-header { width: 100%; height: var(--height); display: flex; justify-content: center; align-items: flex-start; line-height: 1; span { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size: 12px; } } &-footer { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; align-items: center; &-item { padding: 0 6px; box-sizing: border-box; height: var(--height); width: 100%; img { width: 12px; object-fit: cover; } span { text-overflow: ellipsis; overflow: hidden; width: 100%; display: inline-block; font-size: 12px; white-space: nowrap; } } } } .ant-empty { display: flex; justify-content: center; align-content: center; flex-direction: column; width: 100%; } &-empty { display: flex; justify-content: center; align-content: center; width: 100%; .ant-empty { display: flex; justify-content: center; align-content: center; flex-direction: column; } } } .tooltip-light { background: rgba(255, 255, 255, 0.9) !important; box-shadow: rgba(0, 0, 0, 0.2) 1px 2px 10px !important; color: #888 !important; border: none !important; div { color: rgba(0, 0, 0, 0.9); } } .tooltip-dark { box-shadow: rgba(0, 0, 0, 0.2) 1px 2px 10px !important; background: rgba(2, 2, 2, 0.8) !important; border: none !important; div { color: rgba(255, 255, 255, 0.9); } } .tooltips-header { margin-bottom: 10px; } .tooltip-multiple { min-width: 220px; display: flex; flex-direction: column; background: #fff; padding: 6px 10px; &-wrapper { padding: 0 !important; border-radius: @border-radius-base; overflow: hidden; } &-header { font-weight: 400; font-size: 14px; color: #999; margin-bottom: 16px; } &-footer { display: flex; flex-direction: column; gap: 6px 0; &-item { display: flex; justify-content: space-between; align-items: center; &-left { display: flex; justify-content: flex-start; align-items: center; span { &:first-child { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-color); } &:last-child { font-weight: 400; font-size: 14px; color: #333; margin-left: 10px; } } } &-right { font-weight: bold; font-size: 14px; color: #333; margin-left: 16px; img { width: 20px; object-fit: cover; } } } } } .fullScreen-modal { height: 100vh; padding: 0; .ant-modal-content { height: 100%; .ant-modal-body { height: 100%; .single-fullscreen-line { width: 100%; height: 100%; } } } }