mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Issue number: N/A --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> This project has several unused Sass variables still in the code base. The team would like to remove these. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Removed unused Sass variables ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> The original scope of this ticket was for checkbox only, but many other components had unused sass variables, so I decided to tackle everything all at once. Since these variables are not used anywhere: 1. The build should pass 2. There should be no screenshot diffs
120 lines
4.7 KiB
SCSS
120 lines
4.7 KiB
SCSS
@import "../../themes/ionic.globals.md";
|
|
|
|
// Material Design Button
|
|
// --------------------------------------------------
|
|
|
|
/// @prop - Margin top of the button
|
|
$button-md-margin-top: 4px;
|
|
|
|
/// @prop - Margin end of the button
|
|
$button-md-margin-end: 2px !default;
|
|
|
|
/// @prop - Margin bottom of the button
|
|
$button-md-margin-bottom: 4px !default;
|
|
|
|
/// @prop - Margin start of the button
|
|
$button-md-margin-start: 2px !default;
|
|
|
|
/// @prop - Padding top of the button
|
|
$button-md-padding-top: 8px !default;
|
|
|
|
/// @prop - Padding end of the button
|
|
$button-md-padding-end: 1.1em !default;
|
|
|
|
/// @prop - Padding bottom of the button
|
|
$button-md-padding-bottom: $button-md-padding-top !default;
|
|
|
|
/// @prop - Padding start of the button
|
|
$button-md-padding-start: 1.1em !default;
|
|
|
|
/// @prop - Minimum height of the button
|
|
$button-md-min-height: 36px !default;
|
|
|
|
/// @prop - Border radius of the button
|
|
$button-md-border-radius: 4px !default;
|
|
|
|
/// @prop - Font size of the button text
|
|
$button-md-font-size: dynamic-font(14px) !default;
|
|
|
|
/// @prop - Font weight of the button text
|
|
$button-md-font-weight: 500 !default;
|
|
|
|
/// @prop - Capitalization of the button text
|
|
$button-md-text-transform: uppercase !default;
|
|
|
|
$button-md-letter-spacing: 0.06em;
|
|
|
|
/// @prop - Box shadow of the button
|
|
$button-md-box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12) !default;
|
|
|
|
/// @prop - Box shadow of the activated button
|
|
$button-md-box-shadow-activated: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12) !default;
|
|
|
|
// Material Design Large Button
|
|
// --------------------------------------------------
|
|
|
|
/// @prop - Padding top of the large button
|
|
$button-md-large-padding-top: 14px !default;
|
|
|
|
/// @prop - Padding end of the large button
|
|
$button-md-large-padding-end: 1em !default;
|
|
|
|
/// @prop - Padding bottom of the large button
|
|
$button-md-large-padding-bottom: $button-md-large-padding-top !default;
|
|
|
|
/// @prop - Padding start of the large button
|
|
$button-md-large-padding-start: $button-md-large-padding-end !default;
|
|
|
|
/// @prop - Minimum height of the large button
|
|
$button-md-large-min-height: 2.8em !default;
|
|
|
|
/// @prop - Font size of the large button
|
|
$button-md-large-font-size: dynamic-font(20px) !default;
|
|
|
|
|
|
// Material Design Small Button
|
|
// --------------------------------------------------
|
|
|
|
/// @prop - Padding top of the small button
|
|
$button-md-small-padding-top: 4px !default;
|
|
|
|
/// @prop - Padding end of the small button
|
|
$button-md-small-padding-end: .9em !default;
|
|
|
|
/// @prop - Padding bottom of the small button
|
|
$button-md-small-padding-bottom: $button-md-small-padding-top !default;
|
|
|
|
/// @prop - Padding start of the small button
|
|
$button-md-small-padding-start: $button-md-small-padding-end !default;
|
|
|
|
/// @prop - Minimum height of the small button
|
|
$button-md-small-min-height: 2.1em !default;
|
|
|
|
/// @prop - Font size of the small button
|
|
$button-md-small-font-size: dynamic-font(13px) !default;
|
|
|
|
// Material Design Round Button
|
|
// --------------------------------------------------
|
|
|
|
/// @prop - Padding top of the round button
|
|
$button-md-round-padding-top: $button-round-padding-top !default;
|
|
|
|
/// @prop - Padding end of the round button
|
|
$button-md-round-padding-end: $button-round-padding-end !default;
|
|
|
|
/// @prop - Padding bottom of the round button
|
|
$button-md-round-padding-bottom: $button-round-padding-bottom !default;
|
|
|
|
/// @prop - Padding start of the round button
|
|
$button-md-round-padding-start: $button-round-padding-start !default;
|
|
|
|
/// @prop - Border radius of the round button
|
|
$button-md-round-border-radius: $button-round-border-radius !default;
|
|
|
|
|
|
// Material Design Decorator Button
|
|
// --------------------------------------------------
|
|
|
|
/// @prop - Font weight of the strong button
|
|
$button-md-strong-font-weight: bold !default;
|