mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-12 11:43:42 +08:00
build(deps): 添加smooth-scroll插件、axios封装
This commit is contained in:
23
src/styles/css/global.css
Normal file
23
src/styles/css/global.css
Normal file
@@ -0,0 +1,23 @@
|
||||
@import './scrollbar.css';
|
||||
|
||||
html,
|
||||
body,
|
||||
#app {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
html {
|
||||
min-width: 1320px;
|
||||
min-height: 650px;
|
||||
font-size: 16px;
|
||||
}
|
||||
#app {
|
||||
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-size: 14px;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
}
|
||||
svg {
|
||||
display: inline-block;
|
||||
}
|
||||
20
src/styles/css/scrollbar.css
Normal file
20
src/styles/css/scrollbar.css
Normal file
@@ -0,0 +1,20 @@
|
||||
/*---滚动条默认显示样式--*/
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #d9d9d9;
|
||||
border-radius: 8px;
|
||||
}
|
||||
/*---鼠标点击滚动条显示样式--*/
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #d9d9d9;
|
||||
border-radius: 4px;
|
||||
}
|
||||
/*---滚动条大小--*/
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 10px;
|
||||
}
|
||||
/*---滚动框背景样式--*/
|
||||
::-webkit-scrollbar-track-piece {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
border-radius: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user