| //////////////////////////////////////////////////////////////////////////////// |
| // |
| // Licensed to the Apache Software Foundation (ASF) under one or more |
| // contributor license agreements. See the NOTICE file distributed with |
| // this work for additional information regarding copyright ownership. |
| // The ASF licenses this file to You under the Apache License, Version 2.0 |
| // (the "License"); you may not use this file except in compliance with |
| // the License. You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| // |
| //////////////////////////////////////////////////////////////////////////////// |
| |
| package com.flexcapacitor.views.supportClasses { |
| |
| /** |
| * Styles for HTML elements |
| * */ |
| public class Styles { |
| |
| /** |
| * Constructor |
| * */ |
| public function Styles() { |
| |
| } |
| |
| public static const POSITION:String = "position"; |
| public static const RELATIVE:String = "relative"; |
| public static const ABSOLUTE:String = "absolute"; |
| public static const FIXED:String = "fixed"; |
| |
| public static const BLOCK:String = "block"; |
| public static const INLINE:String = "inline"; |
| public static const INLINE_BLOCK:String = "inline-block"; |
| |
| public static const MARGIN_CENTER:String = "auto auto"; |
| public static const MARGIN_HORIZONTAL_CENTER:String = "0 auto"; |
| public static const MARGIN_VERTICAL_CENTER:String = "auto 0"; |
| |
| |
| public static const PADDING_LEFT:String = "padding-left"; |
| public static const PADDING_RIGHT:String = "padding-right"; |
| public static const PADDING_TOP:String = "padding-top"; |
| public static const PADDING_BOTTOM:String = "padding-bottom"; |
| |
| |
| public static const MARGIN_LEFT:String = "margin-left"; |
| public static const MARGIN_RIGHT:String = "margin-right"; |
| public static const MARGIN_TOP:String = "margin-top"; |
| public static const MARGIN_BOTTOM:String = "margin-bottom"; |
| |
| |
| public var position:String; |
| public var display:String; |
| public var margin:String; |
| |
| public var paddingRight:String; |
| public var paddingLeft:String; |
| public var paddingTop:String; |
| public var paddingBottom:String; |
| |
| public var marginRight:String; |
| public var marginLeft:String; |
| public var marginTop:String; |
| public var marginBottom:String; |
| |
| public var left:String; |
| public var top:String; |
| public var right:String; |
| public var bottom:String; |
| |
| } |
| } |