forked from mirror/_s
Merge pull request #500 from emiluzelac/patch-22
Simplifies `border-color` attributes.
This commit is contained in:
commit
4359baa57f
|
@ -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"],
|
||||
|
|
Reference in New Issue