Content added Content deleted
m (Changed protection level of Template:Clickable button 2: Enable access by template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
(toned down colors) |
||
Line 4: | Line 4: | ||
}}<span class="submit ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only {{{class|}}}" role="button" aria-disabled="false" {{#ifeq:{{{1}}}|{{FULLPAGENAME}}|style{{=}}"cursor: default"}}><span class="ui-button-text" {{#ifeq:{{{1}}}|{{FULLPAGENAME}} |
}}<span class="submit ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only {{{class|}}}" role="button" aria-disabled="false" {{#ifeq:{{{1}}}|{{FULLPAGENAME}}|style{{=}}"cursor: default"}}><span class="ui-button-text" {{#ifeq:{{{1}}}|{{FULLPAGENAME}} |
||
|{{#switch:{{{class}}} |
|{{#switch:{{{class}}} |
||
|ui-button-blue=style{{=}}"background-color:# |
|ui-button-blue=style{{=}}"background-color:#248" |
||
|ui-button-green=style{{=}}"background-color:# |
|ui-button-green=style{{=}}"background-color:#284" |
||
|ui-button-red=style{{=}}"background-color:# |
|ui-button-red=style{{=}}"background-color:#842" |
||
|#default=style{{=}}"background-color:#dadada;color:black" |
|#default=style{{=}}"background-color:#dadada;color:black" |
||
}} |
}} |