This introduces a new UI element for displaying the client IP address when a search for "my ip" is used. Note that this does not show the IP address seen by Google if Whoogle is deployed remotely. It uses `request.remote_addr` to display the client IP address in the UI, not the actual address of the server (which is what Google sees in requests sent from remote Whoogle instances).
42 lines
628 B
CSS
42 lines
628 B
CSS
.autocomplete {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
|
|
.autocomplete-items {
|
|
position: absolute;
|
|
border-bottom: none;
|
|
border-top: none;
|
|
z-index: 99;
|
|
|
|
/*position the autocomplete items to be the same width as the container:*/
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.autocomplete-items div {
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
details summary {
|
|
padding: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#lingva-iframe {
|
|
width: 100%;
|
|
height: 650px;
|
|
border: 0;
|
|
}
|
|
|
|
.ip-address-div {
|
|
padding-bottom: 0 !important;
|
|
}
|
|
|
|
.ip-text-div {
|
|
padding-top: 0 !important;
|
|
}
|