Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2528)

Unified Diff: chrome/browser/resources/file_manager/audio_player/elements/track_list.css

Issue 144883002: [Files.app] Initial implementation of new audio player (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make the script/css files flattened. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/file_manager/audio_player/elements/track_list.css
diff --git a/chrome/browser/resources/file_manager/audio_player/elements/track_list.css b/chrome/browser/resources/file_manager/audio_player/elements/track_list.css
new file mode 100644
index 0000000000000000000000000000000000000000..a3adfda370d689916e595d9ea87c6af5151e9868
--- /dev/null
+++ b/chrome/browser/resources/file_manager/audio_player/elements/track_list.css
@@ -0,0 +1,76 @@
+/* Copyright 2014 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file. */
+
+:host {
+ align-items: center;
+ background: #f5f5f5;
+ bottom: 72px; /* Room for the controls bar. */
+ color: #3d3d3d;
+ cursor: default;
+ display: flex;
+ flex-direction: column;
+ font-family: Open Sans, Droid Sans Fallback, sans-serif;
+ font-size: 10pt;
+ justify-content: flex-start;
+ left: 0;
+ overflow-x: hidden;
+ overflow-y: auto;
+ position: absolute;
+ right: 0;
+ top: 0;
+}
+
+/* Track item. */
+.track {
+ align-items: center;
+ display: flex;
+ flex: 0 0 auto;
+ flex-direction: row;
+ height: 44px;
+ justify-content: flex-start;
+ padding-left: 20px;
+ width: 100%;
+}
+
+track-list:not([expanded]) > .track:not([active='true']) {
+ display: none;
+}
+
+/* In the expanded mode the selected track is highlighted. */
+.track[active='true'] {
+ background-color: rgb(66, 129, 244);
+}
+
+/* Track data. */
+
+.track .data {
+ display: flex;
+ flex: 1 1 auto;
+ flex-direction: column;
+ justify-content: center;
+ margin-left: 0;
+ margin-right: 4px;
+}
+
+.track .data .data-title,
+.track .data .data-artist {
+ font-size: 12px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.track .data .data-title {
+ color: #343434;
+ font-weight: bold;
+}
+
+.track .data .data-artist {
+ color: #969696;
+}
+
+.track[active='true'] .data .data-title,
+.track[active='true'] .data .data-artist {
+ color: #fff;
+}

Powered by Google App Engine
This is Rietveld 408576698