this adds a new css class for fontawesome which we need under certain
circumstances (it is copied from fontawesome minus a font-size:inherited)
and it changes the icons in the osd tree from x-fa to fa
(which is the correct one there)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
padding: 10px;
background-image: none;
}
+
+.x-fa {
+ diplay: inline-block;
+ font: normal normal normal 14px/1 FontAwesome;
+ text-rendering: auto;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
{ type: 'string', name: 'dbdev' },
{ type: 'string', name: 'waldev' },
{ type: 'string', name: 'iconCls', calculate: function(data) {
- var iconCls = 'x-fa x-fa-tree fa-';
+ var iconCls = 'fa x-fa-tree fa-';
switch (data.type) {
case 'host':
iconCls += 'building';