equal
deleted
inserted
replaced
|
1 .. -*- coding: utf-8 -*- |
|
2 |
|
3 CSS Stylesheet |
|
4 --------------- |
|
5 Conventions |
|
6 ~~~~~~~~~~~ |
|
7 |
|
8 XXX external_resources variable |
|
9 naming convention |
|
10 request.add_css |
|
11 |
|
12 |
|
13 Extending / overriding existing styles |
|
14 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
15 |
|
16 We cannot modify the order in which the application is reading the CSS. In |
|
17 the case we want to create new CSS style, the best is to define it a in a new |
|
18 CSS located under ``myapp/data/`` and use those new styles while writing |
|
19 customized views and templates. |
|
20 |
|
21 If you want to modify an existing CSS styling property, you will have to use |
|
22 ``!important`` declaration to override the existing property. The application |
|
23 apply a higher priority on the default CSS and you can not change that. |
|
24 Customized CSS will not be read first. |
|
25 |
|
26 |
|
27 CubicWeb stylesheets |
|
28 ~~~~~~~~~~~~~~~~~~~~ |
|
29 XXX explain diffenrent files and main classes |