]> git.agnieray.net Git - galette.git/commitdiff
Make replacements icon in PDF Model more visible
authorJohan Cwiklinski <johan@x-tnd.be>
Sat, 27 Jan 2024 06:52:52 +0000 (07:52 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Sat, 27 Jan 2024 08:07:54 +0000 (09:07 +0100)
closes #1770

galette/templates/default/modals/replacements_legend.html.twig
ui/semantic/galette/globals/site.overrides

index 22abc6d3b67443b822f271f8a6ed9bb2a645b147..ed7f61bbfa89b75d6b498a8072d492584452229d 100644 (file)
@@ -28,7 +28,7 @@
 <script type="text/javascript">
 
     var _addLegendButton = function(selector) {
-        $(selector).append('<a class="btnlegend"><i class="circular inverted primary link icon info tooltip" aria-hidden="true"></i> <span class="ui special popup">{{ _T("Show existing variables")|e('js') }}</span></a>');
+        $(selector).append('<i class="btnlegend circular inverted primary link icon info tooltip" aria-hidden="true"></i> <span class="ui special popup">{{ _T("Show existing variables")|e('js') }}</span>');
     };
 
     var _handleLegend = function(selector) {
index b04af28fc9e3a2c949bf0222135b0f835dedd11f..14c9a9403f790983318741c826a5b0179c9c73c0 100644 (file)
   display: none !important;
 }
 
+.ui.corner.label .icon.btnlegend {
+    cursor: pointer;
+}
+
 /* Content using visually-hidden is read by screen readers */
 .visually-hidden {
   position: absolute !important;