Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions BlueBlazor.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 18
VisualStudioVersion = 18.0.11121.172
# Visual Studio Version 17
VisualStudioVersion = 17.14.36518.9 d17.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlueBlazor.Docs", "BlueBlazor.Docs\BlueBlazor.Docs.csproj", "{0D314BF4-DACC-4BF3-BA8B-8754152EBCCA}"
ProjectSection(ProjectDependencies) = postProject
Expand Down
37 changes: 37 additions & 0 deletions BlueBlazor/Components/Layout/Layout.razor.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@media (pointer: fine) and (hover: hover) {
.blue-layout-side {
overflow-y: auto;
scrollbar-width: none;
-ms-overflow-style: none;
mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
}

.blue-layout-side::-webkit-scrollbar {
width: 0;
display: none;
}

.blue-layout-side:hover {
scrollbar-width: thin;
-ms-overflow-style: auto;
mask-image: none;
}

.blue-layout-side:hover::-webkit-scrollbar {
width: 8px;
display: block;
}

.blue-layout-side:hover::-webkit-scrollbar-track {
background: transparent;
}

.blue-layout-side:hover::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.3);
border-radius: 4px;
}

.blue-layout-side:hover::-webkit-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, 0.5);
}
}