Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 24, 2023
1 parent a14f168 commit 003e1de
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 37 deletions.
29 changes: 20 additions & 9 deletions src/components/Stats/scss/custom/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,9 @@ $transition-collapse: height 0.35s ease !default;

// Fonts

$font-family-sans-serif: Open Sans, sans-serif !default;
$font-family-sans-serif:
Open Sans,
sans-serif !default;
$font-family-base: $font-family-sans-serif !default;

$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
Expand Down Expand Up @@ -494,8 +496,11 @@ $btn-font-weight: 600 !default;
$btn-text-transform: none !default;

$btn-letter-spacing: 0.025em !default;
$btn-box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08) !default;
$btn-hover-box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1),
$btn-box-shadow:
0 4px 6px rgba(50, 50, 93, 0.11),
0 1px 3px rgba(0, 0, 0, 0.08) !default;
$btn-hover-box-shadow:
0 7px 14px rgba(50, 50, 93, 0.1),
0 3px 6px rgba(0, 0, 0, 0.08) !default;
$btn-focus-box-shadow: $btn-hover-box-shadow !default;
$btn-focus-width: $input-btn-focus-width !default;
Expand Down Expand Up @@ -528,9 +533,11 @@ $input-disabled-bg: $gray-200 !default;
$input-muted-bg: #f7fafe !default;
$input-focus-muted-bg: lighten($input-muted-bg, 1%) !default;

$input-alternative-box-shadow: 0 1px 3px rgba(50, 50, 93, 0.15),
$input-alternative-box-shadow:
0 1px 3px rgba(50, 50, 93, 0.15),
0 1px 0 rgba(0, 0, 0, 0.02) !default;
$input-focus-alternative-box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11),
$input-focus-alternative-box-shadow:
0 4px 6px rgba(50, 50, 93, 0.11),
0 1px 3px rgba(0, 0, 0, 0.08) !default;

$input-color: $gray-600 !default;
Expand Down Expand Up @@ -654,8 +661,10 @@ $dropdown-bg: $white !default;
$dropdown-border-width: 0 !default;
$dropdown-border-color: rgba($black, 0.15) !default;
$dropdown-border-radius: $border-radius-lg !default;
$dropdown-box-shadow: 0 50px 100px rgba(50, 50, 93, 0.1),
0 15px 35px rgba(50, 50, 93, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1) !default;
$dropdown-box-shadow:
0 50px 100px rgba(50, 50, 93, 0.1),
0 15px 35px rgba(50, 50, 93, 0.15),
0 5px 15px rgba(0, 0, 0, 0.1) !default;

// Navs

Expand Down Expand Up @@ -903,9 +912,11 @@ $modal-content-bg: $white !default;
$modal-content-border-color: rgba($black, 0.2) !default;
$modal-content-border-width: 0 !default;
$modal-content-border-radius: $border-radius-lg !default;
$modal-content-box-shadow-xs: 0 15px 35px rgba(50, 50, 93, 0.2),
$modal-content-box-shadow-xs:
0 15px 35px rgba(50, 50, 93, 0.2),
0 5px 15px rgba(0, 0, 0, 0.17);
$modal-content-box-shadow-sm-up: 0 15px 35px rgba(50, 50, 93, 0.2),
$modal-content-box-shadow-sm-up:
0 15px 35px rgba(50, 50, 93, 0.2),
0 5px 15px rgba(0, 0, 0, 0.17);

