77 lines
1.1 KiB
CSS
77 lines
1.1 KiB
CSS
/*!
|
|
* # Fomantic-UI 2.9.0 - Sticky
|
|
* http://github.com/fomantic/Fomantic-UI/
|
|
*
|
|
*
|
|
* Released under the MIT license
|
|
* http://opensource.org/licenses/MIT
|
|
*
|
|
*/
|
|
|
|
|
|
/*******************************
|
|
Sticky
|
|
*******************************/
|
|
|
|
.ui.sticky {
|
|
position: static;
|
|
-webkit-transition: none;
|
|
transition: none;
|
|
z-index: 800;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
|
|
|
|
/* Bound */
|
|
.ui.sticky.bound {
|
|
position: absolute;
|
|
left: auto;
|
|
right: auto;
|
|
}
|
|
|
|
/* Fixed */
|
|
.ui.sticky.fixed {
|
|
position: fixed;
|
|
left: auto;
|
|
right: auto;
|
|
}
|
|
|
|
/* Bound/Fixed Position */
|
|
.ui.sticky.bound.top,
|
|
.ui.sticky.fixed.top {
|
|
top: 0;
|
|
bottom: auto;
|
|
}
|
|
.ui.sticky.bound.bottom,
|
|
.ui.sticky.fixed.bottom {
|
|
top: auto;
|
|
bottom: 0;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Types
|
|
*******************************/
|
|
|
|
.ui.native.sticky {
|
|
position: -moz-sticky;
|
|
position: -ms-sticky;
|
|
position: -o-sticky;
|
|
position: sticky;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Theme Overrides
|
|
*******************************/
|
|
|
|
|
|
|
|
/*******************************
|
|
Site Overrides
|
|
*******************************/
|
|
|