succs

CSS

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