$modal-backdrop-bg: $black !default;
Expand Down
20 changes: 16 additions & 4 deletions src/components/Submit/scss/_ff6wc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,20 @@ select {

input,
select {
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica,
Arial, sans-serif;
font-family:
BlinkMacSystemFont,
-apple-system,
"Segoe UI",
Roboto,
Oxygen,
Ubuntu,
Cantarell,
"Fira Sans",
"Droid Sans",
"Helvetica Neue",
Helvetica,
Arial,
sans-serif;
}

a {
Expand Down Expand Up @@ -421,7 +432,8 @@ input[type="checkbox"] {

.card {
background-color: #fff;
box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
box-shadow:
0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
0 0 0 1px rgba(10, 10, 10, 0.02);
color: #4a4a4a;
max-width: 100%;
Expand Down
34 changes: 25 additions & 9 deletions src/components/scss/_bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2224,7 +2224,9 @@ pre code {
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
transition:
border-color 0.15s ease-in-out,
box-shadow 0.15s ease-in-out;
}

.form-control::-ms-expand {
Expand Down Expand Up @@ -2546,7 +2548,9 @@ select.form-control-lg:not([size]):not([multiple]) {
.was-validated
.custom-control-input:valid:focus
~ .custom-control-label::before {
box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
box-shadow:
0 0 0 1px #fff,
0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.custom-file-input.is-valid ~ .custom-file-label,
Expand Down Expand Up @@ -2660,7 +2664,9 @@ select.form-control-lg:not([size]):not([multiple]) {
.was-validated
.custom-control-input:invalid:focus
~ .custom-control-label::before {
box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
box-shadow:
0 0 0 1px #fff,
0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.custom-file-input.is-invalid ~ .custom-file-label,
Expand Down Expand Up @@ -2797,8 +2803,11 @@ select.form-control-lg:not([size]):not([multiple]) {
font-size: 1rem;
line-height: 1.5;
border-radius: 0.25rem;
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
transition:
color 0.15s ease-in-out,
background-color 0.15s ease-in-out,
border-color 0.15s ease-in-out,
box-shadow 0.15s ease-in-out;
}

.btn:focus,
Expand Down Expand Up @@ -4037,7 +4046,9 @@ tbody.collapse.show {
}

.custom-control-input:focus ~ .custom-control-label::before {
box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
box-shadow:
0 0 0 1px #fff,
0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-control-input:active ~ .custom-control-label::before {
Expand Down Expand Up @@ -4162,7 +4173,8 @@ tbody.collapse.show {
.custom-select:focus {
border-color: #80bdff;
outline: 0;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075),
box-shadow:
inset 0 1px 2px rgba(0, 0, 0, 0.075),
0 0 5px rgba(128, 189, 255, 0.5);
}

Expand Down Expand Up @@ -5947,7 +5959,9 @@ button.close {
.modal.fade .modal-dialog {
transition: -webkit-transform 0.3s ease-out;
transition: transform 0.3s ease-out;
transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
transition:
transform 0.3s ease-out,
-webkit-transform 0.3s ease-out;
-webkit-transform: translate(0, -25%);
transform: translate(0, -25%);
}
Expand Down Expand Up @@ -6434,7 +6448,9 @@ button.close {
width: 100%;
transition: -webkit-transform 0.6s ease;
transition: transform 0.6s ease;
transition: transform 0.6s ease, -webkit-transform 0.6s ease;
transition:
transform 0.6s ease,
-webkit-transform 0.6s ease;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-perspective: 1000px;
Expand Down
3 changes: 2 additions & 1 deletion src/components/scss/base/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ $base-border: 1px solid $base-border-color;

// Forms
$form-box-shadow: inset 0 1px 3px rgba(#000, 0.06);
$form-box-shadow-focus: $form-box-shadow,
$form-box-shadow-focus:
$form-box-shadow,
0 0 5px adjust-color($action-color, $lightness: -5%, $alpha: -0.3);
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@
}

border: 1px solid $border-active;
box-shadow: inset 0 0 8px 4px $inset-shadow-active,
box-shadow:
inset 0 0 8px 4px $inset-shadow-active,
inset 0 0 8px 4px $inset-shadow-active;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
$src: null;

$formats-map: (
eot: "#{$file-path}.eot?#iefix"format("embedded-opentype"),
woff2: "#{$file-path}.woff2"format("woff2"),
woff: "#{$file-path}.woff"format("woff"),
ttf: "#{$file-path}.ttf"format("truetype"),
svg: "#{$file-path}.svg##{$font-family}"format("svg"),
eot: "#{$file-path}.eot?#iefix" format("embedded-opentype"),
woff2: "#{$file-path}.woff2" format("woff2"),
woff: "#{$file-path}.woff" format("woff"),
ttf: "#{$file-path}.ttf" format("truetype"),
svg: "#{$file-path}.svg##{$font-family}" format("svg"),
);

@each $key, $values in $formats-map {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@
$corner: _position-flipper(nth($pos, 2));
}

@if ("#{$side} #{$corner}"=="left top") or
("#{$side} #{$corner}"=="top left")
@if ("#{$side} #{$corner}" == "left top") or
("#{$side} #{$corner}" == "top left")
{
$degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
} @else if
("#{$side} #{$corner}"=="right top") or
("#{$side} #{$corner}"=="top right")
("#{$side} #{$corner}" == "right top") or
("#{$side} #{$corner}" == "top right")
{
$degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
} @else if
("#{$side} #{$corner}"=="right bottom") or
("#{$side} #{$corner}"=="bottom right")
("#{$side} #{$corner}" == "right bottom") or
("#{$side} #{$corner}" == "bottom right")
{
$degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
} @else if
("#{$side} #{$corner}"=="left bottom") or
("#{$side} #{$corner}"=="bottom left")
("#{$side} #{$corner}" == "left bottom") or
("#{$side} #{$corner}" == "bottom left")
{
$degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
}
Expand Down

0 comments on commit 003e1de

Please sign in to comment.