342 lines
8.7 KiB
SCSS
Executable File
Vendored
342 lines
8.7 KiB
SCSS
Executable File
Vendored
body {
|
|
overflow: hidden;
|
|
.ivu-input,
|
|
.ivu-select-selection {
|
|
border-color: #e8e8e8;
|
|
}
|
|
.ivu-select-dropdown {
|
|
max-height: 360px;
|
|
&.select-node {
|
|
.ivu-select-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
.option-title {
|
|
flex: 1;
|
|
}
|
|
.ivu-tag {
|
|
margin-left: 18px;
|
|
margin-right: 0;
|
|
transform: scale(0.9);
|
|
transform-origin: right center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.ivu-tooltip-popper {
|
|
.ivu-tooltip-inner {
|
|
white-space: normal;
|
|
}
|
|
}
|
|
.ivu-table {
|
|
table {
|
|
width: 100% !important;
|
|
.ivu-table-cell {
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
}
|
|
thead {
|
|
.ivu-table-cell {
|
|
display: block;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
tbody {
|
|
.tree-icon-loading {
|
|
.ivu-table-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
.ivu-table-cell-tree {
|
|
margin-right: 6px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.td-ellipsis {
|
|
display: flex;
|
|
align-items: center;
|
|
max-width: 100%;
|
|
.remark-text {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
height: 20px;
|
|
line-height: 20px;
|
|
margin-right: 6px;
|
|
}
|
|
.remark-icon {
|
|
display: none;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
}
|
|
.remark-tag {
|
|
display: inline-block;
|
|
height: 22px;
|
|
line-height: 22px;
|
|
margin: 2px 4px 2px 0;
|
|
border: 1px solid #e8eaec;
|
|
border-radius: 3px;
|
|
background: #f7f7f7;
|
|
font-size: 12px;
|
|
vertical-align: middle;
|
|
opacity: 1;
|
|
color: #515a6e;
|
|
padding: 0 4px;
|
|
white-space: nowrap;
|
|
overflow: visible;
|
|
&.pointer-tag {
|
|
cursor: pointer;
|
|
color: #1890ff;
|
|
background: #e6f7ff;
|
|
border-color: #91d5ff;
|
|
}
|
|
}
|
|
.icon-tooltip {
|
|
.ivu-tooltip-rel {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
}
|
|
.td-action {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
vertical-align: middle;
|
|
.td-action-container {
|
|
display: inline-block;
|
|
a {
|
|
font-size: 12px;
|
|
padding: 0 5px;
|
|
}
|
|
}
|
|
}
|
|
.ivu-table-row-hover {
|
|
&:hover {
|
|
.td-ellipsis {
|
|
.remark-icon {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&:before {
|
|
background-color: #efefef;
|
|
}
|
|
}
|
|
.ivu-modal-wrap {
|
|
overflow: overlay;
|
|
.ivu-modal {
|
|
top: 100px;
|
|
padding-bottom: 100px;
|
|
@media (max-height: 900px) {
|
|
top: 35px;
|
|
padding-bottom: 35px;
|
|
}
|
|
&.ivu-modal-fullscreen {
|
|
top: 0;
|
|
}
|
|
.ivu-modal-header,
|
|
.ivu-modal-footer {
|
|
border-color: transparent;
|
|
}
|
|
.ivu-modal-header {
|
|
padding: 22px 24px 20px;
|
|
.ivu-modal-header-inner {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
.ivu-modal-body {
|
|
padding: 16px 32px 2px;
|
|
}
|
|
.ivu-modal-footer {
|
|
padding: 20px 30px 22px;
|
|
.ivu-btn {
|
|
height: 34px;
|
|
line-height: 32px;
|
|
min-width: 94px;
|
|
}
|
|
}
|
|
.ivu-modal-content {
|
|
border-radius: 18px;
|
|
.ivu-modal-close {
|
|
.ivu-icon-ios-close {
|
|
font-size: 38px;
|
|
top: 3px;
|
|
right: 2px;
|
|
transition: all 0.2s;
|
|
}
|
|
&:hover {
|
|
.ivu-icon-ios-close {
|
|
transform: rotate(-90deg);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.ivu-modal-confirm {
|
|
padding: 6px 0 20px;
|
|
.ivu-modal-confirm-body {
|
|
> div {
|
|
word-break: break-all;
|
|
}
|
|
}
|
|
}
|
|
.form-network-add-tabs {
|
|
.ivu-tabs-tabpane {
|
|
padding: 10px 6px 0;
|
|
}
|
|
}
|
|
.form-network-add-in-out {
|
|
padding: 0 6px;
|
|
.select-in-type {
|
|
span.ivu-radio {
|
|
display: none;
|
|
}
|
|
.select-in-type-item-checked {
|
|
color: $primary-color;
|
|
border: 1px solid $primary-color !important;
|
|
}
|
|
.select-in-type-item {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 90px;
|
|
border: 1px solid #E8EBEE;
|
|
border-radius: 4px;
|
|
padding: 0 12px;
|
|
margin: 0 8px 0 0;
|
|
> span {
|
|
flex: 1;
|
|
}
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
.select-in-type-icon {
|
|
margin-left: 12px;
|
|
}
|
|
}
|
|
}
|
|
.select-in-node {
|
|
margin-top: 18px;
|
|
}
|
|
}
|
|
}
|
|
.ivu-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
.ivu-progress-outer {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
&.ivu-progress-show-info {
|
|
.ivu-progress-outer {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.ivu-progress-text {
|
|
flex-shrink: 0;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
}
|
|
.ivu-drawer-content {
|
|
border-radius: 18px 0 0 18px;
|
|
.ivu-drawer-header {
|
|
padding-top: 16px;
|
|
padding-bottom: 6px;
|
|
border-bottom: 1px solid transparent;
|
|
.ivu-drawer-header-inner {
|
|
font-size: 18px;
|
|
padding: 0 4px;
|
|
height: 32px;
|
|
line-height: 32px;
|
|
}
|
|
}
|
|
.ivu-drawer-body {
|
|
padding: 10px 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
*[hidden="hidden"] {
|
|
display: none !important;
|
|
}
|
|
|
|
.clearfix {
|
|
*zoom: 1;
|
|
|
|
&:after,
|
|
&:before {
|
|
display: table;
|
|
content: ""
|
|
}
|
|
&:after {
|
|
clear: both
|
|
}
|
|
}
|
|
|
|
|
|
.page-box {
|
|
text-align: center;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.search-box {
|
|
margin-bottom: 24px;
|
|
> ul {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
> li {
|
|
flex: 1;
|
|
flex-shrink: 0;
|
|
margin-right: 12px;
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
.search-label {
|
|
font-weight: 600;
|
|
}
|
|
.search-content {
|
|
margin-top: 6px;
|
|
}
|
|
&.search-button {
|
|
flex: none;
|
|
}
|
|
}
|
|
}
|
|
&.auto {
|
|
display: flex;
|
|
> ul {
|
|
> li:not(.search-button) {
|
|
min-width: 180px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.icon-loading {
|
|
animation: icon-loading-load 0.6s infinite linear;
|
|
}
|
|
|
|
@keyframes icon-loading-load {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
|
|
|