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.

79 lines
1.3 KiB

10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic UI
  3. * https://github.com/Semantic-Org/Semantic-UI
  4. * http://beta.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. }
  19. /*******************************
  20. States
  21. *******************************/
  22. /* Bound */
  23. .ui.sticky.bound {
  24. position: absolute;
  25. left: auto;
  26. right: auto;
  27. }
  28. /* Fixed */
  29. .ui.sticky.fixed {
  30. position: fixed;
  31. left: auto;
  32. right: auto;
  33. }
  34. /* Bound/Fixed Position */
  35. .ui.sticky.bound.top,
  36. .ui.sticky.fixed.top {
  37. top: 0px;
  38. bottom: auto;
  39. }
  40. .ui.sticky.bound.bottom,
  41. .ui.sticky.fixed.bottom {
  42. top: auto;
  43. bottom: 0px;
  44. }
  45. /*******************************
  46. Types
  47. *******************************/
  48. .ui.native.sticky {
  49. position: -webkit-sticky;
  50. position: -moz-sticky;
  51. position: -ms-sticky;
  52. position: -o-sticky;
  53. position: sticky;
  54. }
  55. /*******************************
  56. Theme Overrides
  57. *******************************/
  58. /*******************************
  59. Site Overrides
  60. *******************************/