mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -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;
|
||||
background-color: $pass-bg;
|
||||
}
|
||||
|
||||
/* IE10/11-specific style resets */
|
||||
&::-ms-reveal, &::-ms-clear {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
display: block;
|
||||
margin: 0 auto 1rem auto;
|
||||
border: 2px solid $ui-white;
|
||||
border-radius: 8px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.gender-input,
|
||||
|
@ -201,7 +201,9 @@
|
|||
|
||||
&.username-step,
|
||||
&.demographics-step,
|
||||
&.name-step {
|
||||
&.name-step,
|
||||
&.address-step,
|
||||
&.email-step {
|
||||
.help-block {
|
||||
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