Advertisement
europcsolutions

Problem with Compass generated gradients

Jul 13th, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.32 KB | None | 0 0
  1. /*----- SCSS File -----*/
  2. @import "compass";
  3.  
  4. $experimental-support-for-mozilla: true;
  5. $experimental-support-for-webkit: true;
  6. $support-for-original-webkit-gradients: true;
  7. $experimental-support-for-opera: true;
  8. $experimental-support-for-microsoft: true;
  9. $experimental-support-for-pie: true;
  10.  
  11. .more_button {
  12.     @include single-text-shadow( -1px, -1px, 1px, false, #808080 );
  13.     float: right;
  14.     color: #fff;
  15.     display: block;
  16.     height: 24px;
  17.     line-height: 24px;
  18.     padding: 0 20px;
  19.     font-size: 12px;
  20.     margin-top: 3px;
  21.     border: 1px solid #9e9e9e;
  22.     @include background-image( linear-gradient( #c1c1c1, #a0a0a0 40%, #818181 ) );
  23. }
  24.  
  25.  
  26. /*----- Generated CSS -----*/
  27. #main .more_button {
  28.   text-shadow: -1px -1px 1px gray;
  29.   float: right;
  30.   color: #fff;
  31.   display: block;
  32.   height: 24px;
  33.   line-height: 24px;
  34.   padding: 0 20px;
  35.   font-size: 12px;
  36.   margin-top: 3px;
  37.   border: 1px solid #9e9e9e;
  38.   background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #c1c1c1), color-stop(40%, #a0a0a0), color-stop(100%, #818181));
  39.   background-image: -webkit-linear-gradient(#c1c1c1, #a0a0a0 40%, #818181);
  40.   background-image: -moz-linear-gradient(#c1c1c1, #a0a0a0 40%, #818181);
  41.   background-image: -o-linear-gradient(#c1c1c1, #a0a0a0 40%, #818181);
  42.   background-image: linear-gradient(#c1c1c1, #a0a0a0 40%, #818181);
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement