Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33949

Manage OS version in @media CSS

    XMLWordPrintableJSON

Details

    Description

      >Use case
      This would give the ability to customize the application to match the native OS look and feel:

      • iOS6 / iOS7 skins
      • iOS status bar

      >Specifications
      new 'os-version' media css selector of type number, returns the major and minor version number as a decimal figure, eg. 6.1 or 4.2

      Can be used like this for iOS6 and iOS7:

      iOS6: @media (os-platform: "ios") and ( max-os-version: 6.5)

      iOS7: @media (os-platform: "ios") and ( min-os-version: 7.0)

      Note that os-version is only accurate when run on the device.
      When run on ADL, os-version will report the host OS version the ADL is running on.

      Attachments

        1. capabilities-values.txt
          11 kB
          Morten Gorm Madsen

        Issue Links

          Activity

            People

              mamsellem Maurice Amsellem
              mamsellem Maurice Amsellem
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 48h
                  48h