Lislejoem

Office Clicker CSS

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