pen-menus.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. #page .pen_jump_menu {
  2. min-width: 150px;
  3. position: absolute;
  4. right: 10px;
  5. top: 10px;
  6. z-index: 100000;
  7. }
  8. #pen_section > .pen_jump_menu {
  9. top: 80px;
  10. }
  11. #page .pen_jump_menu h4 {
  12. background: #333;
  13. background: -ms-linear-gradient(325deg, #404040 0%, #a0a0a0 100%);
  14. background: linear-gradient(125deg, #404040 0%, #a0a0a0 100%);
  15. border-radius: 5px 20px 0 0;
  16. color: rgba(255,255,255,0.75);
  17. font-size: 12px;
  18. line-height: 1.5;
  19. margin: 0;
  20. padding: 5px 40px 5px 10px;
  21. text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  22. }
  23. #page .pen_jump_menu h4 span {
  24. color: #fff;
  25. display: block;
  26. font-weight: bold;
  27. }
  28. #page .pen_jump_menu h4 span span.pen_only {
  29. background: #7f7f7f;
  30. border-radius: 100px;
  31. box-shadow: 1px 1px 3px rgba(0,0,0,0.75) inset;
  32. color: #fff;
  33. cursor: help;
  34. display: inline-block;
  35. font-size: 0.857em;
  36. font-weight: bold;
  37. margin: 0 5px 0 0;
  38. padding-left: 5px;
  39. padding-right: 5px;
  40. text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  41. }
  42. #page .pen_jump_menu button.pen_toggle {
  43. background: transparent !important;
  44. border: 0 none !important;
  45. cursor: pointer;
  46. height: 32px;
  47. line-height: 1.5;
  48. opacity: 0.5;
  49. position: absolute;
  50. right: 0;
  51. top: 0;
  52. transition: opacity .3s;
  53. width: 32px;
  54. }
  55. #page .pen_jump_menu .pen_toggle:focus,
  56. #page .pen_jump_menu .pen_toggle:hover,
  57. #page .pen_jump_menu .pen_toggle:active,
  58. #page *:hover > .pen_jump_menu .pen_toggle {
  59. opacity: 1;
  60. }
  61. #page .pen_jump_menu .pen_toggle:before,
  62. #page .pen_jump_menu .pen_toggle:after {
  63. border-radius: 100px;
  64. content: '';
  65. height: 32px;
  66. position: absolute;
  67. right: 0;
  68. top: 0;
  69. width: 32px;
  70. }
  71. #page .pen_jump_menu .pen_toggle:before {
  72. background: rgba(0,0,0,0.25);
  73. border: 2px solid #fff;
  74. box-shadow: 0 0 5px rgba(0,0,0,0.5), 0 0 1px #000;
  75. color: #fff;
  76. content: "\f040";
  77. font-family: "FontAwesome";
  78. font-size: 18px;
  79. font-weight: normal;
  80. text-align: center;
  81. text-shadow: 0 0 5px rgba(0,0,0,0.5), 0 0 1px #000;
  82. }
  83. #page .pen_jump_menu .pen_toggle:after {
  84. border: 1px solid rgba(255,255,255,0.5);
  85. box-shadow: 0 0 2px rgba(0,0,0,0.2), 0 0 2px rgba(0,0,0,0.2) inset;
  86. }
  87. #page *:hover > .pen_jump_menu .pen_toggle:not(.pen_expanded):after {
  88. animation: pen_jump_menu_toggle 10s infinite ease-in-out;
  89. display: block;
  90. }
  91. #page .pen_jump_menu .pen_toggle:not(.pen_expanded):after,
  92. #page *:hover > .pen_jump_menu:not(.pen_expanded):pen_menu_wrapper:hover .pen_toggle:after {
  93. display: none;
  94. }
  95. @keyframes pen_jump_menu_toggle {
  96. 0% {
  97. transform: scale(1,1);
  98. }
  99. 5%,
  100. 100% {
  101. opacity: 0;
  102. transform: scale(2,2);
  103. }
  104. }
  105. #page .pen_jump_menu .pen_toggle.pen_expanded:before {
  106. background: #a00;
  107. content: "\f00d" !important;
  108. }
  109. #page .pen_jump_menu .pen_menu_wrapper {
  110. border-radius: 5px 20px 5px 5px;
  111. box-shadow: 0 2px 7px rgba(0,0,0,0.5);
  112. }
  113. #page .pen_jump_menu ul {
  114. list-style: none !important;
  115. margin: 0 !important;
  116. padding: 0 !important;
  117. width: 100%;
  118. }
  119. #page .pen_jump_menu ul li,
  120. #page .pen_jump_menu ul a {
  121. clear: both;
  122. float: left;
  123. width: 100%;
  124. }
  125. #page .pen_jump_menu ul a {
  126. background: rgba(240,240,240,0.95);
  127. border-bottom: 1px solid #ccc;
  128. color: #04a !important;
  129. font-size: 12px;
  130. font-weight: bold;
  131. line-height: 1.3;
  132. margin: 0;
  133. padding: 7px 10px;
  134. text-decoration: none;
  135. text-shadow: none;
  136. transition: unset !important;
  137. }
  138. #page .pen_jump_menu ul li:last-child a {
  139. border: 0 none;
  140. border-radius: 0 0 5px 5px;
  141. }
  142. #page .pen_jump_menu ul a:focus,
  143. #page .pen_jump_menu ul a:hover,
  144. #page .pen_jump_menu ul a:active {
  145. background: rgba(0,70,170,0.95);
  146. color: #fff !important;
  147. }
  148. #page .pen_jump_menu ul a span {
  149. border: 0 none !important;
  150. clip: rect(1px,1px,1px,1px);
  151. clip: rect(1px 1px 1px 1px);
  152. height: 1px !important;
  153. margin: 0 !important;
  154. overflow: hidden !important;
  155. padding: 0 !important;
  156. position: absolute !important;
  157. width: 1px !important;
  158. }
  159. #page .pen_jump_menu#pen_jump_menu_color_schemes,
  160. #page .pen_jump_menu#pen_jump_menu_font_presets {
  161. bottom: 100px;
  162. left: calc(50% - 175px);
  163. right: auto;
  164. position: fixed;
  165. top: auto;
  166. }
  167. #page .pen_jump_menu#pen_jump_menu_font_presets {
  168. left: calc(50% - 125px);
  169. }
  170. #page .pen_jump_menu#pen_jump_menu_color_schemes .pen_toggle:before {
  171. content: "\f1fc";
  172. }
  173. #page .pen_jump_menu#pen_jump_menu_font_presets .pen_toggle:before {
  174. content: "\f031";
  175. }
  176. #pen_jump_menu_color_schemes li {
  177. position: relative;
  178. }
  179. #pen_jump_menu_color_schemes li:before {
  180. border-radius: 3px;
  181. content: "";
  182. left: 5px;
  183. height: 14px;
  184. position: absolute;
  185. top: 50%;
  186. transform: translateY(-50%);
  187. width: 14px;
  188. z-index: 200;
  189. }
  190. #pen_jump_menu_color_schemes li a {
  191. padding-left: 25px !important;
  192. position: relative;
  193. z-index: 100;
  194. }
  195. #pen_jump_menu_color_schemes li:nth-child(1):before {
  196. background: -ms-linear-gradient(325deg, #00a9ff 0%, #000000 100%);
  197. background: linear-gradient(125deg, #00a9ff 0%, #000000 100%);
  198. }
  199. #pen_jump_menu_color_schemes li:nth-child(2):before {
  200. background: -ms-linear-gradient(325deg, #fb7c00 0%, #000000 100%);
  201. background: linear-gradient(125deg, #fb7c00 0%, #000000 100%);
  202. }
  203. #pen_jump_menu_color_schemes li:nth-child(3):before {
  204. background: -ms-linear-gradient(325deg, #00ac81 0%, #000000 100%);
  205. background: linear-gradient(125deg, #00ac81 0%, #000000 100%);
  206. }
  207. #pen_jump_menu_color_schemes li:nth-child(4):before {
  208. background: -ms-linear-gradient(325deg, #4b00f2 0%, #000000 100%);
  209. background: linear-gradient(125deg, #4b00f2 0%, #000000 100%);
  210. }
  211. #pen_jump_menu_color_schemes li:nth-child(5):before {
  212. background: -ms-linear-gradient(325deg, #003078 0%, #000000 100%);
  213. background: linear-gradient(125deg, #003078 0%, #000000 100%);
  214. }
  215. #pen_jump_menu_color_schemes li:nth-child(6):before {
  216. background: -ms-linear-gradient(325deg, #7f447f 0%, #000000 100%);
  217. background: linear-gradient(125deg, #7f447f 0%, #000000 100%);
  218. }
  219. #pen_jump_menu_color_schemes li:nth-child(7):before {
  220. background: -ms-linear-gradient(325deg, #c00000 0%, #000000 100%);
  221. background: linear-gradient(125deg, #c00000 0%, #000000 100%);
  222. }
  223. #pen_jump_menu_color_schemes li:nth-child(8):before {
  224. background: -ms-linear-gradient(325deg, #df00d2 0%, #000000 100%);
  225. background: linear-gradient(125deg, #df00d2 0%, #000000 100%);
  226. }
  227. #pen_jump_menu_color_schemes li:nth-child(9):before {
  228. background: -ms-linear-gradient(325deg, #8bcb00 0%, #000000 100%);
  229. background: linear-gradient(125deg, #8bcb00 0%, #000000 100%);
  230. }
  231. #pen_jump_menu_color_schemes li:nth-child(10):before {
  232. background: -ms-linear-gradient(325deg, #ffd800 0%, #000000 100%);
  233. background: linear-gradient(125deg, #ffd800 0%, #000000 100%);
  234. }
  235. #pen_jump_menu_color_schemes li:nth-child(11):before {
  236. background: -ms-linear-gradient(325deg, #00d3cf 33%, #000000 34%, #000000 74%, #255d5b 75%);
  237. background: linear-gradient(125deg, #00d3cf 33%, #000000 34%, #000000 74%, #255d5b 75%);
  238. }
  239. #pen_jump_menu_color_schemes li:nth-child(12):before {
  240. background: -ms-linear-gradient(325deg, #00b7ff 33%, #000000 34%, #000000 74%, #555555 75%);
  241. background: linear-gradient(125deg, #00b7ff 33%, #000000 34%, #000000 74%, #555555 75%);
  242. }
  243. #pen_jump_menu_color_schemes li:nth-child(13):before {
  244. background: -ms-linear-gradient(325deg, #f07c45 33%, #000000 34%, #000000 74%, #ffffff 75%);
  245. background: linear-gradient(125deg, #f07c45 33%, #000000 34%, #000000 74%, #ffffff 75%);
  246. }
  247. #pen_jump_menu_color_schemes li:nth-child(14):before {
  248. background: -ms-linear-gradient(325deg, #3c97de 33%, #00050a 34%, #00050a 74%, #ffca00 75%);
  249. background: linear-gradient(125deg, #3c97de 33%, #00050a 34%, #00050a 74%, #ffca00 75%);
  250. }
  251. #pen_jump_menu_color_schemes li:nth-child(15):before {
  252. background: -ms-linear-gradient(325deg, #ffed00 33%, #072b5f 34%, #072b5f 74%, #1a74cc 75%);
  253. background: linear-gradient(125deg, #ffed00 33%, #072b5f 34%, #072b5f 74%, #1a74cc 75%);
  254. }