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.

158 lines
2.8 KiB

  1. body {
  2. -webkit-transition: margin .3s ease,-webkit-transform .3s ease;
  3. transition: margin .3s ease,transform .3s ease;
  4. }
  5. .ui.sidebar {
  6. position: fixed;
  7. margin: 0!important;
  8. height: 100%!important;
  9. border-radius: 0!important;
  10. -webkit-box-sizing: border-box;
  11. -moz-box-sizing: border-box;
  12. -ms-box-sizing: border-box;
  13. box-sizing: border-box;
  14. -ms-overflow-y: auto;
  15. overflow-y: auto;
  16. top: 0;
  17. right: 0;
  18. z-index: 999;
  19. -webkit-transition: margin-right .3s ease,margin-top .3s ease;
  20. transition: margin-right .3s ease,margin-top .3s ease;
  21. }
  22. .ui.right.sidebar {
  23. right: 100%;
  24. margin: 0!important;
  25. }
  26. .ui.top.sidebar {
  27. width: 100%!important;
  28. }
  29. .ui.bottom.sidebar {
  30. width: 100%!important;
  31. top: 100%;
  32. margin: 0!important;
  33. }
  34. .ui.active.sidebar {
  35. margin-right: 0!important;
  36. }
  37. .ui.active.top.sidebar,
  38. .ui.active.bottom.sidebar {
  39. margin-top: 0!important;
  40. }
  41. .ui.styled.sidebar {
  42. padding: 1em 1.5em;
  43. background-color: #FFF;
  44. -webkit-box-shadow: 1px 0 0 rgba(0,0,0,.1);
  45. box-shadow: 1px 0 0 rgba(0,0,0,.1);
  46. }
  47. .ui.styled.very.thin.sidebar {
  48. padding: .5em;
  49. }
  50. .ui.styled.thin.sidebar {
  51. padding: 1em;
  52. }
  53. .ui.floating.sidebar {
  54. -webkit-box-shadow: 2px 0 2px rgba(0,0,0,.2);
  55. box-shadow: 2px 0 2px rgba(0,0,0,.2);
  56. }
  57. .ui.right.floating.sidebar {
  58. -webkit-box-shadow: -2px 0 2px rgba(0,0,0,.2);
  59. box-shadow: -2px 0 2px rgba(0,0,0,.2);
  60. }
  61. .ui.top.floating.sidebar {
  62. -webkit-box-shadow: 0 4px 4px rgba(0,0,0,.2);
  63. box-shadow: 0 4px 4px rgba(0,0,0,.2);
  64. }
  65. .ui.bottom.floating.sidebar {
  66. -webkit-box-shadow: 0 -4px 4px rgba(0,0,0,.2);
  67. box-shadow: 0 -4px 4px rgba(0,0,0,.2);
  68. }
  69. .ui.very.thin.sidebar {
  70. width: 60px!important;
  71. margin-right: -60px!important;
  72. }
  73. .ui.active.very.thin.sidebar {
  74. margin-right: 0!important;
  75. }
  76. .ui.active.right.very.thin.sidebar {
  77. margin-right: -60px!important;
  78. }
  79. .ui.thin.sidebar {
  80. width: 200px!important;
  81. margin-right: -200px!important;
  82. }
  83. .ui.active.thin.sidebar {
  84. margin-right: 0!important;
  85. }
  86. .ui.active.right.thin.sidebar {
  87. margin-right: -200px!important;
  88. }
  89. .ui.sidebar {
  90. width: 275px!important;
  91. margin-right: -275px!important;
  92. }
  93. .ui.active.sidebar {
  94. margin-right: 0!important;
  95. }
  96. .ui.active.right.sidebar {
  97. margin-right: -275px!important;
  98. }
  99. .ui.wide.sidebar {
  100. width: 350px!important;
  101. margin-right: -350px!important;
  102. }
  103. .ui.active.wide.sidebar {
  104. margin-right: 0!important;
  105. }
  106. .ui.active.right.wide.sidebar {
  107. margin-right: -350px!important;
  108. }
  109. .ui.very.wide.sidebar {
  110. width: 475px!important;
  111. margin-right: -475px!important;
  112. }
  113. .ui.active.very.wide.sidebar {
  114. margin-right: 0!important;
  115. }
  116. .ui.active.right.very.wide.sidebar {
  117. margin-right: -475px!important;
  118. }
  119. .ui.top.sidebar {
  120. margin: -40px 0 0 0!important;
  121. }
  122. .ui.top.sidebar,
  123. .ui.bottom.sidebar {
  124. height: 40px!important;
  125. }
  126. .ui.active.bottom.sidebar {
  127. margin-top: -40px!important;
  128. }