Files
firefox/devtools/client/webconsole/components/Input/EvaluationNotification.css
T
Hubert Boma Manilla aae1a14a42 Bug 1858076 - [devtools] Show notification in the console when original variable mapping is disabled r=devtools-reviewers,nchevobbe
This patch displays a notification in the console when the debugger is paused
in an original file with original variable mapping is turned off.

The notification is displayed when console input is focused, also if the user selects
a generated file, or is no longer paused or switches on varaible mapping, the notification is removed
once the console input is refocused.

Also added support for specific notifications to control displaying the close button.

Differential Revision: https://phabricator.services.mozilla.com/D191568
2023-11-14 07:35:49 +00:00

33 lines
1.0 KiB
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
.evaluation-notification.warning {
color: var(--console-warning-color);
border-color: var(--console-warning-border);
background-color: var(--console-warning-background)
}
.evaluation-notification.warning .evaluation-notification__icon {
color: var(--theme-icon-warning-color);
background-image: url(chrome://devtools/content/debugger/images/sourcemap.svg);
}
.evaluation-notification__icon {
flex: none;
align-self: flex-start;
width: 16px;
height: 16px;
margin: var(--console-output-vertical-padding) 5px var(--console-output-vertical-padding) 0;
background-image: none;
background-position: center;
background-repeat: no-repeat;
background-size: 16px;
-moz-context-properties: fill;
fill: currentColor;
}
.evaluation-notification__text {
margin: var(--console-output-vertical-padding) 0;
}