Simply add your own css after the admin css imports and override the css
you want. No need to directly alter the css provided by magnolia.
--David
Thomas Billich wrote:
hello everyone,
I like to change the css of the green bars (mainbar, Edit, Delete, Move and
New).
My First step was to look at the source code of a html-page in the authoring
environment (Website ->right klick -> open page).
What I found was:
- a CSS link: <link rel="stylesheet" type="text/css"
href="/magnoliaAuthor/.resources/admin-css/admin-all.css" />
- all CSS class-names which I want to change like class="mgnlMainbar" and so on.
Second I searched in the magnoliaAuthor.war (file system) for the admin-all.css file. I was no able to find it. After a while I found a lot other things like images which are not in the file systems
The Next step was to search in the Magnolia sources-files for the admin-all.css and found it in:
magnolia-3.0.2\magnolia-module-admininterface\src\main\resources\mgnl-resources\admin-css
this files includes other css-files:
@import url(list.css);
@import url(general.css);
@import url(controls.css);
@import url(tree.css);
@import url(functionbar.css);
@import url(dialogs.css);
@import url(adminCentral.css);
@import url(navigation.css);
@import url(pages.css);
@import url(table.css);
The CSS classes for the bars are in the "controls.css"
I think that everything which is linked to /.resources/........ is binary saved
in the embedded Derby database (Repositories) and in the file system under
magnoliaAuthor.war\repositories.
(see http://www.magnolia.info/wiki/Wiki.jsp?page=UsingMysqlWithMagnolia2.1.5)
How can I change the CSS of the green bars?
- One Solution would be to change the CSS in the source code and compile
magnolia new. But I want to avoid this.
Is there any other way?
Regards,
Thomas
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------