mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
fixing 1342, 1343, 1344 - issues with IE10/11
This commit is contained in:
parent
9885d2fb7d
commit
44d0d20594
@ -52,7 +52,6 @@ $explorer-z-index:500;
|
||||
|
||||
&:before{
|
||||
opacity:0.5;
|
||||
left:1em;
|
||||
margin-right:0.5em;
|
||||
font-size:1.5em;
|
||||
}
|
||||
|
@ -402,3 +402,40 @@ body.explorer-open {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Media query hacks to detect IE10+ which doesn't support 3d transform of static elements and needs a fallback */
|
||||
@media all and (-ms-high-contrast: none),
|
||||
all and (-ms-high-contrast: active) {
|
||||
.wrapper{
|
||||
@include transition(left 0.2s ease);
|
||||
left:0px;
|
||||
}
|
||||
body.nav-open{
|
||||
.wrapper{
|
||||
@include transform(none);
|
||||
left:$menu-width;
|
||||
position:relative
|
||||
}
|
||||
}
|
||||
body.explorer-open {
|
||||
.wrapper{
|
||||
@include transform(none);
|
||||
left:$menu-width*2;
|
||||
}
|
||||
.nav-wrapper{
|
||||
width: $menu-width*2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: $breakpoint-mobile) and (-ms-high-contrast: none),
|
||||
all and (min-width: $breakpoint-mobile) and (-ms-high-contrast: active){
|
||||
body.explorer-open{
|
||||
.wrapper {
|
||||
left:0px;
|
||||
}
|
||||
.nav-wrapper{
|
||||
width:$menu-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -443,9 +443,6 @@ footer,
|
||||
.logo{
|
||||
@include transition(all 0.2s ease);
|
||||
}
|
||||
.nav-wrapper{
|
||||
@include transition-transform(0.2s ease);
|
||||
}
|
||||
.nav-main a, a{
|
||||
@include transition(color 0.2s ease, background-color 0.2s ease);
|
||||
}
|
||||
|
@ -510,7 +510,7 @@
|
||||
&.publishing{
|
||||
h2:before{
|
||||
content:"7";
|
||||
font-size:2.4em;
|
||||
font-size:1.8rem;
|
||||
line-height:1.4em;
|
||||
width:1.4em;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user