UNPKG

ttk-app-core

Version:
82 lines (77 loc) 1.52 kB
.ttk-scm-incomeexpenses-setting{ width: 100%; height: 100%; display: flex; flex-direction: column; flex: 1; padding: 0 10px 0 0 !important; .ant-tabs-bar { margin: 0; } &-tab { border: 1px solid #d9d9d9; border-bottom: 0; background-color: #fff; margin-bottom: -1px; padding: 6px 0 0 0; position: relative; z-index: 1; .ant-tabs-nav { padding-left: 10px; .ant-tabs-tab { margin: 0; } } } &-btn { text-align: right; position: absolute; right: 20px; top: 11px; z-index: 5; button { margin-left: 8px; } } &-table{ flex: 1; border: 0px solid #d9d9d9; } &-content{ width: 100%; border: 1px solid #d9d9d9; border-top: 0.2px solid #d9d9d9; background-color: #fff; height: 100%; margin-bottom: 10px; .ant-switch { position: relative; bottom: 4px; } .ant-switch-disabled { background-color: #dedede; cursor: not-allowed; opacity: 1; pointer-events: auto; } .ant-switch-disabled::after { cursor: not-allowed; pointer-events: auto; } .no-enable { color: #dedede; } } .mk-table .ant-table-tbody tr td[rowspan]{ background-color: #fff } .mk-table .ant-table-tbody tr:nth-child(odd) td[rowspan='1']{ background-color: #fff } .mk-table .ant-table-tbody tr:nth-child(even) td[rowspan='1']{ background-color: #f8f8f8 } .mk-table .ant-table-tbody tr.tr_zuofei:nth-child(even) td{ background-color: #fff } }