Template:Button: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
allow custom tooltip using {{{tooltip}}}, defaults to current |
use border-radius css directly |
||
Line 1: | Line 1: | ||
<kbd class="nowrap button" title="{{{tooltip|This is not a clickable button; it illustrates the button one should find.}}}" style="padding:{{{padTB|.2em}}} {{{padLR|.6em}}}; border:1px solid; border-color:#AAA #555 #555 #AAA; |
<kbd class="nowrap button" title="{{{tooltip|This is not a clickable button; it illustrates the button one should find.}}}" style="padding:{{{padTB|.2em}}} {{{padLR|.6em}}}; border:1px solid; border-color:#AAA #555 #555 #AAA; border-radius:3px; background-color: {{{bgcolor|#F2F2F2}}}; color: {{{fgcolor|#000}}}; {{linear-gradient|top|{{{bgcolor1|#FCFCFC}}}, {{{bgcolor2|#E0E0E0}}}}} {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} font-family:sans-serif; {{{style|}}}">{{{text|{{{1|Hello, World!}}}}}}</kbd><noinclude> |
||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |