123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- @import '~antd/es/style/variable.less';
- html,
- body,
- #root {
- height: 100%;
- }
-
- .colorWeak {
- filter: invert(80%);
- }
-
- .ant-layout {
- min-height: 100vh;
- }
- .ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
- left: unset;
- }
-
- canvas {
- display: block;
- }
-
- body {
- text-rendering: optimizeLegibility;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
-
- ul,
- ol {
- list-style: none;
- }
-
- @media (max-width: @screen-xs) {
- .ant-table {
- width: 100%;
- overflow-x: auto;
- &-thead > tr,
- &-tbody > tr {
- > th,
- > td {
- white-space: pre;
- > span {
- display: block;
- }
- }
- }
- }
- }
-
- // Compatible with IE11
- @media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
- body .ant-design-pro > .ant-layout {
- min-height: 100vh;
- }
- }
-
- .full-height {
- height: 100%;
- }
-
- .flex {
- display: flex;
- }
-
- .flex-column {
- flex-direction: column;
- }
-
- .flex-0 {
- flex: 0;
- }
-
- .flex-1 {
- flex: 1;
- }
-
- // 修改大屏地图的 zoom 空间样式
- .amap-toolbar {
- background-color: rgba(255, 255, 255, 0.3);
- }
-
- .amap-toolbar span:first-child {
- border-bottom: 1px solid rgba(255, 255, 255, 0.3);
- }
-
- .amap-marker-label {
- background: transparent;
- border: none;
- }
|