Chromium Code Reviews| Index: chrome/browser/resources/file_manager/audio_player/css/audio_player.css |
| diff --git a/chrome/browser/resources/file_manager/audio_player/css/audio_player.css b/chrome/browser/resources/file_manager/audio_player/css/audio_player.css |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f6442254b478512894e78616b3ff643d67a14e68 |
| --- /dev/null |
| +++ b/chrome/browser/resources/file_manager/audio_player/css/audio_player.css |
| @@ -0,0 +1,101 @@ |
| +/* 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.
|
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. */ |
| + |
| +html { |
| + height: 100%; |
| +} |
| + |
| +body { |
| + -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.
|
| + -webkit-user-select: none; |
| + display: -webkit-box; |
| + height: 100%; |
| + margin: 0; |
| + overflow: hidden; |
| + padding: 0; |
| +} |
| + |
| +.header { |
| + background: #fff; |
| + border-bottom: 1px solid #ddd; |
| + height: 32px; |
| +} |
| + |
| +.audio-player { |
| + -webkit-box-flex: 1; |
| + color: #3d3d3d; |
| + cursor: default; |
| + font-family: Open Sans, Droid Sans Fallback, sans-serif; |
| + font-size: 10pt; |
| + position: relative; |
| +} |
| + |
| +.audio-player:not(.collapsed):not(.single-track) > .title-button { |
| + background-color: #1f1f1f; |
| +} |
| + |
| +/* Customized scrollbar for the playlist. */ |
| + |
| +::-webkit-scrollbar { |
| + 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.
|
| + width: 16px; |
| +} |
| + |
| +::-webkit-scrollbar-button { |
| + height: 0; |
| + width: 0; |
| +} |
| + |
| +::-webkit-scrollbar-thumb { |
| + background-clip: padding-box; |
| + background-color: rgba(255, 255, 255, 0.15); |
| + box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.10), |
| + inset 0 -1px 0 rgba(0, 0, 0, 0.07); |
| + min-height: 28px; |
| + padding-top: 100px; |
|
mtomasz
2014/01/23 08:05:09
Is this needed?
yoshiki
2014/01/24 15:34:19
Removed.
|
| +} |
| + |
| +::-webkit-scrollbar-thumb:hover { |
| + background-color: rgba(255,255,255,0.20); |
|
mtomasz
2014/01/23 08:05:09
nit: (,,,) -> (, , ,)
yoshiki
2014/01/24 15:34:19
Done.
|
| + box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25); |
| +} |
| + |
| +::-webkit-scrollbar-thumb:active { |
| + background-color: rgba(255, 255, 255, 0.25); |
| + box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.35); |
| +} |
| + |
| +::-webkit-scrollbar-thumb:vertical { |
| + border-bottom: 0 solid transparent; |
| + border-left: 5px solid transparent; |
| + border-right: 0 solid transparent; |
| + border-top: 0 solid transparent; |
| +} |
| + |
| +::-webkit-scrollbar-track:hover { |
| + background-color: rgba(0, 0, 0, 0.05); |
| + box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.10); |
| +} |
| + |
| +::-webkit-scrollbar-track:active { |
| + background-color: rgba(0, 0, 0, 0.05); |
| + box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.14), |
| + inset -1px -1px 0 rgba(0, 0, 0, 0.07); |
| +} |
| + |
| +::-webkit-scrollbar-track:vertical { |
| + background-clip: padding-box; |
| + background-color: transparent; |
| + border-left: 5px solid transparent; |
| + border-right: 0 solid transparent; |
| +} |
| + |
| +control-panel { |
| + border-top: 1px solid rgba(0,0,0, 0.1); |
| + bottom: 0; |
| + left: 0; |
| + margin-bottom: 8px; |
| + position: fixed; |
| + right: 0; |
| +} |