| @import "@wordpress/base-styles/mixins"; | |
| @import "@wordpress/base-styles/variables"; | |
| .action-item { | |
| padding: $grid-unit-20 0; | |
| border-bottom: 1px solid $gray-100; | |
| &:last-child { | |
| border-bottom: none; | |
| } | |
| .action-item__decoration { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: $grid-unit-50; | |
| height: $grid-unit-50; | |
| flex-shrink: 0; | |
| border-radius: $radius-small; | |
| overflow: hidden; | |
| &:has(svg) { | |
| border: 1px solid $gray-200; | |
| } | |
| svg { | |
| width: $grid-unit-30; | |
| height: $grid-unit-30; | |
| flex-shrink: 0; | |
| fill: $gray-700; | |
| } | |
| img { | |
| width: 100%; | |
| height: 100%; | |
| flex-shrink: 0; | |
| object-fit: cover; | |
| } | |
| } | |
| .action-item__actions { | |
| flex-shrink: 0; | |
| } | |
| } | |