UNPKG

choerodon-ui

Version:

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

457 lines (456 loc) 12.2 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */ /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ .c7n-pro-board-hover-button .icon { font-size: 0.14rem; } .c7n-pro-board-card-wrapper { display: block; height: calc(100% - 85px); overflow-x: hidden; overflow-y: auto; } .c7n-pro-board-card-wrapper .c7n-list-selection:hover { background-color: #FFF; } .c7n-pro-board-card-wrapper .c7n-list-item:last-child { margin-bottom: 0 !important; padding: 0 !important; border-bottom: none !important; } .c7n-pro-board-card-wrapper .c7n-list-selected { background-color: #FFF; } .c7n-pro-board-card-wrapper .c7n-list-selection:not(.c7n-list-selected):hover { background-color: #FFF; } .c7n-pro-board-wrapper { display: -webkit-box !important; display: -ms-flexbox !important; display: flex !important; height: calc(100% - 85px) !important; margin-right: 0 !important; overflow-x: auto; } .c7n-pro-board-wrapper .c7n-list-selection:hover { background-color: #FFF; } .c7n-pro-board-wrapper .c7n-list-item:last-child { border-bottom: none; } .c7n-pro-board-board-modal-content { color: rgba(0, 0, 0, 0.45); font-size: 12px; } .c7n-pro-board-switch-board { width: 240px; padding: 8px; background: #FFF; border-radius: 2px; -webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.08); box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.08); } .c7n-pro-board-switch-board-search { margin-bottom: 4px; } .c7n-pro-board-switch-board-search i { color: rgba(0, 0, 0, 0.25); } .c7n-pro-board-switch-board-footer { margin-top: 4px; color: rgba(0, 0, 0, 0.45); font-size: 12px; border-top: 1px solid rgba(0, 0, 0, 0.06); } .c7n-pro-board-view-item { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 4px; -webkit-box-align: center; -ms-flex-align: center; align-items: center; height: 28px; padding: 0 8px; color: rgba(0, 0, 0, 0.65); font-size: 12px; border-radius: 2px; cursor: pointer; } .c7n-pro-board-view-item:hover { background: #E6F0FF; } .c7n-pro-board-view-item:hover .c7n-pro-board-delete { display: inline-block; } .c7n-pro-board-view-item .c7n-pro-board-delete { display: none; margin-left: auto; color: #3f51b5; } .c7n-pro-board-view-item-active { color: #3f51b5; background: #E6F0FF; } .c7n-pro-board-view-add div { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; width: 58px; height: 28px; margin-top: 4px; margin-right: 8px; color: #3f51b5; font-size: 12px; cursor: pointer; } .c7n-pro-board-view-add div i { margin-right: 4px; } .c7n-pro-board-card-container:hover, .c7n-pro-board-card-container:active { text-decoration: none; } .c7n-pro-board-card-container:hover .c7n-pro-board-quote-container-extra .icon:hover, .c7n-pro-board-card-container:active .c7n-pro-board-quote-container-extra .icon:hover { color: #3f51b5; } .c7n-pro-board-card-container .c7n-card { margin: 8px; } .c7n-pro-board-card-container .c7n-card-head { margin-right: 0.08rem !important; } .c7n-pro-board-card-container .c7n-card-extra { min-width: 30%; max-width: 70%; padding: 14px 0 10px 0 !important; } .c7n-pro-board-card-container .c7n-card-head-title { -webkit-box-flex: 1; -ms-flex: auto; flex: auto; min-width: 30%; max-width: 70%; white-space: break-spaces !important; } .c7n-pro-board-card-container .c7n-card-head-title .c7n-pro-output, .c7n-pro-board-card-container .c7n-card-head-title .c7n-pro-typography-paragraph { margin: 0; line-height: 22px !important; } .c7n-pro-board-card-container .c7n-card-body .c7n-pro-output, .c7n-pro-board-card-container .c7n-card-body .c7n-pro-typography-text { line-height: 20px !important; } .c7n-pro-board-card-container .c7n-list-item-content { width: 100%; } .c7n-pro-board-card-container .c7n-list-item-content .c7n-card:hover { -webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.08); box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.08); } .c7n-pro-board-quote-container { /* flexbox */ display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-sizing: border-box; box-sizing: border-box; margin-bottom: 0.08rem; padding: 0.08rem; background: #FFF; background-color: #FFF; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 2px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; /* anchor overrides */ } .c7n-pro-board-quote-container:hover, .c7n-pro-board-quote-container:active { text-decoration: none; } .c7n-pro-board-quote-container:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; } .c7n-pro-board-quote-container-extra { min-width: 30%; max-width: 70%; margin-left: auto; text-align: right; } .c7n-pro-board-quote-head-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; } .c7n-pro-board-quote-head-wrapper > p { min-width: 30%; max-width: 70%; height: 22px; margin: 4px 0 0 0; padding: 0; color: rgba(0, 0, 0, 0.85); font-weight: 500; font-size: 14px; white-space: break-spaces !important; } .c7n-pro-board-quote-content { display: -webkit-box; display: -ms-flexbox; display: flex; /* Needed to wrap text in ie11 https://stackoverflow.com/questions/35111090/why-ie11-doesnt-wrap-the-text-in-flexbox */ -ms-flex-preferred-size: 100%; flex-basis: 100%; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; /* flex child */ -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; gap: 4px; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; /* flex parent */ overflow: hidden; font-size: 12px; } .c7n-pro-board-quote-content-item { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; height: 24px; } .c7n-pro-board-quote-content .c7n-pro-output, .c7n-pro-board-quote-content .c7n-pro-typography-text { line-height: 1.5 !important; } .c7n-pro-board-quote-content-label { -ms-flex-negative: 0; flex-shrink: 0; margin-right: 4px; color: rgba(0, 0, 0, 0.45); font-weight: 400; } .c7n-pro-board-column-header { height: 36px; margin-top: 16px; color: rgba(0, 0, 0, 0.85); font-size: 14px; line-height: 36px; text-align: center; background: rgba(0, 0, 0, 0.04); border-radius: 2px; } .c7n-pro-board-column-header-count { margin-left: 4px; } .c7n-pro-board-customization .c7n-collapse-content { padding: 0 0.2rem !important; } .c7n-pro-board-customization .c7n-collapse-header { padding: 0.12rem 0.2rem !important; } .c7n-pro-board-customization-header-button { float: right; } .c7n-pro-board-customization-tree { min-height: 0.01rem; margin-bottom: 0.06rem; } .c7n-pro-board-customization-tree-treenode { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; width: 100%; padding: 0.03rem 0 0.03rem; outline: none; } .c7n-pro-board-customization-tree-treenode-hover-button { visibility: hidden; -webkit-transition: none; transition: none; } .c7n-pro-board-customization-tree-treenode-hover-button .icon { -webkit-transition: none; transition: none; } .c7n-pro-board-customization-tree-treenode-hover .c7n-pro-board-customization-tree-treenode-hover-button { visibility: visible; } .c7n-pro-board-customization-tree-treenode-hover { background-color: rgba(0, 0, 0, 0.04); } .c7n-pro-board-customization-tree-treenode-content { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; -webkit-box-align: center; -ms-flex-align: center; align-items: center; width: 100%; height: 0.32rem; min-height: 0.24rem; margin: 0; padding: 0.04rem 0; color: inherit; line-height: 0.24rem; background: transparent; border-radius: 0.02rem 0 0 0.02rem; } .c7n-pro-board-customization-tree-treenode-title { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; -webkit-box-align: center; -ms-flex-align: center; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .c7n-pro-board-customization-tree-treenode-title-text { height: 0.24rem; overflow: hidden; text-overflow: ellipsis; } .c7n-pro-board-customization-tree-treenode-switcher { -webkit-box-flex: 0; -ms-flex: none; flex: none; width: 0.22rem; height: 0.32rem; margin: 0; padding: 0.05rem 0; line-height: 1; text-align: center; vertical-align: top; cursor: pointer; } .c7n-pro-board-customization-tree-treenode-switcher-icon { font-size: 0.18rem; line-height: 0.22rem; } .c7n-pro-board-customization-tree-treenode-switcher-icon-close { -webkit-transform: rotate(-90deg); -ms-transform: rotate(-90deg); transform: rotate(-90deg); } .c7n-pro-board-customization-tree-treenode-switcher-noop { cursor: default; } .c7n-pro-board-customization-tree-treenode-drag-icon { color: rgba(0, 0, 0, 0.45); } .c7n-pro-board-customization-tree-treenode-dragging { background-color: #fff; -webkit-box-shadow: 0 0.05rem 0.05rem -0.03rem rgba(0, 0, 0, 0.2), 0 0.08rem 0.1rem 0.01rem rgba(0, 0, 0, 0.14), 0 0.03rem 0.14rem 0.02rem rgba(0, 0, 0, 0.12); box-shadow: 0 0.05rem 0.05rem -0.03rem rgba(0, 0, 0, 0.2), 0 0.08rem 0.1rem 0.01rem rgba(0, 0, 0, 0.14), 0 0.03rem 0.14rem 0.02rem rgba(0, 0, 0, 0.12); } .c7n-pro-board-customization-tree-group-header { display: inline-block; margin-bottom: 0.1rem; color: rgba(0, 0, 0, 0.45); font-size: 0.12rem; } .c7n-pro-board-customization-panel-title { font-weight: 600; font-size: 0.14rem; line-height: 0.22rem; vertical-align: middle; } .c7n-pro-board-customization-panel-content { max-height: 400px; padding: 0.08rem; overflow-y: auto; } .c7n-pro-board-customization-panel-des { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; color: rgba(0, 0, 0, 0.45); } .c7n-pro-board-customization-panel-des i { margin-left: 0.04rem; } .c7n-pro-board-customization-combine-sort-list-item { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; margin: 0.1rem 0; } .c7n-pro-board-customization-combine-sort-list-item-drag { margin-right: 4px; line-height: 1; } .c7n-pro-board-customization-combine-sort-list-item-index { display: inline-block; width: 0.23rem; line-height: 1; text-align: center; vertical-align: middle; } .c7n-pro-board-customization-combine-sort-list-item-sortName { width: 1.47rem; margin: 0 0.24rem 0 0.08rem; } .c7n-pro-board-customization-combine-sort-list-item .c7n-pro-radio-wrapper { margin-right: 0.32rem !important; } .c7n-pro-board-customization-combine-sort-list-item-delete { margin-left: auto; } .c7n-pro-board-quote-container-extra-popup { color: red; } .c7n-pro-board-quote-container-extra-popup .c7n-menu-item { padding: 0 !important; } .c7n-pro-board-quote-container-extra-popup .c7n-menu-item .c7n-pro-btn { width: 100%; padding: 0 0.16rem; }