Git Product home page Git Product logo

Comments (3)

Llewellynvdm avatar Llewellynvdm commented on July 18, 2024

Yes, I think this will be a good choice.

from jedchecker.

dryabov avatar dryabov commented on July 18, 2024

The problem is that Joomla4 is shipped with FontAwesome 5, so that we can use its icons easily, but for Joomla3 we need to either include FontAwesome into the package, or use another set of icons for both Joomla 3 and 4 (in the latter case, we could display icons as data-uri-encoded svg in the backgound-image CSS property).

And know "standard" icons for Error/Warning/Info level, but I'm not sure which one to use for Deprecated level. Do you have ideas?

Maybe the easiest solution is to just add a "badge" text on top of existing blocks, e.g.
v1
or
v2
that were done with the following CSS snippet:

#jedchecker .alert-warning::before {
    content: "WARNING";
    font-size: .75rem;
    line-height: 1.2;
    padding: 0 .2rem;
    border-radius: .2rem;
    background-color: #664808;
    color: #fff0d0;
    position: absolute;

    /* Ver.1 */
    /*
    top: .1rem;
    left: .1rem;
    opacity: 0.75;
    */

    /* Ver.2 */
    top: -0.5rem;
    left: .5rem;
}

from jedchecker.

Llewellynvdm avatar Llewellynvdm commented on July 18, 2024

The second option will be okay, should just be a little larger.

from jedchecker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.