@c8y/style 1024.18.0 → 1024.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/style",
3
- "version": "1024.18.0",
3
+ "version": "1024.18.1",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity GmbH",
6
6
  "description": "Styles for Cumulocity IoT applications",
@@ -20,7 +20,13 @@ $icon-dir: if(sass($use-relative-paths): '../../assets/icons'; else: 'assets/ico
20
20
  font-style: normal;
21
21
  font-variant: normal;
22
22
  line-height: 1;
23
+ }
23
24
 
25
+ // The masked box exists only for elements that name an icon. A bare .dlt-c8y-icon
26
+ // has no --_icon-mask, and an unmasked box paints a solid square (MTM-67763);
27
+ // the icon font rendered nothing for it, so neither does this.
28
+ [class^='dlt-c8y-icon-'],
29
+ [class*=' dlt-c8y-icon-'] {
24
30
  &::before {
25
31
  content: "";
26
32
  display: inline-block;