Diesel0307

Stylesheet

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