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

566 lines
8.6 KiB
Plaintext

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;
font-family: PingFangSC, PingFangSC-Regular;
}
body,
button,
input,
select,
textarea {
4 years ago
font: 12px/1.5 tahoma, arial, \5b8b\4f53;
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
4 years ago
body {
4 years ago
padding: 0;
4 years ago
// height: 3080px;
4 years ago
// background-color: #eef1f5;
background-color: #f6f6f6;
4 years ago
font-size: 18px;
4 years ago
// text-align: center;
4 years ago
}
p {
font-size: 18px;
}
i {
font-style: normal;
}
4 years ago
//svg图标
.icon {
width: 1em;
height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
4 years ago
4 years ago
// 字体图标
@font-face {
font-family: "iconfont"; /* Project id 3135652 */
4 years ago
src: url("../assets/fontfile/iconfont.woff2") format("woff2"),
url("../assets/fontfile/iconfont.woff") format("woff"),
url("../assets/fontfile/iconfont.ttf") format("truetype");
4 years ago
}
.iconfont {
4 years ago
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-dingbulogo:before {
content: "\e71d";
4 years ago
}
4 years ago
.icon-weixin1:before {
4 years ago
content: "\e716";
4 years ago
}
.icon-gerenzhongxin-mima:before {
4 years ago
content: "\e71c";
4 years ago
}
.icon-bangdingyinhangka:before {
4 years ago
content: "\e71b";
4 years ago
}
.icon-gerenzhongxin:before {
4 years ago
content: "\e719";
4 years ago
}
.icon-zhanghaoshezhi:before {
4 years ago
content: "\e71a";
4 years ago
}
.icon-gerenzhongxin-bangdingshouji:before {
4 years ago
content: "\e70c";
4 years ago
}
.icon-shimingrenzheng:before {
4 years ago
content: "\e70d";
4 years ago
}
.icon-gongdan:before {
4 years ago
content: "\e710";
4 years ago
}
.icon-yue:before {
4 years ago
content: "\e711";
4 years ago
}
.icon-laoxiang:before {
4 years ago
content: "\e715";
4 years ago
}
.icon-jifen:before {
4 years ago
content: "\e717";
4 years ago
}
.icon-kaquan:before {
4 years ago
content: "\e718";
4 years ago
}
.icon-youjiantou:before {
4 years ago
content: "\e68c";
4 years ago
}
.icon-zanwukaquan:before {
4 years ago
content: "\e714";
4 years ago
}
.icon-zhengyan:before {
4 years ago
content: "\e712";
4 years ago
}
.icon-biyan:before {
4 years ago
content: "\e713";
4 years ago
}
.icon-zhongguoyinhang:before {
4 years ago
content: "\e70a";
4 years ago
}
.icon-zhongyuanyinhang:before {
4 years ago
content: "\e70b";
4 years ago
}
.icon-nongyeyinhang:before {
4 years ago
content: "\e70f";
4 years ago
}
4 years ago
.icon-guanbi:before {
4 years ago
content: "\e701";
4 years ago
}
4 years ago
.icon-guanbishixin:before {
4 years ago
content: "\e8dc";
4 years ago
}
.icon-morentouxiang:before {
4 years ago
content: "\e700";
4 years ago
}
.icon-touxiang:before {
4 years ago
content: "\e620";
4 years ago
}
.icon-xuanzhong:before {
4 years ago
content: "\e6fe";
4 years ago
}
.icon-weixuanzhong:before {
4 years ago
content: "\e6ff";
4 years ago
}
.icon-yigezhuanmenfuwudailidepingtai2:before {
4 years ago
content: "\e6fa";
4 years ago
}
.icon-yigezhuanmenfuwudailidepingtai:before {
4 years ago
content: "\e6f8";
4 years ago
}
4 years ago
.icon-xiala:before {
4 years ago
content: "\e6f5";
4 years ago
}
4 years ago
.icon-sousuo:before {
4 years ago
content: "\e608";
4 years ago
}
.icon-duanxinyanzheng:before {
4 years ago
content: "\e6f3";
4 years ago
}
.icon-shouji:before {
4 years ago
content: "\e6f2";
4 years ago
}
.icon-mima:before {
4 years ago
content: "\e6f1";
4 years ago
}
.icon-yonghuming:before {
4 years ago
content: "\e6f0";
4 years ago
}
4 years ago
.icon-shibai:before {
4 years ago
content: "\e6ef";
4 years ago
}
.icon-chenggong:before {
4 years ago
content: "\e6ee";
4 years ago
}
4 years ago
.icon-weixin:before {
4 years ago
content: "\e6e9";
4 years ago
}
.icon-sologan:before {
4 years ago
content: "\e6e1";
4 years ago
}
.icon-dingwei:before {
4 years ago
content: "\e6df";
4 years ago
}
.icon-yonghu:before {
4 years ago
content: "\e6e0";
4 years ago
}
// 公用样式类名
.w {
width: 1200px;
margin: 0 auto;
}
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 {
color: #ff6a00;
}
}
.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: #ff6a00;
}
}
input[type="text"] {
box-shadow: none;
border-color: transparent;
&:focus {
border: 1px solid #ff6a00;
}
&:hover {
border: 1px solid #ff6a00;
}
}
.ant-pagination-item {
border: none;
a:hover {
color: #ff6a00;
}
}
.ant-pagination-item-active {
background: #ff6a00;
a {
color: white;
}
a:hover {
color: white;
}
}
.ant-pagination-item-link {
border: none;
// &:hover .anticon-right {
// color: #ff6a00;
// }
// .anticon-right{
// color: #000000a6;
// }
}
4 years ago
}
4 years ago
4 years ago
.ant-cascader-menus.monthlypay,
.ant-cascader-menus.agestr {
width: 100vw;
margin: 0 auto;
4 years ago
top: 152px !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
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;
top: 152px !important;
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 {
color: #ff6a00;
}
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;
color: #ff6a00;
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;
background: #ff6a00;
}
h1.bottombox,
p.bottombox {
4 years ago
position: relative;
4 years ago
text-align: center;
// border-bottom: 1px solid #eeefef;
4 years ago
margin-top: 12px;
padding-bottom: 12px;
4 years ago
margin-bottom: 16px;
4 years ago
color: rgba(0, 0, 0, 0.85);
&::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;
// border-bottom: 3px solid #ff6a00;
// padding: 6px 0;
// }
4 years ago
}
4 years ago
.ant-cascader-menu,
.ant-modal-body {
4 years ago
max-height: 300px !important;
&::-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
}
4 years ago
// 面包屑样式
4 years ago
.ant-breadcrumb {
margin-top: 15px;
.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
}