Difference between revisions of "Template:Button"

From FreeCAD Documentation
Jump to navigation Jump to search
(Revert the border to 3px so that it looks like a button.)
Line 1: Line 1:
<span style="background: #f5f5f5; -moz-box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.1); -webkit-box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.1); box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.1); border: 0px solid #989898; border-radius: 0.1em; padding: 0px 10px 1px 10px; font-weight:normal;">{{{1}}}</span><noinclude>
+
<span style="background: #f5f5f5; -moz-box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.1); -webkit-box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.1); box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.1); border: 3px solid #989898; border-radius: 0.4em; padding: 0px 10px 1px 10px; font-weight:normal;">{{{1}}}</span><noinclude>
 
 
 
----
 
----
  

Revision as of 01:56, 26 September 2020

{{{1}}}


Use this template when you want to indicate a button that you must press in the graphical user interface of the program.

Example:

{{Button|select edge}} {{Button|Cancel}} {{Button|OK}}

Result:

select edge Cancel OK

This template is not translatable