Skip to content
This repository
Browse code

Changed default display to inline block for buttons. Removed text-dec…

…oration when buttons are used on anchors
  • Loading branch information...
commit 8bea3a72b62ae1cdb5b925a8a5bed426db5bbfc8 1 parent f9ee911
authored February 24, 2012
8  app/assets/stylesheets/addons/_button.scss
@@ -62,11 +62,12 @@
62 62
   @include border-radius (3px);
63 63
   @include box-shadow (inset 0 1px 0 0 $inset-shadow);
64 64
   color: $color;
65  
-  display: inline;
  65
+  display: inline-block;
66 66
   font-size: 11px;
67 67
   font-weight: bold;
68 68
   @include linear-gradient ($base-color, $stop-gradient);
69 69
   padding: 6px 18px 7px;
  70
+  text-decoration: none;
70 71
   text-shadow: 0 1px 0 $text-shadow;
71 72
   -webkit-background-clip: padding-box;
72 73
 
@@ -133,7 +134,7 @@
133 134
   @include border-radius(5px);
134 135
   @include box-shadow(inset 0 1px 0 0 $inset-shadow);
135 136
   color: $color;
136  
-  display: inline;
  137
+  display: inline-block;
137 138
   font-size: 14px;
138 139
   font-weight: bold;
139 140
   @include linear-gradient(top, $base-color 0%, $second-stop 50%, $third-stop 50%, $fourth-stop 100%);
@@ -204,13 +205,14 @@
204 205
   @include border-radius(16px);
205 206
   @include box-shadow(inset 0 1px 0 0 $inset-shadow, 0 1px 2px 0 #b3b3b3);
206 207
   color: $color;
207  
-  display: inline;
  208
+  display: inline-block;
208 209
   font-size: 11px;
209 210
   font-weight: normal;
210 211
   line-height: 1;
211 212
   @include linear-gradient ($base-color, $stop-gradient);
212 213
   padding: 3px 16px 5px;
213 214
   text-align: center;
  215
+  text-decoration: none;
214 216
   text-shadow: 0 -1px 1px $text-shadow;
215 217
   -webkit-background-clip: padding-box;
216 218
 

0 notes on commit 8bea3a7

Please sign in to comment.
Something went wrong with that request. Please try again.