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.

105 lines
1.8 KiB

  1. html, body {
  2. font-family: sans-serif;
  3. margin: 0;
  4. padding: 0;
  5. width: 100%;
  6. height: 100%;
  7. overflow: hidden;
  8. }
  9. body > .content > .page,
  10. body > .content {
  11. position: absolute;
  12. top: 0;
  13. right: 0;
  14. bottom: 0;
  15. left: 0;
  16. width: auto;
  17. height: auto;
  18. z-index: 2;
  19. -webkit-overflow-scrolling: touch;
  20. -webkit-transition:
  21. all 0.2s ease
  22. ;
  23. -moz-transition:
  24. all 0.2s ease
  25. ;
  26. -o-transition:
  27. all 0.2s ease
  28. ;
  29. -ms-transition:
  30. all 0.2s ease
  31. ;
  32. transition:
  33. all 0.2s ease
  34. ;
  35. backface-visibility:hidden;
  36. -webkit-backface-visibility:hidden; /* Chrome and Safari */
  37. -moz-backface-visibility:hidden; /* Firefox */
  38. -ms-backface-visibility:hidden; /* Internet Explorer 10+ */
  39. -webkit-transform: translate3d(0, 0, 0);
  40. -moz-transform: translate3d(0, 0, 0);
  41. -ms-transform: translate3d(0, 0, 0);
  42. -o-transform: translate3d(0, 0, 0);
  43. transform: translate3d(0, 0, 0);
  44. }
  45. body > .content > .page {
  46. overflow: auto;
  47. }
  48. body > .content.drag {
  49. -webkit-transition: none;
  50. -moz-transition: none;
  51. -o-transition: none;
  52. -ms-transition: none;
  53. transition: none;
  54. }
  55. .drawers {
  56. position: absolute;
  57. background-color: #2D2D2D;
  58. top: 0;
  59. right: 0;
  60. bottom: 0;
  61. left: 0;
  62. width: auto;
  63. height: auto;
  64. }
  65. .drawer {
  66. position: absolute;
  67. top: 0;
  68. right: auto;
  69. bottom: 0;
  70. left: auto;
  71. width: 275px;
  72. height: auto;
  73. overflow: auto;
  74. -webkit-touch-callout: none;
  75. -webkit-user-select: none;
  76. -moz-user-select: none;
  77. -ms-user-select: none;
  78. user-select: none;
  79. -webkit-overflow-scrolling: touch;
  80. -webkit-transition: width 0.3s ease;
  81. -moz-transition: width 0.3s ease;
  82. -ms-transition: width 0.3s ease;
  83. -o-transition: width 0.3s ease;
  84. transition: width 0.3s ease;
  85. }
  86. .drawer.left {
  87. left: 0;
  88. z-index: 1;
  89. }
  90. .drawer.right {
  91. right: 0;
  92. z-index: 1;
  93. }