UNPKG

@blueking/ip-selector

Version:

基于蓝鲸 Magicbox 和 Vue 的前端业务组件

1,815 lines (1,791 loc) 800 kB
.ip-selector-resize-layout { position: relative; display: flex; width: 100%; height: 100%; } .ip-selector-resize-layout .layout-left, .ip-selector-resize-layout .layout-right { display: block; overflow: auto; flex: 1; } .ip-selector-resize-layout .left-divid, .ip-selector-resize-layout .right-divid { position: absolute; top: 0; bottom: 0; z-index: 9; display: flex; align-items: center; width: 5px; cursor: ew-resize; } .ip-selector-resize-layout .left-divid:hover::after, .ip-selector-resize-layout .right-divid:hover::after { background: #3a84ff; } .ip-selector-resize-layout .left-divid::after, .ip-selector-resize-layout .right-divid::after { position: absolute; top: 0; bottom: 0; left: 2px; width: 1px; background: #dcdee5; content: ""; transition: all 0.15s; } .ip-selector-resize-layout .left-divid .move-dot, .ip-selector-resize-layout .right-divid .move-dot { position: absolute; font-size: 18px; color: #c4c6cc; } .ip-selector-resize-layout .left-divid .move-dot { left: -4px; } .ip-selector-resize-layout .right-divid .move-dot { right: -4px; } .ip-selector-resize-layout .resize-btn-left, .ip-selector-resize-layout .resize-btn-right { position: absolute; top: 50%; display: flex; width: 16px; height: 64px; color: #fff; cursor: pointer; background: #dcdee5; transform: translateY(-50%); transition: all 0.15s; align-items: center; justify-content: center; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .ip-selector-resize-layout .resize-btn-left:hover, .ip-selector-resize-layout .resize-btn-right:hover { background: #3a84ff; } .ip-selector-resize-layout .resize-btn-left span, .ip-selector-resize-layout .resize-btn-right span { transition: all 0.15s; } .ip-selector-resize-layout .resize-btn-left { left: 2px; border-radius: 0 4px 4px 0; } .ip-selector-resize-layout .resize-btn-left.is-expanded span { transform: rotateZ(-180deg); } .ip-selector-resize-layout .resize-btn-right { right: 2px; border-radius: 4px 0 0 4px; } .ip-selector-resize-layout .resize-btn-right.is-expanded span { transform: rotateZ(0); } .ip-selector-resize-layout .resize-btn-right span { transform: rotateZ(-180deg); } .ip-selector-tag { position: relative; z-index: 0; display: flex; overflow: hidden; white-space: nowrap; align-items: center; } .ip-selector-tag .label-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ip-selector-tag:hover .copy-btn { opacity: 1; } .ip-selector-tag .bk-tag { margin-right: 0; margin-left: 0; } .ip-selector-tag .bk-tag ~ .bk-tag { margin-left: 6px; } .ip-selector-tag .tag-item { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ip-selector-tag .copy-btn { display: inline-block; padding-left: 8px; cursor: pointer; opacity: 0; } .ip-selector-tag .copy-btn:hover { color: #3a84ff; } .host-table-column-setting-box { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; border-left: 1px solid rgb(220, 222, 229); } .host-table-column-setting-popover { width: 545px; padding-top: 24px; margin: -5px -9px; background: #fff; border-radius: 2px; } .host-table-column-setting-popover .setting-header { padding: 0 24px; font-size: 20px; line-height: 20px; color: #313238; } .host-table-column-setting-popover .column-list { display: flex; flex-wrap: wrap; padding: 0 24px 36px; } .host-table-column-setting-popover .column-item { display: flex; align-items: center; width: 165px; height: 32px; padding: 0 8px; margin-top: 16px; border-radius: 2px; } .host-table-column-setting-popover .column-item:hover { background: #f5f7fa; } .host-table-column-setting-popover .column-item:hover .column-item-drag { display: flex; } .host-table-column-setting-popover .column-item .bk-checkbox-text { display: inline-flex; align-items: center; font-size: 12px; } .host-table-column-setting-popover .column-item-drag { display: none; width: 16px; height: 16px; margin-left: auto; font-size: 12px; color: #979ba5; justify-content: center; align-items: center; cursor: move; } .host-table-column-setting-popover .output-flag { margin-left: 5px; font-size: 16px; } .host-table-column-setting-popover .setting-footer { display: flex; height: 50px; padding-right: 24px; background: #fafbfd; border-top: 1px solid #dcdee5; justify-content: flex-end; align-items: center; } .host-table-column-setting-popover .ghost { background: #c8ebfb; opacity: 0.5; } .ip-selector-ellipsis-box { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ip-selector-host-table-filter { position: relative; padding-left: 4px; font-size: 12px; color: #c4c6cc; } .ip-selector-host-table-filter:hover .filter-menu { display: block; } .ip-selector-host-table-filter.active { color: #3a84ff; } .ip-selector-host-table-filter .filter-menu { position: absolute; display: none; font-size: 12px; line-height: 32px; color: #63656e; background: #fff; border: 1px solid #dcdee5; border-radius: 2px; transform: translateX(-50%); box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1); } .ip-selector-host-table-filter .filter-menu .item { padding: 0 12px; word-break: keep-all; white-space: nowrap; cursor: pointer; } .ip-selector-host-table-filter .filter-menu .item:hover { color: #3a84ff; background: #f5f6fa; } .ip-selector-host-table-filter .filter-menu .item.active { color: #3a84ff; background-color: #f4f6fa; } .render-table-container-content { position: relative; } .render-table-container-content .talbe-content { position: relative; overflow-x: auto; border-top: 1px solid #f0f1f5; } .render-table-container-content .talbe-content table th:first-child, .render-table-container-content .talbe-content table td:first-child { position: sticky; left: 0; } .render-table-container-content .talbe-content .table-column-setting-btn { display: flex; color: #c4c6cc; align-items: center; justify-content: center; cursor: pointer; } .render-table-container-content .table-fixed-left { position: absolute; top: 0; bottom: 0; left: 0; pointer-events: none; box-shadow: 0 0 10px rgba(0, 0, 0, 0.12); } .render-table-container-content .table-fixed-right { position: absolute; top: 0; right: 0; bottom: 0; pointer-events: none; box-shadow: 0 0 10px rgba(0, 0, 0, 0.12); } .render-table-container-content .table-column-resize { position: absolute; top: 0; bottom: 0; display: none; width: 1px; background: #dfe0e5; } .render-table-container-content table { width: 100%; font-size: 12px; text-align: left; border-collapse: collapse; border-spacing: 0; table-layout: fixed; } .render-table-container-content table th, .render-table-container-content table td { height: 40px; padding: 0 10px; background: #fff; border-bottom: 1px solid #dcdee5; } .render-table-container-content table th .cell, .render-table-container-content table td .cell { display: flex; align-items: center; } .render-table-container-content table th .cell-text, .render-table-container-content table td .cell-text { height: 20px; overflow: hidden; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; } .render-table-container-content table th .cell-append, .render-table-container-content table td .cell-append { display: flex; height: 20px; line-height: 20px; align-items: center; } .render-table-container-content table th { font-weight: normal; color: #313238; background: #f0f1f5; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .render-table-container-content table th:hover { background: #eaebf0; } .render-table-container-content table td { color: #63656e; cursor: pointer; } .render-table-container-content table tr:hover td { background-color: #f5f7fa; } .render-table-container-content table .columu-fixed, .render-table-container-content table .columu-fixed-right { position: sticky; z-index: 1; } .render-table-container-content .bk-page { padding-left: 10px; margin-top: 8px; } .render-table-container-content .bk-page .bk-page-total-small { height: 34px !important; margin-top: 2px !important; line-height: 34px !important; } .render-table-container-content .bk-button-text { font-size: 12px !important; } .ip-selector-container-table { position: relative; overflow: hidden; } .ip-selector-container-table .table-empty { padding-top: 75px; padding-bottom: 25px; font-size: 12px; line-height: 20px; color: #63656e; text-align: center; } .ip-selector-table-page-check[data-v-ccffb4d4] { position: relative; z-index: 9999999; display: inline-flex; height: 40px; vertical-align: middle; align-items: center; } .ip-selector-table-page-check.disabled[data-v-ccffb4d4] { color: #dcdee5; pointer-events: none; cursor: not-allowed; } .ip-selector-table-page-check:hover .pagination-check-menu[data-v-ccffb4d4] { display: block; } .ip-selector-table-page-check .all-checked[data-v-ccffb4d4] { position: relative; display: inline-block; width: 16px; height: 16px; vertical-align: middle; background: #fff; border: 1px solid #3a84ff; border-radius: 2px; } .ip-selector-table-page-check .all-checked[data-v-ccffb4d4]::after { position: absolute; top: 1px; left: 4px; width: 4px; height: 8px; border: 2px solid #3a84ff; border-top: 0; border-left: 0; content: ""; transform: rotate(45deg) scaleY(1); transform-origin: center; } .ip-selector-table-page-check .menu-flag[data-v-ccffb4d4] { margin-left: 2px; transition: all 0.15s; } .ip-selector-table-page-check .bk-ipselector-open-line[data-v-ccffb4d4] { margin-left: 5px; } .pagination-check-menu[data-v-ccffb4d4] { min-width: 80px; margin: -5px -9px; font-size: 12px; line-height: 32px; text-align: center; text-align: left; word-break: keep; cursor: pointer; background: #fff; border: 1px solid #dcdee5; border-radius: 2px; box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1); } .pagination-check-menu .item[data-v-ccffb4d4] { padding: 0 14px; } .pagination-check-menu .item[data-v-ccffb4d4]:hover { color: #3a84ff; background: #f5f6fa; } .ip-selector-manual-input { height: 100%; } .ip-selector-manual-input .custom-input { padding-right: 16px; padding-left: 16px; } .ip-selector-manual-input .custom-input .custom-input-parse-error { display: flex; margin-top: 7px; font-size: 12px; color: #ea3636; } .ip-selector-manual-input .custom-input .custom-input-parse-error .parse-error-btn { color: #979ba5; cursor: pointer; } .ip-selector-manual-input .custom-input .custom-input-action { display: flex; margin-top: 13px; } .ip-selector-manual-input .custom-input .bk-textarea-wrapper, .ip-selector-manual-input .custom-input .bk-form-textarea { height: 100% !important; } .ip-selector-manual-input .custom-input textarea::-moz-selection { color: #63656e; background: #fdd; } .ip-selector-manual-input .custom-input textarea::selection { color: #63656e; background: #fdd; } .ip-selector-manual-input .custom-input .parse-btn { flex: 1; } .ip-selector-manual-input .custom-input .clear-btn { width: 88px; margin-left: 8px; } .ip-selector-manual-input .container-table { flex: 1; padding-left: 16px; } .bk-ip-select-search-select { height: 32px; font-size: 12px; } .bk-ip-select-search-select .search-select-wrap { position: relative; height: initial; min-height: 32px; overflow: hidden; color: #63656e; border: 1px solid #c4c6cc; border-radius: 2px; box-sizing: border-box; transition: border 0.2s linear; } .bk-ip-select-search-select .search-select-wrap .search-prefix { display: flex; height: 100%; flex: 0 0 auto; align-items: center; } .bk-ip-select-search-select .search-select-wrap .search-tag-group { position: relative; min-height: 26px; padding-left: 10px; font-size: 0; line-height: 0; transition: max-height 0.15s cubic-bezier(0.4, 0, 0.2, 1); } .bk-ip-select-search-select .search-select-wrap .search-input-box { position: relative; display: inline-block; min-width: 40px; min-height: 22px; margin-top: 4px; font-size: 12px; line-height: 22px; color: #63656e; vertical-align: middle; border: none; } .bk-ip-select-search-select .search-select-wrap .search-input-box .input-box { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 0; font-size: inherit; line-height: inherit; color: inherit; background: transparent; border: none; outline: none; resize: none; } .bk-ip-select-search-select .search-select-wrap .search-input-box .input-box::-moz-placeholder{ color: #c4c6cc; } .bk-ip-select-search-select .search-select-wrap .search-input-box .input-box::placeholder{ color: #c4c6cc; } .bk-ip-select-search-select .search-select-wrap .search-input-box .input-box { scrollbar-gutter: stable; } .bk-ip-select-search-select .search-select-wrap .search-input-box .input-box::-webkit-scrollbar { width: 6px; } .bk-ip-select-search-select .search-select-wrap .search-input-box .input-box::-webkit-scrollbar-thumb { background-color: #c4c6cc; border-radius: 3px; } .bk-ip-select-search-select .search-select-wrap .search-tag-box { position: relative; } .bk-ip-select-search-select .search-select-wrap .search-tag-box.focused { background: inherit !important; } .bk-ip-select-search-select .search-select-wrap .search-tag-box.focused .search-tag { padding-right: 0; } .bk-ip-select-search-select .search-select-wrap .search-tag-box.is-error .search-tag .tag-value-edit{ color: #ea3636; } .bk-ip-select-search-select .search-select-wrap .search-tag-box .search-tag { display: inline-flex; padding-right: 20px; } .bk-ip-select-search-select .search-select-wrap .search-tag-box .search-tag .tag-label { word-break: keep-all; } .bk-ip-select-search-select .search-select-wrap .search-tag-box .search-tag .tag-value { word-break: break-all; cursor: pointer; } .bk-ip-select-search-select .search-select-wrap .search-tag-box .search-tag .tag-value-edit { position: absolute; top: 0; width: 100%; height: 100%; padding: 0; font-size: inherit; line-height: inherit; color: inherit; background: transparent; border: none; outline: none; resize: none; } .bk-ip-select-search-select .search-select-wrap .search-tag-box .search-tag .tag-value-edit::-moz-selection { background: #e1ecff; } .bk-ip-select-search-select .search-select-wrap .search-tag-box .search-tag .tag-value-edit::selection { background: #e1ecff; } .bk-ip-select-search-select .search-select-wrap .search-tag-box .tag-clear { position: absolute; top: 4px; right: 3px; display: inline-block; font-size: 14px; line-height: normal; color: #979ba5; text-align: center; cursor: pointer; } .bk-ip-select-search-select .search-select-wrap .search-tag-box .tag-error-tooltips{ position: absolute; z-index: 10; right: 0px; top: 4px; color: #ea3636; cursor: pointer; font-size: 14px; } .bk-ip-select-search-select .search-select-wrap .mult-tag-placeholder { padding: 0 8px; } .bk-ip-select-search-select .search-select-wrap .search-tag-box, .bk-ip-select-search-select .search-select-wrap .mult-tag-placeholder { position: relative; display: inline-block; padding-left: 8px; margin: 4px 6px 0 0; font-size: 12px; line-height: 22px; color: #63656e; vertical-align: middle; background: #f0f1f5; border-radius: 2px; } .bk-ip-select-search-select .search-select-wrap .search-tag-box:hover, .bk-ip-select-search-select .search-select-wrap .mult-tag-placeholder:hover { background: #dcdee5; } .bk-ip-select-search-select .search-select-wrap .search-tag-box:hover .tag-clear, .bk-ip-select-search-select .search-select-wrap .mult-tag-placeholder:hover .tag-clear { color: #63656e; } .bk-ip-select-search-select .search-select-wrap .search-nextfix { position: absolute; top: 6px; right: 0; color: #c4c6cc; } .bk-ip-select-search-select .search-select-wrap .search-nextfix .search-clear { width: 12px; height: 12px; margin-right: 6px; font-size: 14px; color: #c4c6cc; } .bk-ip-select-search-select .search-select-wrap .search-nextfix .search-clear:hover { color: #979ba5; cursor: pointer; } .bk-ip-select-search-select .search-select-wrap .search-nextfix .search-nextfix-icon { margin-right: 8px; font-size: 16px; transition: color 0.2s linear; } .bk-ip-select-search-select .search-select-wrap .search-nextfix .search-nextfix-icon.is-focus { color: #3c96ff; background: #fff !important; border-color: #3c96ff !important; } .bk-ip-select-search-select .search-select-wrap::-webkit-scrollbar { width: 3px; height: 5px; } .bk-ip-select-search-select .search-select-wrap::-webkit-scrollbar-thumb { background: #e6e9ea; border-radius: 20px; box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3); } .bk-ip-select-search-select.focused .search-select-wrap { overflow-y: auto; color: #3c96ff; background: #fff !important; border-color: #3c96ff !important; } .bk-ip-select-search-select .search-select-error-tips { display: flex; font-size: 12px; line-height: 14px; color: #ea3636; align-items: center; } .bk-ip-select-search-select .search-select-error-tips .select-tips { margin-right: 5px; font-size: 14px; } .bk-ip-select-search-list { position: relative; min-width: 230px; padding: 6px 0; margin: -0.3rem -0.6rem; font-size: 12px; line-height: 32px; color: #63656e; pointer-events: all; border-radius: 2px; outline: none; resize: none; } .bk-ip-select-search-list .search-condition { padding: 0 10px 0 16px; pointer-events: auto; border-bottom: 1px solid #dcdee5; } .bk-ip-select-search-list .search-condition:hover { color: #3a84ff; cursor: pointer; background-color: rgba(234, 243, 255, 0.7); } .bk-ip-select-search-list .search-menu { max-height: 200px; min-height: 32px; padding: 0; margin: 0; overflow-x: hidden; overflow-y: auto; pointer-events: all; scrollbar-gutter: stable; } .bk-ip-select-search-list .search-menu::-webkit-scrollbar { width: 6px; } .bk-ip-select-search-list .search-menu::-webkit-scrollbar-thumb { background-color: #c4c6cc; border-radius: 3px; } .bk-ip-select-search-list .search-menu .is-group { border-bottom: 1px solid #dcdee5; } .bk-ip-select-search-list .search-menu .search-menu-item { display: flex; padding: 0 10px 0 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: auto; flex: 1 0 32px; align-items: center; justify-content: flex-start; } .bk-ip-select-search-list .search-menu .search-menu-item.is-disabled { color: #c4c6cc; cursor: not-allowed; } .bk-ip-select-search-list .search-menu .search-menu-item .item-name { display: flex; line-height: 32px; flex: 1; } .bk-ip-select-search-list .search-menu .search-menu-item -filter.item-name { display: inline-block; color: #313238; } .bk-ip-select-search-list .search-menu .search-menu-item .item-description { padding-left: 10px; margin-left: auto; font-size: 12px; color: #c4c6cc; } .bk-ip-select-search-list .search-menu .search-menu-item .item-icon { font-size: 14px; font-weight: bold; color: #3a84ff; } .bk-ip-select-search-list .search-menu .search-menu-item:not(.is-disabled):hover { color: #3a84ff; cursor: pointer; background-color: #eaf3ff; } .bk-ip-select-search-list .search-menu .search-menu-item.active { color: #3a84ff; background: #f4f6fa; } .bk-ip-select-search-list .search-loading { padding: 0 16px; line-height: 32px; text-align: center; } .bk-ip-select-search-list .search-list-footer { display: flex; margin-bottom: -6px; line-height: 32px; pointer-events: auto; flex-direction: row; justify-content: space-around; align-items: center; } .bk-ip-select-search-list .search-list-footer .footer-btn { text-align: center; pointer-events: auto; border-top: 1px solid #dcdee5; flex: 1; } .bk-ip-select-search-list .search-list-footer .footer-btn:hover { color: #3a84ff; cursor: pointer; background-color: rgba(234, 243, 255, 0.7); } .bk-ip-select-search-list .search-list-footer .footer-btn:first-child { border-right: 1px solid #dcdee5; } .bk-ip-select-search-list .search-list-footer .footer-btn.disabled { color: #dcdee5; cursor: not-allowed; } .bk-ip-select-search-list .search-menu-wrap { padding: 6px 0; } .bk-ip-select-search-list .search-suggest-menu-wraper { max-width: 500px; max-height: 200px; min-height: 32px; overflow-x: hidden; overflow-y: auto; } .bk-ip-select-search-list .search-suggest-menu-wraper .search-suggest-menu-list { width: 100%; max-width: 100%; font-size: 12px; line-height: 32px; line-height: 16px; color: #63656e; border-collapse: collapse; border-spacing: 0; } .bk-ip-select-search-list .search-suggest-menu-wraper .search-suggest-menu-list .search-suggest-menu-item { height: 32px; padding-top: 8px; vertical-align: top; cursor: pointer; } .bk-ip-select-search-list .search-suggest-menu-wraper .search-suggest-menu-list .search-suggest-menu-item.active, .bk-ip-select-search-list .search-suggest-menu-wraper .search-suggest-menu-list .search-suggest-menu-item:hover { color: #3a84ff; background: #eaf3ff; } .bk-ip-select-search-list .search-suggest-menu-wraper .search-suggest-menu-list .search-suggest-item-label, .bk-ip-select-search-list .search-suggest-menu-wraper .search-suggest-menu-list .search-suggest-item-value { padding-top: 8px; vertical-align: top; } .bk-ip-select-search-list .search-suggest-menu-wraper .search-suggest-menu-list .search-suggest-item-label { width: 60px; padding-left: 12px; font-weight: bold; text-align: right; white-space: nowrap; } .bk-ip-select-search-list .search-suggest-menu-wraper .search-suggest-menu-list .search-suggest-item-value { display: flex; max-width: 300px; padding-right: 12px; overflow: hidden; } .bk-ip-select-search-list .search-suggest-menu-wraper .search-suggest-menu-list .search-suggest-item-value .value-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; } .bk-ip-select-search-list .search-suggest-menu-wraper .search-suggest-menu-list .search-suggest-item-value .description-text { padding-left: 8px; margin-left: auto; font-size: 12px; color: #c4c6cc; text-align: right; flex: 0 0 auto; } .tippy-tooltip.bk-search-select-theme-theme { border-radius: 2px; box-shadow: 0 3px 9px 0 rgba(0, 0, 0, 0.1); } .ip-selector-container-static-topo { height: 100%; } .ip-selector-container-static-topo .tree-box { height: 100%; padding-right: 16px; padding-left: 16px; } .ip-selector-container-static-topo .tree-box .big-tree-box .bk-big-tree { position: relative; overflow: initial; } .ip-selector-container-static-topo .tree-box .big-tree-box .bk-big-tree .bk-big-tree-node:hover{ background: #F0F1F5; } .ip-selector-container-static-topo .tree-box .big-tree-box .bk-big-tree .bk-big-tree-node .node-content { overflow: initial; } .ip-selector-container-static-topo .tree-box .big-tree-box .bk-big-tree .bk-scroll{ width: 100% !important; } .ip-selector-container-static-topo .tree-box .big-tree-box .bk-big-tree .bk-min-nav, .ip-selector-container-static-topo .tree-box .big-tree-box .bk-big-tree .bk-min-nav-slide{ right: -8px; } .ip-selector-container-static-topo .tree-box .topo-node-box { display: flex; padding-right: 3px; font-size: 12px; align-items: center; overflow: hidden; } .ip-selector-container-static-topo .tree-box .topo-node-box:hover .topo-node-filter, .ip-selector-container-static-topo .tree-box .topo-node-box:hover .topo-node-expand { opacity: 1 !important; } .ip-selector-container-static-topo .tree-box .topo-node-name { flex: 0 1 auto; overflow: hidden; padding-right: 8px; text-overflow: ellipsis; white-space: nowrap; } .ip-selector-container-static-topo .tree-box .topo-node-filter, .ip-selector-container-static-topo .tree-box .topo-node-expand { padding: 0 3px; font-size: 16px; color: #979ba5; opacity: 0; } .ip-selector-container-static-topo .tree-box .topo-node-filter:hover, .ip-selector-container-static-topo .tree-box .topo-node-expand:hover { color: #3a84ff; } .ip-selector-container-static-topo .tree-box .topo-node-count { flex: 0 1; height: 16px; padding: 0 6px; margin-left: auto; line-height: 16px; color: #979ba5; background: #f0f1f5; border-radius: 2px; } .ip-selector-container-static-topo .tree-box .topo-node-count.is-selected { color: #fff; background: #A3C5FD; } .ip-selector-container-static-topo .container-table { flex: 1; padding-left: 24px; } .ip-selector-container-static-topo .create-static-topo { width: 100%; padding-top: 120px; text-align: center; } .ip-selector-panel-content { height: 100%; padding: 16px 24px 0 0; } .ip-selector-container-panel-tab { display: flex; font-size: 12px; color: #63656e; border-bottom: 1px solid #dcdee5; } .ip-selector-container-panel-tab .tab-item { display: flex; height: 40px; justify-content: center; align-items: center; cursor: pointer; flex: 1; background: #fafbfd; transition: all 0.1s; } .ip-selector-container-panel-tab .tab-item.active { position: relative; color: #313238; cursor: default; background: #fff; } .ip-selector-container-panel-tab .tab-item.active::after { position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px; background: #fff; content: ""; } .ip-selector-container-panel-tab .tab-item:nth-child(n+2) { border-left: 1px solid #dcdee5; } .scroll-bar-style::-webkit-scrollbar { width: 4px; height: 4px; } .scroll-bar-style::-webkit-scrollbar-thumb { background: #ddd; border-radius: 20px; box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3); } html, body { padding: 0; margin: 0; } * { box-sizing: border-box; } /** * HTML5 display definitions * ========================================================================== * * Correct `block` display not defined for any HTML5 element in IE 8/9. * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. * Correct `block` display not defined for `main` in IE 11. */ article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; } /** * 1. Correct `inline-block` display not defined in IE 8/9. * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. */ audio, canvas, progress, video { /* 1 */ display: inline-block; /* 2 */ vertical-align: baseline; } /** * Prevent modern browsers from displaying `audio` without controls. * Remove excess height in iOS 5 devices. */ audio:not([controls]) { display: none; height: 0; } /** * Address `[hidden]` styling not present in IE 8/9/10. * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22. */ [hidden], template { display: none; } /** * Links * ========================================================================== * * Remove the gray background color from active links in IE 10. */ a { background-color: transparent; } /** * Improve readability of focused elements when they are also in an * active/hover state. */ a:active, a:hover { outline: 0; } /** * Text-level semantics * ========================================================================== * * Address styling not present in IE 8/9/10/11, Safari, and Chrome. */ abbr[title] { border-bottom: 1px dotted; } /** * Embedded content * ========================================================================== * * Remove border when inside `a` element in IE 8/9/10. */ img { border: 0; } /** * Correct overflow not hidden in IE 9/10/11. */ svg:not(:root) { overflow: hidden; } /** * Grouping content * ========================================================================== * * Address margin not present in IE 8/9 and Safari. */ figure { margin: 1em 40px; } /** * Address differences between Firefox and other browsers. */ hr { height: 0; box-sizing: content-box; } /** * Address odd `em`-unit font size rendering in all browsers. * * Forms * ========================================================================== * * Known limitation: by default, Chrome and Safari on OS X allow very limited * styling of `select`, unless a `border` property is set. * * 1. Correct color not being inherited. * Known issue: affects color of disabled elements. * 2. Correct font properties not being inherited. * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. */ button, input, optgroup, select, textarea { /* 3 */ margin: 0; /* 2 */ font: inherit; /* 1 */ color: inherit; } /** * Address `overflow` set to `hidden` in IE 8/9/10/11. */ button { overflow: visible; } /** * Address inconsistent `text-transform` inheritance for `button` and `select`. * All other form control elements do not inherit `text-transform` values. * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. * Correct `select` style inheritance in Firefox. */ button, select { text-transform: none; } /** * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. * 2. Correct inability to style clickable `input` types in iOS. * 3. Improve usability and consistency of cursor style between image-type `input` and others. */ button, html input[type='button'], input[type='reset'], input[type='submit'] { /* 3 */ cursor: pointer; /* 2 */ -webkit-appearance: button; -moz-appearance: button; appearance: button; } /* Re-set default cursor for disabled elements. */ button[disabled], html input[disabled] { cursor: default; } /* Remove inner padding and border in Firefox 4+. */ button::-moz-focus-inner, input::-moz-focus-inner { padding: 0; border: 0; } /** * Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet. */ input { line-height: normal; } /** * It's recommended that you don't attempt to style these elements. * Firefox's implementation doesn't respect box-sizing, padding, or width. * * 1. Address box sizing set to `content-box` in IE 8/9/10. * 2. Remove excess padding in IE 8/9/10. */ input[type='checkbox'], input[type='radio'] { /* 2 */ padding: 0; /* 1 */ box-sizing: border-box; } /** * Fix the cursor style for Chrome's increment/decrement buttons. For certain * `font-size` values of the `input`, it causes the cursor style of the * decrement button to change from `default` to `text`. */ input[type='number']::-webkit-inner-spin-button, input[type='number']::-webkit-outer-spin-button { height: auto; } ::-ms-clear, ::-ms-reveal { display: none; } input[type='text']::-ms-clear { display: none; } input[type='text']::-ms-reveal { display: none; } /** * 1. Address `appearance` set to `searchfield` in Safari and Chrome. * 2. Address `box-sizing` set to `border-box` in Safari and Chrome. */ input[type='search'] { /* 2 */ box-sizing: content-box; /* 1 */ -webkit-appearance: textfield; -moz-appearance: textfield; appearance: textfield; } /** * Remove inner padding and search cancel button in Safari and Chrome on OS X. * Safari (but not Chrome) clips the cancel button when the search input has * padding (and `textfield` appearance). */ input[type='search']::-webkit-search-cancel-button, input[type='search']::-webkit-search-decoration { -webkit-appearance: none; appearance: none; } /** * Define consistent border, margin, and padding. */ fieldset { padding: 0.35em 0.625em 0.75em; margin: 0 2px; border: 1px solid #c0c0c0; } /** * 1. Correct `color` not being inherited in IE 8/9/10/11. * 2. Remove padding so people aren't caught out if they zero out fieldsets. */ legend { /* 2 */ padding: 0; /* 1 */ border: 0; } /** * Remove default vertical scrollbar in IE 8/9/10/11. */ textarea { overflow: auto; } /** * Don't inherit the `font-weight` (applied by a rule above). * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. */ optgroup { font-weight: bold; } /** * BK-Scroll-Style */ .bk-scroll-y { overflow-y: auto; } .bk-scroll-y::-webkit-scrollbar { width: 4px; height: 4px; } .bk-scroll-y::-webkit-scrollbar-thumb { background: #ddd; border-radius: 20px; box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3); } .bk-scroll-x { overflow-x: auto; } .bk-scroll-x::-webkit-scrollbar { width: 4px; height: 4px; } .bk-scroll-x::-webkit-scrollbar-thumb { background: #ddd; border-radius: 20px; box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3); } .fuctional-deps-button { display: inline-flex; height: 32px; padding: 0 14px; font-size: 14px; color: #63656e; text-decoration: none; white-space: nowrap; cursor: pointer; background-color: white; border: 1px solid #c4c6cc; border-radius: 2px; outline: none; box-sizing: border-box; transition: background-color ease 0.3s; -webkit-appearance: none; -moz-appearance: none; appearance: none; align-items: center; justify-content: center; } .fuctional-deps-button.fuctional-deps-button-primary { background-color: #3a84ff; color: white; border-color: #3a84ff; } .fuctional-deps-button.fuctional-deps-button-primary:hover { background-color: #5594fa; border-color: #5594fa; } .fuctional-deps-button.fuctional-deps-button-primary:active { background-color: #2c77f4; border-color: #2c77f4; color: white; } .fuctional-deps-button.fuctional-deps-button-primary.is-outline { color: #3a84ff; border-color: #3a84ff; background-color: white; } .fuctional-deps-button.fuctional-deps-button-primary.is-outline:hover { background-color: #5594fa; border-color: #5594fa; color: white; } .fuctional-deps-button.fuctional-deps-button-primary.is-outline:active { background-color: #2c77f4; border-color: #2c77f4; color: white; } .fuctional-deps-button.fuctional-deps-button-primary.is-text { color: #3a84ff; background-color: transparent; border: none; } .fuctional-deps-button.fuctional-deps-button-primary.is-text:not(.is-disabled):hover { color: #5594fa; } .fuctional-deps-button.fuctional-deps-button-primary.is-disabled { color: #dcdee5; cursor: not-allowed; } .fuctional-deps-button.fuctional-deps-button-primary.is-disabled:not(.is-text) { background-color: #dcdee5; color: white; border-color: #dcdee5; } .fuctional-deps-button.fuctional-deps-button-hover-primary:hover { background-color: #5594fa; border-color: #5594fa; color: white; } .fuctional-deps-button.fuctional-deps-button-warning { background-color: #ff9c01; color: white; border-color: #ff9c01; } .fuctional-deps-button.fuctional-deps-button-warning:hover { background-color: #ffb848; border-color: #ffb848; } .fuctional-deps-button.fuctional-deps-button-warning:active { background-color: #eb9000; border-color: #eb9000; color: white; } .fuctional-deps-button.fuctional-deps-button-warning.is-outline { color: #ff9c01; border-color: #ff9c01; background-color: white; } .fuctional-deps-button.fuctional-deps-button-warning.is-outline:hover { background-color: #ffb848; border-color: #ffb848; color: white; } .fuctional-deps-button.fuctional-deps-button-warning.is-outline:active { background-color: #eb9000; border-color: #eb9000; color: white; } .fuctional-deps-button.fuctional-deps-button-warning.is-text { color: #ff9c01; background-color: transparent; border: none; } .fuctional-deps-button.fuctional-deps-button-warning.is-text:not(.is-disabled):hover { color: #ffb848; } .fuctional-deps-button.fuctional-deps-button-warning.is-disabled { color: #dcdee5; cursor: not-allowed; } .fuctional-deps-button.fuctional-deps-button-warning.is-disabled:not(.is-text) { background-color: #dcdee5; color: white; border-color: #dcdee5; } .fuctional-deps-button.fuctional-deps-button-hover-warning:hover { background-color: #ffb848; border-color: #ffb848; color: white; } .fuctional-deps-button.fuctional-deps-button-success { background-color: #2dcb56; color: white; border-color: #2dcb56; } .fuctional-deps-button.fuctional-deps-button-success:hover { background-color: #45e35f; border-color: #45e35f; } .fuctional-deps-button.fuctional-deps-button-success:active { background-color: #1ab943; border-color: #1ab943; color: white; } .fuctional-deps-button.fuctional-deps-button-success.is-outline { color: #2dcb56; border-color: #2dcb56; background-color: white; } .fuctional-deps-button.fuctional-deps-button-success.is-outline:hover { background-color: #45e35f; border-color: #45e35f; color: white; } .fuctional-deps-button.fuctional-deps-button-success.is-outline:active { background-color: #1ab943; border-color: #1ab943; color: white; } .fuctional-deps-button.fuctional-deps-button-success.is-text { color: #2dcb56; background-color: transparent; border: none; } .fuctional-deps-button.fuctional-deps-button-success.is-text:not(.is-disabled):hover { color: #45e35f; } .fuctional-deps-button.fuctional-deps-button-success.is-disabled { color: #dcdee5; cursor: not-allowed; } .fuctional-deps-button.fuctional-deps-button-success.is-disabled:not(.is-text) { background-color: #dcdee5; color: white; border-color: #dcdee5; } .fuctional-deps-button.fuctional-deps-button-hover-success:hover { background-color: #45e35f; border-color: #45e35f; color: white; } .fuctional-deps-button.fuctional-deps-button-danger { background-color: #ea3636; color: white; border-color: #ea3636; } .fuctional-deps-button.fuctional-deps-button-danger:hover { background-color: #ff5656; border-color: #ff5656; } .fuctional-deps-button.fuctional-deps-button-danger:active { background-color: #db2626; border-color: #db2626; color: white; } .fuctional-deps-button.fuctional-deps-button-danger.is-outline { color: #ea3636; border-color: #ea3636; background-color: white; } .fuctional-deps-button.fuctional-deps-button-danger.is-outline:hover { background-color: #ff5656; border-color: #ff5656; color: white; } .fuctional-deps-button.fuctional-deps-button-danger.is-outline:active { background-color: #db2626; border-color: #db2626; color: white; } .fuctional-deps-button.fuctional-deps-button-danger.is-text { color: #ea3636; background-color: transparent; border: none; } .fuctional-deps-button.fuctional-deps-button-danger.is-text:not(.is-disabled):hover { color: #ff5656; } .fuctional-deps-button.fuctional-deps-button-danger.is-disabled { color: #dcdee5; cursor: not-allowed; } .fuctional-deps-button.fuctional-deps-button-danger.is-disabled:not(.is-text) { background-color: #dcdee5; color: white; border-color: #dcdee5; } .fuctional-deps-button.fuctional-deps-button-hover-danger:hover { background-color: #ff5656; border-color: #ff5656; color: white; } .fuctional-deps-button.fuctional-deps-button-small { height: 26px; padding: 0 12px; font-size: 12px; } .fuctional-deps-button.fuctional-deps-button-large { height: 40px; padding: 0 16px; font-size: 16px; } .fuctional-deps-button .fuctional-deps-button-text { display: inline-flex; align-items: center; line-height: 1; } .fuctional-deps-button.is-loading { position: relative; } .fuctional-deps-button.is-loading .fuctional-deps-button-loading:not(:last-child) { position: absolute; } .fuctional-deps-button.is-loading .fuctional-deps-button-text { visibility: hidden; } .fuctional-deps-button:hover { border-color: #979ba5; } .fuctional-deps-button:active { color: #3a84ff; border-color: #3a84ff; } .fuctional-deps-button.is-text { height: auto; padding: 0; font-size: inherit; color: #63656e; text-decoration: none; cursor: pointer; background-color: transparent; border: none; outline: none; } .fuctional-deps-button.is-disabled { color: #dcdee5; cursor: not-allowed; border-color: #dcdee5; } .fuctional-deps-button.is-disabled:not(.is-text) { background-color: #f9fafd; } .fuctional-deps-button-group { display: inline-block; font-size: 0; } .fuctional-deps-button-group.fuctional-deps-button-group-small .fuctional-deps-button { height: 26px; padding: 0 12px; font-size: 12px; } .fuctional-deps-button-group.fuctional-deps-button-group-large .fuctional-deps-button { height: 40px; padding: 0 16px; font-size: 16px; } .fuctional-deps-button-group .fuctional-deps-button { height: 32px; margin: 0 0 0 -1px; border-radius: 0; } .fuctional-deps-button-group .fuctional-deps-button:not(.is-disabled) { color: #63656e; background-color: white; border-color: #c4c6cc; } .fuctional-deps-button-group .fuctional-deps-button.is-disabled { color: #c4c6cc; } .fuctional-deps-button-group .fuctional-deps-button:first-child { border-radius: 2px 0 0 2px; } .fuctional-deps-button-group .fuctional-deps-button:last-child { border-radius: 0 2px 2px 0; } .fuctional-deps-button-group .fuctional-deps-button:only-child { border-radius: 2px; } .fuctional-deps-button-group .fuctional-deps-button:hover:not(.is-disabled), .fuctional-deps-button-group .fuctional-deps-button.is-selected:not(.is-disabled) { position: relative; z-index: 1; color: #3a84ff; background-color: white; border-color: #3a84ff; } .fuctional-deps-button-group .fuctional-deps-button.is-selected:not(.is-disabled) { background-color: #e1ecff; } .fuctional-deps-button-group .fuctional-deps-button.is-selected.is-disabled { background-color: #f0f1f5; } @keyframes loading-scale-animate { 0% { transform: scale(1); } 100% { transform: scale(0.6); } } @keyframes fade { 100% { background-color: transparent; } } .fuctional-deps-transition .fuctional-deps-fade-enter-active, .fuctional-deps-transition .fuctional-deps-fade-leave-active { transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1); } .fuctional-deps-transition .fuctional-deps-fade-enter, .fuctional-deps-transition .fuctional-deps-fade-leave-to { opacity: 0; } .clearfix-style::after { display: block; height: 0; clear: both; font-size: 0; content: ''; visibility: hidden; } .fuctional-deps-popper { display: none; padding: 7px 14px; font-size: 12px; color: #fff; background: #333; border-radius: 4px; } .fuctional-deps-popper.light { color: #63656e; background: #fff; box-shadow: #dcdee5 0 0 6px 0; } .fuctional-deps-popper .fuctional-deps-popper-arrow, .fuctional-deps-popper .fuctional-deps-popper-arrow::before { position: absolute; width: 8px; height: 8px; background: inherit; } .fuctional-deps-popper .fuctional-deps-popper-arrow { visibility: hidden; } .fuctional-deps-popper .fuctional-deps-popper-arrow::before { content: ''; visibility: visible; transform: rotate(45deg); } .fuctional-deps-popper[data-show] { display: block; } .fuctional-deps-popper[data-popper-placement^='top'] > .fuctional-deps-popper-arrow { bottom: -4px; } .fuctional-deps-popper[data-popper-placement^='bottom'] > .fuctional-deps-popper-arrow { top: -4px; } .fuctional-deps-popper[data-popper-placement^='left'] > .fuctional-deps-popper-arrow { right: -4px; } .fuctional-deps-popper[data-popper-placement^='right'] > .fuctional-deps-popper-arrow { left: -4px; } .fuctional-deps-loading-wrapper { position: static; vertical-align: middle; } .fuctional-deps-loading-wrapper:not(.fuctional-deps-nested-loading):not(.fuctional-deps-directive-loading) { display: inline-flex; } .fuctional-deps-loading-wrapper.fuctional-deps-directive-loading { width: 100%; height: 100%; } .fuctional-deps-loading-wrapper.fuctional-deps-directive-loading, .fuctional-deps-loading-wrapper.fuctional-deps-nested-loading { position: relative; } .fuctional-deps-loading-wrapper.fuctional-deps-directive-loading.is-block, .fuctional-deps-loading-wrapper.fuctional-deps-nested-loading.is-block { display: block; } .fuctional-deps-loading-wrapper.fuctional-deps-directive-loading .fuctional-deps-loading-indicator, .fuctional-deps-loading-wrapper.fuctional-deps-nested-loading .fuctional-deps-loading-indicator { position: absolute; top: 50%; left: 50%; z-index: 11; text-align: center; transform: translate(-50%, -50%); } .fuctional-deps-loading-wrapper .dot { display: inline-flex; width: 14px; height: 14px; margin-right: 10px; border-radius: 50%; transform: scale(0.6); animation-duration: 0.8s; animation-iteration-count: infinite; animation-name: loading-scale-animate; animation-direction: normal; } .fuctional-deps-loading-wrapper .oval { position: absolute; width: 6px; height: 8px; background-color: #63656e; border-radius: 8px; animation-duration: 1.2s; animation-iteration-count: infinite; animation-name: fade; transform-origin: center 24px; } .fuctional-deps-loading-wrapper .fuctional-deps-loading-mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator { display: flex; line-height: 1; text-align: center; flex-direction: column; } .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-success .oval, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-success .dot, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-success .dot-1, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-success .dot-2, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-success .dot-3, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-success .dot-4 { background-color: #2dcb56; } .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-danger .oval, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-danger .dot, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-danger .dot-1, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-danger .dot-2, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-danger .dot-3, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-danger .dot-4 { background-color: #ea3636; } .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-warning .oval, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-warning .dot, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-warning .dot-1, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-warning .dot-2, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-warning .dot-3, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-warning .dot-4 { background-color: #ff9c01; } .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-primary .oval, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-primary .dot, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-primary .dot-1, .fuctional-deps-loading-wrapper .fuctional-deps-loading-indicator.fuctional-deps-loading-primary .dot-2, .fuctional-deps-loading-wrapper .fuctional-deps-loading-ind