web.src.assets.styles.index.scss Maven / Gradle / Ivy
//@import '../assets/styles/variables.scss';
//@import './mixin.scss';
//@import './transition.scss';
//@import './element-ui.scss';
//@import './sidebar.scss';
//@import './btn.scss';
body {
margin: 0;
height: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}
html {
height: 100%;
box-sizing: border-box;
}
*{
margin: 0;
padding: 0;
}
a {
background-color: transparent; /* Remove the gray background on active links in IE 10. */
}
img {
border-style: none; /* Remove the border on images inside links in IE 10. */
}
#app {
height: 100%;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
.no-padding {
padding: 0px !important;
}
.padding-content {
padding: 4px 0;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
div:focus {
outline: none;
}
.fr {
float: right;
}
.fl {
float: left;
}
.pr-5 {
padding-right: 5px;
}
.pl-5 {
padding-left: 5px;
}
.block {
display: block;
}
.pointer {
cursor: pointer;
}
.inlineBlock {
display: block;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
//lili
.inline-block {
display: inline-block;
}
.clear-both {
clear: both;
}
.float-left {
float: left;
}
.float-right {
float: right;
}
.scrollbar{
&::-webkit-scrollbar {
width: 5px;
height: 6px;
background-color: #909399;
opacity: 0.3;
border-radius: 5px;
}
/*定义滚动条轨道
内阴影+圆角*/
&::-webkit-scrollbar-track {
//-webkit-box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.3);
border-radius: 5px;
background-color: #f1f1f1;
opacity: 0.3;
}
/*定义滑块
内阴影+圆角*/
&::-webkit-scrollbar-thumb {
border-radius: 5px;
//-webkit-box-shadow: inset 0 0 2px rgba(200, 150, 255, 0.3);
background-color: rgba(#909399, 0.3);
}
}
.el-table__body-wrapper::-webkit-scrollbar {
width: 5px;
height:8px;
border-radius: 5px;
background-color: #f1f1f1;
opacity: 0.3;
}
.el-table__body-wrapper::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: rgba(#909399, 0.3);
}