chellescodes

UPDATES TAB 01 - css

Sep 7th, 2017
1,363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. /* Put this right after <style type="text/css">*/
  2.  
  3. #controls, .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls, .tmblr-iframe-compact .tmblr-iframe--unified-controls {
  4. animation: fadin 2s;
  5. top:calc({text:updates distance from top}px - 50px)!important;
  6. position:fixed!important;
  7. right:calc({text:updates distance from right}px - 15px)!important;
  8. display:none;
  9. z-index:9999999999999;
  10. -webkit-animation: fadein 2s;
  11. -moz-animation: fadein 2s;
  12. -ms-animation: fadein 2s;
  13. -o-animation: fadein 2s;
  14. transform:scale(0.7,0.7);
  15. }
  16.  
  17. #myinfo {
  18. width:225px;
  19. color:{color:updates text};
  20. right:{text:updates distance from right}px;
  21. font-size:10px;
  22. line-height:11px;
  23. margin-top:{text:updates distance from top}px;
  24. height:auto;
  25. background:{color:updates bg};
  26. position:fixed;
  27. overflow:hidden;
  28. border:1px solid {color:updates border};
  29. z-index:99999;
  30.  
  31. }
  32. #infoimg {
  33. display:inline-block;
  34.  
  35. }
  36.  
  37. #tab {
  38. max-height:30px;
  39. height:30px;
  40. padding:0px 10px 0px 10px;
  41. vertical-align:middle;
  42. text-transform:uppercase;
  43. background:{color:updates tab bg};
  44. border:1px solid {color:updates tab border};
  45. font-size:95%;
  46. line-height:30px;
  47. }
  48.  
  49.  
  50.  
  51. #tabcontent {
  52. display:inline-block;
  53. vertical-align:text-top;
  54. }
  55.  
  56. #contenttext {
  57. padding:10px 10px 10px 10px;
  58. }
  59.  
  60. #tab a {
  61. font-weight:500;
  62. }
  63. #tab a:hover, #tab i:hover {
  64. color:{color:updates accent}!important;
  65. -moz-transition-duration:0.4s;
  66. -webkit-transition-duration:0.4s;
  67. -o-transition-duration:0.4s;
  68. }
  69. #infotab {
  70. overflow:hidden;
  71. max-height:30px;
  72. -webkit-transition:all 500ms ease-in;
  73. -moz-transition:all 500ms ease-in;
  74. -o-transition:all 500ms ease-in;
  75. transition:all 500ms ease-in;
  76.  
  77.  
  78. }
  79.  
  80. #infotab:hover {
  81. max-height:150px;
  82. }
  83.  
  84.  
  85. #infotab:hover #tab {
  86. color:{color:updates accent};
  87. }
  88.  
  89.  
  90.  
  91. #infotab #content {
  92. display:block;
  93. }
Advertisement
Add Comment
Please, Sign In to add comment