mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
Merge pull request #8955 from bul-ikana/docs/modal-sass
docs(modal): add sass variable descriptions
This commit is contained in:
@ -3,7 +3,10 @@
|
||||
// iOS Modals
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Background color for the modal
|
||||
$modal-ios-background-color: $background-ios-color !default;
|
||||
|
||||
/// @prop - Border radius for the modal
|
||||
$modal-ios-border-radius: 5px !default;
|
||||
|
||||
.ios .modal-wrapper {
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Material Design Modals
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Background color for the modal
|
||||
$modal-md-background-color: $background-md-color !default;
|
||||
|
||||
.md .modal-wrapper {
|
||||
|
@ -3,11 +3,22 @@
|
||||
// Modals
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Min width of the modal inset
|
||||
$modal-inset-min-width: 768px !default;
|
||||
|
||||
/// @prop - Min height of the small modal inset
|
||||
$modal-inset-min-height-small: 600px !default;
|
||||
|
||||
/// @prop - Min height of the large modal inset
|
||||
$modal-inset-min-height-large: 768px !default;
|
||||
|
||||
/// @prop - Width of the large modal inset
|
||||
$modal-inset-width: 600px !default;
|
||||
|
||||
/// @prop - Height of the small modal inset
|
||||
$modal-inset-height-small: 500px !default;
|
||||
|
||||
/// @prop - Height of the large modal inset
|
||||
$modal-inset-height-large: 600px !default;
|
||||
|
||||
ion-modal {
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Windows Modals
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Background color for the modal
|
||||
$modal-wp-background-color: $background-wp-color !default;
|
||||
|
||||
.wp .modal-wrapper {
|
||||
|
Reference in New Issue
Block a user