Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spacing and hover effect on Find a Doctor button (navbar) #929

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
145 changes: 72 additions & 73 deletions googletranslate.css
Original file line number Diff line number Diff line change
@@ -1,92 +1,91 @@
#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;
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);
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);

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;

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;
color: #073725;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
color: black;
text-decoration: none;
}

/* Hide the default Google Translate widget */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon {
display: none !important;
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon {
display: none !important;
}

body {
top: 0px !important;
top: 0px !important;
}

/* Hide the "Powered by Google" branding */
.goog-logo-link {
display: none !important;
display: none !important;
}

.goog-te-gadget {
height: 28px !important;
overflow: hidden;
height: 28px !important;
overflow: hidden;
}

/* Hide Google Translate notifications */
Expand All @@ -96,34 +95,34 @@ body {
.goog-te-banner-frame,
.goog-te-banner,
.goog-te-balloon {
display: none !important;
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;
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;
display: none !important;
}

.goog-te-banner-frame.skiptranslate {
display: none !important;
display: none !important;
}
.goog-te-banner-frame {
display: none !important;
display: none !important;
}
.goog-te-banner {
display: none !important;
}
display: none !important;
}
Loading