Add it to your app's config.json (example below):

Add a variable in the "let" entry and name it whatever you want (I named
mine "GRAPHICS_CSS")

"let" :
  {
    "APPLICATION"  : "rapp",
    "APPLICATION_PATH" : "rapp",
    "APPLICATION_CSS" : "${APPLICATION_PATH}/css/mech-blue-styles.css",  //
resource id of custom css
    "*GRAPHICS_CSS*" : "${APPLICATION_PATH}/css/nativegraphics.css",  //
resource id of SQville's NativeGraphics css
    "QOOXDOO_PATH" : "../..",
    "LOCALES"      : [ "en" ],
    ...
  }

In the "jobs" section of the config.json file add the variable to the job
types:

"source-script" :
    {
      "extend" : ["mobile-common"],
      "add-css" : [
        { "uri" : "./resource/${MOBILE_THEME_PATH}" },
        { "uri" : "./resource/${APPLICATION_CSS}" },
       * { "uri" : "./resource/${GRAPHICS_CSS}" }*
      ]
    }

For my app i have the variable in "source-script", "source-hybrid",
"build-script" and "source-all-script"

If you look at the source of my mobile app using Chrome's web tools you'll
see the "nativegraphics.css" as one of the resources ( My mobile Qooxdoo app
<https://vivid-fire-1034.firebaseapp.com/#%2Fbasic>  )



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Add-external-stylesheet-tp7588212p7588264.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to