OLD | NEW |
| (Empty) |
1 /* Copyright 2015 The Chromium Authors. All rights reserved. | |
2 * Use of this source code is governed by a BSD-style license that can be | |
3 * found in the LICENSE file. */ | |
4 | |
5 /* | |
6 * Imitate mac scrollbars on non-retina displays to workaround crbug.com/466039. | |
7 */ | |
8 @media | |
9 (-webkit-max-device-pixel-ratio: 1) { | |
10 | |
11 ::-webkit-scrollbar { | |
12 height: 14px; | |
13 width: 14px; | |
14 } | |
15 | |
16 ::-webkit-scrollbar-track, | |
17 ::-webkit-scrollbar-corner { | |
18 background-color: rgb(242,242,242); | |
19 } | |
20 | |
21 ::-webkit-scrollbar-thumb:vertical, | |
22 ::-webkit-scrollbar-thumb:horizontal { | |
23 -webkit-border-radius: 7px; | |
24 background-color: rgb(198,198,198); | |
25 border: 3px solid rgb(242,242,242); | |
26 } | |
27 | |
28 ::-webkit-scrollbar-thumb:vertical:hover, | |
29 ::-webkit-scrollbar-thumb:horizontal:hover { | |
30 background-color: rgb(126,126,126); | |
31 } | |
32 | |
33 } | |
OLD | NEW |