滚动条处理

develop
就眠仪式 2020-07-10 15:27:26 +08:00
parent cf2c7b1b28
commit cb02849535
4 changed files with 85 additions and 23 deletions

View File

@ -107,10 +107,64 @@ body::-webkit-scrollbar-corner {
background: #f6f6f6;
}
.mainBox::-webkit-scrollbar {
width: 0px;
height: 0px;
}
.mainBox::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.mainBox::-webkit-scrollbar-track {
background: white;
border-radius: 2px;
}
.mainBox::-webkit-scrollbar-thumb {
background: #E6E6E6;
border-radius: 2px;
}
.mainBox::-webkit-scrollbar-thumb:hover {
background: #E6E6E6;
}
.mainBox::-webkit-scrollbar-corner {
background: #f6f6f6;
}
.pear-btn i{
font-size: 13px;
}
.layui-table-body::-webkit-scrollbar {
width: 0px;
height: 0px;
}
.layui-table-body::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.layui-table-body::-webkit-scrollbar-track {
background: white;
border-radius: 2px;
}
.layui-table-body::-webkit-scrollbar-thumb {
background: #E6E6E6;
border-radius: 2px;
}
.layui-table-body::-webkit-scrollbar-thumb:hover {
background: #E6E6E6;
}
.layui-table-body::-webkit-scrollbar-corner {
background: #f6f6f6;
}
.pear-btn {
display: inline-block;
@ -243,29 +297,7 @@ body::-webkit-scrollbar-corner {
font-size: 16px;
}
/** 滚动条样式 */
body::-webkit-scrollbar {
width: 4px;
height: 4px;
}
body::-webkit-scrollbar-track {
background: white;
border-radius: 2px;
}
body::-webkit-scrollbar-thumb {
background: #E6E6E6;
border-radius: 2px;
}
body::-webkit-scrollbar-thumb:hover {
background: #E6E6E6;
}
body::-webkit-scrollbar-corner {
background: #f6f6f6;
}
.mainBox {

View File

@ -58,3 +58,32 @@
border-radius: 2px;
color: dimgray;
}
.layui-table-body::-webkit-scrollbar {
width: 0px;
height: 0px;
}
.layui-table-body::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.layui-table-body::-webkit-scrollbar-track {
background: white;
border-radius: 2px;
}
.layui-table-body::-webkit-scrollbar-thumb {
background: #E6E6E6;
border-radius: 2px;
}
.layui-table-body::-webkit-scrollbar-thumb:hover {
background: #E6E6E6;
}
.layui-table-body::-webkit-scrollbar-corner {
background: #f6f6f6;
}

View File

@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- 依 赖 样 式 -->
<link rel="stylesheet" href="component/layui/css/layui.css" />
<link rel="stylesheet" href="admin/css/pearTab.css" />
<link rel="stylesheet" href="admin/css/pearTheme.css" />

View File

@ -7,7 +7,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="../../admin/css/pearCommon.css" rel="stylesheet" />
<link rel="stylesheet" href="../../component/layui/css/layui.css" media="all">
<link href="../../component/layui/css/layui.css" rel="stylesheet" media="all">
<link href="../../assets/console1.css" rel="stylesheet" />
</head>
<body class="pear-container">