UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Core UT CSS Styles?

    Scheduled Pinned Locked Moved App Development
    5 Posts 5 Posters 344 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • V Offline
        vuelto
        last edited by

        I want to bring my cordova and html5 apps to UT. Clickable makes this easy. One thing I am missing is a good core set of styles. Does anybody know where I could find those already made? My google fu is not strong enough.

        advocatuxA 1 Reply Last reply Reply Quote 0
        • advocatuxA Offline
          advocatux @vuelto
          last edited by

          @vuelto hi, I don't know the answer but I've pinged some people who can help you 🙂

          1 Reply Last reply Reply Quote 0
          • dobeyD Offline
            dobey
            last edited by

            I think the styling for making html5 apps look native, would have been in the (no longer maintained) cordova plug-in for UT. It was in upstream cordova, IIRC.

            1 Reply Last reply Reply Quote 0
            • K Offline
              kugiigi
              last edited by

              Maybe you can check Seabass from the store. I believe it uses Cordova as well and has UT styling.

              1 Reply Last reply Reply Quote 0
              • poVoqP Offline
                poVoq
                last edited by poVoq

                I am also interested in this, as I am currently working on a wrapper to bring ConverseJS (XMPP client) to UT.

                Looking at this repo: https://github.com/florisluiten/rssreader/

                There seem to be some built in UT styles:

                <link href="/usr/share/ubuntu-html5-ui-toolkit/0.1/ambiance/css/appTemplate.css" rel="stylesheet" type="text/css" />
                <script src="/usr/share/ubuntu-html5-ui-toolkit/0.1/ambiance/js/fast-buttons.js"></script>
                <script src="/usr/share/ubuntu-html5-ui-toolkit/0.1/ambiance/js/core.js"></script>
                <script src="/usr/share/ubuntu-html5-ui-toolkit/0.1/ambiance/js/buttons.js"></script>
                <script src="/usr/share/ubuntu-html5-ui-toolkit/0.1/ambiance/js/dialogs.js"></script>
                <script src="/usr/share/ubuntu-html5-ui-toolkit/0.1/ambiance/js/page.js"></script>
                <script src="/usr/share/ubuntu-html5-ui-toolkit/0.1/ambiance/js/pagestacks.js"></script>
                

                But they look a bit unfinished. Given that it says version 0.1, I am wondering if there is maybe a newer version available by now?

                Edit: This seems to be similar: https://youtu.be/g5pD3b87bC4

                Edit2: this seems to be the latest version and Ubuntu seems to have stopped including this in distributions later than 16.04. So for now it will work, but I guess once the switch is made to 20.04 these will need a new maintainer.

                Fairphone 5 (waiting for port)

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post