Skip to content

Commit 2c45476

Browse files
Change chart type image Codeinwp/visualizer-pro#343
1 parent a6b9b8f commit 2c45476

File tree

5 files changed

+25
-18
lines changed

5 files changed

+25
-18
lines changed

css/frame.css

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ div.viz-group-content .viz-group-description {
484484
height: 17px;
485485
border: none;
486486
color: #fff;
487+
z-index: 1;
487488
background: #c55555;
488489
}
489490

@@ -494,18 +495,21 @@ div.viz-group-content .viz-group-description {
494495
padding: 15px;
495496
border: 1px solid #e0e0e0;
496497
background-color: white;
497-
background-image: url(../images/chart_types_v340_g.png);
498+
background-image: url(../images/chart_types_v395.png);
498499
background-repeat: no-repeat;
499500
background-position: center center;
501+
background-size: 900px 1150px;
502+
filter: grayscale(100%);
500503
}
501504

502505
.type-label-selected,
503-
.type-box > .type-label:hover {
504-
background-image: url(../images/chart_types_v340.png);
506+
.type-box .type-label:hover {
507+
/* background-image: url(../images/chart_types_v340.png);*/
508+
filter: grayscale(0);
505509
}
506510

507511
.type-box-area .type-label {
508-
background-position: 0 -225px;
512+
background-position: -8px -225px;
509513
}
510514

511515
.type-box-line .type-label {
@@ -521,23 +525,23 @@ div.viz-group-content .viz-group-description {
521525
}
522526

523527
.type-box-gauge .type-label {
524-
background-position: 0 -450px;
528+
background-position: -7px -450px;
525529
}
526530

527531
.type-box-geo .type-label {
528532
background-position: -600px -450px;
529533
}
530534

531535
.type-box-candlestick .type-label {
532-
background-position: -300px -450px;
536+
background-position: -304px -450px;
533537
}
534538

535539
.type-box-bar .type-label {
536540
background-position: -300px -225px;
537541
}
538542

539543
.type-box-bubble .type-label {
540-
background-position: -600px -906px;
544+
background-position: -604px -906px;
541545
}
542546

543547
.type-box-column .type-label {
@@ -551,11 +555,11 @@ div.viz-group-content .viz-group-description {
551555
}
552556

553557
.type-box-timeline .type-label {
554-
background-position: -2px -670px;
558+
background-position: -8px -670px;
555559
}
556560

557561
.type-box-combo .type-label {
558-
background-position: -597px -670px;
562+
background-position: -606px -670px;
559563
}
560564

561565
.type-box-polarArea .type-label {

css/style-wizard.css

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,31 +1054,33 @@ display: none;
10541054
height: 198px;
10551055
background-color: #ffffff;
10561056
margin-bottom: 20px;
1057-
background-image: url(../images/chart_types_v340_g.png);
1057+
background-image: url(../images/chart_types_v395.png);
10581058
background-repeat: no-repeat;
10591059
background-position: center center;
10601060
transition: all .3s ease-in-out;
10611061
/* filter: grayscale(100%);
10621062
-webkit-filter: grayscale(100%); */
1063+
background-size: 900px 1150px;
1064+
filter: grayscale(100%);
10631065
}
10641066
.vz-chart-option .img.type-box-pie{
1065-
background-position: 15px -10px;
1067+
background-position: -5px -17px;
10661068
}
10671069
.vz-chart-option .img.type-box-bar{
1068-
background-position: -295px -235px;
1070+
background-position: -305px -235px;
10691071
}
10701072
.vz-chart-option .img.type-box-line{
1071-
background-position: -600px -7px;
1073+
background-position: -606px -14px;
10721074
}
10731075
.vz-chart-option .img.type-box-tabular{
1074-
background-position: -334px -742px;
1075-
background-size: 1000px 1250px;
1076+
background-position: -306px -693px;
10761077
}
10771078
.vz-chart-option .img.type-box-geo{
1078-
background-position: -600px -460px;
1079+
background-position: -603px -459px;
10791080
}
10801081
.vz-chart-option:hover .img{
1081-
background-image: url(../images/chart_types_v340.png);
1082+
background-image: url(../images/chart_types_v395.png);
1083+
filter: grayscale(0);
10821084
}
10831085
.vz-chart-option .bg{
10841086
position: absolute;
@@ -1133,7 +1135,8 @@ display: none;
11331135
background: #BDE6EB;
11341136
}
11351137
.vz-chart-option input[type=radio].vz-radio-btn:checked ~ .img{
1136-
background-image: url(../images/chart_types_v340.png);
1138+
background-image: url(../images/chart_types_v395.png);
1139+
filter: grayscale(0);
11371140
}
11381141

11391142
.vz-pro-option{

images/chart_types_v340.png

-53.2 KB
Binary file not shown.

images/chart_types_v340_g.png

-62.2 KB
Binary file not shown.

images/chart_types_v395.png

164 KB
Loading

0 commit comments

Comments
 (0)