From d0edc3a8756c8ba061afa5781732603267610442 Mon Sep 17 00:00:00 2001 From: Christian Nunciato Date: Mon, 24 Jun 2019 11:17:01 -0700 Subject: [PATCH] Remove unused partials These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato --- assets/sass/partials/_forms.scss | 35 --- assets/sass/partials/_typography.scss | 304 -------------------------- 2 files changed, 339 deletions(-) delete mode 100644 assets/sass/partials/_forms.scss delete mode 100644 assets/sass/partials/_typography.scss diff --git a/assets/sass/partials/_forms.scss b/assets/sass/partials/_forms.scss deleted file mode 100644 index f8f60e29ea1c..000000000000 --- a/assets/sass/partials/_forms.scss +++ /dev/null @@ -1,35 +0,0 @@ -//basic form styles -label{ - @extend p; -} - -input[type="text"], input[type="email"], input[type="password"] { - @extend p; - margin-bottom: 0; - border: 1px solid #CECECE; - padding: 16px 17px; - border-radius: 3px; - width: 100%; - -webkit-appearance: none; - - &::placeholder { - font-style: italic; - color: #5B5B5B; - - .white-text & { - color: #5B5B5B; - } - } - - &:focus { - outline: none; - } - - .white-text & { - color: black; - } -} - -input[type="submit"] { - @extend .button, .orange; -} \ No newline at end of file diff --git a/assets/sass/partials/_typography.scss b/assets/sass/partials/_typography.scss deleted file mode 100644 index 6cafb2a31e57..000000000000 --- a/assets/sass/partials/_typography.scss +++ /dev/null @@ -1,304 +0,0 @@ -// If true, will increase the size of header elements on larger screens. -// Set to false as the effect is too jarring on content-heavy pages. -$increase-header-size-on-larger-screens: false; - -body { - @include base-type(); - color: #000000; -} - -h1, .h1, -h2, .h2, -h3, .h3, -h4, .h4, -h5, .h5, -h6, .h6 { - margin: 0; - - & > a { - color: inherit; - text-decoration: none; - - &:hover { - color: inherit; - text-decoration: none; - } - } -} - -h1, .h1 { - @include ubuntu(400); - font-size: 40px; - line-height: 1.15; - letter-spacing: -0.01em; - text-transform: none; - margin-bottom: 17px; - - @if $increase-header-size-on-larger-screens { - @media(min-width: $screen-md) { - font-size: 60px; - } - } -} - -h2, .h2 { - @include ubuntu(400); - font-size: 35px; - line-height: 1.17; - letter-spacing: -0.01em; - text-transform: none; - margin-bottom: 14px; - - @if $increase-header-size-on-larger-screens { - @media(min-width: $screen-md) { - font-size: 50px; - line-height: 1.14; - margin-bottom: 19px; - } - } -} - -h3, .h3 { - @include ubuntu(400); - font-size: 30px; - line-height: 1.16; - letter-spacing: -0.01em; - text-transform: normal; - margin-bottom: 16px; - - @if $increase-header-size-on-larger-screens { - @media(min-width: $screen-md){ - font-size: 40px; - line-height: 1.14; - margin-bottom: 20px; - } - } -} - -h4, .h4 { - @include ubuntu(400); - font-size: 25px; - line-height: 1.16; - letter-spacing: normal; - text-transform: none; - margin-bottom: 18px; - - @if $increase-header-size-on-larger-screens { - @media(min-width: $screen-md){ - font-size: 30px; - margin-bottom: 20px; - } - } -} - -h5, .h5 { - @include ubuntu(400); - font-size: 20px; - line-height: 1.2; - letter-spacing: normal; - text-transform: none; - margin-bottom: 18px; - - @if $increase-header-size-on-larger-screens { - @media(min-width: $screen-md){ - font-size: 25px; - line-height: 1.16; - margin-bottom: 15px; - } - } -} - -h6, .h6 { - @include ubuntu(400); - font-size: 16px; - line-height: 1.2; - letter-spacing: -0.02em; - text-transform: none; - margin-bottom: 21px; - - @if $increase-header-size-on-larger-screens { - @media(min-width: $screen-md){ - font-size: 20px; - margin-bottom: 16px; - } - } -} - -p { - @include base-type(); - margin-bottom: 10px; - - &.intro { - font-size: 18px; - line-height: 1.5; - margin-bottom: 40px; - } -} - -ul, ol { - padding-left: 16px; - margin-bottom: 28px; - - li { - @extend p; - } - - &.list-indent { - padding-left: 50px; - } -} - -ul { - padding-left: 0; - list-style: none; - - li { - padding-left: 21px; - position: relative; - - &:before { - @include fa-icon; - @include fas(); - content: fa-content($fa-var-circle); - left: 0; - vertical-align: middle; - font-size: 6px; - color: $blue; - position: absolute; - top: 10px; - } - } - - &.check { - li { - padding-left: 35px; - margin-bottom: 30px; - - &:before { - @include far(); - content: fa-content($fa-var-check-circle); - font-size: 22px; - color: $green; - top: 2px; - } - } - } - -} - -a { - color: #0079AB; - text-decoration: underline; - - &:hover { - color: $blue; - text-decoration: none; - } - - &:focus, &:active { - outline: none; - } -} - -img { - max-width: 100%; - height: auto; -} - -blockquote { - clear: both; - padding: 0; - border-left: 5px solid $orange; - padding-left: 17px; - margin: 17px 0; - font-size: 22px; - line-height: 1.59; - - p { - font-size: 22px; - line-height: 1.59; - } -} - -sup { - @include ubuntu(bold); - font-size: 12px; - line-height: 1.3; - text-transform: uppercase; - color: $purple; - margin-bottom: 10px; - display: block; - top: auto; -} - -hr { - border-color: #E3E3E3; - margin-top: 45px; - margin-bottom: 45px; -} - -figure { - border-bottom: 1px solid $purple; -} -figcaption { - font-size: 14px; - font-style: italic; - font-weight: normal; - line-height: 1.357; - color: #9B9B9B; - margin: 6px 0; -} - -.white-text { - * { - color: white; - } -} - -.text-center-xs { - @media(max-width: $screen-xs-max){ - text-align: center; - } -} - -.text-center-sm { - @media(min-width: $screen-sm) and (max-width: $screen-sm-max){ - text-align: center; - } -} - -.text-uppercase { - text-transform: uppercase; -} - -.text-lowercase { - text-transform: lowercase; -} - -.text-capitalize { - text-transform: capitalize; -} - -.text-normalcase { - text-transform: normal; -} - -.text-purple { - color: $purple; -} -.text-green { - color: $green; -} -.text-red { - color: $red; -} -.text-blue { - color: $blue; -} -.text-orange { - color: $orange; -} - -.cursor-pointer { - cursor: pointer; -}