Difference between revisions of "Template:Calculated-linear-gradient/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Technical 13
(Not seeing the gradient... Hrmm.)
imported>Technical 13
(looks like it is working, kind of... meh... Needs a lot more logic and the input broken down...)
 
Line 2: Line 2:
  
 
== Testing sandbox version ==
 
== Testing sandbox version ==
<span class="nowrap" title="This is not a clickable button; it illustrates the button to look for" style="padding:{{{padTB|.2em}}} {{{padLR|.6em}}}; border:1px solid; border-color:#AAA #555 #555 #AAA; {{border-radius|3px}} background-color: {{{bgcolor|#FF00FF}}}; {{calculated-linear-gradient|1=top|2={{{bgcolor|#FF00FF}}}|offset=.05}} {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} {{{style|}}}">{{{text|{{{1|the button}}}}}}</span>
+
* {{calculated-linear-gradient|1=top|2={{{bgcolor|#777777}}}|offset=.05}}
 +
<span class="nowrap" title="This is not a clickable button; it illustrates the button to look for" style="padding:{{{padTB|.2em}}} {{{padLR|.6em}}}; border:1px solid; border-color:#AAA #555 #555 #AAA; {{border-radius|3px}} background-color: {{{bgcolor|#777777}}}; {{calculated-linear-gradient|1=top|2={{{bgcolor|#777777}}}|offset=.05}} {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} {{{style|}}}">{{{text|{{{1|the button}}}}}}</span>
  
 +
* {{calculated-linear-gradient|1=top|2={{{bgcolor|#777777}}}|offset=.25}}
 +
<span class="nowrap" title="This is not a clickable button; it illustrates the button to look for" style="padding:{{{padTB|.2em}}} {{{padLR|.6em}}}; border:1px solid; border-color:#AAA #555 #555 #AAA; {{border-radius|3px}} background-color: {{{bgcolor|#777777}}}; {{calculated-linear-gradient|1=top|2={{{bgcolor|#777777}}}|offset=.25}} {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} {{{style|}}}">{{{text|{{{1|the button}}}}}}</span>
  
 
+
* {{calculated-linear-gradient|1=top|2={{{bgcolor|#777777}}}|offset=.75}}
<span class="nowrap" title="This is not a clickable button; it illustrates the button to look for" style="padding:{{{padTB|.2em}}} {{{padLR|.6em}}}; border:1px solid; border-color:#AAA #555 #555 #AAA; {{border-radius|3px}} background-color: {{{bgcolor|#FF00FF}}}; {{calculated-linear-gradient|1=top|2={{{bgcolor|#FF00FF}}}|offset=.25}} {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} {{{style|}}}">{{{text|{{{1|the button}}}}}}</span>
+
<span class="nowrap" title="This is not a clickable button; it illustrates the button to look for" style="padding:{{{padTB|.2em}}} {{{padLR|.6em}}}; border:1px solid; border-color:#AAA #555 #555 #AAA; {{border-radius|3px}} background-color: {{{bgcolor|#777777}}}; {{calculated-linear-gradient|1=top|2={{{bgcolor|#777777}}}|offset=.25}} {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} {{{style|}}}">{{{text|{{{1|the button}}}}}}</span>

Latest revision as of 18:24, 9 September 2013

Testing sandbox version

  • background-image: -moz-linear-gradient(top, #717E4B, #7D70A3); background-image: -ms-linear-gradient(top, #717E4B, #7D70A3); background-image: -o-linear-gradient(top, #717E4B, #7D70A3); background-image: -webkit-linear-gradient(top, #717E4B, #7D70A3); background-image: linear-gradient(top, #717E4B, #7D70A3);

the button

  • background-image: -moz-linear-gradient(top, #599999, #955555); background-image: -ms-linear-gradient(top, #599999, #955555); background-image: -o-linear-gradient(top, #599999, #955555); background-image: -webkit-linear-gradient(top, #599999, #955555); background-image: linear-gradient(top, #599999, #955555);

the button

  • background-image: -moz-linear-gradient(top, #1DDDDE, #D11110); background-image: -ms-linear-gradient(top, #1DDDDE, #D11110); background-image: -o-linear-gradient(top, #1DDDDE, #D11110); background-image: -webkit-linear-gradient(top, #1DDDDE, #D11110); background-image: linear-gradient(top, #1DDDDE, #D11110);

the button