Changes for page FontAwesome
Last modified by Martin Výlet on 19.10.2024 11:14
From version 9.1
edited by Martin Výlet
on 19.10.2024 11:14
on 19.10.2024 11:14
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/16.8.0]
To version 2.1
edited by Administrator
on 15.08.2017 12:57
on 15.08.2017 12:57
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/9.6]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. vyl00221 +XWiki.xwikiadm - Content
-
... ... @@ -1,9 +1,9 @@ 1 1 ## General settings 2 2 xwiki.iconset.type = font 3 -xwiki.iconset. css =$services.webjars.url('org.webjars:font-awesome', 'css/font-awesome.min.css')4 -xwiki.iconset. render.wiki = {{html clean="false"}}<spanclass="fafa-$icon" aria-hidden="true"></span>{{/html}}5 -xwiki.iconset.render.html = aria-hidden="true"></span>6 -xwiki.iconset. icon.cssClass3 +xwiki.iconset.ssx = IconThemes.FontAwesome 4 +xwiki.iconset.jsx = IconThemes.FontAwesome 5 +xwiki.iconset.render.wiki = {{html clean="false"}}<span class="fa fa-$icon"></span>{{/html}} 6 +xwiki.iconset.render.html = <span class="fa fa-$icon"></span> 7 7 8 8 ## XWiki Icon Set (see: http://design.xwiki.org/xwiki/bin/view/Proposal/XWiki+Icon+Set). 9 9 home = home ... ... @@ -155,14 +155,6 @@ 155 155 log-in=sign-in 156 156 log-out=sign-out 157 157 th=th 158 -translate=language 159 -minus-square = minus-square 160 -plus-square = plus-square 161 -filter = filter 162 -table_sort = sort 163 -fast-backward = fast-backward 164 -arrow_in = window-minimize 165 -reposition = arrows 166 166 167 167 ## Silk icons for backward compatibility (see: http://design.xwiki.org/xwiki/bin/view/Proposal/Silk+Mapping). 168 168 accept = check ... ... @@ -206,7 +206,6 @@ 206 206 building = building 207 207 bullet_arrow_down = caret-down 208 208 bullet_arrow_up = caret-up 209 -bullet_black = circle 210 210 bullet_go = caret-right 211 211 cake=birthday-cake 212 212 calculator = calculator ... ... @@ -295,6 +295,7 @@ 295 295 newspaper=newspaper-o 296 296 note=sticky-note-o 297 297 paintbrush=paint-brush 289 +page = file 298 298 page_white = file-o 299 299 page_white_acrobat = file-pdf-o 300 300 page_white_code = file-code-o ... ... @@ -315,7 +315,6 @@ 315 315 rosette = certificate 316 316 rss = rss 317 317 shape_group=object-group 318 -shape_square=square-o 319 319 shape_ungroup=object-ungroup 320 320 shield = shield 321 321 sitemap=sitemap ... ... @@ -335,7 +335,6 @@ 335 335 text_align_right = align-right 336 336 text_bold = bold 337 337 text_columns = columns 338 -text_heading_1 = header 339 339 text_indent = indent 340 340 text_indent_remove = outdent 341 341 text_italic = italic ... ... @@ -354,7 +354,6 @@ 354 354 user_add=user-plus 355 355 user_delete=user-times 356 356 vcard = vcard-o 357 -wand = magic 358 358 weather_clouds = cloud 359 359 weather_sun = sun-o 360 360 weather_snow=snowflake-o
- XWiki.JavaScriptExtension[0]
-
- Caching policy
-
... ... @@ -1,0 +1,1 @@ 1 +long - Code
-
... ... @@ -1,0 +1,13 @@ 1 +// Sometimes IE8 loads the font *after* the rendering of the page so it does not display the icon correctly. 2 +// To fix this, we reload the stylesheet when we receive the 'document ready' event so that the browser recomputes 3 +// the display. Although, it does not solve everything (see https://jira.xwiki.org/browse/XWIKI-10813). 4 +require(['jquery'], function($) { 5 + // This hack concerns IE8 only 6 + if (navigator.userAgent.indexOf('MSIE 8.0') > -1) { 7 + $(function() { 8 + var link = $("link[href*='IconThemes/FontAwesome']"); 9 + link[0].href = link[0].href; 10 + }); 11 + } 12 +}); 13 + - Name
-
... ... @@ -1,0 +1,1 @@ 1 +IE8 fix - Parse content
-
... ... @@ -1,0 +1,1 @@ 1 +No - Use this extension
-
... ... @@ -1,0 +1,1 @@ 1 +onDemand
- XWiki.StyleSheetExtension[0]
-
- Caching policy
-
... ... @@ -1,0 +1,1 @@ 1 +long - Code
-
... ... @@ -1,0 +1,1 @@ 1 +@import "$services.webjars.url('org.webjars:font-awesome', 'css/font-awesome.min.css')" - Name
-
... ... @@ -1,0 +1,1 @@ 1 +Font-Awesome CSS - Parse content
-
... ... @@ -1,0 +1,1 @@ 1 +Yes - Use this extension
-
... ... @@ -1,0 +1,1 @@ 1 +onDemand