Permalink
Browse files

better button styles, courtesy of Marino.

  • Loading branch information...
smith committed Aug 29, 2011
1 parent 1cc21fd commit e68111de05bab6315f26dfed044216c492534616
Showing with 14 additions and 7 deletions.
  1. +14 −7 CollegeFootball.wdgt/style.css
@@ -86,19 +86,26 @@ td { width: 33%; border-bottom: 1px dotted; padding: 4px 0; white-space: nowrap;
#back a { float: right; }
label { display: block; margin-top: 16px; }
select { width: 200px; }
+/* Thanks Marino! */
button {
display: block;
margin-top: 16px;
color: white;
- font-weight: bold;
font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 12px;
- width: 50px;
- height: 24px;
+ width: auto;
+ line-height: 1;
+ height: auto;
+ padding: 4px 10px 5px;
margin: 16px;
- padding: 0;
- border: 1px solid rgba(0,0,0,0.5);
- border-radius: 4px 4px 4px 4px;
+ border: 1px solid rgba(0,0,0,0.1);
+ border-radius: 4px;
background: rgba(0,0,0,0.25);
- box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 2px 5px rgba(255,255,255,0.25), inset 0 0px 5px rgba(0,0,0,0.3);
+ box-shadow:
+ 0 1px 1px rgba(0,0,0,0.25),
+ inset 0 1px rgba(255,255,255,0.3),
+ inset 0 2px 0 rgba(255,255,255,0.10),
+ inset 0 7px 2px rgba(255,255,255,0.1),
+ inset 0 2px 5px rgba(255,255,255,0.25),
+ inset 0 0px 5px rgba(0,0,0,0.3);
}

0 comments on commit e68111d

Please sign in to comment.