image-viewer 스크롤 색상 변경

This commit is contained in:
khk 2020-02-12 10:33:31 +09:00
parent 01fef0930e
commit 28e1b0a923
2 changed files with 17 additions and 1 deletions

View File

@ -1,4 +1,4 @@
@charset 'utf-s';
@charset 'utf-8';
:host {
display: flex;
width: 100%;

View File

@ -49,6 +49,22 @@
position: absolute;
max-width: none !important;
}
&::-webkit-scrollbar {
background-color: rgba(0, 0, 0, 0.7);
}
&::-webkit-scrollbar-corner {
background-color: rgba(0, 0, 0, 0.7);
}
&::-webkit-scrollbar:hover {
background-color: rgba(255, 255, 255, 0.12);
}
&::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.37);
}
&::-webkit-scrollbar-thumb:active {
box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.54);
}
}
}
}