2020-05-20 20:02:30 +03:00
|
|
|
body {
|
|
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
|
|
}
|
|
|
|
|
2020-01-23 09:19:17 +03:00
|
|
|
.logo {
|
|
|
|
width: 80%;
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2021-04-05 17:37:39 +03:00
|
|
|
.logo-container {
|
|
|
|
max-height: 500px;
|
|
|
|
}
|
|
|
|
|
2021-06-28 17:26:51 +03:00
|
|
|
.home-search {
|
|
|
|
background: transparent !important;
|
|
|
|
border: 3px solid;
|
|
|
|
}
|
|
|
|
|
2020-01-22 10:15:29 +03:00
|
|
|
.search-container {
|
2021-03-21 04:21:41 +03:00
|
|
|
background: transparent !important;
|
2020-01-22 10:15:29 +03:00
|
|
|
width: 80%;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
max-width: 600px;
|
2020-08-15 22:02:17 +03:00
|
|
|
z-index: 15;
|
2020-01-22 10:15:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-items {
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-bar {
|
2021-03-21 04:21:41 +03:00
|
|
|
background: transparent !important;
|
2020-01-22 10:15:29 +03:00
|
|
|
width: 100%;
|
|
|
|
padding: 5px;
|
|
|
|
height: 40px;
|
|
|
|
outline: none;
|
|
|
|
font-size: 24px;
|
|
|
|
border-radius: 10px 10px 0 0;
|
|
|
|
max-width: 600px;
|
2020-07-26 20:53:59 +03:00
|
|
|
background: rgba(0, 0, 0, 0);
|
2020-01-22 10:15:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#search-submit {
|
|
|
|
width: 100%;
|
|
|
|
height: 40px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 20px;
|
|
|
|
align-content: center;
|
|
|
|
align-items: center;
|
|
|
|
margin: auto;
|
|
|
|
border-radius: 0 0 10px 10px;
|
|
|
|
max-width: 600px;
|
2020-04-29 03:19:34 +03:00
|
|
|
-webkit-appearance: none;
|
2020-01-22 10:15:29 +03:00
|
|
|
}
|
|
|
|
|
2021-11-23 22:27:59 +03:00
|
|
|
.config-options {
|
|
|
|
max-height: 370px;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
.config-buttons {
|
|
|
|
max-height: 30px;
|
|
|
|
}
|
|
|
|
|
2020-04-08 21:47:21 +03:00
|
|
|
.config-div {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2020-04-16 19:01:02 +03:00
|
|
|
button::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2020-04-08 21:47:21 +03:00
|
|
|
.collapsible {
|
2020-04-16 19:01:02 +03:00
|
|
|
outline: 0;
|
2020-07-26 20:53:59 +03:00
|
|
|
background-color: rgba(0, 0, 0, 0);
|
2020-04-08 21:47:21 +03:00
|
|
|
cursor: pointer;
|
|
|
|
padding: 18px;
|
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
text-align: left;
|
|
|
|
outline: none;
|
|
|
|
font-size: 15px;
|
|
|
|
border-radius: 10px 10px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapsible:after {
|
|
|
|
content: '\002B';
|
|
|
|
font-weight: bold;
|
|
|
|
float: right;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.active:after {
|
|
|
|
content: "\2212";
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
padding: 0 18px;
|
|
|
|
max-height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
transition: max-height 0.2s ease-out;
|
|
|
|
border-radius: 0 0 10px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.open {
|
|
|
|
padding-bottom: 20px;
|
2020-04-16 19:01:02 +03:00
|
|
|
}
|
|
|
|
|
2020-05-10 22:27:02 +03:00
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-05-20 20:02:30 +03:00
|
|
|
|
|
|
|
footer {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0%;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
2020-08-15 22:02:17 +03:00
|
|
|
z-index: 10;
|
2020-05-20 20:02:30 +03:00
|
|
|
}
|
2020-07-26 20:53:59 +03:00
|
|
|
|
|
|
|
.info-text {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: 12px;
|
2020-08-15 22:02:17 +03:00
|
|
|
}
|
2021-03-21 04:21:41 +03:00
|
|
|
|
|
|
|
#config-style {
|
|
|
|
resize: none;
|
|
|
|
overflow-y: scroll;
|
|
|
|
width: 100%;
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.whoogle-logo {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.whoogle-svg {
|
|
|
|
width: 80%;
|
2021-11-30 01:34:13 +03:00
|
|
|
height: initial;
|
2021-03-21 04:21:41 +03:00
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
Use farside.link for frontend alternatives in results (#560)
* Integrate Farside into Whoogle
When instances are ratelimited (when a captcha is returned instead of
the user's search results) the user can now hop to a new instance via
Farside, a new backend service that redirects users to working instances
of a particular frontend. In this case, it presents a user with a
Farside link to a new Whoogle (or Searx) instance instead, so that the
user can resume their search.
For the generated Farside->Whoogle link, the generated link includes the
user's current Whoogle configuration settings as URL params, to ensure a
more seamless transition between instances. This doesn't translate to
the Farside->Searx link, but potentially could with some changes.
* Expand conversion of config<->url params
Config settings can now be translated to and from URL params using a
predetermined set of "safe" keys (i.e. config settings that easily
translate to URL params).
* Allow jumping instances via Farside when ratelimited
When instances are ratelimited (when a captcha is returned instead of
the user's search results) the user can now hop to a new instance via
Farside, a new backend service that redirects users to working instances
of a particular frontend. In this case, it presents a user with a
Farside link to a new Whoogle (or Searx) instance instead, so that the
user can resume their search.
For the generated Farside->Whoogle link, the generated link includes the
user's current Whoogle configuration settings as URL params, to ensure a
more seamless transition between instances. This doesn't translate to
the Farside->Searx link, but potentially could with some changes.
Closes #554
Closes #559
2021-12-09 03:27:33 +03:00
|
|
|
|
|
|
|
/* Mobile styles */
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
select {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2022-04-06 23:44:17 +03:00
|
|
|
|
|
|
|
#search-bar {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
Use farside.link for frontend alternatives in results (#560)
* Integrate Farside into Whoogle
When instances are ratelimited (when a captcha is returned instead of
the user's search results) the user can now hop to a new instance via
Farside, a new backend service that redirects users to working instances
of a particular frontend. In this case, it presents a user with a
Farside link to a new Whoogle (or Searx) instance instead, so that the
user can resume their search.
For the generated Farside->Whoogle link, the generated link includes the
user's current Whoogle configuration settings as URL params, to ensure a
more seamless transition between instances. This doesn't translate to
the Farside->Searx link, but potentially could with some changes.
* Expand conversion of config<->url params
Config settings can now be translated to and from URL params using a
predetermined set of "safe" keys (i.e. config settings that easily
translate to URL params).
* Allow jumping instances via Farside when ratelimited
When instances are ratelimited (when a captcha is returned instead of
the user's search results) the user can now hop to a new instance via
Farside, a new backend service that redirects users to working instances
of a particular frontend. In this case, it presents a user with a
Farside link to a new Whoogle (or Searx) instance instead, so that the
user can resume their search.
For the generated Farside->Whoogle link, the generated link includes the
user's current Whoogle configuration settings as URL params, to ensure a
more seamless transition between instances. This doesn't translate to
the Farside->Searx link, but potentially could with some changes.
Closes #554
Closes #559
2021-12-09 03:27:33 +03:00
|
|
|
}
|