github.com/fanux/shipyard@v0.0.0-20161009071005-6515ce223235/controller/static/semantic/dist/components/sticky.css (about) 1 /*! 2 * # Semantic UI x.x - Sticky 3 * http://github.com/semantic-org/semantic-ui/ 4 * 5 * 6 * Copyright 2014 Contributors 7 * Released under the MIT license 8 * http://opensource.org/licenses/MIT 9 * 10 */ 11 12 13 /******************************* 14 Sticky 15 *******************************/ 16 17 .ui.sticky { 18 position: static; 19 -webkit-transition: width 0.2s ease, height 0.2s ease, top 0.2s ease, bottom 0.2s ease; 20 transition: width 0.2s ease, height 0.2s ease, top 0.2s ease, bottom 0.2s ease; 21 z-index: 800; 22 } 23 24 25 /******************************* 26 States 27 *******************************/ 28 29 30 /* Bound */ 31 .ui.sticky.bound { 32 position: absolute; 33 left: auto; 34 right: auto; 35 } 36 37 /* Fixed */ 38 .ui.sticky.fixed { 39 position: fixed; 40 left: auto; 41 right: auto; 42 } 43 44 /* Bound/Fixed Position */ 45 .ui.sticky.bound.top, 46 .ui.sticky.fixed.top { 47 top: 0px; 48 bottom: auto; 49 } 50 .ui.sticky.bound.bottom, 51 .ui.sticky.fixed.bottom { 52 top: auto; 53 bottom: 0px; 54 } 55 56 57 /******************************* 58 Types 59 *******************************/ 60 61 .ui.native.sticky { 62 position: -webkit-sticky; 63 position: -moz-sticky; 64 position: -ms-sticky; 65 position: -o-sticky; 66 position: sticky; 67 } 68 69 70 /******************************* 71 Theme Overrides 72 *******************************/ 73 74 75 76 /******************************* 77 Site Overrides 78 *******************************/ 79