Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmatthew committed Mar 1, 2022
1 parent 5dbd8ad commit 3d7765a
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 39 deletions.
10 changes: 5 additions & 5 deletions scss/_buttons.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@import 'bootstrap/scss/mixins/_buttons';
@import 'bootstrap/scss/mixins/_gradients';
@import 'bootstrap/scss/mixins/_box-shadow';
@import 'bootstrap/scss/vendor/_rfs';
@import 'bootstrap/scss/mixins/_border-radius';
@import "bootstrap/scss/mixins/_buttons";
@import "bootstrap/scss/mixins/_gradients";
@import "bootstrap/scss/mixins/_box-shadow";
@import "bootstrap/scss/vendor/_rfs";
@import "bootstrap/scss/mixins/_border-radius";

.btn-default,
.btn-success,
Expand Down
2 changes: 1 addition & 1 deletion scss/_confirmation-modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

.modal-content {
padding: math.div($modal-inner-padding, 2);
@include border-radius(0.5rem);
@include border-radius(.5rem);
font-size: 1rem;
}

Expand Down
2 changes: 1 addition & 1 deletion scss/_dropdown.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$enable-caret: true;
@import 'bootstrap/scss/mixins/_caret';
@import "bootstrap/scss/mixins/_caret";

.show.dropdown-toggle {
@include caret(up);
Expand Down
14 changes: 7 additions & 7 deletions scss/_error.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.t-error {
margin: 0;
font-family: "Open Sans", sans-serif;
font-size: 0.8125em;
font-size: .8125em;
line-height: 1.6;
color: #fff;
background-color: #017d87;
Expand All @@ -17,8 +17,8 @@

a:hover,
a:focus {
background-color: white;
color: #017d87;
background-color: white;
outline: 2px solid white;
outline-offset: 2px;
}
Expand All @@ -38,23 +38,23 @@
}

.c-error-page__header {
margin-top: 20px;
margin-bottom: 10px;
font-family: inherit;
font-size: 3.25rem;
font-weight: 700;
color: $white;
line-height: 1.1;
margin-top: 20px;
margin-bottom: 10px;
color: $white;
}

.c-error-page__subheader {
margin-top: 20px;
margin-bottom: 10px;
color: $white;
font-size: 2.4375rem;
font-family: inherit;
font-size: 2.4375rem;
font-weight: 300;
line-height: 1.1;
color: $white;
}

.c-error-page__context {
Expand Down
2 changes: 1 addition & 1 deletion scss/_skip-link.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use 'bootstrap/scss/mixins/_visually-hidden' as bootstrap;
@use "bootstrap/scss/mixins/_visually-hidden" as bootstrap;

.o-skip-link {
@include bootstrap.visually-hidden-focusable();
Expand Down
2 changes: 1 addition & 1 deletion scss/_theme.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'variables';
@import "variables";

@import "alerts";
@import "badges";
Expand Down
2 changes: 1 addition & 1 deletion scss/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ a:focus {

body {
-webkit-font-smoothing: antialiased;
}
}
44 changes: 22 additions & 22 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ $body-bg: #fff;

$font-family-sans-serif: "Open Sans", sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
$font-size-base: 0.8125rem;
$font-size-base: .8125rem;
$font-size-lg: $font-size-base * 1.25;

$line-height-base: 1.6;

$paragraph-margin-bottom: 0.625rem;
$paragraph-margin-bottom: .625rem;

$h1-font-size: 13px * 2.3076923077;
$h2-font-size: 13px * 2.3076923077;
Expand All @@ -69,7 +69,7 @@ $border-widths: (

$border-radius: 3px;

$spacer: 0.9375rem;
$spacer: .9375rem;

$nav-link-font-weight: 600;
$nav-link-hover-color: $accent;
Expand All @@ -95,17 +95,17 @@ $alert-link-font-weight: 400;
$badge-font-size: 1em;
$badge-font-weight: 600;
$badge-color: $black;
$badge-padding-y: 0.1538461538em;
$badge-padding-x: 0.3076923077em;
$badge-border-radius: 0.2307692308em;
$badge-padding-y: .1538461538em;
$badge-padding-x: .3076923077em;
$badge-border-radius: .2307692308em;

$breadcrumb-padding-y: 0.5rem;
$breadcrumb-padding-y: .5rem;
$breadcrumb-margin-bottom: 1.25rem;
$breadcrumb-divider-color: $gray-700;
$breadcrumb-active-color: $gray-700;

$dropdown-divider-bg: $gray-400;
$dropdown-divider-margin-y: 0.5625rem;
$dropdown-divider-margin-y: .5625rem;
$dropdown-link-color: $primary;
$dropdown-link-hover-color: $accent;
$dropdown-header-color: $gray-700;
Expand All @@ -117,7 +117,7 @@ $input-btn-focus-width: 1px;
$input-btn-focus-box-shadow: 0 0 0 1px currentColor;
$btn-font-weight: 600;
$btn-border-width: 1px;
$btn-transition: background-color 1s cubic-bezier(0.19, 1, 0.22, 1);
$btn-transition: background-color 1s cubic-bezier(.19, 1, .22, 1);
$btn-disabled-opacity: 1;
$btn-box-shadow: 0;
$btn-active-box-shadow: 0;
Expand All @@ -131,19 +131,19 @@ $btn-padding-x-lg: 19px;
$btn-font-size-lg: 1.09375rem;
$btn-disabled-color: #69727f;

$caret-width: 0.3em;
$caret-vertical-align: $caret-width * 0.85;
$caret-spacing: $caret-width * 0.85;
$caret-width: .3em;
$caret-vertical-align: $caret-width * .85;
$caret-spacing: $caret-width * .85;

$cradle-anim-dur: 607.5ms;
$cradle-anim-fun: cubic-bezier(0, 0, 0.5, 1);
$cradle-anim-fun: cubic-bezier(0, 0, .5, 1);
$cradle-colour-anim-dur: $cradle-anim-dur * 4;
$cradle-ball-colour-default: #107179;
$cradle-ball-colour-teal: #6fdac9;
$cradle-ball-colour-gold: #fbbf45;
$cradle-ball-colour-pink: #fc4589;
$cradle-ball-colour-blue: #59d1e4;
$cradle-shadow-colour: rgba($black, 0.15);
$cradle-shadow-colour: rgba($black, .15);

$grid-breakpoints: (
xs: 0,
Expand All @@ -169,7 +169,7 @@ $input-plaintext-color: $black;
$input-btn-focus-color: $primary;

$form-label-color: $black;
$form-label-margin-bottom: 0.3846153846em;
$form-label-margin-bottom: .3846153846em;

$form-select-focus-border-color: $input-focus-border-color;
$form-select-focus-width: $input-focus-width;
Expand All @@ -194,7 +194,7 @@ $form-feedback-invalid-color: $red;
$link-hover-color: $accent;
$link-hover-decoration: none;

$modal-backdrop-opacity: 0.8;
$modal-backdrop-opacity: .8;
$modal-inner-padding: $spacer;
$modal-md: 600px;
$modal-header-border-color: $gray-200;
Expand All @@ -209,13 +209,13 @@ $navbar-dark-color: $white;
$navbar-dark-hover-color: $white;
$navbar-dark-active-color: $white;
$navbar-padding-y: 0;
$navbar-nav-link-padding-x: 0.75rem;
$navbar-nav-link-padding-x: .75rem;
$nav-link-height: 3.75rem;
$navbar-brand-font-size: 1.09375rem;

$pagination-border-radius: 0.3125rem;
$pagination-border-radius: .3125rem;
$pagination-border-color: $primary;
$pagination-padding-y: 0.5rem;
$pagination-padding-y: .5rem;
$pagination-padding-x: 1rem;
$pagination-transition: none;
$pagination-hover-border-color: $primary;
Expand All @@ -224,9 +224,9 @@ $pagination-disabled-color: $btn-disabled-color;
$pagination-disabled-bg: $white;
$pagination-disabled-border-color: $primary;

$progress-height: 0.5rem;
$progress-height: .5rem;
$progress-bg: transparent;
$progress-border-radius: 0.5rem;
$progress-border-radius: .5rem;

$table-striped-bg: $gray-100;
$table-cell-vertical-align: middle;
Expand All @@ -237,7 +237,7 @@ $table-cell-padding-x-lg: 1.25rem;
$table-cell-padding-y-lg: 1.25rem;

$toast-padding-x: 1.5em;
$toast-padding-y: 0.75em;
$toast-padding-y: .75em;
$toast-font-size: 1.09375rem;
$toast-background-color: #a4d1ea;
$toast-color: $black;
Expand Down

0 comments on commit 3d7765a

Please sign in to comment.