Customize code syntax scrollbar

This commit is contained in:
Michael Rose 2013-08-26 09:00:30 -04:00
parent c4a96d8c43
commit 71d10e2692
2 changed files with 10 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -129,4 +129,13 @@ pre {
.font-rem(12); .font-rem(12);
line-height: 1.5; line-height: 1.5;
overflow-x: auto; overflow-x: auto;
&::-webkit-scrollbar {
height: 12px;
background-color: #34362e;
border-radius: 0 0 4px 4px;
}
&::-webkit-scrollbar-thumb:horizontal {
background-color: #6a6d5d;
.rounded(4px);
}
} }