Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
|
mtomasz
2014/01/23 08:05:09
ditto (c)
yoshiki
2014/01/24 15:34:19
Done.
| |
| 2 * Use of this source code is governed by a BSD-style license that can be | |
| 3 * found in the LICENSE file. */ | |
| 4 | |
| 5 html { | |
| 6 height: 100%; | |
| 7 } | |
| 8 | |
| 9 body { | |
| 10 -webkit-box-orient: vertical; | |
|
mtomasz
2014/01/23 08:05:09
AFAIK -webkit-box is deprecated in favour of flex.
yoshiki
2014/01/24 15:34:19
Done.
| |
| 11 -webkit-user-select: none; | |
| 12 display: -webkit-box; | |
| 13 height: 100%; | |
| 14 margin: 0; | |
| 15 overflow: hidden; | |
| 16 padding: 0; | |
| 17 } | |
| 18 | |
| 19 .header { | |
| 20 background: #fff; | |
| 21 border-bottom: 1px solid #ddd; | |
| 22 height: 32px; | |
| 23 } | |
| 24 | |
| 25 .audio-player { | |
| 26 -webkit-box-flex: 1; | |
| 27 color: #3d3d3d; | |
| 28 cursor: default; | |
| 29 font-family: Open Sans, Droid Sans Fallback, sans-serif; | |
| 30 font-size: 10pt; | |
| 31 position: relative; | |
| 32 } | |
| 33 | |
| 34 .audio-player:not(.collapsed):not(.single-track) > .title-button { | |
| 35 background-color: #1f1f1f; | |
| 36 } | |
| 37 | |
| 38 /* Customized scrollbar for the playlist. */ | |
| 39 | |
| 40 ::-webkit-scrollbar { | |
| 41 height: 16px; | |
|
mtomasz
2014/01/23 08:05:09
Can you please copy paste the scrollbar from Files
yoshiki
2014/01/24 15:34:19
Scrollbar in Files.app doesn't work here for some
mtomasz
2014/01/27 01:09:24
SGTM.
| |
| 42 width: 16px; | |
| 43 } | |
| 44 | |
| 45 ::-webkit-scrollbar-button { | |
| 46 height: 0; | |
| 47 width: 0; | |
| 48 } | |
| 49 | |
| 50 ::-webkit-scrollbar-thumb { | |
| 51 background-clip: padding-box; | |
| 52 background-color: rgba(255, 255, 255, 0.15); | |
| 53 box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.10), | |
| 54 inset 0 -1px 0 rgba(0, 0, 0, 0.07); | |
| 55 min-height: 28px; | |
| 56 padding-top: 100px; | |
|
mtomasz
2014/01/23 08:05:09
Is this needed?
yoshiki
2014/01/24 15:34:19
Removed.
| |
| 57 } | |
| 58 | |
| 59 ::-webkit-scrollbar-thumb:hover { | |
| 60 background-color: rgba(255,255,255,0.20); | |
|
mtomasz
2014/01/23 08:05:09
nit: (,,,) -> (, , ,)
yoshiki
2014/01/24 15:34:19
Done.
| |
| 61 box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25); | |
| 62 } | |
| 63 | |
| 64 ::-webkit-scrollbar-thumb:active { | |
| 65 background-color: rgba(255, 255, 255, 0.25); | |
| 66 box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.35); | |
| 67 } | |
| 68 | |
| 69 ::-webkit-scrollbar-thumb:vertical { | |
| 70 border-bottom: 0 solid transparent; | |
| 71 border-left: 5px solid transparent; | |
| 72 border-right: 0 solid transparent; | |
| 73 border-top: 0 solid transparent; | |
| 74 } | |
| 75 | |
| 76 ::-webkit-scrollbar-track:hover { | |
| 77 background-color: rgba(0, 0, 0, 0.05); | |
| 78 box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.10); | |
| 79 } | |
| 80 | |
| 81 ::-webkit-scrollbar-track:active { | |
| 82 background-color: rgba(0, 0, 0, 0.05); | |
| 83 box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.14), | |
| 84 inset -1px -1px 0 rgba(0, 0, 0, 0.07); | |
| 85 } | |
| 86 | |
| 87 ::-webkit-scrollbar-track:vertical { | |
| 88 background-clip: padding-box; | |
| 89 background-color: transparent; | |
| 90 border-left: 5px solid transparent; | |
| 91 border-right: 0 solid transparent; | |
| 92 } | |
| 93 | |
| 94 control-panel { | |
| 95 border-top: 1px solid rgba(0,0,0, 0.1); | |
| 96 bottom: 0; | |
| 97 left: 0; | |
| 98 margin-bottom: 8px; | |
| 99 position: fixed; | |
| 100 right: 0; | |
| 101 } | |
| OLD | NEW |