ISPConfig theme for Open6Hosting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

98 line
2.4 KiB

  1. /*! Pushy - v0.9.1 - 2013-9-16
  2. * Pushy is a responsive off-canvas navigation menu using CSS transforms & transitions.
  3. * https://github.com/christophery/pushy/
  4. * by Christopher Yee */
  5. /* Menu Appearance */
  6. .pushy{
  7. position: fixed;
  8. width: 200px;
  9. height: 100%;
  10. top: 0;
  11. z-index: 9999;
  12. background: #333332;
  13. font-size: 0.9em;
  14. font-weight: bold;
  15. -webkit-box-shadow: inset -10px 0 6px -9px rgba(0, 0, 0, .7);
  16. -moz-box-shadow: inset -10px 0 6px -9px rgba(0, 0, 0, .7);
  17. box-shadow: inset -10px 0 6px -9px rgba(0, 0, 0, .7);
  18. overflow: auto;
  19. -webkit-overflow-scrolling: touch; /* enables momentum scrolling in iOS overflow elements */
  20. }
  21. .pushy a{
  22. display: block;
  23. color: #b3b3b1;
  24. padding: 15px 30px;
  25. border-bottom: 1px solid rgba(0, 0, 0, .1);
  26. border-top: 1px solid rgba(255, 255, 255, .1);
  27. text-decoration: none;
  28. }
  29. .pushy a:hover{
  30. background: #00b4ff;
  31. color: #FFF;
  32. }
  33. /* Menu Movement */
  34. .pushy-left{
  35. -webkit-transform: translate3d(-200px,0,0);
  36. -moz-transform: translate3d(-200px,0,0);
  37. -ms-transform: translate3d(-200px,0,0);
  38. -o-transform: translate3d(-200px,0,0);
  39. transform: translate3d(-200px,0,0);
  40. }
  41. .pushy-open{
  42. -webkit-transform: translate3d(0,0,0);
  43. -moz-transform: translate3d(0,0,0);
  44. -ms-transform: translate3d(0,0,0);
  45. -o-transform: translate3d(0,0,0);
  46. transform: translate3d(0,0,0);
  47. }
  48. .container-push, .push-push{
  49. -webkit-transform: translate3d(200px,0,0);
  50. -moz-transform: translate3d(200px,0,0);
  51. -ms-transform: translate3d(200px,0,0);
  52. -o-transform: translate3d(200px,0,0);
  53. transform: translate3d(200px,0,0);
  54. }
  55. /* Menu Transitions */
  56. .pushy, #container, .push{
  57. -webkit-transition: -webkit-transform .2s cubic-bezier(.16, .68, .43, .99);
  58. -moz-transition: -moz-transform .2s cubic-bezier(.16, .68, .43, .99);
  59. -o-transition: -o-transform .2s cubic-bezier(.16, .68, .43, .99);
  60. transition: transform .2s cubic-bezier(.16, .68, .43, .99);
  61. /* improves performance issues on mobile*/
  62. -webkit-backface-visibility: hidden;
  63. -webkit-perspective: 1000;
  64. }
  65. /* Site Overlay */
  66. .site-overlay{
  67. display: none;
  68. }
  69. .pushy-active .site-overlay{
  70. display: block;
  71. position: fixed;
  72. top: 0;
  73. right: 0;
  74. bottom: 0;
  75. left: 200px;
  76. z-index: 9999;
  77. }
  78. /* Example Media Query */
  79. @media screen and (max-width: 768px){
  80. .pushy{
  81. font-size: 1.0em;
  82. }
  83. }