Advertisement
planthed

Updates tabs 2. Step 1

Apr 21st, 2016
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. --------------------------------------------------------------
  2. TOP LEFT
  3. --------------------------------------------------------------
  4.  
  5. /*UPDATES TAB BY PAINTHEMES.TUMBLR.COM*/
  6.  
  7. #updates{
  8. position:fixed !important;
  9. top:40px;
  10. left:40px;
  11. border-bottom:1px solid #ccc; /*bottom border of the update title*/
  12. padding:6px;
  13. width:13px;
  14. height:13px;
  15. z-index:9999999999;
  16. -webkit-transition: all .3s ease-in-out;
  17. -moz-transition: all .3s ease-in-out;
  18. -o-transition: all .3s ease-in-out;
  19. -ms-transition: all .3s ease-in-out;
  20. transition: all .3s ease-in-out;
  21. }
  22.  
  23. #updates:hover{
  24. width:150px;
  25. }
  26.  
  27. .plus{
  28. font-size:12px; /*size of the plus icon*/
  29. color:{color:text};
  30. margin-top:0px;
  31. margin-left:1px;
  32. position:absolute;
  33. -webkit-transition: all .3s ease-in-out;
  34. -moz-transition: all .3s ease-in-out;
  35. -o-transition: all .3s ease-in-out;
  36. -ms-transition: all .3s ease-in-out;
  37. transition: all .3s ease-in-out;
  38. }
  39.  
  40. #updates:hover .plus{
  41. -ms-transform: rotate(42deg); /* IE 9 */
  42. -webkit-transform: rotate(42deg); /* Chrome, Safari, Opera */
  43. transform: rotate(42deg);
  44. }
  45.  
  46. .updatestitle{
  47. height:15px;
  48. margin-top:0px;
  49. width:auto;
  50. visibility:hidden;
  51. font-size:16px;
  52. font-family:montserrat;
  53. color:{color:text};
  54. font-weight:700;
  55. letter-spacing:1px;
  56. text-transform:uppercase;
  57. opacity:0;
  58. margin-left:100px;
  59. position:absolute;
  60. -webkit-transition: all .3s ease-in-out;
  61. -moz-transition: all .3s ease-in-out;
  62. -o-transition: all .3s ease-in-out;
  63. -ms-transition: all .3s ease-in-out;
  64. transition: all .3s ease-in-out;
  65. }
  66.  
  67. #updates:hover .updatestitle{
  68. opacity:1;
  69. margin-left:70px;
  70. visibility:visible;
  71. }
  72.  
  73.  
  74. .box{
  75. width:150px; /*width of your tab*/
  76. color:{color:text}; /*color text*/
  77. font-size:10px; /*text size*/
  78. font-family:open sans;
  79. height:auto;
  80. padding:5px;
  81. margin-left:-6px;
  82. margin-top:20px;
  83. position:relative;
  84. opacity:0;
  85. visibility:hidden;
  86. background:#fff; /*change the color background*/
  87. border-bottom:1px solid #ccc; /*border bottom of your boxes*/
  88. line-height:15px;
  89. -webkit-transition: all .3s ease-in-out;
  90. -moz-transition: all .3s ease-in-out;
  91. -o-transition: all .3s ease-in-out;
  92. -ms-transition: all .3s ease-in-out;
  93. transition: all .3s ease-in-out;
  94. }
  95.  
  96.  
  97. #updates:hover .box{
  98. opacity:1;
  99. margin-top:0px;
  100. visibility:visible;
  101. }
  102.  
  103. /*fonts*/
  104. @import url(https://fonts.googleapis.com/css?family=Open+Sans|Montserrat);
  105.  
  106. /*UPDATES TAB BY PAINTHEMES.TUMBLR.COM*/
  107.  
  108. --------------------------------------------------------------
  109. TOP RIGHT
  110. --------------------------------------------------------------
  111.  
  112. /*UPDATES TAB BY PAINTHEMES.TUMBLR.COM*/
  113.  
  114. #updates{
  115. position:fixed;
  116. top:40px;
  117. right:20px;
  118. border-bottom:1px solid #ccc; /*bottom border of the update title*/
  119. padding:6px;
  120. width:13px;
  121. height:13px;
  122. z-index:9999999999;
  123. -webkit-transition: all .3s ease-in-out;
  124. -moz-transition: all .3s ease-in-out;
  125. -o-transition: all .3s ease-in-out;
  126. -ms-transition: all .3s ease-in-out;
  127. transition: all .3s ease-in-out;
  128. }
  129.  
  130. #updates:hover{
  131. width:150px;
  132. }
  133.  
  134. .plus{
  135. font-size:12px; /*size of the plus icon*/
  136. color:{color:text};
  137. margin-top:0px;
  138. right:8px;
  139. position:absolute;
  140. -webkit-transition: all .3s ease-in-out;
  141. -moz-transition: all .3s ease-in-out;
  142. -o-transition: all .3s ease-in-out;
  143. -ms-transition: all .3s ease-in-out;
  144. transition: all .3s ease-in-out;
  145. }
  146.  
  147. #updates:hover .plus{
  148. -ms-transform: rotate(42deg); /* IE 9 */
  149. -webkit-transform: rotate(42deg); /* Chrome, Safari, Opera */
  150. transform: rotate(42deg);
  151. }
  152.  
  153. .updatestitle{
  154. height:15px;
  155. margin-top:0px;
  156. width:auto;
  157. visibility:hidden;
  158. font-size:16px;
  159. font-family:montserrat;
  160. color:{color:text};
  161. font-weight:700;
  162. letter-spacing:1px;
  163. text-transform:uppercase;
  164. opacity:0;
  165. right:100px;
  166. position:absolute;
  167. -webkit-transition: all .3s ease-in-out;
  168. -moz-transition: all .3s ease-in-out;
  169. -o-transition: all .3s ease-in-out;
  170. -ms-transition: all .3s ease-in-out;
  171. transition: all .3s ease-in-out;
  172. }
  173.  
  174. #updates:hover .updatestitle{
  175. opacity:1;
  176. right:80px;
  177. visibility:visible;
  178. }
  179.  
  180.  
  181. #box{
  182. width:150px; /*width of your tab*/
  183. color:{color:text}; /*color text*/
  184. font-size:10px; /*text size*/
  185. font-family:open sans;
  186. height:auto;
  187. padding:5px;
  188. margin-left:-148px;
  189. visibility:hidden;
  190. margin-top:20px;
  191. position:relative!important;
  192. opacity:0;
  193. background:#fff; /*change the color background*/
  194. border-bottom:1px solid #ccc; /*border bottom of your boxes*/
  195. line-height:15px;
  196. -webkit-transition: all .3s ease-in-out;
  197. -moz-transition: all .3s ease-in-out;
  198. -o-transition: all .3s ease-in-out;
  199. -ms-transition: all .3s ease-in-out;
  200. transition: all .3s ease-in-out;
  201. }
  202.  
  203.  
  204. #updates:hover #box{
  205. opacity:1;
  206. margin-left:-10px;
  207. margin-top:0px;
  208. visibility:visible;
  209. }
  210.  
  211. /*fonts*/
  212. @import url(https://fonts.googleapis.com/css?family=Open+Sans|Montserrat);
  213.  
  214. /*UPDATES TAB BY PAINTHEMES.TUMBLR.COM*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement