1
0
mirror of https://github.com/minio/docs.git synced 2025-07-06 20:36:50 +03:00
Files
docs/source/_static/scss/includes/_misc.scss

46 lines
859 B
SCSS

// Toggle icons
$toggleIcons: (
docs: 'docs.svg',
menu: 'menu.svg',
close: 'close-circle.svg',
toc: 'toc.svg'
);
@each $name, $icon in $toggleIcons {
.toggle-icon--#{$name} {
background-image: url(../img/icons/#{$icon});
}
}
// Custom scrollbar
.scrollbar {
scrollbar-color: transparent transparent;
scrollbar-width: thin;
&:hover {
scrollbar-color: $scrollbar-bg transparent;
&::-webkit-scrollbar-thumb {
background-color: $scrollbar-bg;
}
}
&::-webkit-scrollbar {
width: 12px;
}
&::-webkit-scrollbar-track {
background-color: transparent;
}
&::-webkit-scrollbar-thumb {
background-color: transparent;
border-radius: 1rem;
border: 3px solid transparent;
background-clip: content-box;
&:hover {
background-color: $scrollbar-hover-bg;
}
}
}