Guest User

Untitled

a guest
Oct 9th, 2014
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.92 KB | None | 0 0
  1. div {
  2.     background-color: green;
  3.     width: 37%;
  4.     height: 27%;
  5.     padding: 20px;
  6. }
  7. table {
  8.     border: 2px solid black;
  9.     text-align: center;
  10.     border-radius: 10px;
  11.     margin: 5px;
  12. }
  13.  
  14. td {
  15.    
  16.     height: 2em !important;
  17.     border-bottom: 2px solid black;
  18.     border-left: 2px solid black;
  19.     border-right: 2px solid black;
  20.     font-size: 12px;
  21. }
  22. tr:last-child>td:nth-child(2) {
  23.     border-bottom: none;
  24. }
  25. tr:first-child>td:first-child, tr:last-child>td:first-child {
  26.     border-left: none;
  27. }
  28. tr:first-child>td:last-child, tr:last-child>td:last-child {
  29.     border-right: none;
  30. }
  31. tr:last-child>td:first-child, tr:last-child>td:last-child {
  32.     border-bottom: none;
  33. }
  34. td:nth-child(2), td:nth-child(4), td:nth-child(6), td:nth-child(8) {
  35.     border-left: none;
  36.     border-right: none;
  37. }
  38. td:first-child {
  39.     border-left: none;
  40. }
  41. tr:first-child>td:nth-child(1),
  42. tr:first-child>td:nth-child(2),
  43. tr:first-child>td:nth-child(3),
  44. tr:first-child>td:nth-child(4),
  45. tr:first-child>td:nth-child(5) {
  46.     font-size: 16px;
  47. }
  48. tr:last-child>td:nth-child(3),
  49. tr:last-child>td:nth-child(4),
  50. tr:last-child>td:nth-child(5),
  51. tr:last-child>td:nth-child(6),
  52. tr:last-child>td:nth-child(7) {
  53.     border-bottom: none;
  54. }
  55. tr:first-child {
  56.     background-color: rgba(230, 186, 0, 1);
  57.     font-weight: bold;
  58. }
  59. tr:nth-child(3), tr:nth-child(5) {
  60.     background-color: rgba(146, 144, 144, 1);
  61.     height: 2em;
  62. }
  63. tr:nth-child(2), tr:nth-child(4), tr:nth-child(6) {
  64.     background-color: rgba(206, 206, 206, 1);
  65.     height: 2em;
  66. }
  67. td:first-child {
  68.     text-align: right;
  69.     padding-right: 4px;
  70. }
  71. td:nth-child(3) {
  72.     text-align: left;
  73.     padding-left: 4px;
  74. }
  75. tr:nth-child(2)>td:nth-child(5),
  76. tr:nth-child(3)>td:nth-child(5),
  77. tr:nth-child(4)>td:nth-child(5),
  78. tr:nth-child(5)>td:nth-child(5),
  79. tr:nth-child(6)>td:nth-child(5) {
  80.     text-align: right;
  81.     padding-right: 4px;
  82. }
  83. td:nth-child(7) {
  84.     text-align: left;
  85.     padding-left: 4px;
  86. }
  87. td:nth-child(2) {
  88.     width: 55px !important;
  89.     margin-right: 4px;
  90.     margin-left: 4px;
  91. }
  92. tr:first-child>td:nth-child(5) {
  93.     border-top-right-radius: 7px;
  94. }
  95. tr:first-child>td:first-child {
  96.     border-top-left-radius: 7px;
  97. }
  98. tr:last-child>td:first-child {
  99.     border-bottom-left-radius: 7px;
  100. }
  101. tr:last-child>td:nth-child(8) {
  102.     border-bottom-right-radius: 7px;
  103. }
  104. .redButton {
  105.     background-image: url("bet-red.png");
  106.     width: 20px;
  107.     height: 20px;
  108.     background-size: 105%;
  109.     border: none;
  110.     background-color: transparent;
  111.     margin-right: 2px;
  112.     margin-left: 2px;
  113. }
  114. .greenButton {
  115.     background-image: url("bet-green.png");
  116.     width: 20px;
  117.     height: 20px;
  118.     background-size: 105%;
  119.     border: none;
  120.     background-color: transparent;
  121.     margin-right: 2px;
  122.     margin-left: 2px;
  123. }
  124. .inactive {
  125.     background-color: rgba(189, 184, 184, 1);
  126.     width: 40%;
  127.     color:red;
  128.     height: 23px;
  129.     width: 32px;
  130. }
  131. .active {
  132.     background-color: rgba(206, 206, 206, 1);
  133.     width: 40%;
  134.     color:green;
  135.     height: 23px;
  136.     width: 32px;
  137. }
  138. .inactive option {
  139.     color: red;
  140. }
  141. .active option {
  142.     color: green;
  143. }
Advertisement
Add Comment
Please, Sign In to add comment