ReportsManage.less 2.66 KB
Newer Older
1
@import "~antd/es/style/themes/default.less";
陈龙's avatar
陈龙 committed
2 3 4 5

.lackParams {
  width: 100%;
  height: 100%;
6 7 8
  display: flex;
  justify-content: center;
  align-items: center;
陈龙's avatar
陈龙 committed
9 10 11
}

.reportManage {
12 13
  padding: 8px;
  height: 100%;
陈龙's avatar
陈龙 committed
14 15 16 17 18 19 20 21 22 23
  display: flex;
  flex-direction: column;

  .contentWrapper {
    display: flex;
    flex-direction: column;
    height: 100%;

    .controlRow {
      background: #ffffff;
24
      padding: 6px;
陈龙's avatar
陈龙 committed
25
      border-radius: 4px;
26 27 28
      margin-bottom: 4px;
      display: flex;
      flex-direction: row;
陈龙's avatar
陈龙 committed
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
    }

    .tableContent {
      flex: 1;
      padding: 6px;
      background: #ffffff;

      .handleColumnWrapper {
        display: flex;
        justify-content: space-around;

        .editButton {
          cursor: pointer;

          &:hover {
            color: rgb(24, 144, 255);
          }
        }

        .deleteButton {
          cursor: pointer;
50
          color: rgb(255, 0, 0);
陈龙's avatar
陈龙 committed
51 52 53 54 55 56 57 58 59 60

          &:hover {
            //color: rgb(24, 144, 255);
          }
        }
      }

      .spinWrapper {
        width: 100vw;
        height: 60vh;
61 62 63
        display: flex;
        justify-content: center;
        align-items: center
陈龙's avatar
陈龙 committed
64 65 66
      }

      :global {
67

陈龙's avatar
陈龙 committed
68 69 70 71 72
        .@{ant-prefix}-table-container {
          height: 100%;

          & > .@{ant-prefix}-table-body {
            border-bottom: 1px solid #dbe7fb;
73
            border-right: 1px solid #dbe7fb;
陈龙's avatar
陈龙 committed
74 75 76
          }

          .@{ant-prefix}-table-body {
77
            flex: 1
陈龙's avatar
陈龙 committed
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
          }

          .@{ant-prefix}-table-summary > table > tfoot > tr > td {
            border-right: none;
          }

          .@{ant-prefix}-table-summary > table > tfoot > tr:not(:last-child) > td {
            border-bottom: none;
          }

          .@{ant-prefix}-table-summary > table > tfoot > tr:last-child > td {
            border-bottom: 1px solid #dbe7fb;
          }
        }

        .@{ant-prefix}-basic-table .@{ant-prefix}-pagination {
          border-top: none;
        }
      }
    }
  }

100

陈龙's avatar
陈龙 committed
101 102
  .link {
    cursor: pointer;
103 104 105 106
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
陈龙's avatar
陈龙 committed
107 108

    &:hover {
109
      color: #1685FF;
陈龙's avatar
陈龙 committed
110 111 112 113 114 115 116 117 118 119 120 121
      font-weight: bold;
      text-decoration: underline;
    }
  }

  :global {
    .@{ant-prefix}-form-item {
      margin-bottom: 0 !important;
    }
  }

  .prefixOrSuffix {
122
    color: rgba(0, 0, 0, .65);
陈龙's avatar
陈龙 committed
123 124 125 126 127 128 129 130 131 132 133 134
    font-size: 10px;
  }

  :global {
    ::-webkit-scrollbar,
    *::-webkit-scrollbar {
      width: 0px;
      height: 6px;
    }

    ::-webkit-scrollbar-track,
    *::-webkit-scrollbar-track {
135
      background: #F2F2F2;
陈龙's avatar
陈龙 committed
136 137 138 139 140 141
      border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb,
    *::-webkit-scrollbar-thumb {
      border-radius: 5px;
142
      background: #DCDCDC;
陈龙's avatar
陈龙 committed
143 144 145
    }
  }
}