123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408 |
- // 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.3rem;
- }
- .ant-picker-dropdown {
- font-size: 0.3rem;
- }
- .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;
- }
- .ant-picker-dropdown .ant-picker-date-panel .ant-picker-content {
- width: 4rem;
- }
- .ant-picker-dropdown .ant-picker-date-panel .ant-picker-content th {
- width: 0.36rem;
- }
- .ant-picker-dropdown .ant-picker-content th {
- height: 0.36rem;
- }
- .ant-picker-dropdown .ant-picker-content th,
- .ant-picker-dropdown .ant-picker-content td {
- min-width: 0.24rem;
- }
- .ant-picker-dropdown .ant-picker-cell {
- padding: 0.06rem 0.06rem;
- }
- .ant-picker-dropdown .ant-picker-decade-panel,
- .ant-picker-dropdown .ant-picker-year-panel,
- .ant-picker-dropdown .ant-picker-quarter-panel,
- .ant-picker-dropdown .ant-picker-month-panel,
- .ant-picker-dropdown .ant-picker-week-panel,
- .ant-picker-dropdown .ant-picker-date-panel,
- .ant-picker-dropdown .ant-picker-time-panel {
- width: 4.5rem;
- }
- .ant-modal-root .ant-modal-mask {
- background-color: rgba(0, 0, 0, 0.2);
- }
- .ant-modal-wrap {
- &::-webkit-scrollbar {
- display: none;
- }
- &::-webkit-scrollbar-thumb {
- display: none;
- }
- &::-webkit-scrollbar-track {
- display: none;
- }
- &::-webkit-scrollbar-thumb:hover {
- display: none;
- }
- }
- }
- // 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);
- }
- .card-select {
- border: 3px solid #66ccff;
- }
- .value-number {
- margin-bottom: 0.2rem;
- 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.25rem;
- height: calc(100vh - 1.3rem);
- overflow-x: hidden;
- overflow-y: auto;
- }
- .content-title {
- // padding-left: 0.05rem;
- // padding-right: 0.5rem;
- // height: calc(100vh - 1.15rem);
- // overflow-x: hidden;
- // overflow-y: auto;
- }
- .password-eye {
- display: inline-block;
- vertical-align: middle;
- width: 0.6rem;
- height: 0.35rem;
- background: url('@/assets/icon-eye1.png') no-repeat center;
- background-size: 0.4rem;
- &.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;
- text-align: center;
- 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 {
- padding: 0.08rem 0.24rem;
- font-size: 0.28rem;
- line-height: 1;
- height: auto;
- }
- .ant-btn-primary {
- background: #4a90e2;
- }
- .ant-table {
- background: #fff;
- }
- .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.16rem 0.18rem;
- font-size: 0.28rem;
- color: rgba(97, 93, 93, 1);
- line-height: 0.32rem;
- font-weight: normal;
- vertical-align: middle;
- border-radius: 0 !important;
- }
- .ant-table-wrapper .ant-table-thead > tr > th {
- border: 0 none !important;
- color: #fff;
- }
- .ant-table-wrapper .ant-table-tbody > tr > td {
- border-bottom: 1px solid rgba(188, 186, 186, 1);
- }
- // .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: auto;
- padding: 0.04rem 0.11rem;
- }
- .ant-select-single .ant-select-selector {
- font-size: 0.26rem;
- }
- .ant-checkbox-wrapper {
- font-size: 0.32rem;
- color: rgba(29, 131, 255, 1);
- }
- .ant-checkbox {
- .ant-checkbox-inner {
- width: 0.32rem;
- height: 0.32rem;
- &::after {
- width: 0.1rem;
- height: 0.15rem;
- left: 30%;
- }
- }
- // font-size: 0.32rem;
- }
- .ant-empty {
- margin-top: 20px;
- .ant-empty-image {
- height: 150px;
- }
- .ant-empty-description {
- font-size: 24px;
- }
- }
- // react-zmage样式修改
- #zmageControl {
- transform: scale(0.4);
- transform-origin: 100% 0;
- }
|