Agentperson

(CSS) Idle Game Maker Guide

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