2013-08-19, 02:17 PM
(This post was last modified: 2013-08-20, 03:06 AM by ikhwanulfikri.)
I think the code is very flexyble button once.
take a look at a few examples of this:
we can make:
highlight text with very pretty with this code.
create image with description
create titles. and much more.
and that certainly is the make button.
if any creative minds on this application please coment code below.
its this code :
Regular Expression *
Replacement *
and create css code in the template.
select your theme> add stylesheet
Title: mfb.css
and copy this code:
colors are supported:
gray
blue
brown
yellow
green
black
magenta
red
orange
white
purple
code example :
take a look at a few examples of this:
we can make:
highlight text with very pretty with this code.
create image with description
create titles. and much more.
and that certainly is the make button.
if any creative minds on this application please coment code below.
its this code :
Regular Expression *
\[btn=([a-z]+)\](.*?)\[/btn\]
Replacement *
<button class="btn$1">$2</button>
and create css code in the template.
select your theme> add stylesheet
Title: mfb.css
and copy this code:
.btnblue{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #ffffff;
padding: 2px 2px;
background: -moz-linear-gradient(
top,
#3083ba 0%,
#2175b5);
background: -webkit-gradient(
linear, left top, left bottom,
from(#3083ba),
to(#2175b5));
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
border: 0px solid #302626;
-moz-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
-webkit-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 0px 0px rgba(255,255,255,0);
}
.btnred {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #ffffff;
padding: 2px 2px;
background: -moz-linear-gradient(
top,
#ff0d00 0%,
#ab0000);
background: -webkit-gradient(
linear, left top, left bottom,
from(#ff0d00),
to(#ab0000));
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
border: 0px solid #7d0000;
-moz-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
-webkit-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 0px 0px rgba(255,255,255,0);
}
.btnyellow{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #ffffff;
padding: 2px 2px;
background: -moz-linear-gradient(
top,
#f7eb0d 0%,
#bd882c);
background: -webkit-gradient(
linear, left top, left bottom,
from(#f7eb0d),
to(#bd882c));
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
border: 0px solid #7d0000;
-moz-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
-webkit-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 0px 0px rgba(255,255,255,0);
}
.btnbrown{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #ffffff;
padding: 2px 2px;
background: -moz-linear-gradient(
top,
#b55f0e 0%,
#805a18);
background: -webkit-gradient(
linear, left top, left bottom,
from(#b55f0e),
to(#805a18));
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
border: 0px solid #7d0000;
-moz-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
-webkit-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 0px 0px rgba(255,255,255,0);
}
.btngreen{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #ffffff;
padding: 2px 2px;
background: -moz-linear-gradient(
top,
#10de10 0%,
#118511);
background: -webkit-gradient(
linear, left top, left bottom,
from(#10de10),
to(#118511));
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
border: 0px solid #7d0000;
-moz-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
-webkit-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 0px 0px rgba(255,255,255,0);
}
.btnorange{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #ffffff;
padding: 2px 2px;
background: -moz-linear-gradient(
top,
#f5760e 0%,
#de6d10);
background: -webkit-gradient(
linear, left top, left bottom,
from(#f5760e),
to(#de6d10));
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
border: 0px solid #7d0000;
-moz-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
-webkit-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 0px 0px rgba(255,255,255,0);
}
.btnpurple{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #ffffff;
padding: 2px 2px;
background: -moz-linear-gradient(
top,
#9100ff 0%,
#8410e3);
background: -webkit-gradient(
linear, left top, left bottom,
from(#9100ff),
to(#8410e3));
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
border: 0px solid #7d0000;
-moz-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
-webkit-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 0px 0px rgba(255,255,255,0);
}
.btnblack{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #ffffff;
padding: 2px 2px;
background: -moz-linear-gradient(
top,
#543c54 0%,
#000000);
background: -webkit-gradient(
linear, left top, left bottom,
from(#543c54),
to(#000000));
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
border: 0px solid #7d0000;
-moz-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
-webkit-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 0px 0px rgba(255,255,255,0);
}
.btnwhite{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #000000;
padding: 2px 2px;
background: -moz-linear-gradient(
top,
#fff7ff 0%,
#fefcff);
background: -webkit-gradient(
linear, left top, left bottom,
from(#fff7ff),
to(#fefcff));
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
border: 0px solid #7d0000;
-moz-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
-webkit-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 0px 0px rgba(255,255,255,0);
}
.btngray{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #ffffff;
padding: 2px 2px;
background: -moz-linear-gradient(
top,
#949294 0%,
#808080);
background: -webkit-gradient(
linear, left top, left bottom,
from(#949294),
to(#808080));
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
border: 0px solid #7d0000;
-moz-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
-webkit-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 0px 0px rgba(255,255,255,0);
}
.btnmagenta{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #ffffff;
padding: 2px 2px;
background: -moz-linear-gradient(
top,
#f090f0 0%,
#ed13ed);
background: -webkit-gradient(
linear, left top, left bottom,
from(#f090f0),
to(#ed13ed));
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
border: 0px solid #7d0000;
-moz-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
-webkit-box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
box-shadow:
0px 2px 2px rgba(000,000,000,1),
inset 0px 0px 2px rgba(255,255,255,0);
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 0px 0px rgba(255,255,255,0);
}
colors are supported:
gray
blue
brown
yellow
green
black
magenta
red
orange
white
purple
code example :
[btn=red] write anything here. [/btn]