@import '~antd/dist/antd.less'; html{ font-size: 16px; } body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-y: hidden; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } #root { min-width: 1280px; } .flex-grow-1 { flex-grow: 1; } ::-webkit-scrollbar { width: 4px; height: 8px; } ::-webkit-scrollbar-track { background: #eee; } ::-webkit-scrollbar-thumb { background: #ECF2F9; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #ECF2F9; } .ant-card-body{//此处不加.ant-card-body为导致首页的滚动条样式受到影响 ::-webkit-scrollbar { width: 8px !important; height: 8px !important; // background: rgba(250, 15, 15, ) !important; cursor: pointer; } ::-webkit-scrollbar-corner { //background-color: gray!important; } } .ant-table-content::-webkit-scrollbar-thumb,.ant-table-body::-webkit-scrollbar-thumb { background: #C1C1C1;//#ECF2F9; } .ant-table-content::-webkit-scrollbar-thumb,.ant-table-body::-webkit-scrollbar-thumb:hover { background: #C1C1C1;//#ECF2F9; } .ant-modal-title{ font-size:16px; font-weight:bold; } .adcdTreeSelectorBox{ width: 230px; height:calc( 100vh - 145px ); margin:0 20px 0 0; background: #fff; //box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1); position:relative; border: 1px solid #d9d9d9; box-sizing: border-box; .treeBox{ //height:calc( 100vh - 158px ); overflow: hidden auto; padding: 8px 0 0 2px; border-top: 1px solid #d9d9d9; } .ant-input-group .ant-input,.ant-btn{ border:0; } .ant-input-affix-wrapper{ border:0; //border-right: 2px solid #d9d9d9; } .checkboxBox{ position:absolute; top:34px; width:100%; height:30px; background:#fff; border-top: 1px solid #d9d9d9; padding-top:4px; } } .adcdTreeTableBox{ width:calc( 100vw - 602px ); height:calc( 100vh - 143px ); background: #fff; //box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1); } .CrudAdcdTreeTableBox{ width:calc( 100vw - 602px ); height:calc( 100vh - 143px ); background: #fff; //box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1); } .xybm{ // height:calc( 100vh - 118px ); height:calc( 100vh - 90px ); background-color: #fff !important; padding:0; // margin:10px 0 0 5px; .ant-table-container{ border-left:1px solid #d9d9d9 !important; } } .radarVideoModal{ .ant-modal-content{ width: 100%; height: 100%; .ant-modal-body{ width: 100%; height: calc( 100% - 120px ); padding: 0 30px; } .ant-tabs-tabpane{ height: calc( 76vh - 120px ); } } } .toolbarBox{ .ant-form-item{ padding: 5px 0; } } .flex{ display: flex; } .flexwarp{ flex-wrap: wrap; } .flexcc{ justify-content: center; align-items: center; } .flexsbc{ justify-content: space-between; align-items: center; } .flexsac{ justify-content: space-around; align-items: center; } .flexac{ align-items: center; } .flexfc{ flex-direction: column; } // .ant-table-thead{ // th{ // height: 40px !important; // background-color: #e2edfd !important; // } // } .ant-table-tbody{ .ant-table-measure-row{ td{ padding: 0 !important; } } // tr:nth-child(odd) { // td{ // background-color: #f5f8fe !important; // } // } } .ant-input[disabled], .ant-picker-input > input[disabled], .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector { color: rgba(0, 0, 0, 0.7) !important; } .ant-table-title{ padding: 0 !important; padding-right: 10px !important; } .flex{ display: flex; } .flex-end{ justify-content: flex-end; }