diff --git a/booklore-ui/src/styles.scss b/booklore-ui/src/styles.scss index 9004bf1a6..770b9e0fa 100644 --- a/booklore-ui/src/styles.scss +++ b/booklore-ui/src/styles.scss @@ -12,6 +12,29 @@ html { Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } +* { + &::-webkit-scrollbar { + width: 12px; + } + + &::-webkit-scrollbar-track { + background: rgba(0, 0, 0, 0.1); + border-radius: 10px; + } + + &::-webkit-scrollbar-thumb { + background: rgba(128, 128, 128, 0.5); + border-radius: 10px; + + &:hover { + background: rgba(128, 128, 128, 0.7); + } + } + + scrollbar-width: thin; + scrollbar-color: rgba(128, 128, 128, 0.5) rgba(0, 0, 0, 0.1); +} + .p-toast { top: 4rem !important; }