sticky.css 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*!
  2. * # Semantic UI 2.5.0 - Sticky
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Released under the MIT license
  7. * http://opensource.org/licenses/MIT
  8. *
  9. */
  10. /*******************************
  11. Sticky
  12. *******************************/
  13. .ui.sticky {
  14. position: static;
  15. transition: none;
  16. z-index: 800;
  17. }
  18. /*******************************
  19. States
  20. *******************************/
  21. /* Bound */
  22. .ui.sticky.bound {
  23. position: absolute;
  24. left: auto;
  25. right: auto;
  26. }
  27. /* Fixed */
  28. .ui.sticky.fixed {
  29. position: fixed;
  30. left: auto;
  31. right: auto;
  32. }
  33. /* Bound/Fixed Position */
  34. .ui.sticky.bound.top,
  35. .ui.sticky.fixed.top {
  36. top: 0px;
  37. bottom: auto;
  38. }
  39. .ui.sticky.bound.bottom,
  40. .ui.sticky.fixed.bottom {
  41. top: auto;
  42. bottom: 0px;
  43. }
  44. /*******************************
  45. Types
  46. *******************************/
  47. .ui.native.sticky {
  48. position: -webkit-sticky;
  49. position: -moz-sticky;
  50. position: -ms-sticky;
  51. position: -o-sticky;
  52. position: sticky;
  53. }
  54. /*******************************
  55. Theme Overrides
  56. *******************************/
  57. /*******************************
  58. Site Overrides
  59. *******************************/