diff --git a/core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php b/core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php index 29f7fc3..7e4ce04 100644 --- a/core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php +++ b/core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php @@ -91,15 +91,6 @@ public function getCancelUrl() { } /** - * {@inheritdoc} - */ - protected function actions(array $form, FormStateInterface $form_state) { - $actions = parent::actions($form, $form_state); - $actions['submit']['#attributes'] = ['class' => ['button', 'button--danger']]; - return $actions; - } - - /** * Logs a message about the deleted entity. */ protected function logDeletionMessage() { diff --git a/core/themes/seven/css/components/buttons.css b/core/themes/seven/css/components/buttons.css index 663e513..d0c24fb 100644 --- a/core/themes/seven/css/components/buttons.css +++ b/core/themes/seven/css/components/buttons.css @@ -188,7 +188,6 @@ color: #c72100; font-weight: 400; text-decoration: underline; - text-shadow: none; } .button--danger:hover, .button--danger:focus,