From a44b656186d7f8ed49118c0380e126eec4caf28d Mon Sep 17 00:00:00 2001 From: zane Date: Thu, 12 Jun 2014 14:32:52 -0700 Subject: [PATCH] change background color assignments to be more specific to only change background color and not entire background property overriding background images and anything else declared on background. --- src/buttons/tests/manual/button.html | 6 +++--- src/forms/css/forms.css | 2 +- src/menus/css/menus.css | 8 ++++---- src/tables/css/tables.css | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/buttons/tests/manual/button.html b/src/buttons/tests/manual/button.html index 22ffb95..280b809 100644 --- a/src/buttons/tests/manual/button.html +++ b/src/buttons/tests/manual/button.html @@ -16,7 +16,7 @@ font-weight:bold; color: white; padding: 0.8em 2.5em; - background: #16bb51; + background-color: #16bb51; border-radius: 6px; text-shadow: 0 1px 1px rgb(22, 116, 29); } @@ -40,11 +40,11 @@ .pure-button-wedding:hover, .pure-button-wedding:focus { - background: #555; + background-color: #555; color: #eee; } .pure-button-wedding:active { - background: #222; + background-color: #222; color: #fff; box-shadow: none; } diff --git a/src/forms/css/forms.css b/src/forms/css/forms.css index d70e17f..977292b 100644 --- a/src/forms/css/forms.css +++ b/src/forms/css/forms.css @@ -123,7 +123,7 @@ since IE8 won't execute CSS that contains a CSS3 selector. .pure-form input[readonly], .pure-form select[readonly], .pure-form textarea[readonly] { - background: #eee; /* menu hover bg color */ + background-color: #eee; /* menu hover bg color */ color: #777; /* menu text color */ border-color: #ccc; } diff --git a/src/menus/css/menus.css b/src/menus/css/menus.css index 042e535..a554ad4 100644 --- a/src/menus/css/menus.css +++ b/src/menus/css/menus.css @@ -5,7 +5,7 @@ .pure-menu.pure-menu-open, .pure-menu.pure-menu-horizontal li .pure-menu-children { - background: #fff; /* Old browsers */ + background-color: #fff; /* Old browsers */ border: 1px solid #b7b7b7; } @@ -36,19 +36,19 @@ /* Focus style for a dropdown menu-item when the parent has been opened */ .pure-menu .pure-menu-open { - background: #dedede; + background-color: #dedede; } .pure-menu li a:hover, .pure-menu li a:focus { - background: #eee; + background-color: #eee; } /* DISABLED STATES */ .pure-menu li.pure-menu-disabled a:hover, .pure-menu li.pure-menu-disabled a:focus { - background: #fff; + background-color: #fff; color: #bfbfbf; } diff --git a/src/tables/css/tables.css b/src/tables/css/tables.css index b842659..21d1396 100644 --- a/src/tables/css/tables.css +++ b/src/tables/css/tables.css @@ -28,7 +28,7 @@ } .pure-table thead { - background: #e0e0e0; + background-color: #e0e0e0; color: #000; text-align: left; vertical-align: bottom;