| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- @import "../../themes/ionic.globals.md";
-
- // Material Design Toast
- // --------------------------------------------------
-
- /// @prop - Background of the toast wrapper
- $toast-md-background: #333 !default;
-
- /// @prop - Color of the toast title
- $toast-md-title-color: #fff !default;
-
- /// @prop - Font size of the toast title
- $toast-md-title-font-size: 1.5rem !default;
-
- // deprecated
- $toast-md-title-padding: null !default;
-
- /// @prop - Padding top of the toast title
- $toast-md-title-padding-top: 19px !default;
-
- /// @prop - Padding end of the toast title
- $toast-md-title-padding-end: 16px !default;
-
- /// @prop - Padding bottom of the toast title
- $toast-md-title-padding-bottom: 17px !default;
-
- /// @prop - Padding start of the toast title
- $toast-md-title-padding-start: $toast-md-title-padding-end !default;
-
-
- .toast-md .toast-wrapper {
- @include position-horizontal(0, 0);
- @include margin(auto);
-
- position: absolute;
-
- z-index: $z-index-overlay-wrapper;
- display: block;
-
- width: $toast-width;
- max-width: $toast-max-width;
-
- background: $toast-md-background;
- }
-
- .toast-md .toast-wrapper.toast-top {
- @include transform(translate3d(0, -100%, 0));
-
- top: 0;
- }
-
- .toast-md .toast-wrapper.toast-bottom {
- @include transform(translate3d(0, 100%, 0));
-
- bottom: 0;
- }
-
- .toast-md .toast-wrapper.toast-middle {
- opacity: .01;
- }
-
- .toast-md .toast-message {
- font-size: $toast-md-title-font-size;
-
- color: $toast-md-title-color;
-
- @include deprecated-variable(padding, $toast-md-title-padding) {
- @include padding($toast-md-title-padding-top, $toast-md-title-padding-end, $toast-md-title-padding-bottom, $toast-md-title-padding-start);
- }
- }
|