Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 KB | None | 0 0
  1. /******************************************************************************/
  2. /** Dropdown Menu Crazy Stuff - from u/MyAlbatross - inspired by r/earthporn **/
  3.  
  4.  
  5. .content>.sitetable, .fancy-settings, body>.content { margin-top: 95px; }
  6.  
  7. .side .titlebox blockquote {
  8. border-left: none;
  9. position: absolute;
  10. z-index: 100;
  11. top: 65px;
  12. left: 0;
  13. margin: 5px 0;
  14. width: calc(100% - 314px);
  15. }
  16.  
  17. .titlebox blockquote ul {
  18. float: right;
  19. padding: 1px;
  20. background: rgba(0, 0, 0, 0);
  21. border: none; margin: 0px;
  22. -webkit-perspective: 400px;
  23. -moz-perspective: 400px;
  24. -ms-perspective: 400px;
  25. -o-perspective: 400px;
  26. perspective: 400px;
  27. float: left;
  28. width:9%;
  29. width: calc(10% - 2px);
  30. max-height: 32px;
  31. overflow:hidden;
  32. }
  33. .side .spacer .titlebox form blockquote ul:hover {
  34. max-height:300px;
  35. overflow:visible;
  36. }
  37. .titlebox blockquote ul li { opacity:0; padding: 0px; text-align: center;max-height:30px; }
  38. .titlebox blockquote li:first-child { font-size: 12pt; padding: 2px; cursor: default;max-height:200px; }
  39. .titlebox blockquote ul li:first-child, .titlebox blockquote ul:hover li { display: block; }
  40. .titlebox blockquote li a { display: block;border:none; }
  41.  
  42. .titlebox blockquote a[href$="/r/NoFap"] {
  43. /*background-image: url("http://d.thumbs.redditmedia.com/4cQ7Uu2nj_41f-Pc.png");*/
  44. width: 100%;
  45. height: 30px;
  46. content: "";
  47. background-position: 0px -1599px;
  48. display: inline-block;
  49. position: relative;
  50. }
  51.  
  52.  
  53.  
  54. .side .spacer .titlebox form blockquote li:first-child {
  55. background: #FAFAFA;
  56. border-radius: 2px;
  57. border: 1px solid #BDC4BD;
  58. text-align:center;
  59. line-height: 30px;
  60. height: 30px;
  61. color: #858A72;
  62. }
  63.  
  64. .side .spacer .titlebox form blockquote li {
  65. background: #E6ECE6;
  66. border-radius: 2px;
  67. border: 1px solid #BDC4BD;
  68. text-align: center;
  69. font-family: sans-serif;
  70. font-size: 12px;
  71. font-weight: bold;
  72. vertical-align: middle;
  73. line-height:30px;
  74. padding: 0;
  75. margin: 0;
  76. text-indent: 0;
  77. white-space: nowrap;
  78. overflow: hidden;
  79. color: #4B4B4B;
  80. cursor:pointer;
  81. }
  82. .side .spacer .titlebox form blockquote ul:hover li { background:#EDF3E4;margin-top: 3px; }
  83. .titlebox blockquote li a { color: brown; }
  84. .titlebox blockquote li:hover > a {
  85. color: #C4302B;
  86. }
  87.  
  88. .titlebox blockquote ul li {
  89.  
  90. max-height: 0;
  91.  
  92. -webkit-transform: rotateY(90deg);
  93. -moz-transform: rotateY(90deg);
  94. -ms-transform: rotateY(90deg);
  95. -o-transform: rotateY(90deg);
  96. transform: rotateY(90deg);
  97.  
  98. -webkit-transition: none;
  99. -moz-transition: none;
  100. -ms-transition: none;
  101. -o-transition: none;
  102. transition: none;
  103. }
  104.  
  105.  
  106. .titlebox blockquote ul li:first-child, .titlebox blockquote ul:hover li, .titlebox blockquote ul:focus li:first-child {
  107. opacity: 1;
  108. max-height:200px;
  109.  
  110. -webkit-transform: none;
  111. -moz-transform: none;
  112. -ms-transform: none;
  113. -o-transform: none;
  114. transform: none;
  115.  
  116. -webkit-transition: opacity .4s, -webkit-transform .5s;
  117. -moz-transition: opacity .4s, -moz-transform .5s;
  118. -ms-transition: opacity .4s, -ms-transform .5s;
  119. -o-transition: opacity .4s, -o-transform .5s;
  120. transition: opacity .4s, transform .5s;
  121. }
  122. .titlebox blockquote ul:hover li:nth-child(2) {
  123. -webkit-transition-delay: .05s;
  124. -moz-transition-delay: .05s;
  125. -ms-transition-delay: .05s;
  126. -o-transition-delay: .05s;
  127. transition-delay: .05s;
  128. }
  129. .titlebox blockquote ul:hover li:nth-child(3) {
  130. -webkit-transition-delay: .15s;
  131. -moz-transition-delay: .15s;
  132. -ms-transition-delay: .15s;
  133. -o-transition-delay: .15s;
  134. transition-delay: .15s;
  135. }
  136.  
  137. .titlebox blockquote ul:hover li:nth-child(4),
  138. .titlebox blockquote ul:hover li:nth-child(5),
  139. .titlebox blockquote ul:hover li:nth-child(6) {
  140. -webkit-transition-delay: .25s;
  141. -moz-transition-delay: .25s;
  142. -ms-transition-delay: .25s;
  143. -o-transition-delay: .25s;
  144. transition-delay: .25s;
  145. }
  146.  
  147. /*overcome r/noFapWar styles */
  148. .side blockquote ul:nth-child(13)>li:before { display:none; }
  149. .side .md blockquote ul li:nth-child(2) { width:9%;width: calc(10% - 2px); }
  150. .side .md blockquote ul li:after { display:none; }
  151.  
  152. /* width and positioning for the menu */
  153. .side .titlebox>form .usertext-body .md blockquote ul li {
  154. width: 240px;
  155. margin-left: -80px;
  156. height:auto;
  157. box-shadow: inset 0 0 36px -22px #000, 0 2px 9px -3px #808080;
  158. }
  159. .side .titlebox>form .usertext-body .md blockquote ul:first-child li {
  160. width: 260px;
  161. margin-left: 0px;
  162. }
  163. .side .titlebox>form .usertext-body .md blockquote ul li:first-child {
  164. width: auto;
  165. margin-left: 0;
  166. margin-top: 0;
  167. }
  168.  
  169. .side blockquote .RESUserTag, .side blockquote .voteWeight {
  170. display: none !important;
  171. }
  172. .side .titlebox>form .usertext-body .md blockquote ul li:nth-child(5) {
  173. border-top: 0; border-bottom: 0; line-height: 1.4em; border-radius: 0; background: #F7F7F7; margin-top: 0;
  174. cursor:default;
  175. box-shadow:0 3px 9px -3px #808080;
  176. }
  177. .side .titlebox>form .usertext-body .md blockquote ul li:nth-child(4) {
  178. border-bottom: 0;
  179. border-radius: 0; background: #F7F7F7;
  180. cursor:default;
  181. color:orangered;
  182. box-shadow:0 3px 9px -3px #808080;
  183. }
  184. .side .titlebox>form .usertext-body .md blockquote ul li:nth-child(6) {
  185. border-top: 0;
  186. margin-top: 0px;
  187. border-radius: 0; background: #F7F7F7;
  188. cursor:default;
  189. box-shadow:0 3px 9px -3px #808080;
  190. }
  191. .side .titlebox>form .usertext-body .md blockquote ul li:nth-child(4) em {
  192. color:#B7B1D3;
  193. }
  194. .titlebox blockquote li:hover>a {
  195. color: #4D5749;
  196. }
  197. .titlebox blockquote li a {
  198. color: #6B7555;
  199. font-family: 'Stencil Std','Stencil', 'portagoITC', verdana,arial,helvetica,sans-serif;
  200. font-weight: normal;
  201. font-size: 16px;
  202. letter-spacing: 2px;
  203. }
  204.  
  205. .side .titlebox blockquote p {
  206. width: 1px;
  207. height: 0px;
  208. margin: 0;
  209. padding: 0;
  210. float: left;
  211. position: relative;
  212. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement