forked from Ponysearch/Ponysearch
Merge pull request #330 from dalf/fix-323
Oscar theme: fix search input field on Safari
This commit is contained in:
commit
b04b7e6fb5
13 changed files with 67 additions and 6 deletions
|
@ -1379,6 +1379,20 @@ th:hover .engine-tooltip,
|
||||||
padding: 0.4rem 0;
|
padding: 0.4rem 0;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
}
|
}
|
||||||
|
/* Safari 9+
|
||||||
|
Conditional/Hack CSS from https://browserstrangeness.github.io/css_hacks.html
|
||||||
|
*/
|
||||||
|
@supports (-webkit-marquee-repetition:infinite) and (object-fit:fill) {
|
||||||
|
.twitter-typeahead .tt-input:focus {
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-group-btn:last-child > .btn,
|
||||||
|
.input-group-btn:last-child > .btn-group {
|
||||||
|
margin-left: inherit !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*Global*/
|
/*Global*/
|
||||||
body {
|
body {
|
||||||
background: #1d1f21 none !important;
|
background: #1d1f21 none !important;
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1406,3 +1406,17 @@ th:hover .engine-tooltip,
|
||||||
padding: 0.4rem 0;
|
padding: 0.4rem 0;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
}
|
}
|
||||||
|
/* Safari 9+
|
||||||
|
Conditional/Hack CSS from https://browserstrangeness.github.io/css_hacks.html
|
||||||
|
*/
|
||||||
|
@supports (-webkit-marquee-repetition:infinite) and (object-fit:fill) {
|
||||||
|
.twitter-typeahead .tt-input:focus {
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-group-btn:last-child > .btn,
|
||||||
|
.input-group-btn:last-child > .btn-group {
|
||||||
|
margin-left: inherit !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1141,3 +1141,17 @@ td:hover .engine-tooltip,
|
||||||
padding: 0.4rem 0;
|
padding: 0.4rem 0;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
}
|
}
|
||||||
|
/* Safari 9+
|
||||||
|
Conditional/Hack CSS from https://browserstrangeness.github.io/css_hacks.html
|
||||||
|
*/
|
||||||
|
@supports (-webkit-marquee-repetition:infinite) and (object-fit:fill) {
|
||||||
|
.twitter-typeahead .tt-input:focus {
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-group-btn:last-child > .btn,
|
||||||
|
.input-group-btn:last-child > .btn-group {
|
||||||
|
margin-left: inherit !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -19,6 +19,8 @@
|
||||||
@import "../logicodev/code.less";
|
@import "../logicodev/code.less";
|
||||||
@import "../logicodev/preferences.less";
|
@import "../logicodev/preferences.less";
|
||||||
|
|
||||||
|
@import (inline) "../safari.css";
|
||||||
|
|
||||||
/*Global*/
|
/*Global*/
|
||||||
body {
|
body {
|
||||||
background:#1d1f21 none !important;
|
background:#1d1f21 none !important;
|
||||||
|
|
|
@ -17,3 +17,5 @@
|
||||||
@import "cursor.less";
|
@import "cursor.less";
|
||||||
@import "code.less";
|
@import "code.less";
|
||||||
@import "preferences.less";
|
@import "preferences.less";
|
||||||
|
|
||||||
|
@import (inline) "../safari.css";
|
||||||
|
|
|
@ -18,3 +18,5 @@
|
||||||
@import "navbar.less";
|
@import "navbar.less";
|
||||||
@import "code.less";
|
@import "code.less";
|
||||||
@import "preferences.less";
|
@import "preferences.less";
|
||||||
|
|
||||||
|
@import (inline) "../safari.css";
|
||||||
|
|
13
searx/static/themes/oscar/src/less/safari.css
Normal file
13
searx/static/themes/oscar/src/less/safari.css
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
/* Safari 9+
|
||||||
|
Conditional/Hack CSS from https://browserstrangeness.github.io/css_hacks.html
|
||||||
|
*/
|
||||||
|
@supports (-webkit-marquee-repetition:infinite) and (object-fit:fill) {
|
||||||
|
.twitter-typeahead .tt-input:focus {
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-group-btn:last-child > .btn,
|
||||||
|
.input-group-btn:last-child > .btn-group {
|
||||||
|
margin-left: inherit !important;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue