Guest User

Progress Knight

a guest
Jan 3rd, 2021
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.46 KB | None | 0 0
  1. /*****
  2. /
  3. /  Scroll bar removal
  4. /
  5. *****/
  6.  
  7. .scroll {
  8.     overflow: visible;
  9.     height: auto;
  10. }
  11.  
  12.  
  13. /*****
  14. /
  15. /  Optimized fixed positioning and scroll
  16. /  Affects life panel, tabs, tabs content and game title
  17. /
  18. *****/
  19.  
  20. /*  */
  21. h1 {
  22.     position: absolute;
  23.     top: 12px;
  24.     left: 970px;
  25.     z-index: 1;
  26.     font-size: large;
  27.     font-weight: 600;
  28. }
  29. .w3-white {
  30.     position: fixed;
  31. }
  32. .w3-white:nth-child(1) {
  33.  
  34. }
  35. .w3-white:nth-child(2) {
  36.     margin-left: 315px;
  37. }
  38. .w3-white:nth-child(3) {
  39.     margin-top: 55px;
  40.     margin-left: 315px;
  41.     overflow-y: auto;
  42.     height: calc(100vh - 71px);
  43. }
  44.  
  45.  
  46. /*****
  47. /
  48. /  Check box adjustments (ID dependent)
  49. /
  50. *****/
  51.  
  52. #row\ Book .w3-circle,
  53. #row\ Dumbbells .w3-circle,
  54. #row\ Personal\ squire .w3-circle,
  55. #row\ Steel\ longsword .w3-circle,
  56. #row\ Butler .w3-circle,
  57. #row\ Sapphire\ charm .w3-circle,
  58. #row\ Study\ desk .w3-circle,
  59. #row\ Library .w3-circle {
  60.     border-radius: 0;
  61. }
  62.  
  63.  
  64. /*****
  65. /
  66. /  Shop button appearance and hover state
  67. /
  68. *****/
  69.  
  70. .item-button {
  71.     border: 1px solid rgba(0,0,0,0.15);
  72.     border-radius: 4px;
  73.     transition: all 0.3s ease-out;
  74.     box-shadow:
  75.     inset 0 1px 0 rgba(255,255,255,0.5),
  76.     0 2px 2px rgba(0,0,0,0.2),
  77.     0 0 4px 1px rgba(0,0,0,0.1);
  78. }
  79. .item-button:hover {
  80.     background-color: #ddd;
  81. }
  82.  
  83.  
  84. /*****
  85. /
  86. /  Dark mode adjustments
  87. /
  88. *****/
  89.  
  90. body.w3-light-gray {
  91.     background-color: #222;
  92.     color: #ddd;
  93. }
  94. div.w3-white {
  95.     background-color: #333;
  96.     color: #ddd;
  97. }
  98. .item-button {
  99.     background-color: #666;
  100.     color: #ddd;
  101. }
  102. .headerRow {
  103.     background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.15) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.15) 75%, transparent 75%, transparent);
  104.     background-size: 3px 3px;
  105. }
  106. .item-button:hover {
  107.     background-color: #888;
  108. }
  109.  
  110.  
  111. /*****
  112. /
  113. /  Experimental:
  114. /  Progress bar visual changes and animations
  115. /
  116. *****/
  117.  
  118. .progress-bar, .progress-fill {
  119.     border-radius: 4px;
  120.     text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  121. }
  122. .progress-bar.current-pb {
  123.     background: rgb(155, 100, 0);
  124. }
  125. .progress-fill {
  126.     background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  127.     background-size: 40px 40px;
  128. }
  129. @keyframes progress-bar-stripes {
  130.   from {
  131.     background-position: 40px 0;
  132.   }
  133.   to {
  134.     background-position: 0 0;
  135.   }
  136. }
  137. .progress-fill.current {
  138.     animation: progress-bar-stripes 2s linear infinite;
  139. }
Advertisement
Add Comment
Please, Sign In to add comment