mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
refactor(sass): remove deprecated variables and rules
references ionic-team/stencil#16
This commit is contained in:
@ -11,18 +11,14 @@ $text-input-ios-background-color: $list-ios-background-color !default;
|
||||
/// @prop - Margin top of the input
|
||||
$text-input-ios-margin-top: $item-ios-padding-top !default;
|
||||
|
||||
// deprecated
|
||||
$text-input-ios-margin-right: ($item-ios-padding-end / 2) !default;
|
||||
/// @prop - Margin end of the input
|
||||
$text-input-ios-margin-end: $text-input-ios-margin-right !default;
|
||||
$text-input-ios-margin-end: ($item-ios-padding-end / 2) !default;
|
||||
|
||||
/// @prop - Margin bottom of the input
|
||||
$text-input-ios-margin-bottom: $item-ios-padding-bottom !default;
|
||||
|
||||
// deprecated
|
||||
$text-input-ios-margin-left: 0 !default;
|
||||
/// @prop - Margin start of the input
|
||||
$text-input-ios-margin-start: $text-input-ios-margin-left !default;
|
||||
$text-input-ios-margin-start: 0 !default;
|
||||
|
||||
/// @prop - Width of the icon used to clear the input
|
||||
$text-input-ios-input-clear-icon-width: 30px !default;
|
||||
|
||||
@ -11,18 +11,14 @@ $text-input-md-background-color: $list-md-background-color !default;
|
||||
/// @prop - Margin top of the input
|
||||
$text-input-md-margin-top: $item-md-padding-top !default;
|
||||
|
||||
// deprecated
|
||||
$text-input-md-margin-right: ($item-md-padding-end / 2) !default;
|
||||
/// @prop - Margin end of the input
|
||||
$text-input-md-margin-end: $text-input-md-margin-right !default;
|
||||
$text-input-md-margin-end: ($item-md-padding-end / 2) !default;
|
||||
|
||||
/// @prop - Margin bottom of the input
|
||||
$text-input-md-margin-bottom: $item-md-padding-bottom !default;
|
||||
|
||||
// deprecated
|
||||
$text-input-md-margin-left: ($item-md-padding-start / 2) !default;
|
||||
/// @prop - Margin start of the input
|
||||
$text-input-md-margin-start: $text-input-md-margin-left !default;
|
||||
$text-input-md-margin-start: ($item-md-padding-start / 2) !default;
|
||||
|
||||
/// @prop - Width of the icon used to clear the input
|
||||
$text-input-md-input-clear-icon-width: 30px !default;
|
||||
|
||||
@ -17,18 +17,14 @@ $text-input-wp-border-width: 2px !default;
|
||||
/// @prop - Margin top of the input
|
||||
$text-input-wp-margin-top: $item-wp-padding-top !default;
|
||||
|
||||
// deprecated
|
||||
$text-input-wp-margin-right: ($item-wp-padding-end / 2) !default;
|
||||
/// @prop - Margin end of the input
|
||||
$text-input-wp-margin-end: $text-input-wp-margin-right !default;
|
||||
$text-input-wp-margin-end: ($item-wp-padding-end / 2) !default;
|
||||
|
||||
/// @prop - Margin bottom of the input
|
||||
$text-input-wp-margin-bottom: $item-wp-padding-bottom !default;
|
||||
|
||||
// deprecated
|
||||
$text-input-wp-margin-left: ($item-wp-padding-start / 2) !default;
|
||||
/// @prop - Margin start of the input
|
||||
$text-input-wp-margin-start: $text-input-wp-margin-left !default;
|
||||
$text-input-wp-margin-start: ($item-wp-padding-start / 2) !default;
|
||||
|
||||
/// @prop - Vertical padding of the input
|
||||
$text-input-wp-padding-vertical: 0 !default;
|
||||
@ -134,8 +130,6 @@ $text-input-wp-highlight-color-invalid: $text-input-highlight-color-invalid
|
||||
width: calc(100% - #{$text-input-wp-margin-end});
|
||||
}
|
||||
|
||||
.item-wp.item-label-stacked [item-right], // deprecated
|
||||
.item-wp.item-label-floating [item-right], // deprecated
|
||||
.item-wp.item-label-stacked [item-end],
|
||||
.item-wp.item-label-floating [item-end] {
|
||||
align-self: flex-end;
|
||||
|
||||
Reference in New Issue
Block a user