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

178 lines
2.3 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;
}
body {
padding: 0;
// height: 3080px;
background-color: #eef1f5;
font-size: 18px;
}
p {
font-size: 18px;
}
i {
font-style: normal;
}
// 字体图标
@font-face {
font-family: "iconfont"; /* Project id 3135652 */
src: url("//at.alicdn.com/t/font_3135652_a4sfibypk37.woff2?t=1642155732409")
format("woff2"),
url("//at.alicdn.com/t/font_3135652_a4sfibypk37.woff?t=1642155732409")
format("woff"),
url("//at.alicdn.com/t/font_3135652_a4sfibypk37.ttf?t=1642155732409")
format("truetype");
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-yigezhuanmenfuwudailidepingtai:before {
content: "\e6e4";
}
.icon-sologan:before {
content: "\e6e1";
}
.icon-guanggao:before {
content: "\e6e2";
}
.icon-xiala:before {
content: "\e6de";
}
.icon-dingwei:before {
content: "\e6df";
}
.icon-yonghu:before {
content: "\e6e0";
}
// 公用样式类名
.w {
width: 1200px;
margin: 0 auto;
}
.ant-cascader-menus {
ul {
height: auto;
// background-color: black;
// width: 100vw !important;
.ant-cascader-menu-item {
&:hover {
background-color: rgba(255, 106, 0, 0.1);
color: rgb(255, 106, 0);
}
}
}
}
.beforeblock {
display: inline-block;
vertical-align: middle;
margin-top: -4px;
width: 4px;
height: 20px;
margin-right: 8px;
background: #ff6a00;
}