mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
refactor(sass): remove unused variables
This commit is contained in:
@ -56,13 +56,11 @@
|
||||
// -----------------------------------------
|
||||
|
||||
.action-sheet-ios .action-sheet-title {
|
||||
@include border-radius($action-sheet-ios-title-border-radius);
|
||||
|
||||
@include padding($action-sheet-ios-title-padding);
|
||||
|
||||
@include text-align($action-sheet-ios-text-align);
|
||||
|
||||
border-bottom: $action-sheet-ios-button-border-width $action-sheet-ios-button-border-style $action-sheet-ios-border-color;
|
||||
border-bottom: $action-sheet-ios-title-border-width $action-sheet-ios-title-border-style $action-sheet-ios-title-border-color;
|
||||
|
||||
font-size: $action-sheet-ios-title-font-size;
|
||||
font-weight: $action-sheet-ios-title-font-weight;
|
||||
@ -80,7 +78,7 @@
|
||||
|
||||
min-height: $action-sheet-ios-button-min-height;
|
||||
|
||||
border-bottom: $action-sheet-ios-button-border-width $action-sheet-ios-button-border-style $action-sheet-ios-border-color;
|
||||
border-bottom: $action-sheet-ios-button-border-width $action-sheet-ios-button-border-style $action-sheet-ios-button-border-color;
|
||||
|
||||
font-size: $action-sheet-ios-button-font-size;
|
||||
color: $action-sheet-ios-button-text-color;
|
||||
|
||||
@ -27,9 +27,6 @@ $action-sheet-ios-group-margin-bottom: 10px !default;
|
||||
/// @prop - Background color of the action sheet
|
||||
$action-sheet-ios-background: #f9f9f9 !default;
|
||||
|
||||
/// @prop - Border color of the action sheet
|
||||
$action-sheet-ios-border-color: rgba(0, 0, 0, .1) !default;
|
||||
|
||||
/// @prop - Border radius of the action sheet
|
||||
$action-sheet-ios-border-radius: 13px !default;
|
||||
|
||||
@ -45,8 +42,14 @@ $action-sheet-ios-title-font-size: 1.3rem !default;
|
||||
/// @prop - Font weight of the action sheet title
|
||||
$action-sheet-ios-title-font-weight: 400 !default;
|
||||
|
||||
/// @prop - Border radius of the action sheet title
|
||||
$action-sheet-ios-title-border-radius: 0 !default;
|
||||
/// @prop - Border width of the action sheet title
|
||||
$action-sheet-ios-title-border-width: $hairlines-width !default;
|
||||
|
||||
/// @prop - Border style of the action sheet title
|
||||
$action-sheet-ios-title-border-style: solid !default;
|
||||
|
||||
/// @prop - Border color of the action sheet title
|
||||
$action-sheet-ios-title-border-color: rgba(0, 0, 0, .1) !default;
|
||||
|
||||
/// @prop - Minimum height of the action sheet button
|
||||
$action-sheet-ios-button-min-height: 5.6rem !default;
|
||||
@ -82,7 +85,7 @@ $action-sheet-ios-button-border-width: $hairlines-width !defaul
|
||||
$action-sheet-ios-button-border-style: solid !default;
|
||||
|
||||
/// @prop - Border color of the action sheet button
|
||||
$action-sheet-ios-button-border-color: #d1d3d6 !default;
|
||||
$action-sheet-ios-button-border-color: rgba(0, 0, 0, .1) !default;
|
||||
|
||||
/// @prop - Background color of the action sheet button
|
||||
$action-sheet-ios-button-background: transparent !default;
|
||||
|
||||
@ -15,12 +15,6 @@ $card-ios-margin-bottom: 30px !default;
|
||||
/// @prop - Margin start of the card
|
||||
$card-ios-margin-start: 20px !default;
|
||||
|
||||
/// @prop - Padding top of the media on the card
|
||||
$card-ios-padding-media-top: 10px !default;
|
||||
|
||||
/// @prop - Padding bottom of the media on the card
|
||||
$card-ios-padding-media-bottom: 9px !default;
|
||||
|
||||
/// @prop - Background color of the card
|
||||
$card-ios-background-color: $list-ios-background-color !default;
|
||||
|
||||
|
||||
@ -15,18 +15,6 @@ $card-md-margin-bottom: 10px !default;
|
||||
/// @prop - Margin start of the card
|
||||
$card-md-margin-start: 10px !default;
|
||||
|
||||
/// @prop - Padding top of the media on the card
|
||||
$card-md-padding-media-top: 10px !default;
|
||||
|
||||
/// @prop - Padding bottom of the media on the card
|
||||
$card-md-padding-media-bottom: 10px !default;
|
||||
|
||||
/// @prop - Size of the card avatar
|
||||
$card-md-avatar-size: 4rem !default;
|
||||
|
||||
/// @prop - Size of the card thumbnail
|
||||
$card-md-thumbnail-size: 8rem !default;
|
||||
|
||||
/// @prop - Background color of the card
|
||||
$card-md-background-color: $list-md-background-color !default;
|
||||
|
||||
|
||||
@ -3,15 +3,6 @@
|
||||
// Material Design Checkbox
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Border bottom width of the checkbox
|
||||
$checkbox-md-border-bottom-width: 1px !default;
|
||||
|
||||
/// @prop - Border bottom style of the checkbox
|
||||
$checkbox-md-border-bottom-style: solid !default;
|
||||
|
||||
/// @prop - Border bottom color of the checkbox
|
||||
$checkbox-md-border-bottom-color: $list-md-border-color !default;
|
||||
|
||||
/// @prop - Opacity of the disabled checkbox
|
||||
$checkbox-md-disabled-opacity: .3 !default;
|
||||
|
||||
|
||||
@ -3,9 +3,6 @@
|
||||
// iOS Input
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Background color of the input
|
||||
$input-ios-background-color: $list-ios-background-color !default;
|
||||
|
||||
/// @prop - Margin top of the input
|
||||
$input-ios-margin-top: $item-ios-padding-top !default;
|
||||
|
||||
|
||||
@ -3,9 +3,6 @@
|
||||
// Material Design Input
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Background color of the input
|
||||
$input-md-background-color: $list-md-background-color !default;
|
||||
|
||||
/// @prop - Margin top of the input
|
||||
$input-md-margin-top: $item-md-padding-top !default;
|
||||
|
||||
|
||||
@ -27,9 +27,6 @@ $toolbar-ios-button-border-radius: 4px !default;
|
||||
/// @prop - Font weight of the strong toolbar button
|
||||
$toolbar-ios-button-strong-font-weight: 600 !default;
|
||||
|
||||
/// @prop - Height of the navigation bar
|
||||
$navbar-ios-height: $toolbar-ios-height !default;
|
||||
|
||||
/// @prop - Filter of the translucent toolbar
|
||||
$toolbar-ios-translucent-filter: saturate(180%) blur(20px) !default;
|
||||
|
||||
|
||||
@ -26,6 +26,3 @@ $toolbar-md-button-border-radius: 2px !default;
|
||||
|
||||
/// @prop - Font weight of the strong toolbar button
|
||||
$toolbar-md-button-strong-font-weight: bold !default;
|
||||
|
||||
/// @prop - Height of the navigation bar
|
||||
$navbar-md-height: $toolbar-md-height !default;
|
||||
|
||||
@ -19,18 +19,6 @@ $font-size-ios-base: $font-size-base !default;
|
||||
$content-ios-outer-background: $background-color !default;
|
||||
|
||||
|
||||
// iOS Card
|
||||
// --------------------------------------------------
|
||||
|
||||
$card-ios-header-color: #ddd !default;
|
||||
|
||||
|
||||
// iOS Note
|
||||
// --------------------------------------------------
|
||||
|
||||
$item-ios-note-color: #f4f4f4 !default;
|
||||
|
||||
|
||||
// iOS Toolbar
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
@ -15,11 +15,6 @@ $font-family-md-base: "Roboto", "Helvetica Neue", sans-serif !de
|
||||
$font-size-md-base: $font-size-base !default;
|
||||
|
||||
|
||||
// Material Design Outer content
|
||||
// --------------------------------------------------
|
||||
$outer-content-md-background-color: $background-color !default;
|
||||
|
||||
|
||||
// Material Design Toolbar
|
||||
// --------------------------------------------------
|
||||
|
||||
@ -42,7 +37,6 @@ $tabs-md-tab-color-active: $tabs-tab-color-active !default;
|
||||
// Material Design Card
|
||||
// --------------------------------------------------
|
||||
|
||||
$card-md-header-color: #ddd !default;
|
||||
$card-md-title-text-color: #fff !default;
|
||||
$card-md-text-color: #ddd !default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user