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.

80 lines
1.4 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic UI
  3. * https://github.com/Semantic-Org/Semantic-UI
  4. * http://www.semantic-ui.com/
  5. *
  6. * Copyright 2014 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: width 0.2s ease, height 0.2s ease, top 0.2s ease, bottom 0.2s ease;
  17. transition: width 0.2s ease, height 0.2s ease, top 0.2s ease, bottom 0.2s ease;
  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. Theme Overrides
  58. *******************************/
  59. /*******************************
  60. Site Overrides
  61. *******************************/