mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
Merge pull request #731 from technoboy10/ie-validation-fallback
Fix GH-699: Fallback to mobile validation bubble on IE
This commit is contained in:
commit
6a58c7b2e6
2 changed files with 34 additions and 2 deletions
|
@ -35,4 +35,9 @@ $pass-bg: lighten($ui-aqua, 35%);
|
||||||
border: 1px solid $active-dark-gray;
|
border: 1px solid $active-dark-gray;
|
||||||
background-color: $pass-bg;
|
background-color: $pass-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* IE10/11-specific style resets */
|
||||||
|
&::-ms-reveal, &::-ms-clear {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -201,7 +201,9 @@
|
||||||
|
|
||||||
&.username-step,
|
&.username-step,
|
||||||
&.demographics-step,
|
&.demographics-step,
|
||||||
&.name-step {
|
&.name-step,
|
||||||
|
&.address-step,
|
||||||
|
&.email-step {
|
||||||
.help-block {
|
.help-block {
|
||||||
transform: none;
|
transform: none;
|
||||||
}
|
}
|
||||||
|
@ -225,3 +227,28 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* IE10 and IE11 fallback */
|
||||||
|
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||||
|
.registration-step {
|
||||||
|
&.username-step,
|
||||||
|
&.demographics-step,
|
||||||
|
&.name-step,
|
||||||
|
&.phone-step,
|
||||||
|
&.organization-step,
|
||||||
|
&.address-step,
|
||||||
|
&.email-step {
|
||||||
|
.help-block {
|
||||||
|
position: relative;
|
||||||
|
transform: none;
|
||||||
|
margin: inherit;
|
||||||
|
width: 100%;
|
||||||
|
height: inherit;
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue