You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bocai_supplyChain_pc/src/style/index.less

873 lines
14 KiB
Plaintext

2 years ago
@import "http://at.alicdn.com/t/c/font_3135652_xthu5ur6ppr.css";
3 years ago
4 years ago
// 初始化页面样式
body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td,
div {
margin: 0;
padding: 0;
3 years ago
color: #333;
// color: #666;
4 years ago
font-family: PingFangSC, PingFangSC-Regular;
}
body,
button,
input,
select,
textarea {
4 years ago
// font: 12px/1.5 tahoma, arial, \5b8b, \4f53;
font-family: PingFangSC, PingFangSC-Regular;
4 years ago
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 100%;
}
address,
cite,
dfn,
em,
var {
font-style: normal;
}
code,
kbd,
pre,
samp {
font-family: couriernew, courier, monospace;
}
small {
font-size: 12px;
}
ul,
ol {
list-style: none;
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
color: inherit;
text-decoration: none;
}
sup {
vertical-align: text-top;
}
sub {
vertical-align: text-bottom;
}
legend {
color: #000;
}
fieldset,
img {
border: 0;
}
button,
input,
select,
textarea {
font-size: 100%;
}
4 years ago
button {
cursor: pointer;
&:focus-visible {
outline: none;
}
4 years ago
}
4 years ago
table {
border-collapse: collapse;
border-spacing: 0;
}
4 years ago
html {
// width: 100%;
}
:root {
overflow-y: auto;
overflow-x: hidden;
}
4 years ago
body {
4 years ago
padding: 0;
4 years ago
// height: 3080px;
4 years ago
// background-color: #eef1f5;
4 years ago
background-color: #fff;
4 years ago
font-size: 18px;
4 years ago
// width: 100vw;
4 years ago
// text-align: center;
4 years ago
}
p {
font-size: 18px;
}
i {
font-style: normal;
}
//通用类名样式开始
.br8 {
border-radius: 8px;
}
.dil {
display: inline;
}
.dib {
display: inline-block;
}
.fw600 {
font-weight: 500;
}
.fl {
float: left;
}
.fr {
float: right;
}
.clb {
clear: both;
}
.tl {
text-align: left;
}
.tr {
text-align: right;
}
.tc,
.center {
text-align: center;
}
.f14 {
font-size: 14px !important;
}
.f14s {
font-size: 14px;
}
.ml8 {
margin-left: 8px;
}
.ml24 {
margin-left: 24px;
}
.m16 {
margin: 16px;
}
.m0 {
margin: 0 !important;
}
.m016 {
margin: 0 16px;
}
.m010 {
margin: 0 10px;
}
.m160 {
margin: 16px 0;
}
.mr4 {
margin-right: 4px;
}
.mr8 {
margin-right: 8px;
}
.mr12 {
margin-right: 12px;
}
.mt8 {
margin-top: 8px;
}
.mb8 {
margin-bottom: 8px;
}
.mb4 {
margin-bottom: 4px;
}
.mb2 {
margin-bottom: 2px;
}
.p0 {
padding: 0 !important;
}
.pr16 {
padding-right: 16px;
}
.pl16 {
padding-left: 16px;
}
.pb12 {
padding-bottom: 12px;
}
.pb4 {
padding-bottom: 4px;
}
.p08 {
padding: 0 8px;
}
.p012 {
padding: 0 12px !important;
}
.p016 {
padding: 0 16px;
}
.mt6 {
margin-top: 6px;
}
.p160 {
padding: 16px 0;
}
.p1612 {
padding: 16px 12px;
}
.ml10 {
margin-left: 10px;
}
.ml12 {
margin-left: 12px;
}
.mr10 {
margin-right: 10px;
}
.ml6 {
margin-left: 6px;
}
.ml4 {
margin-left: 4px;
}
.mr6 {
margin-right: 6px;
}
.mr14 {
margin-right: 14px;
}
.ml14 {
margin-left: 14px;
}
.mt10 {
margin-top: 10px;
}
.mb10 {
margin-bottom: 10px;
}
.mb12 {
margin-bottom: 12px;
}
.mb6 {
margin-bottom: 6px;
}
.mb16 {
margin-bottom: 16px;
}
.mb32 {
margin-bottom: 32px;
}
.pl8 {
padding-left: 8px;
}
.pr8 {
padding-right: 8px;
}
.pt8 {
padding-top: 8px;
}
.pt12 {
padding-top: 12px;
}
.pb8 {
padding-bottom: 8px;
}
.p16 {
padding: 16px;
}
.border1 {
border: 1px solid #eee;
}
.bb1 {
border-bottom: 1px solid #eee;
}
.br1 {
border-right: 1px solid #eee;
}
.bt1 {
border-top: 1px solid #eee;
}
.bl1 {
border-left: 1px solid #eee;
}
.bbd1 {
border-bottom: 1px dotted #eee;
}
.brd1 {
border-right: 1px dotted #eee;
}
.btd1 {
border-top: 1px dotted #eee;
}
.bld1 {
border-left: 1px dotted #eee;
}
.f6 {
font-size: 6px;
}
.f10 {
font-size: 10px;
}
.f22 {
font-size: 22px;
}
.f12 {
font-size: 12px;
}
.f14 {
font-size: 14px;
}
.f16 {
font-size: 16px;
}
.f18 {
font-size: 18px;
}
.f20 {
font-size: 20px;
}
.f22 {
font-size: 22px;
}
.c3 {
color: #333;
}
.c6 {
color: #666;
}
.c9 {
color: #999;
}
.fsa {
display: flex;
align-items: center;
justify-content: space-between;
}
//通用类名样式结束
4 years ago
//svg图标
.icon {
width: 1em;
height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
4 years ago
// 公用样式类名
.w {
width: 1200px;
margin: 0 auto;
}
4 years ago
.mb12 {
3 years ago
margin-bottom: 12px;
4 years ago
}
.mt20 {
3 years ago
margin-top: 20px;
4 years ago
}
4 years ago
.titlestyle {
3 years ago
font-size: 16px;
font-weight: 600;
color: #333;
4 years ago
}
.nobd {
3 years ago
border-left-color: transparent !important;
border-right-color: transparent !important;
border-top: none !important;
border-bottom: none !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
4 years ago
}
4 years ago
// 日期选择框
.ant-calendar-picker-container-content {
margin-top: 3px;
4 years ago
// width: 341px !important;
4 years ago
}
.ant-calendar-picker {
border-color: #d9d9d9 !important;
&:hover .ant-calendar-picker-input {
border-color: #d9d9d9 !important;
}
&:focus .ant-calendar-picker-input {
border-color: #d9d9d9 !important;
}
}
// 面包屑样式
.ant-breadcrumb {
.ant-breadcrumb-link {
a:hover {
4 years ago
color: #ff4400;
4 years ago
}
}
}
4 years ago
// 分页器样式
.pagecontainer {
4 years ago
display: flex;
justify-content: center;
text-align: center;
margin-bottom: 30px;
margin-top: 15px;
.ant-pagination-item-container {
.ant-pagination-item-link-icon {
4 years ago
color: #ff4400;
4 years ago
}
}
.ant-pagination-options-quick-jumper {
margin-left: 10px;
font-size: 16px;
}
.ant-pagination-disabled {
a:hover {
color: #c5c5c5 !important;
}
}
.ant-pagination-next,
.ant-pagination-prev {
4 years ago
&:focus .ant-pagination-item-link {
4 years ago
color: #000000a6;
}
4 years ago
&:hover .ant-pagination-item-link {
4 years ago
color: #ff4400;
4 years ago
}
}
input[type="text"] {
box-shadow: none;
3 years ago
background-color: #fff;
4 years ago
border-color: #ddd;
3 years ago
border-radius: 0;
4 years ago
&:focus {
4 years ago
border: 1px solid #ff4400;
4 years ago
}
&:hover {
4 years ago
border: 1px solid #ff4400;
4 years ago
}
}
.ant-pagination-item {
border: none;
3 years ago
border-radius: 0;
4 years ago
a:hover {
4 years ago
color: #ff4400;
4 years ago
}
}
.ant-pagination-item-active {
4 years ago
background: #ff4400;
4 years ago
a {
color: white;
}
a:hover {
color: white;
}
}
.ant-pagination-item-link {
border: none;
// &:hover .anticon-right {
4 years ago
// color: #ff4400;
4 years ago
// }
// .anticon-right{
// color: #000000a6;
// }
}
4 years ago
}
4 years ago
4 years ago
.ant-cascader-menus.monthlypay,
4 years ago
.ant-cascader-menus.agestr,
.ant-cascader-menus.gender {
3 years ago
// position: fixed !important;
// border-top: 1px solid #000;
4 years ago
width: 100vw;
margin: 0 auto;
4 years ago
top: 45px !important;
4 years ago
-webkit-box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15);
box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15);
4 years ago
transition: none !important;
4 years ago
.ant-cascader-menu {
4 years ago
height: auto;
4 years ago
width: 100%;
4 years ago
.ant-cascader-menu-item {
4 years ago
width: 100%;
text-align: left;
padding-left: calc((100vw - 1200px) / 2) !important ;
4 years ago
&:hover {
background-color: rgba(255, 106, 0, 0.1);
color: rgb(255, 106, 0);
}
}
}
}
4 years ago
.ant-cascader-menus.slide-up-leave-active {
animation: none !important;
transition: none !important;
4 years ago
}
4 years ago
.ant-cascader-menus.slide-up-enter-active {
animation: none !important;
transition: none !important;
4 years ago
}
4 years ago
.ant-cascader-menus.slide-up-leave {
transition: none !important;
animation: none !important;
4 years ago
}
4 years ago
.ant-cascader-menus.slide-up-enter {
animation: none !important;
transition: none !important;
4 years ago
}
4 years ago
.ant-cascader-menus.flitercity {
4 years ago
left: calc((100vw - 1216px) / 2) !important;
4 years ago
top: 45px !important;
4 years ago
border-radius: 0 0 4px 4px !important;
-webkit-box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15);
box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15);
4 years ago
4 years ago
.ant-cascader-menu {
4 years ago
height: 500px;
.ant-cascader-menu-item {
4 years ago
width: 100%;
text-align: left;
// padding-left: calc((100vw - 1200px) / 2) !important ;
&:hover {
background-color: rgba(255, 106, 0, 0.1);
color: rgb(255, 106, 0);
}
}
4 years ago
}
4 years ago
}
4 years ago
.logindropdown {
// left: 0;
left: calc((100vw - 1200px) / 2 + 1013px) !important;
.loginbox {
width: 180px;
// height: 114px;
overflow: hidden;
background-color: #fff;
border-radius: 4px;
text-align: center;
box-shadow: 0px 0px 10px rgba(128, 128, 128, 0.4);
padding: 0 16px 16px 16px;
4 years ago
> div {
4 years ago
padding: 16px;
text-align: center;
font-size: 16px;
font-weight: bold;
4 years ago
border-bottom: 1px solid #eee;
4 years ago
}
4 years ago
> a {
> div {
display: flex;
padding: 16px 0;
font-size: 14px;
// font-weight: bold;
justify-content: space-between;
border-bottom: 1px solid #eee;
4 years ago
&:hover {
4 years ago
color: #ff4400;
4 years ago
}
4 years ago
span {
line-height: 18px;
i {
font-size: 18px;
margin-right: 5px;
vertical-align: baseline;
}
}
}
}
4 years ago
button {
width: 130px;
height: 32px;
margin-top: 24px;
border: 1px solid rgba(77, 87, 94, 0.1);
border-radius: 17px;
4 years ago
color: #ff4400;
4 years ago
font-size: 14px;
line-height: 32px;
background-color: #fff;
cursor: pointer;
}
}
4 years ago
}
4 years ago
4 years ago
.beforeblock {
4 years ago
display: inline-block;
vertical-align: middle;
margin-top: -4px;
width: 4px;
height: 20px;
margin-right: 8px;
4 years ago
background: #ff4400;
4 years ago
}
h1.bottombox,
p.bottombox {
4 years ago
position: relative;
4 years ago
text-align: center;
// border-bottom: 1px solid #eeefef;
3 years ago
font-weight: 600;
font-size: 16px;
3 years ago
padding: 12px 0;
color: #ff4400;
background-color: #fee9e1;
3 years ago
4 years ago
&::after {
content: "";
display: block;
position: absolute;
4 years ago
width: 240px;
4 years ago
height: 1px;
bottom: 0;
left: -20px;
background-color: #eeefef;
}
4 years ago
// i {
// display: inline-block;
// line-height: 20px;
4 years ago
// border-bottom: 3px solid #ff4400;
4 years ago
// padding: 6px 0;
// }
4 years ago
}
4 years ago
.ant-cascader-menu,
.ant-modal-body {
4 years ago
// max-height: 300px !important;
4 years ago
&::-webkit-scrollbar {
/*滚动条整体样式*/
4 years ago
width: 7px; /*高宽分别对应横竖滚动条的尺寸*/
4 years ago
height: 4px;
}
&::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 5px;
-webkit-box-shadow: inset 0 0 5px rgba(126, 126, 126, 0.06);
background: rgba(0, 0, 0, 0.1);
}
&::-webkit-scrollbar-track {
/*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 5px rgba(112, 112, 112, 0.06);
border-radius: 0;
background: rgba(0, 0, 0, 0.1);
4 years ago
}
4 years ago
}
3 years ago
.ant-select-dropdown-menu-item-active,
.ant-select-dropdown-menu-item-selected {
color: #ff4400 !important;
font-weight: normal;
background-color: rgba(255, 106, 0, 0.1) !important;
4 years ago
}
4 years ago
// 面包屑样式
4 years ago
.ant-breadcrumb {
4 years ago
margin-top: 12px;
4 years ago
.ant-breadcrumb-link {
cursor: default;
}
}
4 years ago
// 媒体查询
@media screen and (max-width: 1910px) {
.loginlogo {
margin: 40px auto !important;
}
}
4 years ago
// 加载中的样式
4 years ago
.ant-spin-dot-item {
background-color: #fda21d;
}
.ant-spin-text {
color: #fda21d;
4 years ago
}
3 years ago
.ant-popover {
4 years ago
.ant-popover-content {
.ant-popover-inner-content {
3 years ago
position: relative;
width: 600px;
4 years ago
white-space: pre-wrap !important;
3 years ago
> div {
position: absolute;
width: 44px;
height: 22px;
right: 10px;
top: 10px;
border: 1px solid #ff4400;
color: #ff4400;
border-radius: 999px;
line-height: 22px;
text-align: center;
cursor: pointer;
&:hover {
background-color: #ff4400;
color: #fff;
}
}
4 years ago
}
}
}
3 years ago
.xiangdan {
.ant-modal-content {
width: 600px;
max-height: calc(100vh - 40px);
.ant-modal-body {
padding-top: 36px;
position: relative;
min-height: 480px;
4 years ago
white-space: pre-wrap !important;
3 years ago
// max-height: ;
// background-color: #000;
.copy {
position: absolute;
padding: 0px 12px;
right: 20px;
top: 7px;
font-size: 14px;
border: 1px solid #ff4400;
color: #ff4400;
border-radius: 5px;
line-height: 22px;
text-align: center;
cursor: pointer;
&:hover {
color: #fff;
background-color: #ff4400;
}
}
}
}
4 years ago
}
// 日期选择器样式
3 years ago
.ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month {
background: #ff4400;
4 years ago
}
.ant-calendar-date:hover {
3 years ago
border-color: #ff4400;
background-color: #fff;
color: #ff4400;
4 years ago
}
.ant-calendar-today .ant-calendar-date {
3 years ago
background-color: #ff4400;
border-color: #ff4400;
color: #fff;
4 years ago
}
3 years ago
.ant-calendar-range .ant-calendar-selected-start-date .ant-calendar-date,
.ant-calendar-range .ant-calendar-selected-end-date .ant-calendar-date {
background-color: #ff4400;
border-color: #ff4400;
color: #fff;
4 years ago
}
3 years ago
.ant-calendar-range .ant-calendar-in-range-cell::before {
background: #fff3ef;
4 years ago
}
3 years ago
.ant-calendar-range .ant-calendar-selected-start-date .ant-calendar-date:hover,
.ant-calendar-range .ant-calendar-selected-end-date .ant-calendar-date:hover {
background: #ff4400;
4 years ago
}
3 years ago
.ant-calendar-header a:hover {
color: #ff4400;
4 years ago
}
3 years ago
.ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month:hover,
.ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year,
.ant-calendar-decade-panel-selected-cell .ant-calendar-decade-panel-decade,
.ant-calendar-decade-panel-selected-cell .ant-calendar-decade-panel-decade:hover,
.ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year:hover {
background: #ff4400;
4 years ago
}
3 years ago
.ant-calendar-month-panel-month:hover,
.ant-calendar-year-panel-year:hover,
.ant-calendar-decade-panel-decade:hover {
background: #fff3ef;
4 years ago
}
// 全体样式
3 years ago
.ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up.on,
.ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down.on {
color: #ff4400;
}
.ant-table-thead > tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td,
.ant-table-tbody > tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td,
.ant-table-thead > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td,
.ant-table-tbody > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td {
background: #fff3ef;
}
.ant-radio-checked .ant-radio-inner {
border-color: #ff4400 !important;
box-shadow: none !important;
}
.ant-radio-checked .ant-radio-inner::after {
background-color: #ff4400 !important;
}
.ant-radio:hover .ant-radio-inner {
border-color: #ff4400 !important;
box-shadow: none;
}
.ant-radio-checked .ant-radio-inner::after {
background-color: #ff4400 !important;
}
.ant-radio-checked:hover .ant-radio-inner {
border-color: #ff4400 !important;
}
.ant-radio {
border-color: #ddd !important;
box-shadow: none !important;
4 years ago
}
3 years ago
.ant-btn-primary:hover {
border-color: #ff4400;
3 years ago
background-color: #ff5416;
3 years ago
color: #fff;
}
.ant-input:hover {
border-color: #ff4400;
}
.ant-select-selection:active {
box-shadow: none;
}
3 years ago
.bb1 {
border-bottom: 1px solid #ddd;
}
.bbdot1 {
border-bottom: 1px dashed #ddd;
3 years ago
}
.bd1 {
3 years ago
border: 1px solid #ddd;
}