diff --git a/core/includes/menu.inc b/core/includes/menu.inc
index 2e55366..65c14ee 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'][] = 'add';
+ $link['localized_options']['attributes']['class'][] = 'button-add';
$output = '
';
$output .= l($link['title'], $link['href'], $link['localized_options']);
diff --git a/core/modules/system/system.theme-rtl.css b/core/modules/system/system.theme-rtl.css
index 27b8ce7..04473b2 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;
}
-a.button.add:before {
+.button-add: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 6a4a64d..f0a00cb 100644
--- a/core/modules/system/system.theme.css
+++ b/core/modules/system/system.theme.css
@@ -349,13 +349,13 @@ ul.tabs {
.action-links li:first-child {
margin-left: 0; /* LTR */
}
-a.button {
+.button {
display: inline-block;
line-height: 160%;
padding: 0.2em 0.5em 0.3em;
text-decoration: none;
}
-a.button.add:before {
+.button-add:before {
content: '+';
font-weight: 900;
margin-left: -0.1em; /* LTR */
diff --git a/core/themes/seven/style.css b/core/themes/seven/style.css
index cfd76c5..d0c0173 100644
--- a/core/themes/seven/style.css
+++ b/core/themes/seven/style.css
@@ -636,10 +636,10 @@ button,
border-right-color: #d2d2d2;
background-color: #e4e4e4;
border-radius: 20px;
+ text-decoration: none;
}
button:focus,
button:hover,
-.button:link,
.button:visited,
.button:focus,
.button:hover {
@@ -732,7 +732,7 @@ select.form-select:focus {
.js input.throbbing {
background-position: 100% -16px;
}
-a.button.add {
+.button-add {
background: #1078d8;
background-image: -webkit-linear-gradient(top, #419ff1, #1076d5);
background-image: -moz-linear-gradient(top, #419ff1, #1076d5);
@@ -749,8 +749,8 @@ a.button.add {
padding: 4px 1em;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
}
-a.button.add:focus,
-a.button.add:hover {
+.button-add:focus,
+.button-add:hover {
background-color: #419cf1;
background-image: -webkit-linear-gradient(top, #59abf3, #2a90ef);
background-image: -moz-linear-gradient(top, #59abf3, #2a90ef);
@@ -758,7 +758,7 @@ a.button.add:hover {
background-image: linear-gradient(to bottom, #59abf3, #2a90ef);
color: #fff;
}
-a.button.add:active {
+.button-add:active {
background-color: #0e69be;
background-image: -webkit-linear-gradient(top, #0e69be, #2a93ef);
background-image: -moz-linear-gradient(top, #0e69be, #2a93ef);