-
-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34fb30a
commit 2ff1b43
Showing
32 changed files
with
1,722 additions
and
521 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
Resources/Public/Contrib/bootstrap5/scss/_placeholders.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
.placeholder { | ||
display: inline-block; | ||
min-height: 1em; | ||
vertical-align: middle; | ||
cursor: wait; | ||
background-color: currentColor; | ||
opacity: $placeholder-opacity-max; | ||
|
||
&.btn::before { | ||
display: inline-block; | ||
content: ""; | ||
} | ||
} | ||
|
||
// Sizing | ||
.placeholder-xs { | ||
min-height: .6em; | ||
} | ||
|
||
.placeholder-sm { | ||
min-height: .8em; | ||
} | ||
|
||
.placeholder-lg { | ||
min-height: 1.2em; | ||
} | ||
|
||
// Animation | ||
.placeholder-glow { | ||
.placeholder { | ||
animation: placeholder-glow 2s ease-in-out infinite; | ||
} | ||
} | ||
|
||
@keyframes placeholder-glow { | ||
50% { | ||
opacity: $placeholder-opacity-min; | ||
} | ||
} | ||
|
||
.placeholder-wave { | ||
mask-image: linear-gradient(130deg, $black 55%, rgba(0, 0, 0, (1 - $placeholder-opacity-min)) 75%, $black 95%); | ||
mask-size: 200% 100%; | ||
animation: placeholder-wave 2s linear infinite; | ||
} | ||
|
||
@keyframes placeholder-wave { | ||
100% { | ||
mask-position: -200% 0%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,53 @@ | ||
:root { | ||
// Custom variable values only support SassScript inside `#{}`. | ||
// Note: Custom variable values only support SassScript inside `#{}`. | ||
|
||
// Colors | ||
// | ||
// Generate palettes for full colors, grays, and theme colors. | ||
|
||
@each $color, $value in $colors { | ||
--#{$variable-prefix}#{$color}: #{$value}; | ||
} | ||
|
||
@each $color, $value in $grays { | ||
--#{$variable-prefix}gray-#{$color}: #{$value}; | ||
} | ||
|
||
@each $color, $value in $theme-colors { | ||
--#{$variable-prefix}#{$color}: #{$value}; | ||
} | ||
|
||
// Use `inspect` for lists so that quoted items keep the quotes. | ||
@each $color, $value in $theme-colors-rgb { | ||
--#{$variable-prefix}#{$color}-rgb: #{$value}; | ||
} | ||
|
||
--#{$variable-prefix}white-rgb: #{to-rgb($white)}; | ||
--#{$variable-prefix}black-rgb: #{to-rgb($black)}; | ||
--#{$variable-prefix}body-rgb: #{to-rgb($body-color)}; | ||
|
||
// Fonts | ||
|
||
// Note: Use `inspect` for lists so that quoted items keep the quotes. | ||
// See https://github.com/sass/sass/issues/2383#issuecomment-336349172 | ||
--#{$variable-prefix}font-sans-serif: #{inspect($font-family-sans-serif)}; | ||
--#{$variable-prefix}font-monospace: #{inspect($font-family-monospace)}; | ||
--#{$variable-prefix}gradient: #{$gradient}; | ||
|
||
// Root and body | ||
// stylelint-disable custom-property-empty-line-before | ||
// scss-docs-start root-body-variables | ||
@if $font-size-root != null { | ||
--#{$variable-prefix}root-font-size: #{$font-size-root}; | ||
} | ||
--#{$variable-prefix}body-font-family: #{$font-family-base}; | ||
--#{$variable-prefix}body-font-size: #{$font-size-base}; | ||
--#{$variable-prefix}body-font-weight: #{$font-weight-base}; | ||
--#{$variable-prefix}body-line-height: #{$line-height-base}; | ||
--#{$variable-prefix}body-color: #{$body-color}; | ||
@if $body-text-align != null { | ||
--#{$variable-prefix}body-text-align: #{$body-text-align}; | ||
} | ||
--#{$variable-prefix}body-bg: #{$body-bg}; | ||
// scss-docs-end root-body-variables | ||
// stylelint-enable custom-property-empty-line-before | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.