benivo-ui-library
Version:
Benivo UI library
98 lines (81 loc) • 2.1 kB
text/less
.goog-tooltip {
display: none ;
&:hover {
display: none ;
}
}
.goog-text-highlight {
background-color: transparent ;
border: none ;
.box-shadow (none) !important;
}
iframe.skiptranslate {
display: none ;
}
.skiptranslate.goog-te-gadget {
height: 37px;
overflow: hidden;
@media @lg-max {
height: 41px;
}
.goog-te-combo {
@media @lg-max {
margin: 0;
}
}
}
.google-translate-wrap {
display: flex;
align-items: start;
.google-icon {
display: inline-flex;
width: 20px;
height: 20px;
margin-top: 10px;
margin-right: 10px;
&:before {
content: ' ';
display: block;
width: 100%;
height: 100%;
background-image: @google-icon;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
}
#google_translate_element_reg {
flex: 1;
}
.goog-te-combo {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none; /* remove default arrow */
background-image: url('https://gpresource.blob.core.windows.net/assets/img/icons/select-arrow.svg');
background-repeat: no-repeat;
background-position: 99% center;
opacity: 0.7;
}
}
@media @lg {
.google-translate-wrap {
flex-direction: row-reverse;
.google-icon {
margin-right: 0;
margin-left: 10px;
}
}
}
/*start - disable google translate "original text" tooltips*/
.goog-tooltip, #goog-gt-tt {
display: none ;
}
.goog-tooltip:hover {
display: none ;
}
.goog-text-highlight {
background-color: transparent ;
border: none ;
box-shadow: none ;
}
/*end - disable google translate "original text" tooltips*/