You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shop-pc/assets/scss/global.scss

54 lines
1.6 KiB

@import './flex.scss';
@import './util.scss';
* {
-webkit-box-sizing: border-box; box-sizing: border-box;
-webkit-touch-callout:none; /*系统默认菜单被禁用*/
-webkit-user-select:none; /*webkit浏览器*/
-khtml-user-select:none; /*早期浏览器*/
-moz-user-select:none;/*火狐*/
-ms-user-select:none; /*IE10*/
user-select:none;
&:after, &:before {
@extend *;
}
}
body, dl, dd, h1, h2, h3, h4, h5, p, figure, form, ul, ol { margin: 0; font-size: 14px;}
ul, ol, input, button { padding: 0;}
ul, ol, li { list-style: none;list-style-type: none}
h1, h2, h3, h4, h5 { font-size: 100%;}
input { border: 0; margin: 0;}
img { width: 100%;}
a, button, input, optgroup, select, textarea, img { outline:none; -webkit-tap-highlight-color: rgba(0,0,0,0); }
a, img { -webkit-touch-callout: none; border: 0;}
html, body { position: absolute; min-height: 100%; height: 100%; width: 100%;}
input, textarea, img, button { vertical-align: middle; outline: none;}
body {
font-family: PingFang SC, Microsoft YaHei, Helvetica, STHeiTi, sans-serif !important;
color: #333; -webkit-font-smoothing: antialiased; font-smoothing: antialiased;
overflow-anchor: none}
table {border-collapse: collapse; border-spacing: 0;
color: #333;}
a { text-decoration:none;
color: #333;
&:hover { text-decoration:none; color: #FF512B;}
}
/* 自定义滚动条样式 */
.scrollbar-self {
&::-webkit-scrollbar {
width: 4px;
background-color: none;
}
&::-webkit-scrollbar-track {
background-color: none;
}
&::-webkit-scrollbar-thumb {
background: #dddddd;
border-radius: 10px;
}
}