Commit f2c9c89d authored by Neil Fraser's avatar Neil Fraser

Darken the flyout scrollbars.

parent 1ca2fdc8
This diff is collapsed.
...@@ -316,10 +316,6 @@ Blockly.Css.CONTENT = [ ...@@ -316,10 +316,6 @@ Blockly.Css.CONTENT = [
' fill-opacity: .8;', ' fill-opacity: .8;',
'}', '}',
'.blocklyColourBackground {',
' fill: #666;',
'}',
'.blocklyScrollbarBackground {', '.blocklyScrollbarBackground {',
' opacity: 0;', ' opacity: 0;',
'}', '}',
...@@ -333,6 +329,17 @@ Blockly.Css.CONTENT = [ ...@@ -333,6 +329,17 @@ Blockly.Css.CONTENT = [
' fill: #bbb;', ' fill: #bbb;',
'}', '}',
/* Darken flyout scrollbars due to being on a grey background. */
/* By contrast, workspace scrollbars are on a white background. */
'.blocklyFlyout .blocklyScrollbarKnob {',
' fill: #bbb;',
'}',
'.blocklyFlyout .blocklyScrollbarBackground:hover+.blocklyScrollbarKnob,',
'.blocklyFlyout .blocklyScrollbarKnob:hover {',
' fill: #aaa;',
'}',
'.blocklyInvalidInput {', '.blocklyInvalidInput {',
' background: #faa;', ' background: #faa;',
'}', '}',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment