doc/book/en/B1130-css.en.txt
author Sandrine Ribeau <sandrine.ribeau@logilab.fr>
Wed, 22 Apr 2009 21:43:06 -0700
changeset 1440 4fc48f2a1748
parent 293 a21688a55d21
permissions -rw-r--r--
[doc] Typos and minor changes.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
293
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
     1
.. -*- coding: utf-8 -*-
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
     2
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
     3
CSS changes
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
     4
===========
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
     5
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
     6
XXX FIXME explain CSS used by cubciweb
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
     7
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
     8
We cannot modify the order in which the application is reading the CSS. In
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
     9
the case we want to create new CSS style, the best is to define it a in a new
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
    10
CSS located under ``myapp/data/`` and use those new styles while writing
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
    11
customized views and templates.
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
    12
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
    13
If you want to modify an existing CSS styling property, you will have to use
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
    14
``!important`` declaration to override the existing property. The application
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
    15
apply a higher priority on the default CSS and you can not change that. 
a21688a55d21 [doc] Move out from tutoriel RSS and CSS to make it independant chapters. Adds a conclusion to the tutorial.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
diff changeset
    16
Customized CSS will not be read first.