chrome-devtools-frontend 1.0.1733843 → 1.0.1736236
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/rules/tests/test-view-and-presenter-isolation.md +4 -4
- package/.agents/rules/ui-and-widgets/ui-declarative-tree-and-prompt-patterns.md +61 -0
- package/.agents/rules/ui-and-widgets/ui-lit-declarative-templates-and-directives.md +11 -7
- package/.agents/rules/ui-and-widgets/ui-modern-component-and-encapsulation-standards.md +13 -4
- package/.agents/rules/ui-and-widgets/ui-pure-view-and-presenter-separation.md +31 -2
- package/.agents/rules/ui-and-widgets/ui-reactive-widget-update-lifecycle.md +23 -4
- package/.agents/rules/ui-and-widgets/ui-widget-dom-and-listener-lifecycle.md +34 -3
- package/.agents/skills/code-review/SKILL.md +27 -0
- package/.agents/skills/devtools-uistrings/SKILL.md +147 -0
- package/.agents/skills/ui-eng-vision-local-lit-renderer/SKILL.md +27 -1
- package/.agents/skills/ui-eng-vision-orchestrator/SKILL.md +100 -0
- package/.agents/skills/ui-eng-vision-test-scaffolder/SKILL.md +16 -0
- package/.agents/skills/ui-eng-vision-widget-promoter/SKILL.md +13 -2
- package/.agents/skills/ui-widgets/SKILL.md +25 -25
- package/DIR_METADATA +8 -1
- package/docs/cookbook/localization.md +1 -1
- package/docs/ui_engineering.md +24 -0
- package/eslint.config.mjs +0 -1
- package/front_end/application_tokens.css +1 -1
- package/front_end/core/host/AidaClient.ts +147 -202
- package/front_end/core/host/AidaClientTypes.ts +9 -0
- package/front_end/core/host/AidaErrors.ts +416 -0
- package/front_end/core/host/AidaGcaTranslation.ts +11 -0
- package/front_end/core/host/InspectorFrontendHostAPI.ts +9 -2
- package/front_end/core/host/UserMetrics.ts +25 -0
- package/front_end/core/host/UserMetricsEnums.ts +25 -0
- package/front_end/core/host/host.ts +3 -1
- package/front_end/core/i18n/collect-ui-strings.js +20 -0
- package/front_end/core/root/Runtime.ts +12 -0
- package/front_end/core/sdk/CPUThrottlingManager.ts +3 -0
- package/front_end/core/sdk/EnhancedTracesParser.ts +8 -4
- package/front_end/core/sdk/NetworkManager.ts +0 -6
- package/front_end/core/sdk/OverlayModel.ts +0 -6
- package/front_end/core/sdk/PreloadingModel.ts +30 -13
- package/front_end/core/sdk/PrivateVerificationTokensModel.ts +0 -18
- package/front_end/core/sdk/RehydratingConnection.ts +5 -2
- package/front_end/core/sdk/ResourceTreeModel.ts +0 -42
- package/front_end/core/sdk/ScreenCaptureModel.ts +0 -84
- package/front_end/core/sdk/ServiceWorkerCacheModel.ts +0 -15
- package/front_end/core/sdk/StorageBucketsModel.ts +0 -15
- package/front_end/devtools_compatibility.js +57 -2
- package/front_end/entrypoints/formatter_worker/ScopeParser.ts +4 -2
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +203 -127
- package/front_end/entrypoints/inspector_main/renderingOptions.css +5 -0
- package/front_end/entrypoints/node_app/app/NodeMain.ts +0 -9
- package/front_end/entrypoints/node_app/app/nodeConnectionsPanel.css +0 -22
- package/front_end/generated/InspectorBackendCommands.ts +1 -1
- package/front_end/generated/SupportedCSSProperties.ts +0 -136
- package/front_end/generated/protocol-proxy-api.d.ts +231 -231
- package/front_end/generated/protocol.ts +1 -0
- package/front_end/models/ai_assistance/AiAgent2.ts +4 -1
- package/front_end/models/ai_assistance/ChangeManager.ts +3 -1
- package/front_end/models/ai_assistance/DOMHelpers.ts +118 -3
- package/front_end/models/ai_assistance/ExtensionScope.ts +31 -24
- package/front_end/models/ai_assistance/agents/AiAgent.ts +6 -0
- package/front_end/models/ai_assistance/agents/PerformanceAgent.snapshot.txt +13 -13
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +1 -1
- package/front_end/models/ai_assistance/ai_assistance.ts +2 -0
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.snapshot.txt +18 -8
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +2 -2
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +103 -81
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +15 -203
- package/front_end/models/ai_assistance/injected.ts +6 -1
- package/front_end/models/ai_assistance/skills/lighthouse.md +1 -1
- package/front_end/models/ai_assistance/skills/styling.md +8 -10
- package/front_end/models/ai_assistance/tools/GetTraceEventByKey.ts +1 -1
- package/front_end/models/ai_assistance/tools/SetElementStyles.ts +288 -0
- package/front_end/models/ai_assistance/tools/Tool.ts +1 -0
- package/front_end/models/ai_assistance/tools/ToolRegistry.ts +3 -0
- package/front_end/models/bindings/ResourceScriptMapping.ts +64 -16
- package/front_end/models/comment_manager/CD4ABridge.ts +12 -2
- package/front_end/models/comment_manager/CommentManager.ts +24 -4
- package/front_end/models/javascript_metadata/NativeFunctions.ts +41 -1
- package/front_end/models/project_settings/ProjectSettingsModel.ts +1 -1
- package/front_end/models/trace/handlers/FlowsHandler.ts +10 -0
- package/front_end/models/trace/handlers/SamplesHandler.ts +3 -2
- package/front_end/models/trace/handlers/ScriptsHandler.ts +25 -26
- package/front_end/models/trace/helpers/TreeHelpers.ts +4 -0
- package/front_end/models/trace/insights/DuplicatedJavaScript.ts +1 -2
- package/front_end/models/trace/types/TraceEvents.ts +21 -22
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +9 -1
- package/front_end/panels/ai_assistance/components/chatInput.css +4 -4
- package/front_end/panels/animation/AnimationTimeline.ts +3 -3
- package/front_end/panels/animation/animationTimeline.css +6 -4
- package/front_end/panels/application/IndexedDBModel.ts +0 -15
- package/front_end/panels/application/appManifestView.css +2 -5
- package/front_end/panels/application/components/backForwardCacheView.css +1 -5
- package/front_end/panels/application/components/serviceWorkerRouterView.css +2 -2
- package/front_end/panels/application/preloading/components/PreloadingString.ts +7 -0
- package/front_end/panels/comments/CommentsPane.ts +12 -7
- package/front_end/panels/comments/commentsPane.css +16 -2
- package/front_end/panels/common/CommentsOverlayWidget.ts +16 -10
- package/front_end/panels/common/CommentsStatusBarPill.ts +12 -5
- package/front_end/panels/common/commentsOverlay.css +7 -1
- package/front_end/panels/common/commentsStatusBarPill.css +30 -0
- package/front_end/panels/console/consolePrompt.css +0 -12
- package/front_end/panels/console/consoleView.css +2 -2
- package/front_end/panels/developer_resources/developerResourcesView.css +4 -3
- package/front_end/panels/elements/DOMTreeWidget.ts +29 -9
- package/front_end/panels/elements/StylePropertyTreeElement.ts +2 -1
- package/front_end/panels/elements/components/CSSHintDetailsView.ts +12 -5
- package/front_end/panels/elements/components/cssVariableValueView.css +1 -1
- package/front_end/panels/elements/components/elementsBreadcrumbs.css +2 -2
- package/front_end/panels/elements/domTreeWidget.css +6 -1
- package/front_end/panels/elements/elementsPanel.css +0 -6
- package/front_end/panels/elements/layoutPane.css +1 -1
- package/front_end/panels/elements/metricsSidebarPane.css +1 -1
- package/front_end/panels/elements/platformFontsWidget.css +1 -1
- package/front_end/panels/elements/stylesSidebarPane.css +0 -10
- package/front_end/panels/emulation/deviceModeView.css +6 -7
- package/front_end/panels/explain/components/consoleInsight.css +4 -4
- package/front_end/panels/issues/issuesTree.css +1 -26
- package/front_end/panels/lighthouse/lighthouseStartView.css +2 -2
- package/front_end/panels/linear_memory_inspector/components/linearMemoryInspector.css +1 -1
- package/front_end/panels/media/TickingFlameChart.ts +20 -3
- package/front_end/panels/media/playerMessagesView.css +2 -2
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +24 -5
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +1 -6
- package/front_end/panels/network/networkLogView.css +2 -2
- package/front_end/panels/network/networkTimingTable.css +1 -1
- package/front_end/panels/performance_monitor/performanceMonitor.css +0 -4
- package/front_end/panels/protocol_monitor/JSONEditor.css +1 -1
- package/front_end/panels/protocol_monitor/JSONEditor.ts +4 -2
- package/front_end/panels/recorder/recorderPanel.css +3 -3
- package/front_end/panels/recorder/recordingListView.css +1 -1
- package/front_end/panels/screencast/screencastView.css +1 -1
- package/front_end/panels/search/searchResultsPane.css +1 -1
- package/front_end/panels/security/SecurityModel.ts +0 -6
- package/front_end/panels/security/SecurityPanel.ts +120 -108
- package/front_end/panels/security/originView.css +1 -1
- package/front_end/panels/sensors/locationsSettingsTab.css +3 -3
- package/front_end/panels/settings/EditFileSystemView.ts +159 -104
- package/front_end/panels/settings/editFileSystemView.css +30 -4
- package/front_end/panels/settings/emulation/devicesSettingsTab.css +0 -52
- package/front_end/panels/settings/settingsScreen.css +0 -7
- package/front_end/panels/sources/CallStackSidebarPane.ts +339 -221
- package/front_end/panels/sources/NavigatorView.ts +95 -8
- package/front_end/panels/sources/ThreadsSidebarPane.ts +8 -4
- package/front_end/panels/sources/breakpointsView.css +1 -3
- package/front_end/panels/sources/callStackSidebarPane.css +4 -0
- package/front_end/panels/sources/components/HeadersView.ts +15 -2
- package/front_end/panels/sources/watchExpressionsSidebarPane.css +0 -1
- package/front_end/panels/timeline/CountersGraph.ts +0 -4
- package/front_end/panels/timeline/TimelineLoader.ts +16 -6
- package/front_end/panels/timeline/TimelinePanel.ts +20 -12
- package/front_end/panels/timeline/TimelineUIUtils.ts +1 -1
- package/front_end/panels/timeline/components/DetailsView.ts +2 -1
- package/front_end/panels/timeline/components/cwvMetrics.css +1 -1
- package/front_end/panels/timeline/components/metricCard.css +1 -1
- package/front_end/panels/timeline/components/sidebarAnnotationsTab.css +4 -4
- package/front_end/panels/timeline/timelineFlameChartView.css +1 -1
- package/front_end/panels/webauthn/WebauthnPane.ts +13 -14
- package/front_end/panels/webauthn/webauthnPane.css +1 -1
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/ui/comments/CommentOverlayManager.ts +34 -18
- package/front_end/ui/components/icon_button/FileSourceIcon.ts +6 -0
- package/front_end/ui/components/input/textInput.css +1 -1
- package/front_end/ui/components/panel_introduction_steps/panelIntroductionSteps.css +6 -4
- package/front_end/ui/components/suggestion_input/suggestionInput.css +2 -2
- package/front_end/ui/components/text_editor/AiCodeGenerationTeaser.ts +14 -2
- package/front_end/ui/legacy/DockController.ts +17 -4
- package/front_end/ui/legacy/Treeoutline.ts +2 -2
- package/front_end/ui/legacy/UIUtils.ts +148 -10
- package/front_end/ui/legacy/components/inline_editor/bezierEditor.css +3 -2
- package/front_end/ui/legacy/components/perf_ui/chartViewport.css +2 -2
- package/front_end/ui/legacy/components/perf_ui/filmStripView.css +2 -2
- package/front_end/ui/legacy/components/perf_ui/pieChart.css +1 -1
- package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +5 -4
- package/front_end/ui/legacy/components/source_frame/imageView.css +1 -1
- package/front_end/ui/legacy/components/utils/TargetDetachedDialog.ts +0 -3
- package/front_end/ui/legacy/components/utils/imagePreview.css +1 -1
- package/front_end/ui/legacy/inspectorCommon.css +1 -14
- package/front_end/ui/legacy/inspectorDrawerTabbedPane.css +3 -2
- package/front_end/ui/legacy/listWidget.css +0 -18
- package/front_end/ui/legacy/theme_support/ThemeSupport.ts +44 -9
- package/front_end/ui/lit/strip-whitespace.ts +1 -1
- package/front_end/ui/visual_logging/KnownContextValues.ts +1 -0
- package/package.json +3 -3
- package/front_end/generated/Deprecation.ts +0 -471
- package/front_end/panels/accessibility/axBreadcrumbs.css +0 -155
- package/front_end/panels/network/requestHeadersTree.css +0 -226
- package/front_end/panels/recorder/startView.css +0 -38
- package/front_end/panels/security/ipProtectionView.css +0 -141
- package/front_end/ui/legacy/components/inline_editor/animationNameSwatch.css +0 -27
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2017 The Chromium Authors
|
|
3
|
-
* Use of this source code is governed by a BSD-style license that can be
|
|
4
|
-
* found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
.ax-breadcrumbs-ignored-node {
|
|
8
|
-
font-style: italic;
|
|
9
|
-
opacity: 70%;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.ax-breadcrumbs {
|
|
13
|
-
padding-top: var(--sys-size-1);
|
|
14
|
-
margin: 0;
|
|
15
|
-
position: relative;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.ax-breadcrumbs .ax-node {
|
|
19
|
-
align-items: center;
|
|
20
|
-
margin-top: var(--sys-size-1);
|
|
21
|
-
min-height: var(--sys-size-8);
|
|
22
|
-
overflow-x: hidden;
|
|
23
|
-
padding-left: var(--sys-size-3);
|
|
24
|
-
padding-right: var(--sys-size-3);
|
|
25
|
-
padding-top: var(--sys-size-1);
|
|
26
|
-
position: relative;
|
|
27
|
-
text-overflow: ellipsis;
|
|
28
|
-
white-space: nowrap;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.ax-breadcrumbs .ax-node span {
|
|
32
|
-
flex-shrink: 0;
|
|
33
|
-
text-overflow: ellipsis;
|
|
34
|
-
white-space: nowrap;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.ax-breadcrumbs .ax-node .wrapper {
|
|
38
|
-
padding-left: var(--sys-size-6);
|
|
39
|
-
overflow-x: hidden;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.ax-breadcrumbs .ax-node::before {
|
|
43
|
-
mask-image: var(--image-file-arrow-collapse);
|
|
44
|
-
mask-repeat: no-repeat;
|
|
45
|
-
background-color: var(--icon-default);
|
|
46
|
-
content: "";
|
|
47
|
-
text-shadow: none;
|
|
48
|
-
margin-left: -5px;
|
|
49
|
-
margin-top: calc(-1 * var(--sys-size-2));
|
|
50
|
-
height: var(--sys-size-8);
|
|
51
|
-
width: var(--sys-size-8);
|
|
52
|
-
position: absolute;
|
|
53
|
-
display: inline-block;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.ax-breadcrumbs .ax-node:not(.parent, .children-unloaded)::before {
|
|
57
|
-
background-color: transparent;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.ax-breadcrumbs .ax-node.parent::before {
|
|
61
|
-
mask-image: var(--image-file-arrow-drop-down);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.ax-breadcrumbs .ax-node.no-dom-node {
|
|
65
|
-
opacity: 70%;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.ax-breadcrumbs .ax-node .selection {
|
|
69
|
-
display: none;
|
|
70
|
-
z-index: -1;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.ax-breadcrumbs .ax-node.inspected .selection {
|
|
74
|
-
display: block;
|
|
75
|
-
background-color: var(--sys-color-neutral-container);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.ax-breadcrumbs .ax-node.inspected:focus .selection {
|
|
79
|
-
background-color: var(--sys-color-tonal-container);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.ax-breadcrumbs .ax-node.inspected:focus {
|
|
83
|
-
background-color: var(--sys-color-tonal-container);
|
|
84
|
-
color: var(--sys-color-on-tonal-container);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.ax-breadcrumbs .ax-node:not(.inspected):hover {
|
|
88
|
-
background-color: var(--sys-color-state-hover-on-subtle);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.ax-breadcrumbs .ax-node:not(.inspected):focus {
|
|
92
|
-
background-color: var(--sys-color-state-focus-highlight);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.ax-breadcrumbs .ax-node.inspected:focus * {
|
|
96
|
-
color: inherit;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.ax-breadcrumbs .ax-node.preselected:not(.inspected) .selection,
|
|
100
|
-
.ax-breadcrumbs .ax-node.hovered:not(.inspected) .selection {
|
|
101
|
-
display: block;
|
|
102
|
-
left: var(--sys-size-2);
|
|
103
|
-
right: var(--sys-size-2);
|
|
104
|
-
background-color: var(--sys-color-state-hover-on-subtle);
|
|
105
|
-
border-radius: 5px;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.ax-breadcrumbs .ax-node.preselected:not(.inspected):focus .selection {
|
|
109
|
-
border: var(--sys-size-1) solid var(--sys-color-primary);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
@media (forced-colors: active) {
|
|
113
|
-
.ax-value-source-unused,
|
|
114
|
-
.ax-breadcrumbs .ax-node.children-unloaded::before {
|
|
115
|
-
opacity: 100%;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.ax-breadcrumbs .ax-node.parent::before,
|
|
119
|
-
.ax-breadcrumbs .ax-node.children-unloaded::before {
|
|
120
|
-
forced-color-adjust: none;
|
|
121
|
-
background-color: ButtonText;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.ax-breadcrumbs .ax-node.parent.inspected::before,
|
|
125
|
-
.ax-breadcrumbs .ax-node.parent.inspected:focus::before {
|
|
126
|
-
background-color: HighlightText;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.ax-breadcrumbs .ax-node.inspected .selection {
|
|
130
|
-
forced-color-adjust: none;
|
|
131
|
-
background: Highlight !important; /* stylelint-disable-line declaration-no-important */
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.ax-breadcrumbs .ax-node.inspected .wrapper {
|
|
135
|
-
forced-color-adjust: none;
|
|
136
|
-
color: HighlightText;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.ax-breadcrumbs .ax-node.preselected:not(.inspected) .selection,
|
|
140
|
-
.ax-breadcrumbs .ax-node.hovered:not(.inspected) .selection,
|
|
141
|
-
.ax-breadcrumbs .ax-node.hovered:not(.inspected) .wrapper,
|
|
142
|
-
.ax-breadcrumbs .ax-node:focus-visible:not(.inspected) .wrapper {
|
|
143
|
-
forced-color-adjust: none;
|
|
144
|
-
background-color: Highlight;
|
|
145
|
-
color: HighlightText;
|
|
146
|
-
border-radius: 0;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.ax-breadcrumbs .ax-node.parent.hovered:not(.inspected)::before,
|
|
150
|
-
.ax-breadcrumbs .ax-node.parent:focus-visible:not(.inspected)::before,
|
|
151
|
-
.ax-breadcrumbs .ax-node.children-unloaded:focus-visible:not(.inspected)::before,
|
|
152
|
-
.ax-breadcrumbs .ax-node.hovered:not(.inspected).children-unloaded::before {
|
|
153
|
-
background-color: HighlightText;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2016 The Chromium Authors
|
|
3
|
-
* Use of this source code is governed by a BSD-style license that can be
|
|
4
|
-
* found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
.tree-outline {
|
|
8
|
-
padding-left: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.tree-outline > ol {
|
|
12
|
-
padding-bottom: 5px;
|
|
13
|
-
border-bottom: solid var(--sys-size-1) var(--sys-color-divider);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.tree-outline > .parent {
|
|
17
|
-
user-select: none;
|
|
18
|
-
font-weight: bold;
|
|
19
|
-
color: var(--sys-color-on-surface);
|
|
20
|
-
margin-top: calc(-1 * var(--sys-size-1));
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
height: 26px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.tree-outline li {
|
|
27
|
-
display: block;
|
|
28
|
-
padding-left: 5px;
|
|
29
|
-
line-height: var(--sys-size-9);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.tree-outline li:not(.parent) {
|
|
33
|
-
margin-left: 10px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.tree-outline li:not(.parent)::before {
|
|
37
|
-
display: none;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.tree-outline .caution {
|
|
41
|
-
margin-left: var(--sys-size-3);
|
|
42
|
-
display: inline-block;
|
|
43
|
-
font-weight: bold;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.tree-outline li.expanded .header-count {
|
|
47
|
-
display: none;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.tree-outline li .headers-title-left {
|
|
51
|
-
min-width: 50%;
|
|
52
|
-
display: flex;
|
|
53
|
-
justify-content: space-between;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.tree-outline li .header-toggle {
|
|
57
|
-
display: none;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.tree-outline li .status-from-cache {
|
|
61
|
-
color: var(--sys-color-token-subtle);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.tree-outline li.expanded .header-toggle {
|
|
65
|
-
display: inline;
|
|
66
|
-
margin-left: 30px;
|
|
67
|
-
font-weight: normal;
|
|
68
|
-
color: var(--sys-color-on-surface);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.tree-outline li .header-toggle:hover {
|
|
72
|
-
color: var(--sys-color-token-subtle);
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.tree-outline .header-name {
|
|
77
|
-
color: var(--sys-color-token-subtle);
|
|
78
|
-
display: inline-block;
|
|
79
|
-
margin-right: 0.25em;
|
|
80
|
-
font-weight: bold;
|
|
81
|
-
vertical-align: top;
|
|
82
|
-
white-space: pre-wrap;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.tree-outline .header-separator {
|
|
86
|
-
user-select: none;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.tree-outline .header-badge-text {
|
|
90
|
-
font-variant: small-caps;
|
|
91
|
-
font-weight: 500;
|
|
92
|
-
white-space: pre-wrap;
|
|
93
|
-
word-break: break-all;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.tree-outline .header-warning {
|
|
97
|
-
color: var(--sys-color-error);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.tree-outline .header-badge {
|
|
101
|
-
display: inline;
|
|
102
|
-
margin-right: 0.75em;
|
|
103
|
-
background-color: var(--sys-color-error);
|
|
104
|
-
color: var(--sys-color-on-error);
|
|
105
|
-
border-radius: 100vh;
|
|
106
|
-
padding-left: var(--sys-size-4);
|
|
107
|
-
padding-right: var(--sys-size-4);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.tree-outline .header-value {
|
|
111
|
-
display: inline;
|
|
112
|
-
margin-right: 1em;
|
|
113
|
-
white-space: pre-wrap;
|
|
114
|
-
word-break: break-all;
|
|
115
|
-
margin-top: var(--sys-size-1);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.tree-outline .call-to-action {
|
|
119
|
-
background-color: var(--sys-color-neutral-container);
|
|
120
|
-
padding: var(--sys-size-5);
|
|
121
|
-
border-radius: 5px;
|
|
122
|
-
margin: var(--sys-size-3);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.tree-outline .selected .call-to-action {
|
|
126
|
-
background-color: transparent;
|
|
127
|
-
padding: var(--sys-size-5);
|
|
128
|
-
border-radius: 5px;
|
|
129
|
-
margin: var(--sys-size-3);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.tree-outline .call-to-action-body {
|
|
133
|
-
padding: var(--sys-size-4) 0;
|
|
134
|
-
margin-left: 9.5px;
|
|
135
|
-
border-left: var(--sys-size-2) solid var(--sys-color-yellow-bright);
|
|
136
|
-
padding-left: 18px;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.tree-outline .call-to-action .explanation {
|
|
140
|
-
font-weight: bold;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.tree-outline .call-to-action code {
|
|
144
|
-
font-size: 90%;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.tree-outline .call-to-action .example .comment::before {
|
|
148
|
-
content: " — ";
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.tree-outline .empty-request-header {
|
|
152
|
-
color: var(--sys-color-state-disabled);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.request-headers-show-more-button {
|
|
156
|
-
border: none;
|
|
157
|
-
border-radius: 3px;
|
|
158
|
-
display: inline-block;
|
|
159
|
-
font-size: var(--sys-typescale-body4-size);
|
|
160
|
-
font-family: sans-serif;
|
|
161
|
-
cursor: pointer;
|
|
162
|
-
margin: 0 var(--sys-size-3);
|
|
163
|
-
padding: var(--sys-size-2) var(--sys-size-3);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.request-headers-caution {
|
|
167
|
-
display: flex;
|
|
168
|
-
gap: var(--sys-size-4);
|
|
169
|
-
margin-right: var(--sys-size-9);
|
|
170
|
-
padding: var(--sys-size-5);
|
|
171
|
-
background-color: var(--sys-color-neutral-container);
|
|
172
|
-
border-radius: 5px;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.header-highlight {
|
|
176
|
-
background-color: var(--sys-color-state-focus-highlight);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.header-highlight:focus {
|
|
180
|
-
background-color: var(--sys-color-state-ripple-primary);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.x-client-data-details {
|
|
184
|
-
padding-left: 10px;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
@media (forced-colors: active) {
|
|
188
|
-
:host-context(.request-headers-tree) ol.tree-outline:not(.hide-selection-when-blurred) li.selected:focus {
|
|
189
|
-
background: Highlight;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
:host-context(.request-headers-tree) ol.tree-outline:not(.hide-selection-when-blurred) li::before {
|
|
193
|
-
background-color: ButtonText;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
:host-context(.request-headers-tree) ol.tree-outline:not(.hide-selection-when-blurred) li.selected.parent::before {
|
|
197
|
-
background-color: HighlightText;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
:host-context(.request-headers-tree) ol.tree-outline:not(.hide-selection-when-blurred) li.selected *,
|
|
201
|
-
:host-context(.request-headers-tree) ol.tree-outline:not(.hide-selection-when-blurred) li.selected.parent,
|
|
202
|
-
:host-context(.request-headers-tree) ol.tree-outline:not(.hide-selection-when-blurred) li.selected.parent span,
|
|
203
|
-
:host-context(.request-headers-tree) ol.tree-outline:not(.hide-selection-when-blurred) li.selected:focus .status-from-cache {
|
|
204
|
-
color: HighlightText;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.header-decode-error {
|
|
209
|
-
color: var(--sys-color-error);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.headers-title {
|
|
213
|
-
display: flex;
|
|
214
|
-
justify-content: space-between;
|
|
215
|
-
width: 100%;
|
|
216
|
-
padding-right: 5px;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.tree-outline li .headers-link {
|
|
220
|
-
display: none;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.tree-outline li.expanded .headers-link {
|
|
224
|
-
display: inline;
|
|
225
|
-
color: var(--sys-color-on-surface);
|
|
226
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2023 The Chromium Authors
|
|
3
|
-
* Use of this source code is governed by a BSD-style license that can be
|
|
4
|
-
* found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
* {
|
|
8
|
-
margin: 0;
|
|
9
|
-
padding: 0;
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
font-weight: normal;
|
|
12
|
-
font-size: inherit;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
:host {
|
|
16
|
-
flex: 1;
|
|
17
|
-
display: block;
|
|
18
|
-
overflow: auto;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.wrapper {
|
|
22
|
-
padding: var(--sys-size-11);
|
|
23
|
-
background-color: var(--sys-color-cdt-base-container);
|
|
24
|
-
height: 100%;
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: column;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.fit-content {
|
|
30
|
-
width: fit-content;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.align-right {
|
|
34
|
-
width: auto;
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: row;
|
|
37
|
-
justify-content: flex-end;
|
|
38
|
-
}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2025 The Chromium Authors
|
|
3
|
-
* Use of this source code is governed by a BSD-style license that can be
|
|
4
|
-
* found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
@scope to (devtools-widget > *) {
|
|
8
|
-
:scope {
|
|
9
|
-
width: 100%;
|
|
10
|
-
box-shadow: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.overflow-auto {
|
|
14
|
-
height: 100%;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ip-protection {
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
padding: var(--sys-size-5) var(--sys-size-3) var(--sys-size-5) var(--sys-size-5);
|
|
21
|
-
min-width: fit-content;
|
|
22
|
-
min-height: fit-content;
|
|
23
|
-
height: 100%;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.header {
|
|
27
|
-
display: flex;
|
|
28
|
-
flex-direction: column;
|
|
29
|
-
gap: var(--sys-size-2);
|
|
30
|
-
padding-left: var(--sys-size-5);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
h1 {
|
|
34
|
-
margin: 0;
|
|
35
|
-
font: var(--sys-typescale-headline4);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.card-container {
|
|
39
|
-
max-width: 100%;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.card {
|
|
43
|
-
display: flex;
|
|
44
|
-
flex-direction: column;
|
|
45
|
-
padding: var(--sys-size-6) var(--sys-size-8);
|
|
46
|
-
gap: var(--sys-size-6);
|
|
47
|
-
|
|
48
|
-
&.enterprise-disabled {
|
|
49
|
-
color: var(--sys-color-token-subtle);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.card-header {
|
|
54
|
-
display: flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.card-header > .lhs {
|
|
59
|
-
width: 100%;
|
|
60
|
-
display: flex;
|
|
61
|
-
justify-content: space-between;
|
|
62
|
-
align-items: center;
|
|
63
|
-
padding-right: var(--sys-size-9);
|
|
64
|
-
|
|
65
|
-
& > devtools-icon {
|
|
66
|
-
height: var(--sys-size-11);
|
|
67
|
-
width: var(--sys-size-11);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.text {
|
|
72
|
-
display: flex;
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
gap: var(--sys-size-2);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
h2 {
|
|
78
|
-
font: var(--sys-typescale-headline5);
|
|
79
|
-
margin: 0;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.body {
|
|
83
|
-
font: var(--sys-typescale-body4-regular);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.card-row {
|
|
87
|
-
display: flex;
|
|
88
|
-
justify-content: space-between;
|
|
89
|
-
align-items: center;
|
|
90
|
-
padding-top: var(--sys-size-4);
|
|
91
|
-
padding-bottom: var(--sys-size-4);
|
|
92
|
-
padding-left: var(--sys-size-8);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
h3 {
|
|
96
|
-
font: var(--sys-typescale-body4-medium);
|
|
97
|
-
margin: 0;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.main-text {
|
|
101
|
-
color: var(--sys-color-on-surface);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.subtext {
|
|
105
|
-
color: var(--sys-color-on-surface-subtle);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.empty-report {
|
|
109
|
-
margin: var(--sys-size-5);
|
|
110
|
-
display: flex;
|
|
111
|
-
flex-grow: 1;
|
|
112
|
-
justify-content: center;
|
|
113
|
-
align-items: center;
|
|
114
|
-
flex-direction: column;
|
|
115
|
-
text-align: center;
|
|
116
|
-
min-height: fit-content;
|
|
117
|
-
min-width: fit-content;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
devtools-data-grid {
|
|
121
|
-
flex: auto;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.status-badge {
|
|
125
|
-
display: flex;
|
|
126
|
-
align-items: center;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.status-icon {
|
|
130
|
-
width: 1.5rem;
|
|
131
|
-
height: 1.5rem;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.green-status-icon {
|
|
135
|
-
color: var(--sys-color-green);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.red-status-icon {
|
|
139
|
-
color: var(--sys-color-error);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2022 The Chromium Authors
|
|
3
|
-
* Use of this source code is governed by a BSD-style license that can be
|
|
4
|
-
* found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/* This style matches the cssVar style */
|
|
8
|
-
|
|
9
|
-
.animation-name-link:not(.undefined) {
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
text-underline-offset: var(--sys-size-2);
|
|
12
|
-
color: var(--sys-color-primary);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.animation-name-link:hover:not(.undefined) {
|
|
16
|
-
text-decoration: underline;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.animation-name-link:focus:not(:focus-visible) {
|
|
20
|
-
outline: none;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.animation-name-link.undefined {
|
|
24
|
-
--override-animation-name-link-undefined-color: var(--sys-color-state-disabled);
|
|
25
|
-
|
|
26
|
-
color: var(--override-animation-name-link-undefined-color);
|
|
27
|
-
}
|