easypiechart.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. .clearfix {
  2. *zoom: 1;
  3. }
  4. .clearfix:before,
  5. .clearfix:after {
  6. display: table;
  7. content: "";
  8. }
  9. .clearfix:after {
  10. clear: both;
  11. }
  12. .easyPieChart {
  13. position: relative;
  14. text-align: center;
  15. }
  16. .easyPieChart canvas {
  17. position: absolute;
  18. top: 0;
  19. left: 0;
  20. }
  21. .chart {
  22. /*float: left;*/
  23. margin: 0 auto;
  24. }
  25. .percentage,
  26. .label {
  27. text-align: center;
  28. /*color: #333;*/
  29. font-weight: 100;
  30. /*font-size: 1.2em;*/
  31. margin-bottom: 0.3em;
  32. }
  33. .credits {
  34. padding-top: 0.5em;
  35. clear: both;
  36. color: #999;
  37. }
  38. .credits a {
  39. color: #333;
  40. }
  41. .dark {
  42. background: #333;
  43. }
  44. .dark .percentage-light,
  45. .dark .label {
  46. text-align: center;
  47. color: #999;
  48. font-weight: 100;
  49. font-size: 1.2em;
  50. margin-bottom: 0.3em;
  51. }
  52. .button {
  53. -webkit-box-shadow: inset 0 0 1px #000, inset 0 1px 0 1px rgba(255,255,255,0.2), 0 1px 1px -1px rgba(0, 0, 0, .5);
  54. -moz-box-shadow: inset 0 0 1px #000, inset 0 1px 0 1px rgba(255,255,255,0.2), 0 1px 1px -1px rgba(0, 0, 0, .5);
  55. box-shadow: inset 0 0 1px #000, inset 0 1px 0 1px rgba(255,255,255,0.2), 0 1px 1px -1px rgba(0, 0, 0, .5);
  56. -webkit-border-radius: 3px;
  57. -moz-border-radius: 3px;
  58. border-radius: 3px;
  59. padding: 6px 20px;
  60. font-weight: bold;
  61. text-transform: uppercase;
  62. display: block;
  63. margin: 0 auto 2em;
  64. max-width: 200px;
  65. text-align: center;
  66. background-color: #5c5c5c;
  67. background-image: -moz-linear-gradient(top, #666666, #4d4d4d);
  68. background-image: -ms-linear-gradient(top, #666666, #4d4d4d);
  69. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#666666), to(#4d4d4d));
  70. background-image: -webkit-linear-gradient(top, #666666, #4d4d4d);
  71. background-image: -o-linear-gradient(top, #666666, #4d4d4d);
  72. background-image: linear-gradient(top, #666666, #4d4d4d);
  73. background-repeat: repeat-x;
  74. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#4d4d4d', GradientType=0);
  75. color: #ffffff;
  76. text-shadow: 0 1px 1px #333333;
  77. }
  78. .button:hover {
  79. color: #ffffff;
  80. text-decoration: none;
  81. background-color: #616161;
  82. background-image: -moz-linear-gradient(top, #6b6b6b, #525252);
  83. background-image: -ms-linear-gradient(top, #6b6b6b, #525252);
  84. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6b6b6b), to(#525252));
  85. background-image: -webkit-linear-gradient(top, #6b6b6b, #525252);
  86. background-image: -o-linear-gradient(top, #6b6b6b, #525252);
  87. background-image: linear-gradient(top, #6b6b6b, #525252);
  88. background-repeat: repeat-x;
  89. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6b6b6b', endColorstr='#525252', GradientType=0);
  90. }
  91. .button:active {
  92. background-color: #575757;
  93. background-image: -moz-linear-gradient(top, #616161, #474747);
  94. background-image: -ms-linear-gradient(top, #616161, #474747);
  95. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#616161), to(#474747));
  96. background-image: -webkit-linear-gradient(top, #616161, #474747);
  97. background-image: -o-linear-gradient(top, #616161, #474747);
  98. background-image: linear-gradient(top, #616161, #474747);
  99. background-repeat: repeat-x;
  100. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#616161', endColorstr='#474747', GradientType=0);
  101. -webkit-transform: translate(0, 1px);
  102. -moz-transform: translate(0, 1px);
  103. -ms-transform: translate(0, 1px);
  104. -o-transform: translate(0, 1px);
  105. transform: translate(0, 1px);
  106. }
  107. .button:disabled {
  108. background-color: #dddddd;
  109. background-image: -moz-linear-gradient(top, #e7e7e7, #cdcdcd);
  110. background-image: -ms-linear-gradient(top, #e7e7e7, #cdcdcd);
  111. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e7e7e7), to(#cdcdcd));
  112. background-image: -webkit-linear-gradient(top, #e7e7e7, #cdcdcd);
  113. background-image: -o-linear-gradient(top, #e7e7e7, #cdcdcd);
  114. background-image: linear-gradient(top, #e7e7e7, #cdcdcd);
  115. background-repeat: repeat-x;
  116. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e7e7e7', endColorstr='#cdcdcd', GradientType=0);
  117. color: #939393;
  118. text-shadow: 0 1px 1px #fff;
  119. }