| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409 |
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- html {
- height: 100%;
- font-size: 14px;
- // user-select: none;
- }
- /* 主题色 */
- :root {
- // 文字颜色
- --themeColor: #002c15;
- // 登录页文字颜色
- --loginTxt: #fddb77;
- // 一个模块一个模块的背景色
- --boxBcaColor: #f8f8f8;
- // 这个项目颜色有点杂--字典、组织、标签模块主题色
- --txtColor: #4c7f7a;
- // antd主题色
- --myAntdColor: #ab925b;
- }
- body {
- font:
- 1em/1.4 'Microsoft Yahei',
- 'PingFang SC',
- 'Avenir',
- 'Segoe UI',
- 'Hiragino Sans GB',
- 'STHeiti',
- 'Microsoft Sans Serif',
- 'WenQuanYi Micro Hei',
- sans-serif;
- height: 100%;
- color: var(--themeColor) !important;
- }
- i {
- font-style: normal;
- }
- img {
- max-width: 100%;
- max-height: 100%;
- vertical-align: middle;
- object-fit: cover;
- }
- ul {
- list-style: none;
- }
- body {
- overflow: auto;
- overflow-y: overlay;
- }
- /* 文本域取消下拉 */
- textarea {
- resize: none !important;
- min-height: 100px !important;
- }
- /* 找不到页面 */
- .noFindPage {
- opacity: 0;
- transition: opacity 0.5s;
- .ant-result-title {
- display: none;
- }
- }
- /* 兼容360浏览器的下拉框 */
- .ant-select-selector {
- position: relative;
- background-color: #ffffff;
- border: 1px solid #d9d9d9;
- transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
- }
- // 气泡框闪烁问题
- .ant-popconfirm {
- width: 240px;
- }
- // 重置antd样式
- #root {
- width: 100vw;
- height: 100vh;
- min-width: 1600px;
- min-height: 900px;
- overflow: auto;
- overflow-y: overlay;
- a {
- text-decoration: none;
- color: black;
- outline: none;
- }
- // ?的提示
- .iconHoverTit {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .iconHoverTitTxt {
- background-color: var(--themeColor);
- color: #fff;
- width: 16px;
- height: 16px;
- line-height: 16px;
- text-align: center;
- font-size: 12px;
- border-radius: 50%;
- }
- // a {
- // color: var(--themeColor);
- // }
- /* antd分页器样式 */
- // .ant-pagination .ant-pagination-item {
- // border-radius: 50%;
- // border: 1px solid #999;
- // background-color: transparent !important;
- // }
- // .ant-pagination .ant-pagination-item-active {
- // background-color: var(--themeColor) !important;
- // }
- // .ant-pagination .ant-pagination-item-active a {
- // color: #fff !important;
- // }
- // .ant-pagination .ant-pagination-item:hover {
- // background-color: var(--themeColor) !important;
- // }
- // .ant-pagination .ant-pagination-item:hover a {
- // color: #fff !important;
- // }
- // .ant-pagination-prev {
- // border-radius: 50% !important;
- // border: 1px solid #999;
- // }
- // .ant-pagination-prev:hover {
- // background-color: var(--themeColor);
- // }
- // .ant-pagination-prev:hover button {
- // color: #fff;
- // }
- // .ant-pagination-next {
- // border-radius: 50% !important;
- // border: 1px solid #999;
- // }
- // .ant-pagination-next:hover {
- // background-color: var(--themeColor);
- // }
- // .ant-pagination-next:hover button {
- // color: #fff;
- // }
- // .ant-pagination-disabled {
- // border: 1px solid #ccc;
- // }
- // .ant-pagination-disabled:hover {
- // background-color: transparent;
- // }
- /* 表格的图片居中 */
- .tableImgAuto {
- display: flex;
- justify-content: center;
- }
- /* antd图片预览组件 */
- .ant-image {
- display: none;
- }
- // 树型 表格 定制化
- #A2Table3 {
- .ant-table-row-expand-icon {
- background-color: var(--themeColor);
- color: #fff;
- }
- .ant-table-cell-with-append {
- display: flex;
- justify-content: flex-start;
- }
- }
- }
- [hidden] {
- display: none !important;
- }
- #upInput {
- display: none;
- }
- #upInput2 {
- display: none;
- }
- #upInputAudio {
- display: none;
- }
- // 页面标题
- .pageTitle {
- font-size: 18px;
- position: absolute;
- z-index: 11;
- top: -72px;
- left: -18px;
- padding-left: 40px;
- color: #fff;
- text-shadow: 2px 2px 2px black;
- letter-spacing: 2px;
- &::before {
- position: absolute;
- left: -7px;
- content: '';
- font-size: 24px;
- font-weight: 700;
- top: 0px;
- width: 2px;
- height: 26px;
- background-color: #596754;
- }
- }
- // 滚动条
- .mySorrl::-webkit-scrollbar {
- /*滚动条整体样式*/
- width: 5px;
- /*高宽分别对应横竖滚动条的尺寸*/
- height: 1px;
- }
- .mySorrl::-webkit-scrollbar-thumb {
- /*滚动条里面小方块*/
- border-radius: 10px;
- -webkit-box-shadow: inset 0 0 5px transparent;
- background: var(--themeColor);
- }
- .mySorrl::-webkit-scrollbar-track {
- /*滚动条里面轨道*/
- -webkit-box-shadow: inset 0 0 5px transparent;
- border-radius: 10px;
- background: transparent;
- }
- .ant-image-preview-operations {
- background-color: rgba(0, 0, 0, 0.8) !important;
- }
- // --------关于表格
- .ant-table-body {
- background-color: var(--boxBcaColor) !important;
- }
- /* antd表格居中 */
- .ant-table-cell {
- text-align: center !important;
- }
- .ant-table-header {
- .ant-table-cell {
- color: var(--themeColor) !important;
- background-color: #d6e6df !important;
- }
- }
- .ant-table-body {
- .ant-table-cell {
- border-color: #ccc !important;
- }
- }
- // .ant-table-placeholder {
- // background-color: transparent !important;
- // .ant-empty-description {
- // color: var(--themeColor) !important;
- // }
- // ellipse {
- // fill: var(--boxBcaColor) !important;
- // }
- // path {
- // fill: transparent !important;
- // }
- // g {
- // stroke: var(--themeColor) !important;
- // }
- // }
- #editBox {
- font-size: 16px;
- background-color: var(--boxBcaColor);
- border-radius: 10px;
- .editMain {
- width: 100%;
- height: calc(100% - 60px);
- overflow-y: auto;
- }
- }
- /* 普通文字按钮的颜色 */
- .ant-btn-text {
- color: var(--myAntdColor) !important;
- }
- .ant-btn-text:disabled {
- cursor: not-allowed !important;
- color: rgba(0, 0, 0, 0.25) !important;
- }
- /* 按钮的危险颜色 */
- .ant-btn-text.ant-btn-dangerous {
- color: #ff4d4d !important;
- }
- // 抽屉文字居中
- .ant-dropdown-menu-title-content {
- text-align: center;
- }
- // ----------表格中的视频查看
- .tablelookVideo {
- display: flex;
- justify-content: center;
- position: relative;
- .tablelookBox {
- cursor: pointer;
- transition: opacity 0.3s;
- opacity: 0;
- z-index: 10;
- position: absolute;
- top: 0;
- left: 50%;
- transform: translateX(-50%);
- width: 60px;
- height: 60px;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 18px;
- color: #fff;
- background-color: rgba(0, 0, 0, 0.6);
- & > div {
- font-size: 14px;
- }
- &:hover {
- opacity: 1;
- }
- }
- video {
- width: 60px;
- height: 60px;
- object-fit: cover;
- }
- }
- // -----------表格中的多选框
- .ant-table-wrapper {
- .ant-table-selection,
- .ant-checkbox-wrapper {
- width: 50px !important;
- .ant-checkbox-inner {
- width: 24px !important;
- height: 24px !important;
- }
- .ant-checkbox-inner:after {
- left: 35%;
- }
- }
- .ant-table-tbody .ant-checkbox-wrapper {
- position: relative;
- left: -2px;
- }
- .ant-table-thead .ant-checkbox-indeterminate {
- .ant-checkbox-inner:after {
- width: 15px;
- height: 15px;
- left: 50%;
- }
- }
- }
|