From 4e6efae667a3c39403fc6626499178e6c1a026bf Mon Sep 17 00:00:00 2001 From: Technoboy10 Date: Wed, 20 Jul 2016 09:46:51 -0400 Subject: [PATCH 1/2] Remove IE weird input additions, fallback to mobile error style on IE, fix some mobile error issues --- src/components/forms/input.scss | 5 +++ .../teacherregistration.scss | 34 +++++++++++++++++-- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/src/components/forms/input.scss b/src/components/forms/input.scss index 265b7750d..d33a02705 100644 --- a/src/components/forms/input.scss +++ b/src/components/forms/input.scss @@ -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; + } } diff --git a/src/views/teacherregistration/teacherregistration.scss b/src/views/teacherregistration/teacherregistration.scss index 336eddecb..8cbf0b1bb 100644 --- a/src/views/teacherregistration/teacherregistration.scss +++ b/src/views/teacherregistration/teacherregistration.scss @@ -192,7 +192,9 @@ body { .username-step, .demographics-step, - .name-step { + .name-step, + .address-step, + .email-step { .help-block { transform: none; } @@ -205,7 +207,7 @@ body { } .checkbox { - margin-bottom: 1rem; + margin-bottom: (1em * $em); } } @@ -213,6 +215,34 @@ body { .checkbox-group { text-align: left; } + + .help-block { + transform: none; + } + } + } +} + +@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { + .teacher-registration { + .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; + } + } } } } From 285c4c2d69d842248e21369375bdf59e27bbbddb Mon Sep 17 00:00:00 2001 From: Technoboy10 Date: Wed, 20 Jul 2016 09:58:37 -0400 Subject: [PATCH 2/2] revert irrelevant change --- src/views/teacherregistration/teacherregistration.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/teacherregistration/teacherregistration.scss b/src/views/teacherregistration/teacherregistration.scss index 8cbf0b1bb..ec4c27159 100644 --- a/src/views/teacherregistration/teacherregistration.scss +++ b/src/views/teacherregistration/teacherregistration.scss @@ -207,7 +207,7 @@ body { } .checkbox { - margin-bottom: (1em * $em); + margin-bottom: 1rem; } }