vitaminholland

Goodies — Updates Tab

Feb 15th, 2022 (edited)
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.53 KB | None | 0 0
  1. <!-- 'Updates Tab' by vitaminholland -->
  2.  
  3. <!-- Place this before the CSS part of the code. -->
  4.  
  5. <!-- Font Awesome Script -->
  6.  
  7. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
  8.  
  9. <!-- Hide & Show Script -->
  10.  
  11. <script>
  12. $(document).ready(function(){
  13. $(".update1-content, .update2-content, .update3-content, .update4-content").hide();
  14. $(".update1-title, .update2-title, .update3-title, .update4-title").click(function(){
  15. $(this).next(".update1-content, .update2-content, .update3-content, .update4-content").slideToggle('fast');
  16. });
  17. });
  18. </script>
  19.  
  20. /** Paste this in the CSS part of the code. **/
  21.  
  22. #updates-wrapper {
  23. height: calc(100% - 44.39px);
  24. left: 20px;
  25. top: 20px;
  26. overflow-y: scroll;
  27. position: fixed;
  28. width: 212px;
  29. z-index: 1;
  30. }
  31.  
  32. .update1-title, .update2-title, .update3-title, .update4-title {
  33. background: #000000;
  34. border-radius: 100px;
  35. color: #ffffff;
  36. display: block;
  37. font-size: 0.9rem;
  38. font-variant: normal;
  39. height: 0.9rem;
  40. line-height: 1;
  41. margin-bottom: 10px;
  42. padding: 10px;
  43. text-rendering: auto;
  44. width: 0.9rem;
  45. }
  46.  
  47. .update1-content, .update2-content, .update3-content, .update4-content {
  48. background: #ffffff;
  49. border: 1px solid #eeeeee;
  50. border-radius: 5px;
  51. font-size: 0.9rem;
  52. margin-bottom: 10px;
  53. padding: 20px;
  54. text-align: left;
  55. width: 150px;
  56. }
  57.  
  58. .info li {
  59. border-bottom: 1px solid #eeeeee;
  60. list-style-type: none;
  61. padding-top: 10px;
  62. padding-bottom: 10px;
  63. }
  64.  
  65. .info li:first-child {
  66. padding-top: 0px;
  67. }
  68.  
  69. .info li:last-child {
  70. border-bottom: none;
  71. padding-bottom: 0px;
  72. }
  73.  
  74. .task li {
  75. border-bottom: 1px solid #eeeeee;
  76. list-style-type: none;
  77. padding-top: 10px;
  78. padding-bottom: 10px;
  79. }
  80.  
  81. .task li:first-child {
  82. padding-top: 0px;
  83. }
  84.  
  85. .task li:last-child {
  86. border-bottom: none;
  87. padding-bottom: 0px;
  88. }
  89.  
  90. .watchlist li {
  91. border-bottom: 1px solid #eeeeee;
  92. list-style-type: none;
  93. padding-top: 10px;
  94. padding-bottom: 10px;
  95. }
  96.  
  97. .watchlist li:first-child {
  98. padding-top: 0px;
  99. }
  100.  
  101. .watchlist li:last-child {
  102. border-bottom: none;
  103. padding-bottom: 0px;
  104. }
  105.  
  106. .progress-wrapper {
  107. background: #f0f0f0;
  108. border-radius: 100px;
  109. margin-top: 5px;
  110. padding: 1px;
  111. width: calc(100% - 2px);
  112. }
  113.  
  114. .progress {
  115. background: #fe90c1;
  116. border-radius: 100px;
  117. height: 3px;
  118. }
  119.  
  120. <!-- Paste this in the HTML part of the code. -->
  121.  
  122. <!-- Start of Updates Tab -->
  123.  
  124. <div id="updates-wrapper">
  125.  
  126. <!-- Start of About -->
  127.  
  128. <a class="update1-title" title="About The Blogger"><i class="far fa-user-circle"></i></a>
  129.  
  130. <div class="update1-content">
  131.  
  132. <div class="info">
  133. <li><i class="far fa-smile"></i><font style="float: right;">Name</font></li>
  134. <li><i class="fas fa-check"></i><font style="float: right;">Pronouns</font></li>
  135. <li><i class="fas fa-birthday-cake"></i><font style="float: right;">Age</font></li>
  136. <li><i class="fas fa-globe-americas"></i><font style="float: right;">Location</font></li>
  137. </div>
  138.  
  139. </div>
  140.  
  141. <!-- End of About -->
  142.  
  143. <!-- Start of Tasklist -->
  144.  
  145. <a class="update2-title" title="Tasklist"><i class="fas fa-pen"></i></a>
  146.  
  147. <div class="update2-content">
  148.  
  149. <div class="task">
  150. <li><i class="far fa-check-circle" style="color: #4cbb17"></i> Marathon Disney Movies.</li>
  151. <li><i class="fas fa-spinner" style="color: #ff7800;"></i> Feed the cat.</li>
  152. <li><i class="far fa-times-circle" style="color: #e60000"></i> Sweep the front gate.</li>
  153. </div>
  154.  
  155. </div>
  156.  
  157. <!-- End of Tasklist -->
  158.  
  159. <!-- Start of Watchlist -->
  160.  
  161. <a class="update3-title" title="Currently Watching"><i class="fas fa-play-circle"></i></a>
  162.  
  163. <div class="update3-content">
  164.  
  165. <!-- Start of Watchlist List -->
  166.  
  167. <div class="watchlist">
  168.  
  169. <li>
  170. Julie And The Phantoms: Season One
  171. <div class="progress-wrapper">
  172. <div class="progress" style="width: 65%;"></div>
  173. </div>
  174. </li>
  175.  
  176. <li>
  177. Mean Girls
  178. <div class="progress-wrapper">
  179. <div class="progress" style="width: 50%;"></div>
  180. </div>
  181. </li>
  182.  
  183. <li>
  184. The Princess Switch Series
  185. <div class="progress-wrapper">
  186. <div class="progress" style="width: 85%;"></div>
  187. </div>
  188. </li>
  189.  
  190. </div>
  191.  
  192. <!-- End of Watchlist List -->
  193.  
  194. </div>
  195.  
  196. <!-- End of Watchlist -->
  197.  
  198. <!-- Start of Extra Tab -->
  199.  
  200. <a class="update4-title" title="Extra Tab"><i class="far fa-comment-dots"></i></a>
  201.  
  202. <div class="update4-content">
  203. An extra tab for you to write on. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam nisi lorem, pulvinar id, commodo feugiat, vehicula et, mauris.
  204. </div>
  205.  
  206. <!-- End of Extra Tab -->
  207.  
  208. </div>
  209.  
  210. <!-- End of Updates Tab -->
Add Comment
Please, Sign In to add comment