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

381 lines
6.0 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 {
font: 12px/1.5tahoma, arial, \5b8b\4f53;
}
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%;
}
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
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;
}
4 years ago
.icon-guanbi:before {
content: "\e701";
}
4 years ago
.icon-guanbishixin:before {
content: "\e8dc";
}
.icon-morentouxiang:before {
content: "\e700";
}
.icon-touxiang:before {
content: "\e620";
}
.icon-xuanzhong:before {
content: "\e6fe";
}
.icon-weixuanzhong:before {
content: "\e6ff";
}
.icon-yigezhuanmenfuwudailidepingtai2:before {
content: "\e6fa";
}
.icon-yigezhuanmenfuwudailidepingtai:before {
content: "\e6f8";
}
.icon-dingbulogo:before {
content: "\e6f7";
}
4 years ago
.icon-xiala:before {
content: "\e6f5";
4 years ago
}
4 years ago
.icon-sousuo:before {
content: "\e608";
4 years ago
}
.icon-duanxinyanzheng:before {
4 years ago
content: "\e6f3";
4 years ago
}
.icon-shouji:before {
4 years ago
content: "\e6f2";
}
.icon-mima:before {
content: "\e6f1";
4 years ago
}
.icon-yonghuming:before {
4 years ago
content: "\e6f0";
4 years ago
}
4 years ago
.icon-shibai:before {
content: "\e6ef";
}
.icon-chenggong:before {
content: "\e6ee";
}
4 years ago
.icon-weixin:before {
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
}
4 years ago
4 years ago
4 years ago
// 公用样式类名
.w {
width: 1200px;
margin: 0 auto;
}
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);
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;
}
.ant-cascader-menus.slide-up-enter-active{
animation: none !important;
transition: none !important;
}
.ant-cascader-menus.slide-up-leave{
transition: none !important;
animation: none !important;
}
.ant-cascader-menus.slide-up-enter{
animation: none !important;
transition: none !important;
}
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
.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);
div:first-child {
margin-top: 24px;
text-align: center;
font-size: 14px;
font-weight: bold;
}
button {
width: 130px;
height: 32px;
margin-top: 15px;
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;
text-align: center;
// border-bottom: 1px solid #eeefef;
margin-top: 12px;
padding-bottom: 12px;
margin-bottom: 16px;
color: rgba(0, 0, 0, 0.85);
&::after{
content: '';
display: block;
position: absolute;
width: 270px;
height: 1px;
bottom: 0;
left: -20px;
background-color: #eeefef;
4 years ago
}
4 years ago
// i {
// display: inline-block;
// line-height: 20px;
// border-bottom: 3px solid #ff6a00;
// padding: 6px 0;
// }
4 years ago
}
.ant-cascader-menu {
4 years ago
max-height: 300px !important;
&::-webkit-scrollbar {
/*滚动条整体样式*/
width: 4px; /*高宽分别对应横竖滚动条的尺寸*/
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
// 面包屑样式
.ant-breadcrumb{
margin-top:15px;
.ant-breadcrumb-link{
cursor:default
}
};
4 years ago
// 媒体查询
@media screen and (max-width: 1910px) {
.loginlogo {
margin: 40px auto !important;
}
}