diff --git a/core/includes/menu.inc b/core/includes/menu.inc index 65c14ee..4cd9855 100644 --- a/core/includes/menu.inc +++ b/core/includes/menu.inc @@ -1659,7 +1659,7 @@ function theme_menu_local_action($variables) { 'localized_options' => array(), ); $link['localized_options']['attributes']['class'][] = 'button'; - $link['localized_options']['attributes']['class'][] = 'button-add'; + $link['localized_options']['attributes']['class'][] = 'button-action'; $output = '
  • '; $output .= l($link['title'], $link['href'], $link['localized_options']); diff --git a/core/lib/Drupal/Core/Entity/EntityFormController.php b/core/lib/Drupal/Core/Entity/EntityFormController.php index 90d5834..719d353 100644 --- a/core/lib/Drupal/Core/Entity/EntityFormController.php +++ b/core/lib/Drupal/Core/Entity/EntityFormController.php @@ -125,7 +125,7 @@ protected function actions(array $form, array &$form_state) { ), 'delete' => array( '#value' => t('Delete'), - '#weight' => 50, + '#weight' => 100, '#button_type' => 'danger', // No need to validate the form when deleting the entity. '#submit' => array( diff --git a/core/modules/system/system.theme-rtl.css b/core/modules/system/system.theme-rtl.css index 04473b2..3c0afda 100644 --- a/core/modules/system/system.theme-rtl.css +++ b/core/modules/system/system.theme-rtl.css @@ -82,7 +82,7 @@ ul.menu { margin-left: auto; margin-right: 0; } -.button-add:before { +.button-action:before { margin-left: 0; margin-right: -0.1em; padding-left: 0.2em; diff --git a/core/modules/system/system.theme.css b/core/modules/system/system.theme.css index f0a00cb..0e27355 100644 --- a/core/modules/system/system.theme.css +++ b/core/modules/system/system.theme.css @@ -355,7 +355,7 @@ ul.tabs { padding: 0.2em 0.5em 0.3em; text-decoration: none; } -.button-add:before { +.button-action:before { content: '+'; font-weight: 900; margin-left: -0.1em; /* LTR */ diff --git a/core/themes/bartik/css/style.css b/core/themes/bartik/css/style.css index 81c7b15..1897320 100644 --- a/core/themes/bartik/css/style.css +++ b/core/themes/bartik/css/style.css @@ -1107,8 +1107,6 @@ button, button:hover, button:focus, button:active, -.button:link, -.button:visited, .button:hover, .button:focus, .button:active { diff --git a/core/themes/seven/style.css b/core/themes/seven/style.css index d0c0173..8ac3139 100644 --- a/core/themes/seven/style.css +++ b/core/themes/seven/style.css @@ -640,7 +640,6 @@ button, } button:focus, button:hover, -.button:visited, .button:focus, .button:hover { background-color: #c0c0c0; @@ -732,7 +731,7 @@ select.form-select:focus { .js input.throbbing { background-position: 100% -16px; } -.button-add { +.button-action { background: #1078d8; background-image: -webkit-linear-gradient(top, #419ff1, #1076d5); background-image: -moz-linear-gradient(top, #419ff1, #1076d5); @@ -749,8 +748,8 @@ select.form-select:focus { padding: 4px 1em; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); } -.button-add:focus, -.button-add:hover { +.button-action:focus, +.button-action:hover { background-color: #419cf1; background-image: -webkit-linear-gradient(top, #59abf3, #2a90ef); background-image: -moz-linear-gradient(top, #59abf3, #2a90ef); @@ -758,7 +757,7 @@ select.form-select:focus { background-image: linear-gradient(to bottom, #59abf3, #2a90ef); color: #fff; } -.button-add:active { +.button-action:active { background-color: #0e69be; background-image: -webkit-linear-gradient(top, #0e69be, #2a93ef); background-image: -moz-linear-gradient(top, #0e69be, #2a93ef);