diff --git a/css/styles.css b/css/styles.css index 01b5a99..d1d11f5 100644 --- a/css/styles.css +++ b/css/styles.css @@ -28,3 +28,39 @@ body { font-family: "Roboto", sans-serif; } + + +.scroll-container { + scroll-padding: 50px 0 0 50px; +} + +::-webkit-scrollbar { + width: 7px; +} + +/* this targets the default scrollbar (compulsory) */ + +::-webkit-scrollbar-track { + background-color: #E3F2FD; +} + +/* the new scrollbar will have a flat appearance with the set background color */ + +::-webkit-scrollbar-thumb { + background-color: #2196F3; + ; +} + +/* this will style the thumb, ignoring the track */ + +::-webkit-scrollbar-button { + background-color: #E3F2FD; + ; +} + +/* optionally, you can style the top and the bottom buttons (left and right for horizontal bars) */ + +::-webkit-scrollbar-corner { + background-color: black; +} + diff --git a/globalcomponent/one-menu.vue b/globalcomponent/one-menu.vue index 4ea3bd9..5bb9f01 100644 --- a/globalcomponent/one-menu.vue +++ b/globalcomponent/one-menu.vue @@ -1,18 +1,18 @@