| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- .layout-chart {
- &>.ant-layout-content {
- display: flex;
- flex-direction: column;
- &>.ant-card {
- min-height: calc(~'100% - 64px');
- display: flex;
- flex-direction: column;
- &>.ant-card-head {
- height: 64px;
- min-height: 64px;
- padding: 0 10px;
- .tools {
- flex: 1;
- flex-wrap: nowrap;
- .groups {
- .group {
- line-height: 2.1;
- white-space: normal;
- .ant-breadcrumb-link {
- .ant-tag {
- cursor: default;
- max-width: 200px;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- margin: -6px 0;
- .anticon-bars {
- cursor: pointer;
- vertical-align: middle;
- font-size: 16px;
- margin-right: 8px;
- line-height: 18px;
- }
- &> span {
- cursor: pointer;
- font-size: 14px;
- }
- }
- }
- &.nogroup {
- opacity: .5;
- }
- }
- }
- .search {
- display: flex;
- >div {
- margin-left: 8px;
- }
- .btn-refresh {
- border: none;
- background: none;
- box-shadow: none;
- font-size: 18px;
- &:after {
- content: none;
- }
- }
- }
- }
- }
- &>.ant-card-body {
- flex: 1;
- padding: 10px;
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- overflow: auto;
- &:before {
- content: none;
- }
- &>.chart-body {
- display: flex;
- flex-wrap: wrap;
- }
- }
- }
- .ant-pagination {
- height: 64px;
- padding: 16px;
- text-align: end;
- background: @content-background-color;
- }
- }
- }
- .popover-group {
- width: 300px;
- .grouptree-title {
- .create-group {
- cursor: pointer;
- color: #40a9ff;
- }
- }
- .ant-popover-inner-content {
- cursor: default;
- max-height: 60vh;
- overflow: auto;
- }
- .tree-group {
- li.drag-over {
- input {
- background-color: #40a9ff;
- }
- }
- li {
- .ant-tree-node-content-wrapper {
- width: 90%;
- height: 28px;
- margin: 0 !important;
- padding: 0;
- background-color: transparent;
- :hover {
- background-color: transparent !important;
- }
- .ant-tree-node-selected {
- background-color: transparent !important;
- }
- input {
- max-width: 180px;
- border: none;
- }
- .anticon-plus-circle-o {
- margin-left: 5px;
- }
- .anticon-minus-circle {
- margin-left: 5px;
- }
- }
- .drag-over {
- span[draggable] {
- opacity: .7;
- }
- }
- }
- }
- }
- .tree-group li.drag-over > span[draggable] {
- opacity: .5;
- }
- .menu-operation {
- padding: 0;
- .ant-dropdown-menu-item {
- .anticon {
- margin-right: 6px;
- }
- }
- .ant-dropdown-menu-item-divider {
- margin: 0;
- }
- .setgroupmenu {
- .ant-dropdown-menu-submenu-title {
- display: flex;
- }
- }
- }
- .ant-tooltip-inner {
- background-color: rgba(255, 255, 255, .9);
- color: #666
- }
- .setgroupmenu {
- .ant-dropdown-menu-item.current {
- background-color: fade(@item-active-bg-color, 25%);
- }
- }
|