gobstones-blockly 0.24.3 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14979c1470306f0486bb94d9825ebad543a6d52e011dff2197393a549a150eda
4
- data.tar.gz: 04767d76041d8ef4241dea6afd51d373ad12eeaa301a15491b708ac855c50d75
3
+ metadata.gz: 77a87a9dd66211ec0b30c5e8d03969004dd0cd2e45f29779ebf27a2e472bcc17
4
+ data.tar.gz: fdecca413766820c9487c5c558c894213ffa3bcc67b0d40862f3a60e8119e715
5
5
  SHA512:
6
- metadata.gz: b47a2c0a22321056f34e459a3eaab088c4a7415c04f7eaefac18cfd7dde5dd4b314658a2004dd5ad597b498bee110f5661f7bb837af3a91a4af1b467e2d44caf
7
- data.tar.gz: a9191bb7beae386c8963f1a76e94eeadf55079783685e6eabaa35d49a641f6687fab8bb9d879570eedc7d00731153f98ed9d525beed66fe8caeedd080a01af1c
6
+ metadata.gz: '0119c5f481d3be2c392a874a68e0e7a08542ddf188e91fd74368f711d269e76651b8f78d9a5162207f68f2e5f44d9196cbedbf8c5267ac8567327ebd874342c6'
7
+ data.tar.gz: e7a2df416e217150c97dd6e9cf737f41ee05f406c57eb66afd775a02c22ca34d14cf5764295306b5818c379995f218ce5a98af7b214fd58b18d2b1de82bfdea1
@@ -6878,7 +6878,22 @@ Blockly.ErrorInforming.CssContent = [
6878
6878
  const isTheRightCategory = toolbarNode.textContent === name;
6879
6879
 
6880
6880
  if (isLabel && isTheRightCategory) {
6881
- toolbarNode.innerHTML = `<strong>${toolbarNode.innerText}</strong>`;
6881
+ const row = toolbarNode.parentElement;
6882
+ row.style["pointer-elements"] = "none";
6883
+ row.style["background"] = "#15546f";
6884
+ row.style["color"] = "#ffffff";
6885
+ row.style["margin-top"] = "15px";
6886
+ row.style["margin-bottom"] = "15px";
6887
+ row.style["pointer-events"] = "none";
6888
+ row.style["user-select"] = "none";
6889
+
6890
+ if (toolbarNode.innerText.startsWith("*")) {
6891
+ row.style["margin-bottom"] = "-15px";
6892
+ row.style["font-weight"] = "900";
6893
+ toolbarNode.innerText = toolbarNode.innerText.replace("*", "");
6894
+ }
6895
+
6896
+ toolbarNode.innerHTML = `<span>${toolbarNode.innerText}</span>`;
6882
6897
  }
6883
6898
  });
6884
6899
  }
@@ -1,5 +1,5 @@
1
1
  module Gobstones
2
2
  module Blockly
3
- VERSION = "0.24.3"
3
+ VERSION = "0.25.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gobstones-blockly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.3
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Alfonso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-24 00:00:00.000000000 Z
11
+ date: 2018-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  requirements: []
90
90
  rubyforge_project:
91
- rubygems_version: 2.7.7
91
+ rubygems_version: 2.7.8
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Gobstones Blockly