mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
- updates components to use shadow DOM or scoped if they require css variables - moves global styles to an external stylesheet that needs to be imported - adds support for additional colors and removes the Sass loops to generate colors for each component - several property renames, bug fixes, and test updates Co-authored-by: Manu Mtz.-Almeida <manu.mtza@gmail.com> Co-authored-by: Adam Bradley <adambradley25@gmail.com> Co-authored-by: Cam Wiegert <cam@camwiegert.com>
68 lines
2.8 KiB
SCSS
68 lines
2.8 KiB
SCSS
@import "../../themes/ionic.globals.ios";
|
|
|
|
// iOS Loading Indicator
|
|
// --------------------------------------------------
|
|
|
|
/// @prop - Font family of the loading wrapper
|
|
$loading-ios-font-family: $font-family-base !default;
|
|
|
|
/// @prop - Font size of the loading wrapper
|
|
$loading-ios-font-size: 14px !default;
|
|
|
|
/// @prop - Padding top of the loading wrapper
|
|
$loading-ios-padding-top: 24px !default;
|
|
|
|
/// @prop - Padding end of the loading wrapper
|
|
$loading-ios-padding-end: 34px !default;
|
|
|
|
/// @prop - Padding bottom of the loading wrapper
|
|
$loading-ios-padding-bottom: $loading-ios-padding-top !default;
|
|
|
|
/// @prop - Padding start of the loading wrapper
|
|
$loading-ios-padding-start: $loading-ios-padding-end !default;
|
|
|
|
/// @prop - Max width of the loading wrapper
|
|
$loading-ios-max-width: 270px !default;
|
|
|
|
/// @prop - Maximum height of the loading wrapper
|
|
$loading-ios-max-height: 90% !default;
|
|
|
|
/// @prop - Border radius of the loading wrapper
|
|
$loading-ios-border-radius: 8px !default;
|
|
|
|
/// @prop - Text color of the loading wrapper
|
|
$loading-ios-text-color: $text-color !default;
|
|
|
|
/// @prop - Background of the loading wrapper
|
|
$loading-ios-background-color: $background-color-step-50 !default;
|
|
|
|
/// @prop - Background color alpha of the translucent loading wrapper
|
|
$loading-ios-translucent-background-color-alpha: .8 !default;
|
|
|
|
/// @prop - Background color of the translucent loading wrapper
|
|
$loading-ios-translucent-background-color: rgba(var(--ion-background-color-rgb, $background-color-rgb), $loading-ios-translucent-background-color-alpha) !default;
|
|
|
|
/// @prop - Font weight of the loading content
|
|
$loading-ios-content-font-weight: bold !default;
|
|
|
|
/// @prop - Color of the loading spinner
|
|
$loading-ios-spinner-color: $text-color-step-400 !default;
|
|
|
|
/// @prop - Color of the ios loading spinner
|
|
$loading-ios-spinner-lines-color: $loading-ios-spinner-color !default;
|
|
|
|
/// @prop - Color of the bubbles loading spinner
|
|
$loading-ios-spinner-bubbles-color: $loading-ios-spinner-color !default;
|
|
|
|
/// @prop - Color of the circles loading spinner
|
|
$loading-ios-spinner-circles-color: $loading-ios-spinner-color !default;
|
|
|
|
/// @prop - Color of the crescent loading spinner
|
|
$loading-ios-spinner-crescent-color: $loading-ios-spinner-color !default;
|
|
|
|
/// @prop - Color of the dots loading spinner
|
|
$loading-ios-spinner-dots-color: $loading-ios-spinner-color !default;
|
|
|
|
/// @prop - Filter of the translucent loading
|
|
$loading-ios-translucent-filter: saturate(180%) blur(20px) !default;
|