GEN_STYLES_MAIN_CSS top-level constant

String const GEN_STYLES_MAIN_CSS

Implementation

const GEN_STYLES_MAIN_CSS = ""
    " html, "
    " body { "
    "     width: 100%; "
    "     height: 100%; "
    " } "
    "  "
    "  "
    " /** "
    "    * reset styles for wigets that otherwise might inherit defaults "
    "    * from their corresponding HTML tag in-use "
    "    */ "
    "  "
    " [data-wtype=\"StatefulWidget\"], "
    " [data-wtype=\"StatelessWidget\"], "
    " [data-wtype=\"GestureDetector\"], "
    " [data-wtype=\"Container\"], "
    " [data-wtype=\"Stack\"], "
    " [data-wtype=\"Align\"], "
    " [data-wtype=\"Text\"] { "
    "     all: unset; "
    "     overflow: hidden; "
    " } "
    "  "
    "  "
    " /** "
    "    * widgets that should take as much space as possible "
    "    */ "
    "  "
    " [data-wtype=\"Stack\"], "
    " [data-wtype=\"Target\"] { "
    "     width: 100%; "
    "     height: 100%; "
    "     display: block; "
    " } "
    "  "
    "  "
    " /** "
    "    * Widgets that exhibits overlaying behaviour "
    "    */ "
    "  "
    " [data-wtype=\"Stack\"] { "
    "     position: relative; "
    " } "
    "  "
    "  "
    " /** "
    "    * Widgets with absolute position "
    "    * such as Stack childs "
    "    */ "
    "  "
    " [data-wtype=\"Align\"], "
    " [data-wtype=\"Stack\"]>div, "
    " [data-wtype=\"Stack\"]>span { "
    "     position: absolute; "
    " } "
    "  "
    "  "
    " /** "
    "    * Align "
    "    */ "
    "  "
    " .trad-align-top-right { "
    "     top: 0; "
    "     right: 0; "
    " } "
    "  "
    " .trad-align-top-left { "
    "     top: 0; "
    "     left: 0; "
    " } "
    "  "
    " .trad-align-bottom-right { "
    "     bottom: 0; "
    "     right: 0; "
    " } "
    "  "
    " .trad-align-bottom-left { "
    "     bottom: 0; "
    "     left: 0; "
    " } ";