[fix] Oscar theme: fix input field on Safari

close #323
This commit is contained in:
Alexandre Flament 2021-09-17 17:28:58 +02:00
parent d95c46d646
commit 2cc6301c98
4 changed files with 19 additions and 0 deletions

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