Skip to content

Commit

Permalink
add scrollbar css (#3925)
Browse files Browse the repository at this point in the history
Co-authored-by: Jared Tan <[email protected]>
Co-authored-by: wxq <[email protected]>
Co-authored-by: lepdou <[email protected]>
  • Loading branch information
4 people authored Oct 19, 2021
1 parent 0bd026b commit f132801
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions apollo-portal/src/main/resources/static/styles/common-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -553,18 +553,19 @@ table th {

/*搜索框*/
::-webkit-scrollbar {
width: 0;
height: 0;
background: rgba(255, 255, 255, 0);
/*滚动条整体样式*/
width: 8px; /*高宽分别对应横竖滚动条的尺寸*/
height: 8px;
}

::-webkit-scrollbar-thumb:vertical {
background: rgba(255, 255, 255, 0);
border-radius: 10px;
::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 10px;
background-color: rgba(178, 178, 178, 0.8);
}

::-webkit-scrollbar-thumb:vertical:hover {
background: rgba(255, 255, 255, 0);
::-webkit-scrollbar-thumb:hover {
background-color: rgba(178, 178, 178, 1);
}

.app-list {
Expand Down Expand Up @@ -1113,4 +1114,4 @@ table th {

.back-top:active {
opacity: .6;
}
}

0 comments on commit f132801

Please sign in to comment.