Skip to content

Commit cf6e734

Browse files
committed
Modificat
1 parent 84af54b commit cf6e734

File tree

6 files changed

+96
-5
lines changed

6 files changed

+96
-5
lines changed

classes/Visualizer/Render/Page/Data.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ protected function _renderSidebarContent() {
8383
echo '<div>';
8484
echo '<form id="csv-form" action="', $upload_link, '" method="post" target="thehole" enctype="multipart/form-data">';
8585
echo '<input type="hidden" id="remote-data" name="remote_data">';
86-
echo '<div class="button button-primary file-wrapper">';
86+
echo '<div class="form-inline">';
87+
echo '<div class="button button-primary file-wrapper computer-btn">';
8788
echo '<input type="file" id="csv-file" class="file" name="local_data">';
8889
esc_attr_e( 'From Computer', Visualizer_Plugin::NAME );
8990
echo '</div>';
@@ -95,8 +96,10 @@ protected function _renderSidebarContent() {
9596
}
9697
// Added by Ash/Upwork
9798

98-
echo '<div>';
99-
echo '<a id="remote-file" class="button" href="javascript:;">', esc_html__( 'From Web', Visualizer_Plugin::NAME ), '</a>';
99+
100+
echo '<a id="" class="button from-web from-web-btn" href="javascript:;">', esc_html__( 'From Web', Visualizer_Plugin::NAME ), '</a>';
101+
102+
100103
echo '</div>';
101104
echo '</form>';
102105

@@ -107,7 +110,7 @@ protected function _renderSidebarContent() {
107110
}else{
108111
?>
109112
<a href="<?php echo Visualizer_Plugin::PRO_TEASER_URL;?>" title="<?php echo Visualizer_Plugin::PRO_TEASER_TITLE;?>" target="_new">
110-
<input type="button" class="button" id="existing-chart-free" value="<?php esc_attr_e( 'From Chart', Visualizer_Plugin::NAME );?>:"><select id="chart-id-free"></select>
113+
<input type="button" class="button preview preview-btn" id="existing-chart-free" value="<?php esc_attr_e( 'PREVIEW', Visualizer_Plugin::NAME );?>">
111114
</a>
112115
<?php
113116
}

css/frame.css

Lines changed: 89 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@
8282
background-image: -o-linear-gradient(bottom, #EEE, whiteSmoke);
8383
background-image: -ms-linear-gradient(bottom, #EEE, whiteSmoke);
8484
background-image: linear-gradient(bottom, #EEE, whiteSmoke);
85+
font-family: "Open Sans",sans-serif;
86+
font-weight: 700;
8587
}
8688

8789
.group-title:hover,
@@ -95,6 +97,8 @@
9597
background-image: -o-linear-gradient(bottom, #6D6D6D, gray);
9698
background-image: -ms-linear-gradient(bottom, #6D6D6D, gray);
9799
background-image: linear-gradient(bottom, #6D6D6D, gray);
100+
font-family: "Open Sans", sans-serif;
101+
font-weight: 700;
98102
}
99103

100104
.group-title::after {
@@ -153,6 +157,8 @@ div.group-content {
153157
div.group-content .group-description {
154158
padding: 0;
155159
margin-bottom: 20px;
160+
font-weight: 300;
161+
font-family: "Montserrat",sans-serif;
156162
}
157163

158164
.section-title {
@@ -254,7 +260,7 @@ div.group-content .group-description {
254260
}
255261

256262
#rate-stars {
257-
float: right;
263+
margin: 10px 0px 10px 55px;
258264
width: 100px;
259265
height: 20px;
260266
background-image: url('../images/star.png');
@@ -266,6 +272,9 @@ div.group-content .group-description {
266272
text-decoration: none;
267273
display: block;
268274
margin-top: 3px;
275+
margin-left: 35px;
276+
font-family: "Montserrat",sans-serif;
277+
font-weight: 300;
269278
}
270279

271280
#flattr {
@@ -423,4 +432,83 @@ div.group-content .group-description {
423432
#remote-file {
424433
margin-top: 10px;
425434
clear: both;
435+
}
436+
437+
.form-inline {
438+
display: inline-block;
439+
margin-bottom: 0;
440+
vertical-align: middle;
441+
}
442+
443+
.computer-btn{
444+
color: #646464 !important;
445+
border: medium none rgb(100, 100, 100) !important;
446+
background: #E6E6E6 url("../images/computer.png") no-repeat scroll 7px 1px !important;
447+
padding-left: 27px !important;
448+
transition: all 0.3s ease 0s;
449+
font-family: "Open Sans",sans-serif;
450+
font-weight: 700;
451+
border: 1px solid #B0B0B0 !important;
452+
box-shadow: none !important;
453+
454+
}
455+
456+
.computer-btn:hover{
457+
color: white !important;
458+
background: #2f8cea url("../images/computer.png") no-repeat scroll 7px -36px !important;
459+
transition: all 0.3s ease 0s;
460+
padding-left: 27px !important;
461+
-webkit-transition: all .3s ease;
462+
-moz-transition: all .3s ease;
463+
-ms-transition: all .3s ease;
464+
-o-transition: all .3s ease;
465+
transition: all .3s ease;
466+
box-shadow: 0px 1px 0px rgba(171, 171, 171, 0.5) inset, 0px 1px 0px rgba(0, 0, 0, 0.15) !important;
467+
border: 1px solid #2f8cea !important;
468+
box-shadow: none !important;
469+
470+
471+
}
472+
473+
474+
.from-web{
475+
margin-top: 0px;
476+
margin-bottom: 15px !important;
477+
}
478+
479+
.from-web-btn{
480+
color: #646464 !important;
481+
border: medium none #646464 !important;
482+
background: #E6E6E6 url("../images/web.png") no-repeat scroll 7px 1px !important;
483+
padding-left: 25px !important;
484+
transition: all 0.3s ease 0s;
485+
border: 1px solid #B0B0B0 !important;
486+
box-shadow: none !important;
487+
font-family: "Open Sans",sans-serif;
488+
font-weight: 700;
489+
margin-left: 2px !important;
490+
}
491+
492+
.from-web-btn:hover{
493+
color: white !important;
494+
background: #84d700 url("../images/web.png") no-repeat scroll 7px -38px !important;
495+
transition: all 0.3s ease 0s;
496+
padding-left: 25px !important;
497+
-webkit-transition: all .3s ease;
498+
-moz-transition: all .3s ease;
499+
-ms-transition: all .3s ease;
500+
-o-transition: all .3s ease;
501+
transition: all .3s ease;
502+
margin-left: 2px !important;
503+
border: 1px solid #84d700 !important;
504+
box-shadow: none !important;
505+
}
506+
507+
.preview{
508+
width: 100%;
509+
}
510+
511+
.preview-btn{
512+
font-family: "Open Sans",sans-serif;
513+
font-weight: 700;
426514
}

images/computer.png

15.5 KB
Loading

images/star.png

13.3 KB
Loading

images/view24(2).png

279 Bytes
Loading

images/web.png

15.9 KB
Loading

0 commit comments

Comments
 (0)