mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
docs(components): document what start and end mean for CSS variables (#18538)
This commit is contained in:
@ -9,16 +9,16 @@
|
||||
*
|
||||
* @prop --background: Background of the menu button
|
||||
* @prop --background-hover: Background of the menu button on hover
|
||||
* @prop --background-focused: Background of the menu button when focused
|
||||
* @prop --background-focused: Background of the menu button when focused with the tab key
|
||||
*
|
||||
* @prop --color: Color of the menu button
|
||||
* @prop --color-hover: Color of the menu button on hover
|
||||
* @prop --color-focused: Color of the menu button when focused
|
||||
* @prop --color-focused: Color of the menu button when focused with the tab key
|
||||
*
|
||||
* @prop --padding-top: Padding top of the button
|
||||
* @prop --padding-end: Padding end of the button
|
||||
* @prop --padding-bottom: Padding bottom of the button
|
||||
* @prop --padding-start: Padding start of the button
|
||||
* @prop --padding-top: Top padding of the button
|
||||
* @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the button
|
||||
* @prop --padding-bottom: Bottom padding of the button
|
||||
* @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the button
|
||||
*/
|
||||
--background: transparent;
|
||||
--color-focused: var(--color);
|
||||
|
@ -19,19 +19,19 @@ Menu Button is component that automatically creates the icon and functionality t
|
||||
|
||||
## CSS Custom Properties
|
||||
|
||||
| Name | Description |
|
||||
| ---------------------- | ------------------------------------------ |
|
||||
| `--background` | Background of the menu button |
|
||||
| `--background-focused` | Background of the menu button when focused |
|
||||
| `--background-hover` | Background of the menu button on hover |
|
||||
| `--border-radius` | Border radius of the menu button |
|
||||
| `--color` | Color of the menu button |
|
||||
| `--color-focused` | Color of the menu button when focused |
|
||||
| `--color-hover` | Color of the menu button on hover |
|
||||
| `--padding-bottom` | Padding bottom of the button |
|
||||
| `--padding-end` | Padding end of the button |
|
||||
| `--padding-start` | Padding start of the button |
|
||||
| `--padding-top` | Padding top of the button |
|
||||
| Name | Description |
|
||||
| ---------------------- | --------------------------------------------------------------------------------------------------------- |
|
||||
| `--background` | Background of the menu button |
|
||||
| `--background-focused` | Background of the menu button when focused with the tab key |
|
||||
| `--background-hover` | Background of the menu button on hover |
|
||||
| `--border-radius` | Border radius of the menu button |
|
||||
| `--color` | Color of the menu button |
|
||||
| `--color-focused` | Color of the menu button when focused with the tab key |
|
||||
| `--color-hover` | Color of the menu button on hover |
|
||||
| `--padding-bottom` | Bottom padding of the button |
|
||||
| `--padding-end` | Right padding if direction is left-to-right, and left padding if direction is right-to-left of the button |
|
||||
| `--padding-start` | Left padding if direction is left-to-right, and right padding if direction is right-to-left of the button |
|
||||
| `--padding-top` | Top padding of the button |
|
||||
|
||||
|
||||
## Dependencies
|
||||
|
Reference in New Issue
Block a user