Skip to content

Commit

Permalink
updated minify version
Browse files Browse the repository at this point in the history
  • Loading branch information
rahman9909 committed Jun 11, 2017
1 parent df94251 commit 5cc92aa
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions eet-lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ $(document).ready(function($){

if(_EETJsonSettings.ShowLanguage){ //true

if(!$("#google_translate_element").length){ //if not user preset
$("head").before('<div id="google_translate_element" class="'+_EETJsonSettings.Position+'"></div>');
if(!$("#exico_translator_element").length){ //if not user preset
$("head").before('<div id="exico_translator_element" class="'+_EETJsonSettings.Position+'"></div>');
}

$("head").append('<link rel="stylesheet" href="'+BasePath+'/eet-style.min.css" type="text/css" />');
Expand All @@ -32,7 +32,7 @@ $(document).ready(function($){
if (_EETJsonSettings.MultiLingual) {gConfigString +='multilanguagePage: true';}


var __function = "function googleTranslateElementInit() { new google.translate.TranslateElement({" +gConfigString +"}, 'google_translate_element'); }";
var __function = "function googleTranslateElementInit() { new google.translate.TranslateElement({" +gConfigString +"}, 'exico_translator_element'); }";


var script = document.createElement("script");
Expand Down
2 changes: 1 addition & 1 deletion eet-lang.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions eet-style.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#google_translate_element.eet_top_left {position:fixed;top:0;left:45px;z-index:9999;}
#google_translate_element.eet_top_right {position:fixed;top:0;right:45px;z-index:9999;}
#google_translate_element.eet_top_center {position:fixed;top:0;left: 50%;transform: translate(-50%, 0);;z-index:9999;}
#google_translate_element.eet_bottom_left {position:fixed;bottom:0;left:45px;z-index:9999;}
#google_translate_element.eet_bottom_right {position:fixed;bottom:0;right:45px;z-index:9999;}
#google_translate_element.eet_bottom_center {position:fixed;bottom:0;left: 50%;transform: translate(-50%, 0);;z-index:9999;}
#exico_translator_element.eet_top_left {position:fixed;top:0;left:45px;z-index:9999;}
#exico_translator_element.eet_top_right {position:fixed;top:0;right:45px;z-index:9999;}
#exico_translator_element.eet_top_center {position:fixed;top:0;left: 50%;transform: translate(-50%, 0);;z-index:9999;}
#exico_translator_element.eet_bottom_left {position:fixed;bottom:0;left:45px;z-index:9999;}
#exico_translator_element.eet_bottom_right {position:fixed;bottom:0;right:45px;z-index:9999;}
#exico_translator_element.eet_bottom_center {position:fixed;bottom:0;left: 50%;transform: translate(-50%, 0);;z-index:9999;}


#google_translate_element .goog-te-combo{background-color:#FFF;font-size:16px;height: auto;overflow: hidden;-moz-transition: all 1s;-o-transition: all 1s;-webkit-transition: all 1s;transition: all 1s;width:180px;color:#000;padding:6px;outline:#88bfff;border:1px solid #ccc;}
#exico_translator_element .goog-te-combo{background-color:#FFF;font-size:16px;height: auto;overflow: hidden;-moz-transition: all 1s;-o-transition: all 1s;-webkit-transition: all 1s;transition: all 1s;width:180px;color:#000;padding:6px;outline:#88bfff;border:1px solid #ccc;}
.goog-te-combo:active, .goog-te-combo:focus {border-color:#88bfff;}
#google_translate_element:hover .goog-te-combo {-moz-transition: all 1s;-o-transition: all 1s;-webkit-transition: all 1s;transition: all 1s;}
#exico_translator_element:hover .goog-te-combo {-moz-transition: all 1s;-o-transition: all 1s;-webkit-transition: all 1s;transition: all 1s;}
select.goog-te-combo {border-radius:4px !important;-webkit-border-radius:4px !important;-moz-border-radius:4px !important;}

/*Hide Top translaiton bar and height*/
Expand Down
2 changes: 1 addition & 1 deletion eet-style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5cc92aa

Please sign in to comment.