html, body, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; // outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; // box-sizing: border-box; } body { line-height: 1; height: auto; } :focus { outline: 1; } article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; } ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ""; content: none; } a { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; background: transparent; } ins { background-color: #ff9; color: #000; text-decoration: none; } mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; } del { text-decoration: line-through; } abbr[title], dfn[title] { border-bottom: 1px dotted #000; cursor: help; } table { border-collapse: collapse; border-spacing: 0; } hr { display: block; height: 1px; border: 0; border-top: 1px solid #cccccc; margin: 1em 0; padding: 0; } input, select { vertical-align: middle; } .success.ant-btn-link { color: #4cd964; } .danger.ant-btn-link { color: #ff3b30; } // 菜单默认样式及激活样式重置 .menu { .icon-class { .mg-r(19); } .ant-menu .ant-menu-submenu .ant-menu-submenu-title, .ant-menu li.ant-menu-item { .h(64); .lh(64); .mg(0); .ant-menu-submenu-arrow { &::before, &::after { content: none; } } } .ant-menu .ant-menu-submenu .ant-menu-submenu-title, .ant-menu li.ant-menu-item a { .fs(14); color: #778ca2; } .ant-menu.ant-menu-sub { background-color: #f8fafb; .ant-menu-item:not(:last-child) { .bd-b(solid, 1, #F0F3F5); } } .ant-menu-item.ant-menu-item-selected, .ant-menu-submenu.ant-menu-submenu-open .ant-menu-submenu-title { background-color: #2b63ff !important; color: #fff; &::after { content: none; } a.router-link-active { color: #fff; } } .ant-menu-sub { .ant-menu-item.ant-menu-item-selected { background-color: transparent !important; a.router-link-active { color: #2b63ff; } } } } // form部分全局样式重置 .ant-form { .ant-form-item{ .mg-b(22); } label{ // .fs(19); font-weight: bold; font-family: PingFangSC-Medium, PingFang SC; } } .ant-calendar-picker, .ant-input-number { width: 100%; } // .ant-table, .ant-table { .ant-table-thead th{ font-weight: bold; background-color: #F8FAFB !important; } .ant-btn { // .fs(21); .pa(0, 8, 0, 8) } // 编辑的时候字体颜色修改 .ant-input, .ant-select{ width: 100%; color: #2B63FF; } // 操作栏fixed状态 层级太高会遮住展开的内容 .ant-table-expanded-row{ position: relative; z-index: 2; } } .ant-btn-primary{ background-color: #2B63FF; } .ant-btn-link{ color: #2B63FF; } .ant-input, .ant-input-number, .ant-select-selection { border: none; background-color: #f8fafb; &::placeholder { color: #252631; opacity: 0.4; } } .none-label { .ant-form-item-label { opacity: 0; } } .ant-pagination { .ant-pagination-item-active { .fs(16); border: none; // vertical-align: baseline; } .ant-pagination-item-link { .fs(16); .lh(22); .pa(7, 15, 7, 15); display: inline-block; background-color: #f8fafb; border: none; } .ant-pagination-item:not(.ant-pagination-item-active) { display: none; } .current-page { color: #4d7cfe; } .size-change { .w(107); .mg-l(40); background-color: #f8fafb; border: none; } } .ant-radio-group{ .ant-radio-button-wrapper{ .pa(8, 17, 8, 17); .lh(20); vertical-align: bottom; border: none; border-radius: 4px; background-color: #F8FAFB; &:before{ content: none; } &:hover{ color: #2B63FF; } } .ant-radio-button-wrapper-checked{ border: none; color: #2B63FF; background-color: #F1F5FF; &:before{ content: none; } &:hover{ border: none; background-color: #F1F5FF; color: #2B63FF; } } } .text-r{ text-align: right; }