80 lines
1.3 KiB
CSS
80 lines
1.3 KiB
CSS
|
/*!
|
||
|
* # Semantic UI 1.11.4 - Sticky
|
||
|
* http://github.com/semantic-org/semantic-ui/
|
||
|
*
|
||
|
*
|
||
|
* Copyright 2014 Contributors
|
||
|
* Released under the MIT license
|
||
|
* http://opensource.org/licenses/MIT
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
|
||
|
/*******************************
|
||
|
Sticky
|
||
|
*******************************/
|
||
|
|
||
|
.ui.sticky {
|
||
|
position: static;
|
||
|
-webkit-transition: width 0.2s ease, height 0.2s ease, top 0.2s ease, bottom 0.2s ease;
|
||
|
transition: width 0.2s ease, height 0.2s ease, top 0.2s ease, bottom 0.2s ease;
|
||
|
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: 0px;
|
||
|
bottom: auto;
|
||
|
}
|
||
|
.ui.sticky.bound.bottom,
|
||
|
.ui.sticky.fixed.bottom {
|
||
|
top: auto;
|
||
|
bottom: 0px;
|
||
|
}
|
||
|
|
||
|
|
||
|
/*******************************
|
||
|
Types
|
||
|
*******************************/
|
||
|
|
||
|
.ui.native.sticky {
|
||
|
position: -webkit-sticky;
|
||
|
position: -moz-sticky;
|
||
|
position: -ms-sticky;
|
||
|
position: -o-sticky;
|
||
|
position: sticky;
|
||
|
}
|
||
|
|
||
|
|
||
|
/*******************************
|
||
|
Theme Overrides
|
||
|
*******************************/
|
||
|
|
||
|
|
||
|
|
||
|
/*******************************
|
||
|
Site Overrides
|
||
|
*******************************/
|
||
|
|