Skip to content

Commit

Permalink
introduce dirac-hacks.css
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin committed Jan 22, 2016
1 parent aac0262 commit b2c2bf0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ WebInspector.ConsoleView = function()
WebInspector.VBox.call(this);
this.setMinimumSize(0, 35);
this.registerRequiredCSS("console/consoleView.css");
this.registerRequiredCSS("console/dirac-hacks.css");
this.registerRequiredCSS("console/dirac-codemirror.css");
this.registerRequiredCSS("console/dirac-theme.css");
this.registerRequiredCSS("console/dirac-prompt.css");
Expand Down Expand Up @@ -394,7 +395,6 @@ WebInspector.ConsoleView.prototype = {

_executionContextChanged: function()
{
console.log("!!!", this._consolePromptIndexSetting.get());
this._switchToLastPrompt();
this._prompt.clearAutoComplete(true);
if (!this._showAllMessagesCheckbox.checked())
Expand Down
13 changes: 13 additions & 0 deletions resources/unpacked/devtools/front_end/console/dirac-hacks.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* let's try to keep our css overrides here to avoid conflicts upstream */

.console-message-text > * {
z-index: 10;
position: relative;
background-color: rgba(255, 255, 255, 0.8);
}

.console-message-url {
position: absolute;
right: 0px;
z-index: 0;
}
1 change: 1 addition & 0 deletions resources/unpacked/devtools/front_end/console/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
],
"resources": [
"consoleView.css",
"dirac-hacks.css",
"dirac-codemirror.css",
"dirac-theme.css",
"dirac-prompt.css"
Expand Down

0 comments on commit b2c2bf0

Please sign in to comment.