Sha256: 562a33308fb6e4f060558e6265f74d3634c9cdcbe7d331664b98091fc181f8b8

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

/*
 *= depend_on semantic_ui/theme.config
 *= depend_on semantic_ui/config/modules/sticky.overrides
 *= depend_on semantic_ui/config/modules/sticky.variables
 */

 /*
 * # Semantic - Sticky
 * http://github.com/semantic-org/semantic-ui/
 *
 *
 * Copyright 2014 Contributor
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */


/*******************************
            Theme
*******************************/

@type    : 'module';
@element : 'sticky';

@import (multiple) 'semantic_ui/theme.config';

& {

/*******************************
            Sticky
*******************************/

.ui.sticky {
  position: static;
  transition: @transition;
  z-index: @zIndex;
}

/*******************************
            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;
}

.loadUIOverrides();

}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
less-rails-semantic_ui-1.9.0.0 assets/stylesheets/semantic_ui/definitions/modules/sticky.less