// Reset default browser styles * { box-sizing: border-box; } #root { min-height: 100vh; } html, body, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button { margin: 0; padding: 0; font-size: 100%; font-family: inherit; vertical-align: baseline; border: 0 none; color: inherit; background: transparent; box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } @font-face { font-family: 'PangMenZhengDao-3'; src: url('@/assets/fonts/PangMenZhengDao-3.ttf'); font-weight: normal; font-style: normal; } @font-face { font-family: 'PangMenZhengDao'; src: url('@/assets/fonts/PangMenZhengDao.ttf'); font-weight: normal; font-style: normal; } body { color: #333; .ant-collapse-header { flex-direction: row-reverse; } .ant-collapse-item { background-color: white !important; border-radius: 0.06rem !important; border-bottom: none !important; margin-bottom: 0.1rem; } .ant-select-dropdown .ant-select-item { font-size: 0.26rem; } .ant-picker-dropdown { font-size: 0.24rem; } .ant-picker-dropdown .ant-picker-content td { width: 0.3rem; } .ant-picker-dropdown .ant-picker-cell::before { height: 0.3rem; } .ant-picker-dropdown .ant-picker-cell .ant-picker-cell-inner { min-width: 0.3rem; height: 0.3rem; line-height: 0.3rem; } } // Remove list styles on ul, ol ul, ol { list-style: none; } // Remove link styles a { text-decoration: none; } // Remove table border table { border-collapse: collapse; border-spacing: 0; background-color: white; } // Remove input styling for IE input[type='text'], input[type='password'], input[type='number'], textarea { appearance: none; -webkit-appearance: none; -moz-appearance: none; // border-radius: 0; } // Remove button styling for IE button, input[type='submit'], input[type='reset'] { appearance: none; -webkit-appearance: none; -moz-appearance: none; border: 0 none; background: none; padding: 0; cursor: pointer; } // Remove outline on focus *:focus { outline: none; } .box { border-radius: 0.08rem; box-shadow: 0rem 0rem 0.08rem 0.02rem rgba(191, 191, 191, 0.2); border: 0.01rem solid #eee; background: rgba(255, 255, 255); } .card-box { border-radius: 0.4rem 0 0.4rem 0; background: #ffffff; // box-shadow: 0.01rem 0.06rem 0.1rem 0rem rgba(0, 0, 0, 0.1); } .value-number { font-size: 0.8rem; font-family: PangMenZhengDao-3, PangMenZhengDao-3; font-weight: 400; color: #3b3b3b; line-height: 0.62rem; letter-spacing: 0.06rem; } .content-tab { padding-left: 0.05rem; padding-top: 0.05rem; padding-right: 0.05rem; height: calc(100vh - 1.3rem); overflow-x: hidden; overflow-y: auto; } .content-title { padding-left: 0.05rem; padding-right: 0.05rem; height: calc(100vh - 1.15rem); overflow-x: hidden; overflow-y: auto; } .password-eye { display: inline-block; vertical-align: middle; width: 0.3rem; height: 0.3rem; background: url('@/assets/icon-eye1.png') no-repeat center; background-size: 0.3rem; &.open { background-image: url('@/assets/icon-eye2.png'); } } .tabs { display: flex; width: 100%; overflow-x: auto; border: 0.01rem solid #979797; &::-webkit-scrollbar { display: none; } .tabs-item { flex: 1; padding: 0.16rem 0.24rem; font-size: 0.24rem; font-weight: 400; color: #4a4a4a; border-right: 0.01rem solid #979797; white-space: nowrap; &:last-child { border-right: none; } &.active { color: #ffffff; background: #4a90e2; } } } .section-title { display: flex; align-items: center; font-size: 0.28rem; font-weight: 400; color: #4a4a4a; line-height: 0.4rem; .section-line { width: 0.04rem; height: 0.3rem; background: #4a90e2; margin-right: 0.08rem; } } *::-webkit-scrollbar { width: 0.06rem; height: 0.06rem; } *::-webkit-scrollbar-thumb { background-color: #999; } *::-webkit-scrollbar-thumb:hover { background-color: #666; } *::-webkit-scrollbar-track { background-color: #eee; } .ant-btn-primary { background: #4a90e2; font-size: 0.16rem; padding-top: 0; padding-bottom: 0; } .ant-table, .ant-table-cell, .ant-table-placeholder { background: transparent !important; } .ant-table, .ant-table-container, .ant-table-wrapper table { border-radius: 0 !important; } .ant-table-container { border: none !important; } .ant-table-cell::before { display: none; } .ant-table-thead { background: rgba(23, 85, 255, 0.5); } .ant-table-wrapper .ant-table-thead > tr > th, .ant-table-wrapper .ant-table-tbody > tr > td { border-radius: 0; padding: 0.12rem 0.18rem; font-size: 0.28rem; color: #fff; line-height: 1; font-weight: normal; vertical-align: middle; border: 0 none !important; border-radius: 0 !important; } // .ant-table-tbody > tr:nth-child(even) { // background: rgba(145, 192, 238, 0.16); // } .ant-table-cell::before { display: none; } .ant-picker { font-size: 0.26rem; .ant-picker-input > input { font-size: 0.24rem; } .ant-picker-separator { font-size: 0.24rem; } } .ant-select-selection-item { font-size: 0.26rem; } .ant-select-selector { // height: 0.4rem; padding: 0.04rem 0.11rem; } .ant-select-single:not(.ant-select-customize-input) .ant-select-selector { // height: 0.4rem; padding: 0.04rem 0.11rem; } .ant-select-single .ant-select-selector { font-size: 0.26rem; }