You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/02/26 11:26:53 UTC

[GitHub] [cloudstack] rhtyd opened a new issue #4732: UI: allow users to override CSS via a single css file

rhtyd opened a new issue #4732:
URL: https://github.com/apache/cloudstack/issues/4732


   Investigate if it's possible to create a static css (single) file that can be used to override any/all CSS changes throughout the UI. Like the config.json, this can be loaded/applied after the UI loads. The firsts step is to investigate the feasibility and next to implement with a PR.
   
   ##### ISSUE TYPE
   
    * Improvement Request
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   UI
   ~~~
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4732: UI: allow users to override CSS via a single css file

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4732:
URL: https://github.com/apache/cloudstack/issues/4732#issuecomment-796550684


   Thanks @utchoang I'll close this then.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] utchoang edited a comment on issue #4732: UI: allow users to override CSS via a single css file

Posted by GitBox <gi...@apache.org>.
utchoang edited a comment on issue #4732:
URL: https://github.com/apache/cloudstack/issues/4732#issuecomment-795159550


   Hi @rhtyd , In my opinion, it is not possible for a user to overwrite a CSS file from the `public` folder. As you can see, before in https://github.com/apache/cloudstack-primate/issues/359 to customizing UI (color, background, text,...), it was necessary to change the style of the object in `src/style/ var.less`. Then rely on variables from `config.json` to change color, text,...


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4732: UI: allow users to override CSS via a single css file

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4732:
URL: https://github.com/apache/cloudstack/issues/4732#issuecomment-786589808


   Hi @utchoang since you've worked on the config.json and several UI customisation support, can you help explore this? cc @svenvogel @shwstppr 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4732: UI: allow users to override CSS via a single css file

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4732:
URL: https://github.com/apache/cloudstack/issues/4732#issuecomment-795137814


   @utchoang @svenvogel - can you comment if this is even feasible? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd closed issue #4732: UI: allow users to override CSS via a single css file

Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #4732:
URL: https://github.com/apache/cloudstack/issues/4732


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] utchoang edited a comment on issue #4732: UI: allow users to override CSS via a single css file

Posted by GitBox <gi...@apache.org>.
utchoang edited a comment on issue #4732:
URL: https://github.com/apache/cloudstack/issues/4732#issuecomment-795159550


   Hi @rhtyd , In my opinion, it is not possible for a user to overwrite a CSS file from the `public` folder. As you can see, before in https://github.com/apache/cloudstack-primate/issues/359 to customizing UI (color, background, text,...), it was necessary to change the style of the object in `src/style/var.less`. Then rely on variables from `config.json` to change color, text,...


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] utchoang commented on issue #4732: UI: allow users to override CSS via a single css file

Posted by GitBox <gi...@apache.org>.
utchoang commented on issue #4732:
URL: https://github.com/apache/cloudstack/issues/4732#issuecomment-795159550


   @rhtyd Hi Rohit, In my opinion, it is not possible for a user to overwrite a CSS file from the `public` folder. As you can see, before in https://github.com/apache/cloudstack-primate/issues/359 to customizing UI (color, background, text,...), it was necessary to edit the object in `src/style/ var.less`. Then rely on variables from `config.json` to change color, text,...


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org