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;
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*/
body {
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;
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;
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/preferences.less";
@import (inline) "../safari.css";
/*Global*/
body {
background:#1d1f21 none !important;

View File

@ -17,3 +17,5 @@
@import "cursor.less";
@import "code.less";
@import "preferences.less";
@import (inline) "../safari.css";

View File

@ -18,3 +18,5 @@
@import "navbar.less";
@import "code.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;
}
}