From 92128bbc7d80c059940dfa6d17dad5d509bd333a Mon Sep 17 00:00:00 2001 From: Emil Uzelac Date: Mon, 26 May 2014 16:00:23 -0500 Subject: [PATCH] Border Color Minor CSS optimization for border and border color. For the border itself, we don't need to include the color in ```border: {}```, color is already added in ```border-color: {}```. Since the Theme uses shorthands for padding/margins, why not do the same for the border colors as well. --- style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index 3d82539a..7b67cf26 100644 --- a/style.css +++ b/style.css @@ -258,8 +258,8 @@ button, input[type="button"], input[type="reset"], input[type="submit"] { - border: 1px solid #ccc; - border-color: #ccc #ccc #bbb #ccc; + border: 1px solid; + border-color: #ccc #ccc #bbb; border-radius: 3px; background: #e6e6e6; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05); @@ -276,7 +276,7 @@ button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { - border-color: #ccc #bbb #aaa #bbb; + border-color: #ccc #bbb #aaa; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02); } button:focus, @@ -287,7 +287,7 @@ button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { - border-color: #aaa #bbb #bbb #bbb; + border-color: #aaa #bbb #bbb; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); } input[type="checkbox"],