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 662 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 (Not yet installed UT on it though)

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post