global.less 2.51 KB
Newer Older
wuhao's avatar
wuhao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
a {
  color: #59c4f2;
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.centerl {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.spread {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drag {
  width: 100%;
  height: 30px;
  background-color: rgba(255, 255, 255, 0);
  -webkit-app-region: drag;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1111;
  transition: all 0.4s;
  cursor: pointer;
}
.ant-pro-form-login-header {
  height: auto !important;
}

.ant-pro-form-login-logo {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;

  img {
    width: auto !important;
    height: 140px !important;
    border-radius: 0 !important;
  }
}
.center {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
// protable 默认样式覆盖
.ant-pro-table .ant-pro-table-search,
.ant-pro-card-body {
  margin: 0 !important;
  padding: 0 !important;
}

.ant-pro-table-list-toolbar-container {
  padding-top: 0 !important;
  padding-bottom: 24px !important;
}

.ant-pro-table-list-toolbar-right {
  flex: 1 !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.ant-pro-table-list-toolbar-left {
  display: none;
}

.table-cell {
  display: -webkit-box;
  //width: 100%;
  overflow: hidden;
  font-size: 12px !important;
  word-break: break-all !important;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.noline {
  .ant-tabs-nav::before {
    border: none !important;
  }
  .ant-card-head{
    border: none !important;
  }
}
.ant-menu {
  border: none !important;
}
.react-reveal {
  word-break: break-all !important;
}

.sorts {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.4s;

  &:hover {
    background-color: var(--color);
  }

  * {
    transition: all 0.4s !important;
  }
}

.contained {
  .ant-card {
    background-color: var(--bgcolor) !important;
    border-radius: 12px !important;
  }
  .ant-pro-card {
    background-color: transparent;
  }
}
.ant-layout-sider {
  max-width: 220px !important;
  min-width: 220px !important;
}
.ant-layout-sider-collapsed {
  max-width: var(--width) !important;
  min-width: var(--width) !important;
}
.contained {
  .ant-drawer-body {
    padding: 0 !important;
    padding-right: 24px !important;
  }
}
.contain {
  margin: 0 12px;
}