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.

73 lines
1.1 KiB

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