mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
docs(sass): add documentation for sass variables
This adds documentation for loading, menu, picker, popover, radio, refresher, select, and toast. Also removes unused variables. References #8785
This commit is contained in:
@ -3,21 +3,43 @@
|
|||||||
// iOS Loading Indicator
|
// iOS Loading Indicator
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Padding of the loading wrapper
|
||||||
$loading-ios-padding: 24px 34px !default;
|
$loading-ios-padding: 24px 34px !default;
|
||||||
|
|
||||||
|
/// @prop - Max width of the loading wrapper
|
||||||
$loading-ios-max-width: 270px !default;
|
$loading-ios-max-width: 270px !default;
|
||||||
|
|
||||||
|
/// @prop - Max height of the loading wrapper
|
||||||
$loading-ios-max-height: 90% !default;
|
$loading-ios-max-height: 90% !default;
|
||||||
|
|
||||||
|
/// @prop - Border radius of the loading wrapper
|
||||||
$loading-ios-border-radius: 8px !default;
|
$loading-ios-border-radius: 8px !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the loading wrapper
|
||||||
$loading-ios-text-color: #000 !default;
|
$loading-ios-text-color: #000 !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the loading wrapper
|
||||||
$loading-ios-background: #f8f8f8 !default;
|
$loading-ios-background: #f8f8f8 !default;
|
||||||
|
|
||||||
|
/// @prop - Font weight of the loading content
|
||||||
$loading-ios-content-font-weight: bold !default;
|
$loading-ios-content-font-weight: bold !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the loading spinner
|
||||||
$loading-ios-spinner-color: #69717d !default;
|
$loading-ios-spinner-color: #69717d !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the ios loading spinner
|
||||||
$loading-ios-spinner-ios-color: $loading-ios-spinner-color !default;
|
$loading-ios-spinner-ios-color: $loading-ios-spinner-color !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the bubbles loading spinner
|
||||||
$loading-ios-spinner-bubbles-color: $loading-ios-spinner-color !default;
|
$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;
|
$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;
|
$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;
|
$loading-ios-spinner-dots-color: $loading-ios-spinner-color !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,21 +3,46 @@
|
|||||||
// Material Design Loading Indicator
|
// Material Design Loading Indicator
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Padding of the loading wrapper
|
||||||
$loading-md-padding: 24px !default;
|
$loading-md-padding: 24px !default;
|
||||||
|
|
||||||
|
/// @prop - Max width of the loading wrapper
|
||||||
$loading-md-max-width: 280px !default;
|
$loading-md-max-width: 280px !default;
|
||||||
|
|
||||||
|
/// @prop - Max height of the loading wrapper
|
||||||
$loading-md-max-height: 90% !default;
|
$loading-md-max-height: 90% !default;
|
||||||
|
|
||||||
|
/// @prop - Border radius of the loading wrapper
|
||||||
$loading-md-border-radius: 2px !default;
|
$loading-md-border-radius: 2px !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the loading wrapper
|
||||||
$loading-md-text-color: rgba(0, 0, 0, .5) !default;
|
$loading-md-text-color: rgba(0, 0, 0, .5) !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the loading wrapper
|
||||||
$loading-md-background: #fafafa !default;
|
$loading-md-background: #fafafa !default;
|
||||||
|
|
||||||
|
/// @prop - Box shadow color of the loading wrapper
|
||||||
$loading-md-box-shadow-color: rgba(0, 0, 0, .4) !default;
|
$loading-md-box-shadow-color: rgba(0, 0, 0, .4) !default;
|
||||||
|
|
||||||
|
/// @prop - Box shadow of the loading wrapper
|
||||||
$loading-md-box-shadow: 0 16px 20px $loading-md-box-shadow-color !default;
|
$loading-md-box-shadow: 0 16px 20px $loading-md-box-shadow-color !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the loading spinner
|
||||||
$loading-md-spinner-color: color($colors-md, primary) !default;
|
$loading-md-spinner-color: color($colors-md, primary) !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the ios loading spinner
|
||||||
$loading-md-spinner-ios-color: $loading-md-spinner-color !default;
|
$loading-md-spinner-ios-color: $loading-md-spinner-color !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the bubbles loading spinner
|
||||||
$loading-md-spinner-bubbles-color: $loading-md-spinner-color !default;
|
$loading-md-spinner-bubbles-color: $loading-md-spinner-color !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the circles loading spinner
|
||||||
$loading-md-spinner-circles-color: $loading-md-spinner-color !default;
|
$loading-md-spinner-circles-color: $loading-md-spinner-color !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the crescent loading spinner
|
||||||
$loading-md-spinner-crescent-color: $loading-md-spinner-color !default;
|
$loading-md-spinner-crescent-color: $loading-md-spinner-color !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the dots loading spinner
|
||||||
$loading-md-spinner-dots-color: $loading-md-spinner-color !default;
|
$loading-md-spinner-dots-color: $loading-md-spinner-color !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,19 +3,40 @@
|
|||||||
// Windows Loading Indicator
|
// Windows Loading Indicator
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Padding of the loading wrapper
|
||||||
$loading-wp-padding: 20px !default;
|
$loading-wp-padding: 20px !default;
|
||||||
|
|
||||||
|
/// @prop - Max width of the loading wrapper
|
||||||
$loading-wp-max-width: 280px !default;
|
$loading-wp-max-width: 280px !default;
|
||||||
|
|
||||||
|
/// @prop - Max height of the loading wrapper
|
||||||
$loading-wp-max-height: 90% !default;
|
$loading-wp-max-height: 90% !default;
|
||||||
|
|
||||||
|
/// @prop - Border radius of the loading wrapper
|
||||||
$loading-wp-border-radius: 2px !default;
|
$loading-wp-border-radius: 2px !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the loading wrapper
|
||||||
$loading-wp-text-color: #fff !default;
|
$loading-wp-text-color: #fff !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the loading wrapper
|
||||||
$loading-wp-background: #000 !default;
|
$loading-wp-background: #000 !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the loading spinner
|
||||||
$loading-wp-spinner-color: $loading-wp-text-color !default;
|
$loading-wp-spinner-color: $loading-wp-text-color !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the ios loading spinner
|
||||||
$loading-wp-spinner-ios-color: $loading-wp-spinner-color !default;
|
$loading-wp-spinner-ios-color: $loading-wp-spinner-color !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the bubbles loading spinner
|
||||||
$loading-wp-spinner-bubbles-color: $loading-wp-spinner-color !default;
|
$loading-wp-spinner-bubbles-color: $loading-wp-spinner-color !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the circles loading spinner
|
||||||
$loading-wp-spinner-circles-color: $loading-wp-spinner-color !default;
|
$loading-wp-spinner-circles-color: $loading-wp-spinner-color !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the crescent loading spinner
|
||||||
$loading-wp-spinner-crescent-color: $loading-wp-spinner-color !default;
|
$loading-wp-spinner-crescent-color: $loading-wp-spinner-color !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the dots loading spinner
|
||||||
$loading-wp-spinner-dots-color: $loading-wp-spinner-color !default;
|
$loading-wp-spinner-dots-color: $loading-wp-spinner-color !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,8 +3,13 @@
|
|||||||
// iOS Menu
|
// iOS Menu
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Background of the menu
|
||||||
$menu-ios-background: $background-ios-color !default;
|
$menu-ios-background: $background-ios-color !default;
|
||||||
|
|
||||||
|
/// @prop - Box shadow color of the menu
|
||||||
$menu-ios-box-shadow-color: rgba(0, 0, 0, .25) !default;
|
$menu-ios-box-shadow-color: rgba(0, 0, 0, .25) !default;
|
||||||
|
|
||||||
|
/// @prop - Box shadow of the menu
|
||||||
$menu-ios-box-shadow: 0 0 10px $menu-ios-box-shadow-color !default;
|
$menu-ios-box-shadow: 0 0 10px $menu-ios-box-shadow-color !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,8 +3,13 @@
|
|||||||
// Material Design Menu
|
// Material Design Menu
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Background of the menu
|
||||||
$menu-md-background: $background-md-color !default;
|
$menu-md-background: $background-md-color !default;
|
||||||
|
|
||||||
|
/// @prop - Box shadow color of the menu
|
||||||
$menu-md-box-shadow-color: rgba(0, 0, 0, .25) !default;
|
$menu-md-box-shadow-color: rgba(0, 0, 0, .25) !default;
|
||||||
|
|
||||||
|
/// @prop - Box shadow of the menu
|
||||||
$menu-md-box-shadow: 0 0 10px $menu-md-box-shadow-color !default;
|
$menu-md-box-shadow: 0 0 10px $menu-md-box-shadow-color !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
// Windows Menu
|
// Windows Menu
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Background of the menu
|
||||||
$menu-wp-background: #f2f2f2 !default;
|
$menu-wp-background: #f2f2f2 !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,24 +3,49 @@
|
|||||||
// iOS Picker
|
// iOS Picker
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Height of the picker wrapper
|
||||||
$picker-ios-height: 260px !default;
|
$picker-ios-height: 260px !default;
|
||||||
|
|
||||||
|
/// @prop - Border color of the picker wrapper
|
||||||
$picker-ios-border-color: $list-ios-border-color !default;
|
$picker-ios-border-color: $list-ios-border-color !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the picker wrapper
|
||||||
$picker-ios-background-color: $list-ios-background-color !default;
|
$picker-ios-background-color: $list-ios-background-color !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the picker toolbar
|
||||||
$picker-ios-toolbar-height: 44px !default;
|
$picker-ios-toolbar-height: 44px !default;
|
||||||
|
|
||||||
|
/// @prop - Background color of the picker toolbar
|
||||||
$picker-ios-toolbar-background-color: $picker-ios-background-color !default;
|
$picker-ios-toolbar-background-color: $picker-ios-background-color !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the picker button
|
||||||
$picker-ios-button-height: $picker-ios-toolbar-height !default;
|
$picker-ios-button-height: $picker-ios-toolbar-height !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the picker button
|
||||||
$picker-ios-button-text-color: color($colors-ios, primary) !default;
|
$picker-ios-button-text-color: color($colors-ios, primary) !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the picker button
|
||||||
$picker-ios-button-background-color: transparent !default;
|
$picker-ios-button-background-color: transparent !default;
|
||||||
|
|
||||||
|
/// @prop - Padding of the picker column
|
||||||
$picker-ios-column-padding: 0 4px !default;
|
$picker-ios-column-padding: 0 4px !default;
|
||||||
|
|
||||||
|
/// @prop - Perspective of the picker column
|
||||||
$picker-ios-column-perspective: 1000px !default;
|
$picker-ios-column-perspective: 1000px !default;
|
||||||
|
|
||||||
|
/// @prop - Padding of the picker option
|
||||||
$picker-ios-option-padding: 0 !default;
|
$picker-ios-option-padding: 0 !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the picker option
|
||||||
$picker-ios-option-text-color: $list-ios-text-color !default;
|
$picker-ios-option-text-color: $list-ios-text-color !default;
|
||||||
|
|
||||||
|
/// @prop - Font size of the picker option
|
||||||
$picker-ios-option-font-size: 20px !default;
|
$picker-ios-option-font-size: 20px !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the picker option
|
||||||
$picker-ios-option-height: 42px !default;
|
$picker-ios-option-height: 42px !default;
|
||||||
|
|
||||||
|
/// @prop - Offset y of the picker option
|
||||||
$picker-ios-option-offset-y: (($picker-ios-height - $picker-ios-toolbar-height) / 2) - ($picker-ios-option-height / 2) - 10 !default;
|
$picker-ios-option-offset-y: (($picker-ios-height - $picker-ios-toolbar-height) / 2) - ($picker-ios-option-height / 2) - 10 !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,25 +3,49 @@
|
|||||||
// Material Design Picker
|
// Material Design Picker
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Height of the picker wrapper
|
||||||
$picker-md-height: 260px !default;
|
$picker-md-height: 260px !default;
|
||||||
|
|
||||||
|
/// @prop - Border color of the picker wrapper
|
||||||
$picker-md-border-color: $list-md-border-color !default;
|
$picker-md-border-color: $list-md-border-color !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the picker wrapper
|
||||||
$picker-md-background-color: $list-md-background-color !default;
|
$picker-md-background-color: $list-md-background-color !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the picker toolbar
|
||||||
$picker-md-toolbar-height: 44px !default;
|
$picker-md-toolbar-height: 44px !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the picker toolbar
|
||||||
$picker-md-toolbar-background-color: $picker-md-background-color !default;
|
$picker-md-toolbar-background-color: $picker-md-background-color !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the picker button
|
||||||
$picker-md-button-height: $picker-md-toolbar-height !default;
|
$picker-md-button-height: $picker-md-toolbar-height !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the picker button
|
||||||
$picker-md-button-text-color: color($colors-md, primary) !default;
|
$picker-md-button-text-color: color($colors-md, primary) !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the picker button
|
||||||
$picker-md-button-background-color: transparent !default;
|
$picker-md-button-background-color: transparent !default;
|
||||||
|
|
||||||
|
/// @prop - Padding of the picker column
|
||||||
$picker-md-column-padding: 0 8px !default;
|
$picker-md-column-padding: 0 8px !default;
|
||||||
|
|
||||||
|
/// @prop - Padding of the picker option
|
||||||
$picker-md-option-padding: 0 !default;
|
$picker-md-option-padding: 0 !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the picker option
|
||||||
$picker-md-option-text-color: $list-md-text-color !default;
|
$picker-md-option-text-color: $list-md-text-color !default;
|
||||||
|
|
||||||
|
/// @prop - Font size of the picker option
|
||||||
$picker-md-option-font-size: 22px !default;
|
$picker-md-option-font-size: 22px !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the picker option
|
||||||
$picker-md-option-height: 42px !default;
|
$picker-md-option-height: 42px !default;
|
||||||
|
|
||||||
|
/// @prop - Offset y of the picker option
|
||||||
$picker-md-option-offset-y: (($picker-md-height - $picker-md-toolbar-height) / 2) - ($picker-md-option-height / 2) - 10 !default;
|
$picker-md-option-offset-y: (($picker-md-height - $picker-md-toolbar-height) / 2) - ($picker-md-option-height / 2) - 10 !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the selected picker option
|
||||||
$picker-md-option-selected-color: color($colors-md, primary) !default;
|
$picker-md-option-selected-color: color($colors-md, primary) !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,7 +3,10 @@
|
|||||||
// Picker
|
// Picker
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Width of the picker
|
||||||
$picker-width: 100% !default;
|
$picker-width: 100% !default;
|
||||||
|
|
||||||
|
/// @prop - Max width of the picker
|
||||||
$picker-max-width: 500px !default;
|
$picker-max-width: 500px !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,25 +3,49 @@
|
|||||||
// Windows Picker
|
// Windows Picker
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Height of the picker wrapper
|
||||||
$picker-wp-height: 260px !default;
|
$picker-wp-height: 260px !default;
|
||||||
|
|
||||||
|
/// @prop - Border color of the picker wrapper
|
||||||
$picker-wp-border-color: $list-wp-border-color !default;
|
$picker-wp-border-color: $list-wp-border-color !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the picker wrapper
|
||||||
$picker-wp-background-color: $list-wp-background-color !default;
|
$picker-wp-background-color: $list-wp-background-color !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the picker toolbar
|
||||||
$picker-wp-toolbar-height: 44px !default;
|
$picker-wp-toolbar-height: 44px !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the picker toolbar
|
||||||
$picker-wp-toolbar-background-color: $picker-wp-background-color !default;
|
$picker-wp-toolbar-background-color: $picker-wp-background-color !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the picker button
|
||||||
$picker-wp-button-height: $picker-wp-toolbar-height !default;
|
$picker-wp-button-height: $picker-wp-toolbar-height !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the picker button
|
||||||
$picker-wp-button-text-color: color($colors-wp, primary) !default;
|
$picker-wp-button-text-color: color($colors-wp, primary) !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the picker button
|
||||||
$picker-wp-button-background-color: transparent !default;
|
$picker-wp-button-background-color: transparent !default;
|
||||||
|
|
||||||
|
/// @prop - Padding of the picker column
|
||||||
$picker-wp-column-padding: 0 4px !default;
|
$picker-wp-column-padding: 0 4px !default;
|
||||||
|
|
||||||
|
/// @prop - Padding of the picker option
|
||||||
$picker-wp-option-padding: 0 !default;
|
$picker-wp-option-padding: 0 !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the picker option
|
||||||
$picker-wp-option-text-color: $list-wp-text-color !default;
|
$picker-wp-option-text-color: $list-wp-text-color !default;
|
||||||
|
|
||||||
|
/// @prop - Font size of the picker option
|
||||||
$picker-wp-option-font-size: 22px !default;
|
$picker-wp-option-font-size: 22px !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the picker option
|
||||||
$picker-wp-option-height: 42px !default;
|
$picker-wp-option-height: 42px !default;
|
||||||
|
|
||||||
|
/// @prop - Offset y of the picker option
|
||||||
$picker-wp-option-offset-y: (($picker-wp-height - $picker-wp-toolbar-height) / 2) - ($picker-wp-option-height / 2) - 10 !default;
|
$picker-wp-option-offset-y: (($picker-wp-height - $picker-wp-toolbar-height) / 2) - ($picker-wp-option-height / 2) - 10 !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the selected picker option
|
||||||
$picker-wp-option-selected-color: color($colors-wp, primary) !default;
|
$picker-wp-option-selected-color: color($colors-wp, primary) !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,15 +3,28 @@
|
|||||||
// iOS Popover
|
// iOS Popover
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Width of the popover content
|
||||||
$popover-ios-width: 200px !default;
|
$popover-ios-width: 200px !default;
|
||||||
|
|
||||||
|
/// @prop - Min width of the popover content
|
||||||
$popover-ios-min-width: 0 !default;
|
$popover-ios-min-width: 0 !default;
|
||||||
|
|
||||||
|
/// @prop - Min height of the popover content
|
||||||
$popover-ios-min-height: 0 !default;
|
$popover-ios-min-height: 0 !default;
|
||||||
|
|
||||||
|
/// @prop - Max height of the popover content
|
||||||
$popover-ios-max-height: 90% !default;
|
$popover-ios-max-height: 90% !default;
|
||||||
|
|
||||||
|
/// @prop - Border radius of the popover content
|
||||||
$popover-ios-border-radius: 10px !default;
|
$popover-ios-border-radius: 10px !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the popover content
|
||||||
$popover-ios-text-color: $text-ios-color !default;
|
$popover-ios-text-color: $text-ios-color !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the popover content
|
||||||
$popover-ios-background: $background-ios-color !default;
|
$popover-ios-background: $background-ios-color !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the popover arrow
|
||||||
$popover-ios-arrow-background: $popover-ios-background !default;
|
$popover-ios-arrow-background: $popover-ios-background !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,15 +3,31 @@
|
|||||||
// Material Design Popover
|
// Material Design Popover
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Width of the popover content
|
||||||
$popover-md-width: 250px !default;
|
$popover-md-width: 250px !default;
|
||||||
|
|
||||||
|
/// @prop - Min width of the popover content
|
||||||
$popover-md-min-width: 0 !default;
|
$popover-md-min-width: 0 !default;
|
||||||
|
|
||||||
|
/// @prop - Min height of the popover content
|
||||||
$popover-md-min-height: 0 !default;
|
$popover-md-min-height: 0 !default;
|
||||||
|
|
||||||
|
/// @prop - Max height of the popover content
|
||||||
$popover-md-max-height: 90% !default;
|
$popover-md-max-height: 90% !default;
|
||||||
|
|
||||||
|
/// @prop - Border radius of the popover content
|
||||||
$popover-md-border-radius: 2px !default;
|
$popover-md-border-radius: 2px !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the popover content
|
||||||
$popover-md-text-color: $text-md-color !default;
|
$popover-md-text-color: $text-md-color !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the popover content
|
||||||
$popover-md-background: $background-md-color !default;
|
$popover-md-background: $background-md-color !default;
|
||||||
|
|
||||||
|
/// @prop - Box shadow color of the popover content
|
||||||
$popover-md-box-shadow-color: rgba(0, 0, 0, .3) !default;
|
$popover-md-box-shadow-color: rgba(0, 0, 0, .3) !default;
|
||||||
|
|
||||||
|
/// @prop - Box shadow of the popover content
|
||||||
$popover-md-box-shadow: 0 3px 12px 2px $popover-md-box-shadow-color !default;
|
$popover-md-box-shadow: 0 3px 12px 2px $popover-md-box-shadow-color !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,14 +3,28 @@
|
|||||||
// Windows Popover
|
// Windows Popover
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Width of the popover content
|
||||||
$popover-wp-width: 200px !default;
|
$popover-wp-width: 200px !default;
|
||||||
|
|
||||||
|
/// @prop - Min width of the popover content
|
||||||
$popover-wp-min-width: 0 !default;
|
$popover-wp-min-width: 0 !default;
|
||||||
|
|
||||||
|
/// @prop - Min height of the popover content
|
||||||
$popover-wp-min-height: 0 !default;
|
$popover-wp-min-height: 0 !default;
|
||||||
|
|
||||||
|
/// @prop - Max height of the popover content
|
||||||
$popover-wp-max-height: 90% !default;
|
$popover-wp-max-height: 90% !default;
|
||||||
|
|
||||||
|
/// @prop - Border of the popover content
|
||||||
$popover-wp-border: 2px solid #ccc !default;
|
$popover-wp-border: 2px solid #ccc !default;
|
||||||
|
|
||||||
|
/// @prop - Border radius of the popover content
|
||||||
$popover-wp-border-radius: 0 !default;
|
$popover-wp-border-radius: 0 !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the popover content
|
||||||
$popover-wp-text-color: $text-wp-color !default;
|
$popover-wp-text-color: $text-wp-color !default;
|
||||||
|
|
||||||
|
/// @prop - Background of the popover content
|
||||||
$popover-wp-background: $background-wp-color !default;
|
$popover-wp-background: $background-wp-color !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,16 +3,28 @@
|
|||||||
// iOS Radio
|
// iOS Radio
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Color of the checked radio
|
||||||
$radio-ios-color-on: color($colors-ios, primary) !default;
|
$radio-ios-color-on: color($colors-ios, primary) !default;
|
||||||
|
|
||||||
|
/// @prop - Width of the radio icon
|
||||||
$radio-ios-icon-width: 16px !default;
|
$radio-ios-icon-width: 16px !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the radio icon
|
||||||
$radio-ios-icon-height: 21px !default;
|
$radio-ios-icon-height: 21px !default;
|
||||||
|
|
||||||
|
/// @prop - Border width of the radio icon
|
||||||
$radio-ios-icon-border-width: 2px !default;
|
$radio-ios-icon-border-width: 2px !default;
|
||||||
|
|
||||||
|
/// @prop - Border style of the radio icon
|
||||||
$radio-ios-icon-border-style: solid !default;
|
$radio-ios-icon-border-style: solid !default;
|
||||||
|
|
||||||
|
/// @prop - Opacity of the disabled radio
|
||||||
$radio-ios-disabled-opacity: .3 !default;
|
$radio-ios-disabled-opacity: .3 !default;
|
||||||
|
|
||||||
|
/// @prop - Margin of the item-left in a radio
|
||||||
$radio-ios-item-left-margin: 8px 21px 8px 3px !default;
|
$radio-ios-item-left-margin: 8px 21px 8px 3px !default;
|
||||||
|
|
||||||
|
/// @prop - Margin of the item-right in a radio
|
||||||
$radio-ios-item-right-margin: $item-ios-padding-media-top 11px $item-ios-padding-media-bottom ($item-ios-padding-left / 2) !default;
|
$radio-ios-item-right-margin: $item-ios-padding-media-top 11px $item-ios-padding-media-bottom ($item-ios-padding-left / 2) !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,23 +3,43 @@
|
|||||||
// Material Design Radio
|
// Material Design Radio
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Color of the checked radio
|
||||||
$radio-md-color-on: color($colors-md, primary) !default;
|
$radio-md-color-on: color($colors-md, primary) !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the unchecked radio
|
||||||
$radio-md-color-off: darken($list-md-border-color, 40%) !default;
|
$radio-md-color-off: darken($list-md-border-color, 40%) !default;
|
||||||
|
|
||||||
|
/// @prop - Width of the radio icon
|
||||||
$radio-md-icon-width: 16px !default;
|
$radio-md-icon-width: 16px !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the radio icon
|
||||||
$radio-md-icon-height: 16px !default;
|
$radio-md-icon-height: 16px !default;
|
||||||
|
|
||||||
|
/// @prop - Border width of the radio icon
|
||||||
$radio-md-icon-border-width: 2px !default;
|
$radio-md-icon-border-width: 2px !default;
|
||||||
|
|
||||||
|
/// @prop - Border style of the radio icon
|
||||||
$radio-md-icon-border-style: solid !default;
|
$radio-md-icon-border-style: solid !default;
|
||||||
|
|
||||||
|
/// @prop - Border radius of the radio icon
|
||||||
$radio-md-icon-border-radius: 50% !default;
|
$radio-md-icon-border-radius: 50% !default;
|
||||||
|
|
||||||
|
/// @prop - Transition duration of the radio
|
||||||
$radio-md-transition-duration: 280ms !default;
|
$radio-md-transition-duration: 280ms !default;
|
||||||
|
|
||||||
|
/// @prop - Transition easing of the radio
|
||||||
$radio-md-transition-easing: cubic-bezier(.4, 0, .2, 1) !default;
|
$radio-md-transition-easing: cubic-bezier(.4, 0, .2, 1) !default;
|
||||||
|
|
||||||
|
/// @prop - Opacity of the disabled radio
|
||||||
$radio-md-disabled-opacity: .3 !default;
|
$radio-md-disabled-opacity: .3 !default;
|
||||||
|
|
||||||
|
/// @prop - Margin of the item-left in a radio
|
||||||
$radio-md-item-left-margin: 11px 36px 10px 4px !default;
|
$radio-md-item-left-margin: 11px 36px 10px 4px !default;
|
||||||
|
|
||||||
|
/// @prop - Margin of the item-right in a radio
|
||||||
$radio-md-item-right-margin: $item-md-padding-media-top 10px $item-md-padding-media-bottom 0 !default;
|
$radio-md-item-right-margin: $item-md-padding-media-top 10px $item-md-padding-media-bottom 0 !default;
|
||||||
|
|
||||||
|
|
||||||
.radio-md {
|
.radio-md {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -3,21 +3,37 @@
|
|||||||
// Windows Radio
|
// Windows Radio
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Color of the checked radio
|
||||||
$radio-wp-color-on: color($colors-wp, primary) !default;
|
$radio-wp-color-on: color($colors-wp, primary) !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the unchecked radio
|
||||||
$radio-wp-color-off: #333 !default;
|
$radio-wp-color-off: #333 !default;
|
||||||
|
|
||||||
// Places radio icon on the left of the item
|
/// @prop - Order of the radio (places to the left of the item)
|
||||||
$radio-wp-order: -1 !default;
|
$radio-wp-order: -1 !default;
|
||||||
|
|
||||||
|
/// @prop - Width of the radio icon
|
||||||
$radio-wp-icon-width: 16px !default;
|
$radio-wp-icon-width: 16px !default;
|
||||||
|
|
||||||
|
/// @prop - Height of the radio icon
|
||||||
$radio-wp-icon-height: 16px !default;
|
$radio-wp-icon-height: 16px !default;
|
||||||
|
|
||||||
|
/// @prop - Border width of the radio icon
|
||||||
$radio-wp-icon-border-width: 2px !default;
|
$radio-wp-icon-border-width: 2px !default;
|
||||||
|
|
||||||
|
/// @prop - Border style of the radio icon
|
||||||
$radio-wp-icon-border-style: solid !default;
|
$radio-wp-icon-border-style: solid !default;
|
||||||
|
|
||||||
|
/// @prop - Border radius of the radio icon
|
||||||
$radio-wp-icon-border-radius: 50% !default;
|
$radio-wp-icon-border-radius: 50% !default;
|
||||||
|
|
||||||
|
/// @prop - Opacity of the disabled radio
|
||||||
$radio-wp-disabled-opacity: .3 !default;
|
$radio-wp-disabled-opacity: .3 !default;
|
||||||
|
|
||||||
|
/// @prop - Margin of the item-left in a radio
|
||||||
$radio-wp-item-left-margin: 9px 20px 9px 4px !default;
|
$radio-wp-item-left-margin: 9px 20px 9px 4px !default;
|
||||||
|
|
||||||
|
/// @prop - Margin of the item-right in a radio
|
||||||
$radio-wp-item-right-margin: 11px 10px 10px 0 !default;
|
$radio-wp-item-right-margin: 11px 10px 10px 0 !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,14 +3,22 @@
|
|||||||
// Refresher
|
// Refresher
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Height of the refresher
|
||||||
$refresher-height: 60px !default;
|
$refresher-height: 60px !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the refresher icon
|
||||||
$refresher-icon-color: #000 !default;
|
$refresher-icon-color: #000 !default;
|
||||||
|
|
||||||
|
/// @prop - Font size of the refresher icon
|
||||||
$refresher-icon-font-size: 30px !default;
|
$refresher-icon-font-size: 30px !default;
|
||||||
|
|
||||||
|
/// @prop - Text color of the refresher content
|
||||||
$refresher-text-color: #000 !default;
|
$refresher-text-color: #000 !default;
|
||||||
|
|
||||||
|
/// @prop - Font size of the refresher content
|
||||||
$refresher-text-font-size: 16px !default;
|
$refresher-text-font-size: 16px !default;
|
||||||
|
|
||||||
|
/// @prop - Border color of the refresher
|
||||||
$refresher-border-color: #ddd !default;
|
$refresher-border-color: #ddd !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,12 +3,22 @@
|
|||||||
// iOS Select
|
// iOS Select
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Padding top of the select
|
||||||
$select-ios-padding-top: $item-ios-padding-top !default;
|
$select-ios-padding-top: $item-ios-padding-top !default;
|
||||||
|
|
||||||
|
/// @prop - Padding right of the select
|
||||||
$select-ios-padding-right: ($item-ios-padding-right / 2) !default;
|
$select-ios-padding-right: ($item-ios-padding-right / 2) !default;
|
||||||
|
|
||||||
|
/// @prop - Padding bottom of the select
|
||||||
$select-ios-padding-bottom: $item-ios-padding-bottom !default;
|
$select-ios-padding-bottom: $item-ios-padding-bottom !default;
|
||||||
|
|
||||||
|
/// @prop - Padding left of the select
|
||||||
$select-ios-padding-left: $item-ios-padding-left !default;
|
$select-ios-padding-left: $item-ios-padding-left !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the select icon
|
||||||
$select-ios-icon-color: #999 !default;
|
$select-ios-icon-color: #999 !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the select placeholder
|
||||||
$select-ios-placeholder-color: $select-ios-icon-color !default;
|
$select-ios-placeholder-color: $select-ios-icon-color !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,12 +3,22 @@
|
|||||||
// Material Design Select
|
// Material Design Select
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Padding top of the select
|
||||||
$select-md-padding-top: $item-md-padding-top !default;
|
$select-md-padding-top: $item-md-padding-top !default;
|
||||||
|
|
||||||
|
/// @prop - Padding right of the select
|
||||||
$select-md-padding-right: ($item-md-padding-right / 2) !default;
|
$select-md-padding-right: ($item-md-padding-right / 2) !default;
|
||||||
|
|
||||||
|
/// @prop - Padding bottom of the select
|
||||||
$select-md-padding-bottom: $item-md-padding-bottom !default;
|
$select-md-padding-bottom: $item-md-padding-bottom !default;
|
||||||
|
|
||||||
|
/// @prop - Padding left of the select
|
||||||
$select-md-padding-left: $item-md-padding-left !default;
|
$select-md-padding-left: $item-md-padding-left !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the select icon
|
||||||
$select-md-icon-color: #999 !default;
|
$select-md-icon-color: #999 !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the select placeholder
|
||||||
$select-md-placeholder-color: $select-md-icon-color !default;
|
$select-md-placeholder-color: $select-md-icon-color !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,21 +3,40 @@
|
|||||||
// Windows Select
|
// Windows Select
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Padding top and bottom of the select
|
||||||
$select-wp-padding-vertical: 0 !default;
|
$select-wp-padding-vertical: 0 !default;
|
||||||
|
|
||||||
|
/// @prop - Padding left and right of the select
|
||||||
$select-wp-padding-horizontal: ($item-wp-padding-right / 2) !default;
|
$select-wp-padding-horizontal: ($item-wp-padding-right / 2) !default;
|
||||||
|
|
||||||
|
/// @prop - Margin top of the select
|
||||||
$select-wp-margin-top: $item-wp-padding-top !default;
|
$select-wp-margin-top: $item-wp-padding-top !default;
|
||||||
|
|
||||||
|
/// @prop - Margin right of the select
|
||||||
$select-wp-margin-right: ($item-wp-padding-right / 2) !default;
|
$select-wp-margin-right: ($item-wp-padding-right / 2) !default;
|
||||||
|
|
||||||
|
/// @prop - Margin bottom of the select
|
||||||
$select-wp-margin-bottom: $item-wp-padding-bottom !default;
|
$select-wp-margin-bottom: $item-wp-padding-bottom !default;
|
||||||
|
|
||||||
|
/// @prop - Margin left of the select
|
||||||
$select-wp-margin-left: ($item-wp-padding-left / 2) !default;
|
$select-wp-margin-left: ($item-wp-padding-left / 2) !default;
|
||||||
|
|
||||||
|
/// @prop - Border width of the select
|
||||||
$select-wp-border-width: 2px !default;
|
$select-wp-border-width: 2px !default;
|
||||||
|
|
||||||
|
/// @prop - Border color of the select
|
||||||
$select-wp-border-color: $input-wp-border-color !default;
|
$select-wp-border-color: $input-wp-border-color !default;
|
||||||
|
|
||||||
|
/// @prop - Width of the select icon
|
||||||
$select-wp-icon-width: 18px !default;
|
$select-wp-icon-width: 18px !default;
|
||||||
|
|
||||||
|
/// @prop - Width of the select icon arrow
|
||||||
$select-wp-icon-arrow-width: 2px !default;
|
$select-wp-icon-arrow-width: 2px !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the select icon
|
||||||
$select-wp-icon-color: $select-wp-border-color !default;
|
$select-wp-icon-color: $select-wp-border-color !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the select placeholder
|
||||||
$select-wp-placeholder-color: $select-wp-icon-color !default;
|
$select-wp-placeholder-color: $select-wp-icon-color !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,14 +3,22 @@
|
|||||||
// iOS Toast
|
// iOS Toast
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
$toast-ios-text-align: left !default;
|
/// @prop - Background of the toast wrapper
|
||||||
$toast-ios-background: rgba(0, 0, 0, .9) !default;
|
$toast-ios-background: rgba(0, 0, 0, .9) !default;
|
||||||
|
|
||||||
|
/// @prop - Border radius of the toast wrapper
|
||||||
$toast-ios-border-radius: .65rem !default;
|
$toast-ios-border-radius: .65rem !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the toast title
|
||||||
$toast-ios-title-color: #fff !default;
|
$toast-ios-title-color: #fff !default;
|
||||||
|
|
||||||
|
/// @prop - Font size of the toast title
|
||||||
$toast-ios-title-font-size: 1.4rem !default;
|
$toast-ios-title-font-size: 1.4rem !default;
|
||||||
|
|
||||||
|
/// @prop - Padding of the toast title
|
||||||
$toast-ios-title-padding: 1.5rem !default;
|
$toast-ios-title-padding: 1.5rem !default;
|
||||||
|
|
||||||
|
|
||||||
.toast-ios .toast-wrapper {
|
.toast-ios .toast-wrapper {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
|
@ -3,14 +3,19 @@
|
|||||||
// Material Design Toast
|
// Material Design Toast
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
$toast-md-text-align: left !default;
|
/// @prop - Background of the toast wrapper
|
||||||
$toast-md-background: #333 !default;
|
$toast-md-background: #333 !default;
|
||||||
$toast-md-group-margin-bottom: 8px !default;
|
|
||||||
|
|
||||||
|
/// @prop - Color of the toast title
|
||||||
$toast-md-title-color: #fff !default;
|
$toast-md-title-color: #fff !default;
|
||||||
|
|
||||||
|
/// @prop - Font size of the toast title
|
||||||
$toast-md-title-font-size: 1.5rem !default;
|
$toast-md-title-font-size: 1.5rem !default;
|
||||||
|
|
||||||
|
/// @prop - Padding of the toast title
|
||||||
$toast-md-title-padding: 19px 16px 17px !default;
|
$toast-md-title-padding: 19px 16px 17px !default;
|
||||||
|
|
||||||
|
|
||||||
.toast-md .toast-wrapper {
|
.toast-md .toast-wrapper {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -4,7 +4,10 @@
|
|||||||
// Toast
|
// Toast
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
/// @prop - Width of the toast
|
||||||
$toast-width: 100% !default;
|
$toast-width: 100% !default;
|
||||||
|
|
||||||
|
/// @prop - Max width of the toast
|
||||||
$toast-max-width: 700px !default;
|
$toast-max-width: 700px !default;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,15 +3,25 @@
|
|||||||
// Windows Phone Toast
|
// Windows Phone Toast
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
$toast-wp-text-align: left !default;
|
/// @prop - Background of the toast wrapper
|
||||||
$toast-wp-background: rgba(0, 0, 0, 1) !default;
|
$toast-wp-background: rgba(0, 0, 0, 1) !default;
|
||||||
|
|
||||||
|
/// @prop - Border radius of the toast wrapper
|
||||||
$toast-wp-border-radius: 0 !default;
|
$toast-wp-border-radius: 0 !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the toast button
|
||||||
$toast-wp-button-color: #fff !default;
|
$toast-wp-button-color: #fff !default;
|
||||||
|
|
||||||
|
/// @prop - Color of the toast title
|
||||||
$toast-wp-title-color: #fff !default;
|
$toast-wp-title-color: #fff !default;
|
||||||
|
|
||||||
|
/// @prop - Font size of the toast title
|
||||||
$toast-wp-title-font-size: 1.4rem !default;
|
$toast-wp-title-font-size: 1.4rem !default;
|
||||||
|
|
||||||
|
/// @prop - Padding of the toast title
|
||||||
$toast-wp-title-padding: 1.5rem !default;
|
$toast-wp-title-padding: 1.5rem !default;
|
||||||
|
|
||||||
|
|
||||||
.toast-wp .toast-wrapper {
|
.toast-wp .toast-wrapper {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
Reference in New Issue
Block a user