Advertisement
Guest User

subreddit FAB

a guest
Sep 5th, 2015
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.13 KB | None | 0 0
  1. /*FAB*/
  2.  
  3. @keyframes pop
  4. {
  5.         0%
  6.         {
  7.                 transform: scale(.4);
  8.                 opacity: 0;
  9.         }
  10.         100%
  11.         {
  12.                 transform: scale(1);
  13.                 opacity: 1;
  14.         }
  15. }
  16. @-webkit-keyframes pop
  17. {
  18.         0%
  19.         {
  20.                 transform: scale(.4);
  21.                 opacity: 0;
  22.         }
  23.         100%
  24.         {
  25.                 transform: scale(1);
  26.                 opacity: 1;
  27.         }
  28. }
  29.  
  30. .morelink
  31. {
  32.         display: none;
  33. }
  34. .loggedin .md > blockquote:first-child > h6
  35. {
  36.         display: block !important;
  37. }
  38. .loggedin .md > blockquote:first-child > h5
  39. {
  40.         display: none !important;
  41. }
  42. .md > blockquote:first-child
  43. {
  44.         position: fixed;
  45.         z-index: 9999;
  46.         right: 10px;
  47.         bottom: 20px;
  48.         display: block;
  49.         width: 56px;
  50.         height: 210px;
  51.         margin: 0;
  52.         padding: 0;
  53.         border: 0;
  54.         border-radius: 50px;
  55. }
  56. .md > blockquote:first-child > h6 > a,
  57. .md > blockquote:first-child > h5 > a
  58. {
  59.         position: relative;
  60.         top: auto !important;
  61.         right: 0;
  62.         display: block;
  63.         width: 100%;
  64.         height: 100%;
  65.         -webkit-animation: none !important;
  66.         animation: none !important;
  67.         border-radius: 50%;
  68.         background: transparent !important;
  69. }
  70. .md > blockquote:first-child > h6:first-child > a
  71. {
  72.         display: none;
  73. }
  74. .md > blockquote:first-child > h6:first-child:hover > a
  75. {
  76.         display: block;
  77. }
  78. .md > blockquote:first-child > h6:first-child > em,
  79. .md > blockquote:first-child > h6:first-child > del
  80. {
  81.         position: absolute;
  82.         top: 20px;
  83.         left: 20px;
  84.         display: block;
  85.         width: 16px;
  86.         height: 16px;
  87.         transition: transform .25s, opacity .25s;
  88.         text-indent: -9999px;
  89.         pointer-events: none;
  90. }
  91. .md > blockquote:first-child > h6:first-child > em
  92. {
  93.         transform: rotate(-.5turn);
  94.         opacity: 0;
  95.         background: transparent url(%%ICON-ONE-NOTHOVER%%) no-repeat center center;
  96.         background-size: 16px 16px;
  97. }
  98. .md > blockquote:first-child > h6:first-child > del
  99. {
  100.         transform: rotate(0turn);
  101.         opacity: 1;
  102.         background: transparent url(%%ICON-ONE-HOVER%%) no-repeat center center;
  103.         background-size: 16px 16px;
  104. }
  105. .md > blockquote:first-child:hover > h6:first-child > em
  106. {
  107.         transform: rotate(0turn);
  108.         opacity: 1;
  109. }
  110. .md > blockquote:first-child:hover > h6:first-child > del
  111. {
  112.         transform: rotate(.5turn);
  113.         opacity: 0;
  114. }
  115. .md > blockquote:first-child > h6 > a > strong,
  116. .md > blockquote:first-child > h5 > a > strong
  117. {
  118.         font-size: 13px;
  119.         line-height: 13px;
  120.         position: absolute;
  121.         top: 7px;
  122.         right: 125%;
  123.         display: block;
  124.         box-sizing: content-box !important;
  125.         height: 13px;
  126.         padding: 6px 8px;
  127.         transition: opacity .3s;
  128.         white-space: nowrap;
  129.         pointer-events: none;
  130.         opacity: 0;
  131.         color: white;
  132.         border-radius: 2px;
  133.         background: #000;
  134. }
  135. .md > blockquote:first-child > h6 > a:hover > strong,
  136. .md > blockquote:first-child > h5 > a:hover > strong
  137. {
  138.         pointer-events: all;
  139.         opacity: .8;
  140. }
  141. .md > blockquote:first-child > h6:first-child > a > strong,
  142. .md > blockquote:first-child > h5 > a > strong
  143. {
  144.         top: 13px;
  145. }
  146. .md > blockquote:first-child > h6:first-child,
  147. .md > blockquote:first-child > h5
  148. {
  149.         position: absolute;
  150.         z-index: 99;
  151.         right: 0;
  152.         bottom: 0;
  153.         display: none;
  154.         width: 56px;
  155.         height: 56px;
  156.         margin: 0;
  157.         transition: all .25s ease;
  158.         transition: .25s background-color ease-in;
  159.         -webkit-animation: pop .4s ease 0s 1 running;
  160.         animation: pop .4s ease 0s 1 running;
  161.         border: none !important;
  162.         border-radius: 100px;
  163.         background-repeat: no-repeat !important;
  164.         background-position: center center !important;
  165.         background-size: 16px 16px, 1% 1%;
  166.         box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
  167. }
  168. .md > blockquote:first-child > h5
  169. {
  170.         display: block;
  171.         background-color: #fff;
  172.         background-image: url(%%ICON-LOGIN%%);
  173. }
  174. .md > blockquote:first-child:hover > h6:not(:first-child)
  175. {
  176.         transform: scale(1);
  177.         opacity: 1;
  178. }
  179. .md > blockquote:first-child:hover > h6:nth-child(2)
  180. {
  181.         transition-delay: .0s;
  182. }
  183. .md > blockquote:first-child:hover > h6:nth-child(3)
  184. {
  185.         transition-delay: .05s;
  186. }
  187. .md > blockquote:first-child:hover > h6:nth-child(4)
  188. {
  189.         transition-delay: .1s;
  190. }
  191. .md > blockquote:first-child > h6:not(:first-child)
  192. {
  193.         position: absolute;
  194.         z-index: 99;
  195.         right: 8px;
  196.         display: none;
  197.         width: 40px;
  198.         height: 40px;
  199.         transition: .1s opacity ease-in,.1s transform ease-in;
  200.         transform: scale(.8);
  201.         opacity: 0;
  202.         border: none;
  203.         border-radius: 100px;
  204.         background-repeat: no-repeat !important;
  205.         background-position: center center !important;
  206.         background-size: 16px 16px, 1% 1%;
  207.         box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);;
  208. }
  209. .md > blockquote:first-child > h6:nth-child(2)
  210. {
  211.         bottom: 66px;
  212.         transition-delay: .1s;
  213.         background-image: url(%%ICON-TWO%%);
  214. }
  215. .md > blockquote:first-child > h6:nth-child(3)
  216. {
  217.         bottom: 116px;
  218.         transition-delay: .05s;
  219.         background-image: url(%%ICON-THREE%%);
  220. }
  221. .md > blockquote:first-child > h6:nth-child(4)
  222. {
  223.         bottom: 166px;
  224.         transition-delay: .0s;
  225.         background-image: url(%%ICON-FOUR%%);
  226. }
  227. .md > blockquote:first-child > h5:active
  228. {
  229.         background-color: #e0e0e0;
  230. }
  231.  
  232. .morelink a
  233. {
  234.         font-family: arial, sans-serif;
  235.         font-size: 15px;
  236.         font-weight: bold;
  237.         line-height: 32px;
  238.         letter-spacing: 0;
  239. }
  240.  
  241. .morelink a:hover
  242. {
  243.         text-decoration: none;
  244. }
  245.  
  246. .disabled .morelink,
  247. .disabled .morelink:hover
  248. {
  249.         opacity: .8;
  250.         background-color: #bdbdbd;
  251.         box-shadow: none;
  252. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement