-
Notifications
You must be signed in to change notification settings - Fork 1
/
googletranslate.css
129 lines (115 loc) · 2.41 KB
/
googletranslate.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#translateButton {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
width: 60px;
height: 60px;
border-radius: 50%;
border: none;
background-color: hwb(181 16% 46%);
color: white;
text-align: center;
display: inline-block;
font-size: 16px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
font-size: 12px;
line-height: 1;
text-align: center;
white-space: nowrap;
transition: transform 0.3s ease;
margin-right: 1350px;
}
#translateButton:hover {
transform: scale(1.2);
}
/* The popup modal */
.popup {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
/* Popup content */
.popup-content {
background-color: hwb(181 16% 46%);
margin-top: 600px;
padding-left: 20px;
border: 1px solid #888;
width: 300px;
border-radius: 10px;
position: relative;
margin-right: 1350px;
}
/* Close button */
.close {
color: #073725;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
}
/* Hide the default Google Translate widget */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon {
display: none !important;
}
body {
top: 0px !important;
}
/* Hide the "Powered by Google" branding */
.goog-logo-link {
display: none !important;
}
.goog-te-gadget {
height: 28px !important;
overflow: hidden;
}
/* Hide Google Translate notifications */
.goog-te-spinner-pos,
.goog-te-spinner,
.goog-te-balloon-frame,
.goog-te-banner-frame,
.goog-te-banner,
.goog-te-balloon {
display: none !important;
}
/* Custom styles for the Google Translate dropdown */
#google_translate_element select {
background: #ffffff;
border: 1px solid #ccc;
color: #55a5ea;
padding-left:20px;
font-size: 14px;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
height: 30px;
}
/* Hide the Google Translate bar */
body > .skiptranslate {
display: none !important;
}
.goog-te-banner-frame.skiptranslate {
display: none !important;
}
.goog-te-banner-frame {
display: none !important;
}
.goog-te-banner {
display: none !important;
}