Giter Site home page Giter Site logo

[NS] CSS customisable about geonature-citizen HOT 9 OPEN

lpofredc avatar lpofredc commented on June 3, 2024 1
[NS] CSS customisable

from geonature-citizen.

Comments (9)

camillemonchicourt avatar camillemonchicourt commented on June 3, 2024 1

Oui essentiel.
Sinon comme on fait dans les autres projets : un CSS custom vide mais appelé après les autres permettant de surcoucher les classes par défaut.

Voir GN-atlas

from geonature-citizen.

samuelpriou avatar samuelpriou commented on June 3, 2024

Oui, il faut effectivement que les structures utilisatrices de GeoNature-citizen puissent customiser l'interface avec leurs couleurs et autres logos et images.
Dans GN-atlas ces fichiers sont stockés dans static/custom

from geonature-citizen.

camillemonchicourt avatar camillemonchicourt commented on June 3, 2024

Juste charger un CSS custom vide par défaut, que chacun peut utiliser pour surcoucher des classes suffit.

from geonature-citizen.

 avatar commented on June 3, 2024

@lpofredc , la pr #84 couvre-t'elle tous les besoins évoqués ?

from geonature-citizen.

 avatar commented on June 3, 2024

@lpofredc , la pr #84 couvre-t'elle tous les besoins évoqués ?

La fonctionnalité a été réintégrée (#oops), c'est génial ... il nous faut un stealth mode !

from geonature-citizen.

lpofredc avatar lpofredc commented on June 3, 2024

Surcouche custom.scss

from geonature-citizen.

jbdesbas avatar jbdesbas commented on June 3, 2024

Salut,
Petit souci il me semble, les css des composants sont chargés tout à la fin, et surcouchent donc le custom.css . Je ne sais pas comment on peut solutionner ça ?

from geonature-citizen.

lpofredc avatar lpofredc commented on June 3, 2024

Etrange, en principe, il est chargé à la fin. cf. angular.json

"node_modules/leaflet-gesture-handling/dist/leaflet-gesture-handling.min.css",
"src/styles.css",
"src/custom/custom.css"

from geonature-citizen.

jbdesbas avatar jbdesbas commented on June 3, 2024

Là il me semble que ce n'est ce qui est dans style.css qui pose problème, mais ce qui est défini au niveau des components.
image

Ou alors il faut faire 2 css pour chaque component (1 base + 1 custom) ?

from geonature-citizen.

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.