BTGp1

tongaCSS

Apr 5th, 2018
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. #game
  2. {
  3. background:#fff;
  4. font-size:12px;
  5. color:rgba(0,0,0,0.9);
  6. text-shadow:none;
  7. }
  8.  
  9.  
  10. .box
  11. {
  12. text-align:center;
  13. padding:0px;
  14. box-shadow:none;
  15. }
  16. .thing,.box-header,.box-footer,.box-bit
  17. {
  18. background:rgba(255,255,255,0.5);
  19. border:1px solid rgba(0,0,0,0.9);
  20. margin:1px;
  21. }
  22. .thing:hover
  23. {
  24. background:rgba(255,255,255,0.75);
  25. }
  26.  
  27. .box-header
  28. {
  29. margin-bottom:4px;
  30. }
  31. .box-footer
  32. {
  33. margin-top:4px;
  34. }
  35.  
  36. .title
  37. {
  38. text-decoration:underline;
  39. }
  40.  
  41. #box-main
  42. {
  43. left:0px;
  44. top:0px;
  45. bottom:0px;
  46. overflow:hidden;
  47. width:60%;
  48. position:absolute;
  49. }
  50. #box-res.fullWidth
  51. {
  52. width:100%;
  53. top:5%;
  54. height:5%;
  55. min-height:32px;
  56. z-index:100;
  57. position:absolute;
  58. }
  59. #box-buttons
  60. {
  61. top:0px;
  62. right:0px;
  63. bottom:0px;
  64. left:0px;
  65. position:absolute;
  66. }
  67. #box-store
  68. {
  69. right:0px;
  70. top:0px;
  71. bottom:0px;
  72. width:40%;
  73. position:absolute;
  74. }
  75. #box-buildings,#box-upgrades
  76. {
  77. top:0px;
  78. bottom:0px;
  79. width:50%;
  80. right:0%;
  81. overflow-x:hidden;
  82. overflow-y:scroll;
  83. padding-bottom:48px;/* this is to accommodate the info and settings buttons */
  84. position:absolute;
  85. }
  86. #box-buildings
  87. {right:50%;}
  88.  
  89. #box-buildings>.box-header
  90. {
  91. padding-bottom:16px;
  92. }
  93. #bulkDisplay
  94. {
  95. margin:-20px 24px 6px 24px;
  96. border:none;
  97. background:transparent;
  98. }
  99.  
  100.  
  101. .thing
  102. {
  103. display:inline-block;
  104. padding:0px;
  105. cursor:pointer;
  106. }
  107. .thing:active
  108. {
  109. opacity:0.5;
  110. }
  111. .upgrade.owned,.achiev.owned
  112. {
  113. box-shadow:0px 0px 0px 4px rgba(0,0,0,0.5) inset;
  114. }
  115. .thing.cantAfford
  116. {
  117. opacity:0.4;
  118. }
  119. .upgrade.cantAfford
  120. {
  121. border:none;
  122. opacity:0.4;
  123. }
  124.  
  125. .thing-costs{font-weight:bold;text-shadow:1px 1px 0px rgba(0,0,0,0.5);}
  126. .cost.hasEnough{color:#0f0;}
  127. .cost.notEnough{color:#f00;}
  128.  
  129.  
  130. .button>.thing-text
  131. {
  132. text-decoration:underline;
  133. }
  134.  
  135. .building
  136. {
  137. display:block;
  138. margin-right:0px;
  139. font-size:14px;
  140. }
  141.  
  142. .fullWidth
  143. {
  144. display:block;
  145. margin-left:0px;
  146. margin-right:0px;
  147. z-index:10;
  148. }
  149. #game .fullWidth
  150. {
  151. height:auto;
  152. min-height:auto;
  153. }
  154. .fullWidth,.fullWidth:hover
  155. {
  156. background:rgba(0,0,0,0.75);
  157. box-shadow:none;
  158. color:#fff;
  159. }
  160. .fullWidth:before,.fullWidth:after
  161. {
  162. content:'';
  163. height:1px;
  164. background:rgba(255,255,255,0.75);
  165. position:absolute;
  166. left:0px;
  167. right:0px;
  168. z-index:-1;
  169. }
  170. .fullWidth:before{top:-1px;}
  171. .fullWidth:after{bottom:-1px;}
  172.  
  173. .fullWidth .thing-icon
  174. {
  175. margin-top:-10px;
  176. margin-bottom:-10px;
  177. }
  178. .fullWidth .thing-text
  179. {
  180. margin-top:-4px;
  181. margin-bottom:-4px;
  182. }
  183.  
  184. .listing
  185. {
  186. font-weight:normal;
  187. }
  188.  
  189. #game.filtersOn .thing-icon{filter:drop-shadow(3px 3px 1px rgba(0,0,0,0.5));}
  190.  
  191. #game.filtersOn .thing.cantAfford.notOwned
  192. {
  193. filter:blur(3px);
  194. }
Add Comment
Please, Sign In to add comment