From b9f5578d1960cf4449665d72a246a8cd4c7d69dd Mon Sep 17 00:00:00 2001 From: CJ Cenizal Date: Tue, 14 Nov 2017 16:58:51 -0800 Subject: [PATCH] Remove unused reset styles from UI Framework. --- ui_framework/dist/ui_framework.css | 13 ------------- .../src/global_styling/reset/_reset.scss | 19 ------------------- 2 files changed, 32 deletions(-) diff --git a/ui_framework/dist/ui_framework.css b/ui_framework/dist/ui_framework.css index 66d256b09893..0b8c56d9760e 100644 --- a/ui_framework/dist/ui_framework.css +++ b/ui_framework/dist/ui_framework.css @@ -54,11 +54,6 @@ * 4. Fix an IE bug which causes the last child to overflow the container. * 5. Fixing this bug means we now need to align the children to the right. */ -* { - box-sizing: border-box; } - *:before, *:after { - box-sizing: border-box; } - :focus { z-index: 1; /* 1 */ @@ -67,9 +62,6 @@ box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px #0079a5; /* 3 */ } -body { - font-family: "Open Sans", Helvetica, Arial, sans-serif; } - /** * 1. Required for IE11. */ @@ -77,11 +69,6 @@ main { display: block; /* 1 */ } -button, -input[type="submit"], -input[type="button"] { - border-radius: 0; } - .kuiScreenReaderOnly { position: absolute; left: -10000px; diff --git a/ui_framework/src/global_styling/reset/_reset.scss b/ui_framework/src/global_styling/reset/_reset.scss index c4275c73826a..51fc3932e294 100644 --- a/ui_framework/src/global_styling/reset/_reset.scss +++ b/ui_framework/src/global_styling/reset/_reset.scss @@ -1,30 +1,11 @@ -* { - box-sizing: border-box; - - &:before, - &:after { - box-sizing: border-box; - } -} - // Removes outline, but still provides a two color box shadow that works anywhere. :focus { @include focus; } -body { - font-family: $kuiFontFamily; -} - /** * 1. Required for IE11. */ main { display: block; /* 1 */ } - -button, -input[type="submit"], -input[type="button"] { - border-radius: 0; -}