Merge pull request #330 from dalf/fix-323

Oscar theme: fix search input field on Safari
This commit is contained in:
Alexandre Flament 2021-09-20 18:47:05 +02:00 committed by GitHub
commit b04b7e6fb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 67 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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;

View file

@ -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";

View file

@ -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";

View 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;
}
}