[Rt-commit] rt branch, 4.6/fontawesome-icons, repushed
Blaine Motsinger
blaine at bestpractical.com
Tue Oct 22 16:06:11 EDT 2019
The branch 4.6/fontawesome-icons was deleted and repushed:
was 9310887eaabd49a6b69861bb9478279f6914e5d1
now 59c8c9a9dc7836735f74047655edd0a227fd2332
1: 09f03e2e1 = 1: 09f03e2e1 Add project-diagram to fontawesome SVG build
2: 9310887ea ! 2: 2d367a9f0 Replace text links with fontawesome SVGs
@@ -1,6 +1,6 @@
Author: Blaine Motsinger <blaine at bestpractical.com>
- WIP - Replace text links with font-awesome SVGs
+ Replace text links with fontawesome SVGs
diff --git a/lib/RT/Interface/Web/MenuBuilder.pm b/lib/RT/Interface/Web/MenuBuilder.pm
--- a/lib/RT/Interface/Web/MenuBuilder.pm
@@ -150,13 +150,10 @@
<a href="<% $url %>" onclick="jQuery.get(<% $url |n,j %>, function(data){ jQuery('.toggle-bookmark-'+<% $id |n,j%>).replaceWith(data) }); return false;" >
% if ( $is_bookmarked ) {
-<img src="<% RT->Config->Get('WebPath') %>/static/images/star-full.png" alt="<% loc('Remove Bookmark') %>" />
-+<span class="fa-layers fa-fw">
-+ <img class="far fa-bookmark" style:"color:black" />
-+ <img class="fa-inverse fas fa-bookmark" data-fa-transform="shrink-3.5 up-0.5" style="color:#46B346" alt="<% loc('Remove Bookmark') %>" \>
-+</span>
++<img class="fas fa-bookmark bookmark-selected" data-fa-transform="shrink-2 up-0.25" alt="<% loc('Remove Bookmark') %>" \>
% } else {
-<img src="<% RT->Config->Get('WebPath') %>/static/images/star-empty.png" alt="<% loc('Add Bookmark') %>" />
-+<img class="far fa-bookmark" alt="<% loc('Add Bookmark') %>" \>
++<img class="far fa-bookmark" style="color:black" alt="<% loc('Add Bookmark') %>" \>
% }
</a>
</span>
@@ -198,3 +195,18 @@
<&| /Widgets/TitleBox, title => loc('Edit Links'), class=>'ticket-info-links', @extra &>
<& /Elements/EditLinks, Object => $Ticket &>
</&>
+
+diff --git a/share/static/css/elevator-light/misc.css b/share/static/css/elevator-light/misc.css
+--- a/share/static/css/elevator-light/misc.css
++++ b/share/static/css/elevator-light/misc.css
+@@
+ z-index: 10000;
+ }
+
++/* manipulate the svg image for selected bookmarks */
++svg.bookmark-selected path {
++ stroke: black;
++ stroke-width: 50;
++ fill: #46B346;
++}
+
-: ------- > 3: 59c8c9a9d Remove timer and bookmark css and images
More information about the rt-commit
mailing list