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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/platformFontsWidget.css

Issue 1809773002: DevTools: split platformFontsWidget.css out of elementsPanel.css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 9 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: third_party/WebKit/Source/devtools/front_end/elements/platformFontsWidget.css
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/platformFontsWidget.css b/third_party/WebKit/Source/devtools/front_end/elements/platformFontsWidget.css
new file mode 100644
index 0000000000000000000000000000000000000000..0a0abd63814122a3e8eb6c25162c8612887adb23
--- /dev/null
+++ b/third_party/WebKit/Source/devtools/front_end/elements/platformFontsWidget.css
@@ -0,0 +1,45 @@
+/**
+ * Copyright 2016 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 {
+ -webkit-user-select: text;
+}
+
+.font-name {
+ font-weight: bold;
+}
+
+.font-usage {
+ color: #888;
+ padding-left: 3px;
+}
+
+.title {
+ padding: 0 5px;
+ border-top: 1px solid;
+ border-bottom: 1px solid;
+ border-color: #ddd;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ height: 24px;
+ background-color: #f1f1f1;
+ display: flex;
+ align-items: center;
+}
+
+.stats-section {
+ margin: 5px 0;
+}
+
+.font-stats-item {
+ padding-left: 1em;
+}
+
+.font-stats-item .font-delimeter {
+ margin: 0 1ex 0 1ex;
+}
+

Powered by Google App Engine
This is Rietveld 408576698