Skip to content

Commit dfd3137

Browse files
committed
Merge pull request #45 from DragosBubu/master
Modificat
2 parents 84af54b + 6529cf9 commit dfd3137

File tree

6 files changed

+123
-5
lines changed

6 files changed

+123
-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: 116 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858

5959
.group.open {
6060
border-bottom: 1px solid #DFDFDF;
61+
6162
}
6263

6364
.group-title {
@@ -82,6 +83,8 @@
8283
background-image: -o-linear-gradient(bottom, #EEE, whiteSmoke);
8384
background-image: -ms-linear-gradient(bottom, #EEE, whiteSmoke);
8485
background-image: linear-gradient(bottom, #EEE, whiteSmoke);
86+
font-family: "Open Sans",sans-serif;
87+
font-weight: 700;
8588
}
8689

8790
.group-title:hover,
@@ -95,6 +98,8 @@
9598
background-image: -o-linear-gradient(bottom, #6D6D6D, gray);
9699
background-image: -ms-linear-gradient(bottom, #6D6D6D, gray);
97100
background-image: linear-gradient(bottom, #6D6D6D, gray);
101+
font-family: "Open Sans", sans-serif;
102+
font-weight: 700;
98103
}
99104

100105
.group-title::after {
@@ -153,6 +158,8 @@ div.group-content {
153158
div.group-content .group-description {
154159
padding: 0;
155160
margin-bottom: 20px;
161+
font-weight: 300;
162+
font-family: "Montserrat",sans-serif;
156163
}
157164

158165
.section-title {
@@ -254,7 +261,7 @@ div.group-content .group-description {
254261
}
255262

256263
#rate-stars {
257-
float: right;
264+
margin: 10px 0px 10px 55px;
258265
width: 100px;
259266
height: 20px;
260267
background-image: url('../images/star.png');
@@ -266,6 +273,9 @@ div.group-content .group-description {
266273
text-decoration: none;
267274
display: block;
268275
margin-top: 3px;
276+
margin-left: 35px;
277+
font-family: "Montserrat",sans-serif;
278+
font-weight: 300;
269279
}
270280

271281
#flattr {
@@ -423,4 +433,109 @@ div.group-content .group-description {
423433
#remote-file {
424434
margin-top: 10px;
425435
clear: both;
436+
}
437+
438+
.form-inline {
439+
display: inline-block;
440+
margin-bottom: 0;
441+
vertical-align: middle;
442+
}
443+
444+
.computer-btn{
445+
color: #646464 !important;
446+
border: medium none rgb(100, 100, 100) !important;
447+
background: #E6E6E6 url("../images/computer.png") no-repeat scroll 7px 1px !important;
448+
padding-left: 27px !important;
449+
transition: all 0.3s ease 0s;
450+
font-family: "Open Sans",sans-serif;
451+
font-weight: 700;
452+
border: 1px solid #B0B0B0 !important;
453+
box-shadow: none !important;
454+
455+
}
456+
457+
.computer-btn:hover{
458+
color: white !important;
459+
background: #2f8cea url("../images/computer.png") no-repeat scroll 7px -36px !important;
460+
transition: all 0.3s ease 0s;
461+
padding-left: 27px !important;
462+
-webkit-transition: all .3s ease;
463+
-moz-transition: all .3s ease;
464+
-ms-transition: all .3s ease;
465+
-o-transition: all .3s ease;
466+
transition: all .3s ease;
467+
box-shadow: 0px 1px 0px rgba(171, 171, 171, 0.5) inset, 0px 1px 0px rgba(0, 0, 0, 0.15) !important;
468+
border: 1px solid #2f8cea !important;
469+
box-shadow: none !important;
470+
471+
472+
}
473+
474+
475+
.from-web{
476+
margin-top: 0px;
477+
margin-bottom: 15px !important;
478+
}
479+
480+
.from-web-btn{
481+
color: #646464 !important;
482+
border: medium none #646464 !important;
483+
background: #E6E6E6 url("../images/web.png") no-repeat scroll 7px 1px !important;
484+
padding-left: 25px !important;
485+
transition: all 0.3s ease 0s;
486+
border: 1px solid #B0B0B0 !important;
487+
box-shadow: none !important;
488+
font-family: "Open Sans",sans-serif;
489+
font-weight: 700;
490+
margin-left: 2px !important;
491+
}
492+
493+
.from-web-btn:hover{
494+
color: white !important;
495+
background: #89B158 url("../images/web.png") no-repeat scroll 7px -38px !important;
496+
transition: all 0.3s ease 0s;
497+
padding-left: 25px !important;
498+
-webkit-transition: all .3s ease;
499+
-moz-transition: all .3s ease;
500+
-ms-transition: all .3s ease;
501+
-o-transition: all .3s ease;
502+
transition: all .3s ease;
503+
margin-left: 2px !important;
504+
border: 1px solid #89B158 !important;
505+
box-shadow: none !important;
506+
}
507+
508+
.preview{
509+
width: 100%;
510+
}
511+
512+
.preview-btn{
513+
font-family: "Open Sans",sans-serif;
514+
font-weight: 700;
515+
}
516+
517+
.show-live-btn{
518+
margin-top: 15px !important;
519+
width: 100%;
520+
background-color: #F90 !important;
521+
border-color: #E98B00 !important;
522+
font-family: "Open Sans",sans-serif;
523+
font-weight: 700;
524+
box-shadow: none !important;
525+
}
526+
527+
528+
.show-live-btn:hover{
529+
margin-top: 15px !important;
530+
width: 100%;
531+
background-color: #ea8c00 !important;
532+
border-color: #E98B00 !important;
533+
font-family: "Open Sans",sans-serif;
534+
font-weight: 700;
535+
box-shadow: none !important;
536+
-webkit-transition: all .3s ease;
537+
-moz-transition: all .3s ease;
538+
-ms-transition: all .3s ease;
539+
-o-transition: all .3s ease;
540+
transition: all .3s ease;
426541
}

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)