mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
style(item): remove duplicated variables
This commit is contained in:
@ -47,15 +47,6 @@ $item-ios-detail-push-color: $list-ios-border-color !default;
|
|||||||
/// @prop - Icon for the detail arrow
|
/// @prop - Icon for the detail arrow
|
||||||
$item-ios-detail-push-svg: "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M2,20l-2-2l8-8L0,2l2-2l10,10L2,20z' fill='#{$item-ios-detail-push-color}'/></svg>" !default;
|
$item-ios-detail-push-svg: "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M2,20l-2-2l8-8L0,2l2-2l10,10L2,20z' fill='#{$item-ios-detail-push-color}'/></svg>" !default;
|
||||||
|
|
||||||
/// @prop - Background for the divider
|
|
||||||
$item-ios-divider-background: #f7f7f7 !default;
|
|
||||||
|
|
||||||
/// @prop - Color for the divider
|
|
||||||
$item-ios-divider-color: #222 !default;
|
|
||||||
|
|
||||||
/// @prop - Padding for the divider
|
|
||||||
$item-ios-divider-padding: 5px 15px !default;
|
|
||||||
|
|
||||||
|
|
||||||
// iOS Item
|
// iOS Item
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
@ -35,21 +35,6 @@ $item-md-detail-push-color: $list-md-border-color !default;
|
|||||||
/// @prop - Icon for the detail arrow
|
/// @prop - Icon for the detail arrow
|
||||||
$item-md-detail-push-svg: "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M2,20l-2-2l8-8L0,2l2-2l10,10L2,20z' fill='#{$item-md-detail-push-color}'/></svg>" !default;
|
$item-md-detail-push-svg: "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M2,20l-2-2l8-8L0,2l2-2l10,10L2,20z' fill='#{$item-md-detail-push-color}'/></svg>" !default;
|
||||||
|
|
||||||
/// @prop - Color for the divider
|
|
||||||
$item-md-divider-color: #858585 !default;
|
|
||||||
|
|
||||||
/// @prop - Background for the divider
|
|
||||||
$item-md-divider-background: #fff !default;
|
|
||||||
|
|
||||||
/// @prop - Font size for the divider
|
|
||||||
$item-md-divider-font-size: $item-md-body-text-font-size !default;
|
|
||||||
|
|
||||||
/// @prop - Border bottom for the divider
|
|
||||||
$item-md-divider-border-bottom: 1px solid $list-md-border-color !default;
|
|
||||||
|
|
||||||
/// @prop - Padding for the divider
|
|
||||||
$item-md-divider-padding: 5px 15px !default;
|
|
||||||
|
|
||||||
|
|
||||||
.item-md {
|
.item-md {
|
||||||
@include padding-horizontal($item-md-padding-start, 0);
|
@include padding-horizontal($item-md-padding-start, 0);
|
||||||
|
@ -41,21 +41,6 @@ $item-wp-detail-push-color: $input-wp-border-color !default;
|
|||||||
/// @prop - Icon for the detail arrow
|
/// @prop - Icon for the detail arrow
|
||||||
$item-wp-detail-push-svg: "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M2,20l-2-2l8-8L0,2l2-2l10,10L2,20z' fill='#{$item-wp-detail-push-color}'/></svg>" !default;
|
$item-wp-detail-push-svg: "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M2,20l-2-2l8-8L0,2l2-2l10,10L2,20z' fill='#{$item-wp-detail-push-color}'/></svg>" !default;
|
||||||
|
|
||||||
/// @prop - Color for the divider
|
|
||||||
$item-wp-divider-color: $list-wp-text-color !default;
|
|
||||||
|
|
||||||
/// @prop - Background for the divider
|
|
||||||
$item-wp-divider-background: #fff !default;
|
|
||||||
|
|
||||||
/// @prop - Bodrer bottom for the divider
|
|
||||||
$item-wp-divider-border-bottom: 1px solid $list-wp-border-color !default;
|
|
||||||
|
|
||||||
/// @prop - Font size for the divider
|
|
||||||
$item-wp-divider-font-size: 2rem !default;
|
|
||||||
|
|
||||||
/// @prop - Padding for the divider
|
|
||||||
$item-wp-divider-padding: 5px 15px !default;
|
|
||||||
|
|
||||||
|
|
||||||
.item-wp {
|
.item-wp {
|
||||||
@include padding-horizontal($item-wp-padding-start, 0);
|
@include padding-horizontal($item-wp-padding-start, 0);
|
||||||
|
Reference in New Issue
Block a user