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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2016 The Chromium Authors. All rights reserved. 2 * Copyright 2016 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 :host { 7 :host {
8 background-color: #f9f9f9; 8 background-color: #f9f9f9;
9 } 9 }
10 10
11 .app-content-box { 11 .report-content-box {
12 background-color: white; 12 background-color: white;
13 white-space: nowrap; 13 white-space: nowrap;
14 overflow: auto; 14 overflow: auto;
15 } 15 }
16 16
17 .app-manifest-title { 17 .report-header {
18 font-size: 14px; 18 border-bottom: 1px solid rgb(230, 230, 230);
19 padding: 12px 24px; 19 padding: 12px 24px;
20 } 20 }
21 21
22 .app-manifest-url { 22 .report-header .toolbar {
23 font-size: 12px; 23 margin-top: 5px;
24 padding: 0 24px 12px; 24 margin-left: -8px;
25 border-bottom: 1px solid rgb(230, 230, 230);
26 } 25 }
27 26
28 .app-manifest-section { 27 .report-title {
28 font-size: 15px;
29 }
30
31 .report-url {
32 font-size: 12px;
33 margin-top: 10px;
34 }
35
36 .report-section {
29 display: flex; 37 display: flex;
30 padding: 12px 6px; 38 padding: 12px 6px;
31 border-bottom: 1px solid rgb(230, 230, 230); 39 border-bottom: 1px solid rgb(230, 230, 230);
32 flex-direction: column; 40 flex-direction: column;
33 } 41 }
34 42
35 .app-manifest-section-title { 43 .report-section-header {
36 margin-bottom: 10px; 44 margin-left: 18px;
37 padding-left: 18px; 45 display: flex;
46 flex-direction: row;
47 align-items: center;
38 } 48 }
39 49
40 .app-manifest-field { 50 .report-section-title {
41 display: flex; 51 flex: auto;
42 margin-top: 1px; 52 text-overflow: ellipsis;
43 margin-bottom: 10px; 53 overflow: hidden;
54 font-weight: bold;
55 color: #555;
44 } 56 }
45 57
46 .app-manifest-field-name { 58 .report-field {
59 margin-top: 8px;
60 display: flex;
61 line-height: 20px;
62 }
63
64 .report-row {
65 padding: 0 0 2px 18px;
66 }
67
68 .report-field-name {
47 color: #888; 69 color: #888;
48 flex: 0 0 128px; 70 flex: 0 0 128px;
49 text-align: right; 71 text-align: right;
50 padding: 0 6px; 72 padding: 0 6px;
51 white-space: pre; 73 white-space: pre;
52 } 74 }
53 75
54 .app-manifest-field-value { 76 .report-field-value {
55 flex: auto; 77 flex: auto;
56 padding: 0 6px; 78 padding: 0 6px;
57 text-overflow: ellipsis; 79 text-overflow: ellipsis;
58 overflow: hidden; 80 overflow: hidden;
81 white-space: pre;
59 } 82 }
60 83
61 .app-manifest-field-value .color-swatch { 84 .report-field-value-subtitle {
62 width: 16px; 85 color: #888;
63 height: 16px; 86 line-height: 14px;
64 display: block;
65 } 87 }
66
67 .app-manifest-errors {
68 padding-left: 12px;
69 display: flex;
70 flex-direction: column;
71 }
72
73 .app-manifest-errors label {
74 padding: 4px;
75 }
76
77 .app-manifest-icons {
78 display: flex;
79 flex-direction: column;
80 }
81
82 .app-manifest-icons > img {
83 flex: none;
84 max-width: 200px;
85 max-height: 200px;
86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698