Fix warning text color. Make it black. (#3730)

This commit is contained in:
Sam El-Husseini
2020-03-09 17:58:15 -07:00
committed by GitHub
parent 52e76dfa1d
commit f96d1c9768
3 changed files with 10 additions and 4 deletions

View File

@@ -320,10 +320,6 @@ Blockly.Css.CONTENT = [
'pointer-events: none;',
'}',
'.blocklyBubbleText {',
'fill: #000;',
'}',
'.blocklyFlyout {',
'position: absolute;',
'z-index: 20;',

View File

@@ -1184,6 +1184,11 @@ Blockly.blockRendering.ConstantProvider.prototype.getCSS_ = function(name) {
'fill: #000;',
'}',
// Bubbles.
selector + ' .blocklyText.blocklyBubbleText {',
'fill: #000;',
'}',
// Editable field hover.
selector + ' .blocklyEditableText:not(.editing):hover>rect {',
'stroke: #fff;',

View File

@@ -919,6 +919,11 @@ Blockly.zelos.ConstantProvider.prototype.getCSS_ = function(name) {
'fill: #575E75;',
'}',
// Bubbles.
selector + ' .blocklyText.blocklyBubbleText {',
'fill: #575E75;',
'}',
// Editable field hover.
selector + ' .blocklyDraggable:not(.blocklyDisabled)',
' .blocklyEditableText:not(.editing):hover>rect ,',