Cum pun un chenar cu colturi rotunjire la legenda grupurilor si acel chenar sa fie de culoarea respectiva de grup si sa aibe si un efect hove...
Cod:
<td class="row1"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td>
Cod:
<td class="row1 legend"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td>
Cod:
$(function() {
$(".legend").html($(".legend").html().split("[").join(" "));
$(".legend").html($(".legend").html().split("]").join(" "));
jQuery('.legend a').each(function() {
var color = $(this).css("color");
$(this).wrap("<span style='background-color:" + color + ";'/>");
$(this).addClass('group');
});
});
Cod:
.legend{font-style: normal;}
.legend a.group{
font-family: arial;
opacity: 0.6;
-moz-opacity: 0.6;
-khtml-opacity: 0.6;
-ms-filter: "alpha(opacity=60)";
filter:alpha(opacity=60);
color: white !important;
text-shadow: 0 0 3px black;}
.legend span{
margin: 0 5px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset;
-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset;
-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset;
padding: 4px 8px;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-bottom: 1px solid white;
border-right: 1px solid white;}
Cod:
$(function() {
$("em").html($("em").html().split("[").join(""));
$("em").html($("em").html().split("]").join(""));
jQuery('em a').each(function() {
var color = $(this).css("color");
$(this).wrap("<span style='background-color:" + color + ";'/>");
$(this).addClass('group');
});
});
Cod:
em{font-style: normal;}
em a.group{
font-family: arial;
opacity: 0.6;
-moz-opacity: 0.6;
-khtml-opacity: 0.6;
-ms-filter: "alpha(opacity=60)";
filter:alpha(opacity=60);
color: white !important;
text-shadow: 0 0 3px black;}
em span{
margin: 0 5px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset;
-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset;
-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset;
padding: 4px 8px;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-bottom: 1px solid white;
border-right: 1px solid white;}
Cod:
<p>{LEGEND} : {GROUP_LEGEND}</p>
Cod:
<p class="legend">{LEGEND} : {GROUP_LEGEND}</p>
Cod:
$(function() {
$(".legend").html($(".legend").html().split("[").join(" "));
$(".legend").html($(".legend").html().split("]").join(" "));
jQuery('.legend a').each(function() {
var color = $(this).css("color");
$(this).wrap("<span style='background-color:" + color + ";'/>");
$(this).addClass('group');
});
});
Cod:
.legend{font-style: normal;}
.legend a.group{
font-family: arial;
opacity: 0.6;
-moz-opacity: 0.6;
-khtml-opacity: 0.6;
-ms-filter: "alpha(opacity=60)";
filter:alpha(opacity=60);
color: white !important;
text-shadow: 0 0 3px black;}
.legend span{
margin: 0 5px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset;
-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset;
-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset;
padding: 4px 8px;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-bottom: 1px solid white;
border-right: 1px solid white;}
Cod:
$(function() {
$('.thin').next().addClass('legend');
$(".legend").html($(".legend").html().split("[").join(" "));
$(".legend").html($(".legend").html().split("]").join(" "));
jQuery('.legend a').each(function() {
var color = $(this).css("color");
$(this).wrap("<span style='background-color:" + color + ";'/>");
$(this).addClass('group');
});
});
Cod:
.legend{font-style: normal;}
.legend a.group{
font-family: arial;
opacity: 0.6;
-moz-opacity: 0.6;
-khtml-opacity: 0.6;
-ms-filter: "alpha(opacity=60)";
filter:alpha(opacity=60);
color: white !important;
text-shadow: 0 0 3px black;}
.legend span{
margin: 0 5px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset;
-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset;
-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset;
padding: 4px 8px;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-bottom: 1px solid white;
border-right: 1px solid white;}