//--------------------------------------
//               PowerUI
//
//        For documentation or 
//    if you have any issues, visit
//        powerUI.kulestar.com
//
//    Copyright  2013 Kulestar Ltd
//          www.kulestar.com
//--------------------------------------

namespace Css{
	
	/// <summary>
	/// Values for the position: property.
	/// </summary>
	
	public static class PositionMode{
		
		public const int Static=1;
		public const int Relative=1<<1; // Relative to where it should have been placed.
		public const int Fixed=1<<2; // Relative to the main origin. Acts as if its not in the line.
		public const int Absolute=1<<3; // Relative to its parents origin; Acts as if it's not even placed in the line.
		public const int Sticky=1<<4;
		public const int SparkAbsolute=1<<5; // Relative to the parent, regardless of its positioning.
		public const int SparkAbsoluteFixed=1<<6; // Relative to the parent, regardless of its positioning, ignoring scrolling too.
		
		public const int InFlow=Relative | Static | Sticky;
		
		public const int OutOfFlow=Fixed | Absolute | SparkAbsolute | SparkAbsoluteFixed;
		
		public const int SparkAbsoluteModes=SparkAbsolute | SparkAbsoluteFixed;
		
	}
	
}