Merge pull request #476 from GNS3/Changing-scrollbar-style-to-modern-look

Changing scrollbar style to modern look
This commit is contained in:
piotrpekala7 2019-08-21 11:28:54 +02:00 committed by GitHub
commit f3bfcebcf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<div mat-dialog-content>
<div mat-dialog-content class="content">
<div class="header">
<mat-form-field floatPlaceholder="never">
<input matInput #filter placeholder="Filter templates" />

View File

@ -16,3 +16,26 @@
font-size: 16px;
flex-grow: 1;
}
div {
scrollbar-color: darkgrey #263238;
scrollbar-width: thin;
}
mat-table {
scrollbar-color: darkgrey #263238;
scrollbar-width: thin;
}
::-webkit-scrollbar {
width: 0.5em;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
::-webkit-scrollbar-thumb {
background-color: darkgrey;
outline: 1px solid #263238;
}