mirror of
https://github.com/google/blockly.git
synced 2026-01-06 16:40:07 +01:00
fix: Create CSS vars for SVG patterns. (#8671)
This commit is contained in:
@@ -85,6 +85,10 @@ let content = `
|
||||
transition: transform .5s;
|
||||
}
|
||||
|
||||
.blocklyEmboss {
|
||||
filter: var(--blocklyEmbossFilter);
|
||||
}
|
||||
|
||||
.blocklyTooltipDiv {
|
||||
background-color: #ffffc7;
|
||||
border: 1px solid #ddc;
|
||||
@@ -138,6 +142,10 @@ let content = `
|
||||
border-color: inherit;
|
||||
}
|
||||
|
||||
.blocklyHighlighted>.blocklyPath {
|
||||
filter: var(--blocklyEmbossFilter);
|
||||
}
|
||||
|
||||
.blocklyHighlightedConnectionPath {
|
||||
fill: none;
|
||||
stroke: #fc3;
|
||||
@@ -189,6 +197,7 @@ let content = `
|
||||
}
|
||||
|
||||
.blocklyDisabled>.blocklyPath {
|
||||
fill: var(--blocklyDisabledPattern);
|
||||
fill-opacity: .5;
|
||||
stroke-opacity: .5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user