Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    #46
    Originally posted by Isomorphic View Post
    In the meantime - we've added a new class, .icon, which sets CSS color, rather than SVG fill and stroke - you should see that in tomorrow's builds, dated March 30 and later.
    Hello, I just noticed that in the last build, in the skin-styles.css file, a comma is missing after .icon:
    Code:
    /* general icons */
    /* .icon series just sets color - this is used automatically by font-icons and by SVG symbols
        that set "fill" or "stroke" to the special value "currentColor"
    */
    .icon
    .iconOver,
    .iconDown,
    .iconDisabled {
      color: #8597a3;
      vertical-align: middle;
      transition: color 0.2s;
    }

    Comment


      #47
      Thanks Claudio, we've corrected it for tomorrow's builds.

      Comment


        #48
        I see it's fixed, thank you very much

        Comment


          #49
          hi Claudio,

          We've fixed this one (and posted in the right thread this time!) - the change we made broke the regular appImgDir mechanism in various places, and we've reverted it for today's builds.

          Instead, to load files relative to your page, you can use "[APP]file.svg" if it's a one-off, or call Page.setAppImgDir("") if you don't want the default value of "[APP]images/".
          Last edited by Isomorphic; 16 Jun 2024, 23:43.

          Comment


            #50
            Thanks, I'm waiting for the build to show up to try it out

            Comment


              #51
              I can confirm it's working. As currently I've defined a global js variable with the sprite:svg: prefix, I've added [APP] to that.
              Maybe it will be simplified by the new Media subsystem.

              Comment


                #52
                Originally posted by claudiobosticco View Post
                Hello, will you please update this thread if you'll add the translation for webjars? TIA
                Hello, just bumping this as in case you manage to add it, I'd like to know about that.

                Comment


                  #53
                  Originally posted by Isomorphic View Post
                  We've never used WebJars. The FileDownload servlet will discover static files on either the filesystem or discoverable via the classpath (ClassLoader.getResource()).

                  From a conversation with ChatGPT, it looks like we are meant to translate "/webjars" to "META-INF/resources/webjars". We can add that.
                  Hello, any news about this issue?

                  Comment


                    #54
                    Yes, this was added to 13.1 yesterday. Please give it a try and let us know

                    Comment


                      #55
                      SmartClient Version: SNAPSHOT_v13.1d_2024-08-29/Enterprise Deployment (built 2024-08-29)

                      I can confirm it's fixed, thank you very much

                      Comment

                      Working...
                      X