Advertisement
MiningcookiesVIII

BigBlueMod

Aug 31st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. //This stylesheet is almost entirely copied from Orteil's Big Blue, which can be found here: //http://orteil.dashnet.org/igm/stuff/bigBlue.css
  2. //I only made some extremely slight changes to prevent a few problems with conflicting styles.
  3. .box
  4. {
  5. text-align:center;
  6. padding:0px;
  7. box-shadow:none;
  8. }
  9.  
  10. .thing,.box-header,.box-footer,.box-bit
  11. {
  12. background:#39f;
  13. 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;
  14. }
  15. .box-bit{border-radius:20px;}
  16.  
  17. .box-header
  18. {
  19. border-bottom-left-radius:20px;
  20. border-bottom-right-radius:20px;
  21. margin-bottom:4px;
  22. }
  23. .box-footer
  24. {
  25. border-top-left-radius:20px;
  26. border-top-right-radius:20px;
  27. margin-top:4px;
  28. }
  29.  
  30.  
  31. #box-main
  32. {
  33. left:0px;
  34. top:0px;
  35. bottom:0px;
  36. overflow:hidden;
  37. width:60%;
  38. position:absolute;
  39. }
  40. #box-res.fullWidth
  41. {
  42. width:100%;
  43. top:5%;
  44. height:5%;
  45. min-height:32px;
  46. z-index:100;
  47. position:absolute;
  48. }
  49. #box-buttons
  50. {
  51. top:0px;
  52. right:0px;
  53. bottom:0px;
  54. left:0px;
  55. position:absolute;
  56. }
  57. #box-store
  58. {
  59. right:0px;
  60. top:0px;
  61. bottom:0px;
  62. width:40%;
  63. position:absolute;
  64. }
  65. #box-buildings,#box-upgrades
  66. {
  67. top:0px;
  68. bottom:0px;
  69. width:50%;
  70. right:0%;
  71. overflow-x:hidden;
  72. overflow-y:scroll;
  73. padding-bottom:48px;/* this is to accommodate the info and settings buttons */
  74. position:absolute;
  75. }
  76. #box-buildings
  77. {right:50%;}
  78.  
  79. #box-buildings{background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0.25) 20%);}
  80. #box-upgrades{background:rgba(0,0,0,0.3);}
  81.  
  82. #bulkDisplay{margin:-11px 24px 4px 24px;}
  83.  
  84.  
  85. .thing
  86. {
  87. display:inline-block;
  88. padding:0px;
  89. margin:2px;
  90. cursor:pointer;
  91. }
  92. .thing:hover,.thing.lit
  93. {
  94. background:#6cf;
  95. }
  96. .thing.cantAfford
  97. {
  98. opacity:0.65;
  99. }
  100. .upgrade.cantAfford
  101. {
  102. box-shadow:0px 0px 4px #39f;
  103. border-radius:8px;
  104. }
  105. .upgrade.cantAfford:hover
  106. {
  107. box-shadow:0px 0px 4px #6cf;
  108. }
  109. .upgrade.owned,.achiev.owned
  110. {
  111. background:#6cf;
  112. }
  113. .thing-text,.thing-costs{font-weight:bold;}
  114.  
  115. .building
  116. {
  117. border-top-left-radius:20px;
  118. border-bottom-left-radius:20px;
  119. display:block;
  120. margin-right:0px;
  121. font-size:14px;
  122. }
  123.  
  124. .fullWidth
  125. {
  126. display:block;
  127. margin-left:0px;
  128. margin-right:0px;
  129. z-index:10;
  130. }
  131. #game .fullWidth
  132. {
  133. height:auto;
  134. min-height:auto;
  135. }
  136. .fullWidth,.fullWidth:hover
  137. {
  138. /*background:rgba(0,0,0,0.5);
  139. 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%);*/
  140. background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0.25) 50%,rgba(0,0,0,0) 100%);
  141. box-shadow:none;
  142. }
  143. .fullWidth:before,.fullWidth:after
  144. {
  145. content:'';
  146. height:1px;
  147. background:linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,0.25) 50%,rgba(255,255,255,0) 100%);
  148. position:absolute;
  149. left:0px;
  150. right:0px;
  151. z-index:-1;
  152. }
  153. .fullWidth:before{top:-1px;}
  154. .fullWidth:after{bottom:-1px;}
  155.  
  156. .fullWidth .thing-icon
  157. {
  158. margin-top:-14px;
  159. margin-bottom:-14px;
  160. }
  161. .fullWidth .thing-text
  162. {
  163. margin-top:-4px;
  164. margin-bottom:-4px;
  165. }
  166.  
  167. #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
Advertisement