mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +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
|
// iOS Modals
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Background color for the modal
|
||||||
$modal-ios-background-color: $background-ios-color !default;
|
$modal-ios-background-color: $background-ios-color !default;
|
||||||
|
|
||||||
|
/// @prop - Border radius for the modal
|
||||||
$modal-ios-border-radius: 5px !default;
|
$modal-ios-border-radius: 5px !default;
|
||||||
|
|
||||||
.ios .modal-wrapper {
|
.ios .modal-wrapper {
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
// Material Design Modals
|
// Material Design Modals
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Background color for the modal
|
||||||
$modal-md-background-color: $background-md-color !default;
|
$modal-md-background-color: $background-md-color !default;
|
||||||
|
|
||||||
.md .modal-wrapper {
|
.md .modal-wrapper {
|
||||||
|
@ -3,11 +3,22 @@
|
|||||||
// Modals
|
// Modals
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Min width of the modal inset
|
||||||
$modal-inset-min-width: 768px !default;
|
$modal-inset-min-width: 768px !default;
|
||||||
|
|
||||||
|
/// @prop - Min height of the small modal inset
|
||||||
$modal-inset-min-height-small: 600px !default;
|
$modal-inset-min-height-small: 600px !default;
|
||||||
|
|
||||||
|
/// @prop - Min height of the large modal inset
|
||||||
$modal-inset-min-height-large: 768px !default;
|
$modal-inset-min-height-large: 768px !default;
|
||||||
|
|
||||||
|
/// @prop - Width of the large modal inset
|
||||||
$modal-inset-width: 600px !default;
|
$modal-inset-width: 600px !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the small modal inset
|
||||||
$modal-inset-height-small: 500px !default;
|
$modal-inset-height-small: 500px !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the large modal inset
|
||||||
$modal-inset-height-large: 600px !default;
|
$modal-inset-height-large: 600px !default;
|
||||||
|
|
||||||
ion-modal {
|
ion-modal {
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
// Windows Modals
|
// Windows Modals
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Background color for the modal
|
||||||
$modal-wp-background-color: $background-wp-color !default;
|
$modal-wp-background-color: $background-wp-color !default;
|
||||||
|
|
||||||
.wp .modal-wrapper {
|
.wp .modal-wrapper {
|
||||||
|
Reference in New Issue
Block a user