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.

77 lines
1.2 KiB

9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
  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. *******************************/