[SPIP] +spip v3.0.17
[lhc/web/clavette_www.git] / www / prive / themes / spip / style_prive.css.html
1 [(#REM)<style>/*
2 Ce squelette definit les styles de l'espace prive
3
4 Note: l'entete "Vary:" sert a repousser l'entete par
5 defaut "Vary: Cookie,Accept-Encoding", qui est (un peu)
6 genant en cas de "rotation du cookie de session" apres
7 un changement d'IP (effet de clignotement).
8
9 ATTENTION: il faut absolument le charset sinon Firefox croit que
10 c'est du text/html !
11 */]#CACHE{3600*100,cache-client}
12 #HTTP_HEADER{Content-Type: text/css; charset=iso-8859-15}
13 #HTTP_HEADER{Vary: Accept-Encoding}
14 /*
15 Valeurs par defaut :
16 #SET{claire,##ENV{couleur_claire,edf3fe}} [claire: (#GET{claire});]
17 #SET{foncee,##ENV{couleur_foncee,3874b0}} [foncee: (#GET{foncee});]
18 #SET{left,#ENV{ltr}|choixsiegal{left,left,right}} [left: (#GET{left});]
19 #SET{right,#ENV{ltr}|choixsiegal{left,right,left}} [right: (#GET{right});]
20 #SET{rtl,#ENV{ltr}|choixsiegal{left,'',_rtl}} [rtl: (#GET{rtl});]
21 #SET{dir,#ENV{ltr}|choixsiegal{left,ltr,rtl}} [dir: (#GET{dir});]
22
23 #SET{font-size,#ENV{font-size,0.8125em}} [font-size: (#GET{font-size});]
24 #SET{line-height,#ENV{line-height,1.385em}} [line-height: (#GET{line-height});]
25 #SET{margin-bottom,#ENV{margin-bottom,#GET{line-height}}} [margin-bottom: (#GET{margin-bottom});]
26 #SET{text-indent,#ENV{text-indent,50px}} [text-indent: (#GET{text-indent});]
27 #SET{font-family,#ENV*{font-family,'Helvetica, Arial, sans-serif'}} [font-family: (#GET{font-family});]
28 #SET{background-color,#ENV{background-color,#F8F7F3}} [background-color : (#GET{background-color});]
29 #SET{color,#ENV{color,#000000}} [color: (#GET{color});]
30 */
31
32 [(#REM) les vieux styles a evacuer en premier, ca permet qu'ils ne polluent pas en cas de double definition]
33
34
35 [(#INCLURE{#VAL{clear.css}|find_in_theme|direction_css{#GET{dir}}|substr{#VAL{_DIR_RACINE}|constant|strlen}})]
36 [(#INCLURE{#VAL{layout.css}|find_in_theme|direction_css{#GET{dir}}|substr{#VAL{_DIR_RACINE}|constant|strlen}})]
37
38 <BOUCLE_css(POUR){tableau #LISTE{typo.css,grids.css,bando.css,icons.css,lists.css,forms.css,picker.css,box_skins.css,jquery-ui.css,content.css,exceptions.css,theme.css}}>
39 [(#SET{fond,[(#VALEUR|concat{.html}|find_in_theme|substr{[(#VAL{_DIR_RACINE}|constant|strlen)],[(#VAL{-5}|intval)]})]})]
40 /*
41 * #VALEUR::[(#GET{fond})]
42 */
43 [(#GET{fond}|oui)
44 [(#INCLURE{fond=#GET{fond},env,couleur_claire,couleur_foncee,lang,ltr,claire=#GET{claire},foncee=#GET{foncee},left=#GET{left},right=#GET{right},rtl=#GET{rtl},dir=#GET{dir},font-size=#GET{font-size},line-height=#GET{line-height},margin-bottom=#GET{margin-bottom},text-indent=#GET{text-indent},font-family=#GET{font-family},background-color=#GET{background-color},color=#GET{color}})]
45 ]
46 </BOUCLE_css>
47
48
49 /*** Plugins ***/
50
51 <BOUCLE_cssplugins(POUR){tableau #VAL{prive/}|find_all_in_path{/style_prive_plugin_}}>
52 #SET{fond,prive/#VALEUR|basename{'.html'}}
53 [(#INCLURE{fond=#GET{fond},env,couleur_claire,couleur_foncee,lang,ltr,claire=#GET{claire},foncee=#GET{foncee},left=#GET{left},right=#GET{right},rtl=#GET{rtl},dir=#GET{dir},font-size=#GET{font-size},line-height=#GET{line-height},margin-bottom=#GET{margin-bottom},text-indent=#GET{text-indent},font-family=#GET{font-family},background-color=#GET{background-color},color=#GET{color}})]
54 </BOUCLE_cssplugins>
55
56 /**** Plugins fin ***/