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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/reportView.css

Issue 1952933002: DevTools: extract the report view to reuse in app manifest and service worker pane. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests fixed Created 4 years, 7 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/ui/reportView.css
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/appManifestView.css b/third_party/WebKit/Source/devtools/front_end/ui/reportView.css
similarity index 51%
copy from third_party/WebKit/Source/devtools/front_end/resources/appManifestView.css
copy to third_party/WebKit/Source/devtools/front_end/ui/reportView.css
index 03ea63f5f1f655e50fc9b922182b76f3a430efb7..0deab5511fe05230b4f248d4a82723a231252b1d 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/appManifestView.css
+++ b/third_party/WebKit/Source/devtools/front_end/ui/reportView.css
@@ -8,42 +8,64 @@
background-color: #f9f9f9;
}
-.app-content-box {
+.report-content-box {
background-color: white;
white-space: nowrap;
overflow: auto;
}
-.app-manifest-title {
- font-size: 14px;
+.report-header {
+ border-bottom: 1px solid rgb(230, 230, 230);
padding: 12px 24px;
}
-.app-manifest-url {
+.report-header .toolbar {
+ margin-top: 5px;
+ margin-left: -8px;
+}
+
+.report-title {
+ font-size: 15px;
+}
+
+.report-url {
font-size: 12px;
- padding: 0 24px 12px;
- border-bottom: 1px solid rgb(230, 230, 230);
+ margin-top: 10px;
}
-.app-manifest-section {
+.report-section {
display: flex;
padding: 12px 6px;
border-bottom: 1px solid rgb(230, 230, 230);
flex-direction: column;
}
-.app-manifest-section-title {
- margin-bottom: 10px;
- padding-left: 18px;
+.report-section-header {
+ margin-left: 18px;
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+}
+
+.report-section-title {
+ flex: auto;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ font-weight: bold;
+ color: #555;
}
-.app-manifest-field {
+.report-field {
+ margin-top: 8px;
display: flex;
- margin-top: 1px;
- margin-bottom: 10px;
+ line-height: 20px;
+}
+
+.report-row {
+ padding: 0 0 2px 18px;
}
-.app-manifest-field-name {
+.report-field-name {
color: #888;
flex: 0 0 128px;
text-align: right;
@@ -51,36 +73,15 @@
white-space: pre;
}
-.app-manifest-field-value {
+.report-field-value {
flex: auto;
padding: 0 6px;
text-overflow: ellipsis;
overflow: hidden;
+ white-space: pre;
}
-.app-manifest-field-value .color-swatch {
- width: 16px;
- height: 16px;
- display: block;
-}
-
-.app-manifest-errors {
- padding-left: 12px;
- display: flex;
- flex-direction: column;
-}
-
-.app-manifest-errors label {
- padding: 4px;
-}
-
-.app-manifest-icons {
- display: flex;
- flex-direction: column;
-}
-
-.app-manifest-icons > img {
- flex: none;
- max-width: 200px;
- max-height: 200px;
+.report-field-value-subtitle {
+ color: #888;
+ line-height: 14px;
}

Powered by Google App Engine
This is Rietveld 408576698