Extra.css upgrade proof for customizations and a templates.css

extra.css
How about to add and include an empty extra.css so we can insert in there all our css customizations?

templates.css
And a templates.css to get rid of the “duplicate” css styles in defaults’ php files.

There already is a custom.css

Moving the template styles to a separate file could be a good idea

about custom.css do you I think that can be included by default on templates files and other customizable files?

Yes we could include the file

1 Like

Done: Commit 7cc21eb

I see that are equal on default, paid and overdue templates.
I think that you can get rid of it so default templates will be “style” free.

<style>
            .color-l { color: #aaa; }
            .color-n { color: #888; }
            .color-d { color: #555; }
            .border-bottom-l {  border-color: #aaa;  }
            .border-bottom-n {  border-color: #888;  }
            .border-bottom-d {  border-color: #555;  }
            .border-top-l {  border-color: #aaa;  }
            .border-top-n {  border-color: #888;  }
            .border-top-d {  border-color: #555;  }
            .background-l { background-color: #eee; }
            .company-name,
            .invoice-id {
                color: #333 !important;
            }
</style>

I see some differences only in “color” templates… as I see them like examples maybe you can put their style (adding color variable) in the custom.css as example of template editing? (I don’t know if could be a good idea.)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.