Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.6.0
hooks:
- id: check-added-large-files
args: ["--maxkb=2000"]
Expand All @@ -20,7 +20,7 @@ repos:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.4
rev: v4.0.0-alpha.8
hooks:
- id: prettier
# - repo: https://github.com/pre-commit/mirrors-eslint
Expand Down
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 @@ -159,9 +159,20 @@ input[type="file"] {

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 @@ -430,7 +441,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
Loading