forked from spip/statistiques

6 changed files with 123 additions and 111 deletions
@ -1,102 +1,102 @@
|
||||
[(#REM) |
||||
|
||||
Ce squelette definit les styles de l'espace prive |
||||
|
||||
Note: l'entete "Vary:" sert a repousser l'entete par |
||||
defaut "Vary: Cookie,Accept-Encoding", qui est (un peu) |
||||
genant en cas de "rotation du cookie de session" apres |
||||
un changement d'IP (effet de clignotement). |
||||
|
||||
ATTENTION: il faut absolument le charset sinon Firefox croit que |
||||
c'est du text/html ! |
||||
<style> |
||||
] |
||||
#CACHE{3600*100,cache-client} |
||||
#HTTP_HEADER{Content-Type: text/css; charset=iso-8859-15} |
||||
#HTTP_HEADER{Vary: Accept-Encoding} |
||||
|
||||
#SET{claire,##ENV{couleur_claire,edf3fe}} |
||||
#SET{foncee,##ENV{couleur_foncee,3874b0}} |
||||
#SET{left,#ENV{ltr}|choixsiegal{left,left,right}} |
||||
#SET{right,#ENV{ltr}|choixsiegal{left,right,left}} |
||||
|
||||
|
||||
/* exec=statistiques_visites */ |
||||
.statistiques_visites ul.referers { margin-left: 0; padding-left: 0; list-style: none; color: #666; } |
||||
.statistiques_visites ul.referers li { clear: #GET{right}; margin-bottom: 1em; padding-left: 16px; } |
||||
.statistiques_visites ul.referers li .titrem { margin-left: -16px; font-weight: normal; } |
||||
.statistiques_visites ul.referers li .visites3 { color: red; } |
||||
.statistiques_visites ul.referers li .visites2 { color: #666; } |
||||
.statistiques_visites ul.referers li .visites1 { color: #999; } |
||||
.statistiques_visites ul.referers li a { font-weight: bold; } |
||||
.statistiques_visites ul.referers li ul { font-size: x-small; list-style-type: disc; } |
||||
.statistiques_visites ul.referers li li { clear: none; margin-bottom: 0; padding-left: 0; } |
||||
.statistiques_visites ul.referers li li a { font-weight: normal; } |
||||
|
||||
ul.classement {list-style:none;font-size:x-small;margin:0;padding:0;padding-#GET{left}:20px;color:#666666;} |
||||
ul.classement li {padding:0 0 4px;margin:0;line-height:100%;} |
||||
ul.classement li em {display:block;width:25px;float:#GET{left};margin-left:-10px;position:relative;display:inline;font-style:normal;text-align:#GET{right};} |
||||
|
||||
|
||||
table.visites caption, |
||||
h3.caption {font-size:1.3em;font-weight:bold;text-align:center;margin:0.5em auto; clear:both;} |
||||
table.visites {width: 80%; margin-right: auto; margin-left: auto; margin-bottom: 1em; border-collapse: collapse; border-spacing: 0; line-height: normal;border:1px solid #999;} |
||||
table.visites a {color:#[(#GET{foncee}|couleur_foncer)];} |
||||
|
||||
table.visites tr.row_first { background-color:#[(#GET{foncee}|couleur_foncer)];color:#fff;border: 1px solid #ddd; } |
||||
table.visites.info tr.row_first { background-color:#fff;color:#000;border: 1px solid #ddd; } |
||||
table.visites th, table.visites td { padding: 0.20em 0.40em; text-align: left; border: 1px solid #ddd; } |
||||
table.visites th { vertical-align: bottom; font-weight: bold; } |
||||
table.visites.info th { vertical-align: top; } |
||||
table.visites tbody th { font-weight: normal; } |
||||
table.visites td { vertical-align: top; } |
||||
table.visites td.val, table.visites td.mean, table.visites td.cumul { text-align:center; } |
||||
|
||||
table.visites tr.c_Sun td, |
||||
table.visites tr.c_Sun th {background-color:#[(#GET{claire}|couleur_eclaircir)];} |
||||
table.visites tr.c_today td, |
||||
table.visites tr.c_today th {background-color:#eee;} |
||||
/* |
||||
table#visites tr.c_recap td, |
||||
table#visites tr.c_recap th {background-color:#[(#GET{foncee}|couleur_foncer)];color:#fff;} |
||||
*/ |
||||
|
||||
|
||||
/* graphique flot */ |
||||
.graphique{clear:both; overflow:hidden; margin-bottom:2em;} |
||||
.graphResult{float:left;} |
||||
.graphInfo{float:left; margin:0.5em;} |
||||
.graphInfo td.legendLabel { padding-left:.5em; padding-right:1em; } |
||||
.graphLegend{margin-bottom:0.5em; } |
||||
.graphVignette{} |
||||
|
||||
.graphLegend .legendColorBox div{width:14px; height:10px;} |
||||
.graphLegend .cacher .legendColorBox div div{position:absolute; left:-3000em;} |
||||
|
||||
/* particularites stats SPIP */ |
||||
.statistiques_visites .graphResult{float:none;} |
||||
.statistiques_visites .graphInfo{float:none;} |
||||
.statistiques_visites .graphLegend table{width:100%; padding:0 1em 1em 1em;} |
||||
.statistiques_visites .graphLegend tr{display:inline;} |
||||
|
||||
.tooltip_statistiques{ |
||||
position: absolute; |
||||
display: none; |
||||
border: 1px solid #fdd; |
||||
padding: 2px; |
||||
background-color: #fee; |
||||
} |
||||
|
||||
.stats_referers .liste-items.referers li.referer {padding-left:300px;} |
||||
.stats_referers .liste-items.referers li.referer span.visites {float:left;text-align:right;width:140px;margin-left:-150px;} |
||||
.stats_referers .liste-items.referers li.referer .miniature {margin-left:-295px;float:left;max-width:140px;} |
||||
.stats_referers .liste-items.referers li.referer ul {margin-left:15px;padding-left:0;} |
||||
.stats_referers .liste-items.referers li.referer ul li {margin-left:0px;padding-left:0;} |
||||
.stats_referers .action.plus {text-align:right;font-size:1.5em;font-weight:bold;} |
||||
|
||||
.stats_repartition .couleur_cumul { background: #GET{foncee}; } |
||||
.stats_repartition .couleur_nombre { background: #GET{claire}; } |
||||
.stats_lang .couleur_langue { background: #GET{foncee}; } |
||||
.stats_lang table p {padding-left:10px;margin:2px 0;} |
||||
[(#REM) </style>] |
||||
|
||||
[(#REM) |
||||
|
||||
Ce squelette definit les styles de l'espace prive |
||||
|
||||
Note: l'entete "Vary:" sert a repousser l'entete par |
||||
defaut "Vary: Cookie,Accept-Encoding", qui est (un peu) |
||||
genant en cas de "rotation du cookie de session" apres |
||||
un changement d'IP (effet de clignotement). |
||||
|
||||
ATTENTION: il faut absolument le charset sinon Firefox croit que |
||||
c'est du text/html ! |
||||
<style> |
||||
] |
||||
#CACHE{3600*100,cache-client} |
||||
#HTTP_HEADER{Content-Type: text/css; charset=iso-8859-15} |
||||
#HTTP_HEADER{Vary: Accept-Encoding} |
||||
|
||||
#SET{claire,##ENV{couleur_claire,edf3fe}} |
||||
#SET{foncee,##ENV{couleur_foncee,3874b0}} |
||||
#SET{left,#ENV{ltr}|choixsiegal{left,left,right}} |
||||
#SET{right,#ENV{ltr}|choixsiegal{left,right,left}} |
||||
|
||||
|
||||
/* exec=statistiques_visites */ |
||||
.statistiques_visites ul.referers { margin-left: 0; padding-left: 0; list-style: none; color: #666; } |
||||
.statistiques_visites ul.referers li { clear: #GET{right}; margin-bottom: 1em; padding-left: 16px; } |
||||
.statistiques_visites ul.referers li .titrem { margin-left: -16px; font-weight: normal; } |
||||
.statistiques_visites ul.referers li .visites3 { color: red; } |
||||
.statistiques_visites ul.referers li .visites2 { color: #666; } |
||||
.statistiques_visites ul.referers li .visites1 { color: #999; } |
||||
.statistiques_visites ul.referers li a { font-weight: bold; } |
||||
.statistiques_visites ul.referers li ul { font-size: x-small; list-style-type: disc; } |
||||
.statistiques_visites ul.referers li li { clear: none; margin-bottom: 0; padding-left: 0; } |
||||
.statistiques_visites ul.referers li li a { font-weight: normal; } |
||||
|
||||
ul.classement {list-style:none;font-size:x-small;margin:0;padding:0;padding-#GET{left}:20px;color:#666666;} |
||||
ul.classement li {padding:0 0 4px;margin:0;line-height:100%;} |
||||
ul.classement li em {display:block;width:25px;float:#GET{left};margin-left:-10px;position:relative;display:inline;font-style:normal;text-align:#GET{right};} |
||||
|
||||
|
||||
table.visites caption, |
||||
h3.caption {font-size:1.3em;font-weight:bold;text-align:center;margin:0.5em auto; clear:both;} |
||||
table.visites {width: 80%; margin-right: auto; margin-left: auto; margin-bottom: 1em; border-collapse: collapse; border-spacing: 0; line-height: normal;border:1px solid #999;} |
||||
table.visites a {color:#[(#GET{foncee}|couleur_foncer)];} |
||||
|
||||
table.visites tr.row_first { background-color:#[(#GET{foncee}|couleur_foncer)];color:#fff;border: 1px solid #ddd; } |
||||
table.visites.info tr.row_first { background-color:#fff;color:#000;border: 1px solid #ddd; } |
||||
table.visites th, table.visites td { padding: 0.20em 0.40em; text-align: #GET{left}; border: 1px solid #ddd; } |
||||
table.visites th { vertical-align: bottom; font-weight: bold; } |
||||
table.visites.info th { vertical-align: top; } |
||||
table.visites tbody th { font-weight: normal; } |
||||
table.visites td { vertical-align: top; } |
||||
table.visites td.val, table.visites td.mean, table.visites td.cumul { text-align:center; } |
||||
|
||||
table.visites tr.c_Sun td, |
||||
table.visites tr.c_Sun th {background-color:#[(#GET{claire}|couleur_eclaircir)];} |
||||
table.visites tr.c_today td, |
||||
table.visites tr.c_today th {background-color:#eee;} |
||||
/* |
||||
table#visites tr.c_recap td, |
||||
table#visites tr.c_recap th {background-color:#[(#GET{foncee}|couleur_foncer)];color:#fff;} |
||||
*/ |
||||
|
||||
|
||||
/* graphique flot */ |
||||
.graphique{clear:both; overflow:hidden; margin-bottom:2em;} |
||||
.graphResult{float:left;} |
||||
.graphInfo{float:left; margin:0.5em;} |
||||
.graphInfo td.legendLabel { padding-left:.5em; padding-right:1em; } |
||||
.graphLegend{margin-bottom:0.5em; } |
||||
.graphVignette{} |
||||
|
||||
.graphLegend .legendColorBox div{width:14px; height:10px;} |
||||
.graphLegend .cacher .legendColorBox div div{position:absolute; left:-3000em;} |
||||
|
||||
/* particularites stats SPIP */ |
||||
.statistiques_visites .graphResult{float:none;} |
||||
.statistiques_visites .graphInfo{float:none;} |
||||
.statistiques_visites .graphLegend table{width:100%; padding:0 1em 1em 1em;} |
||||
.statistiques_visites .graphLegend tr{display:inline;} |
||||
|
||||
.tooltip_statistiques{ |
||||
position: absolute; |
||||
display: none; |
||||
border: 1px solid #fdd; |
||||
padding: 2px; |
||||
background-color: #fee; |
||||
} |
||||
|
||||
.stats_referers .liste-items.referers li.referer {padding-left:300px;} |
||||
.stats_referers .liste-items.referers li.referer span.visites {float:left;text-align:right;width:140px;margin-left:-150px;} |
||||
.stats_referers .liste-items.referers li.referer .miniature {margin-left:-295px;float:left;max-width:140px;} |
||||
.stats_referers .liste-items.referers li.referer ul {margin-left:15px;padding-left:0;} |
||||
.stats_referers .liste-items.referers li.referer ul li {margin-left:0px;padding-left:0;} |
||||
.stats_referers .action.plus {text-align:right;font-size:1.5em;font-weight:bold;} |
||||
|
||||
.stats_repartition .couleur_cumul { background: #GET{foncee}; } |
||||
.stats_repartition .couleur_nombre { background: #GET{claire}; } |
||||
.stats_lang .couleur_langue { background: #GET{foncee}; } |
||||
.stats_lang table p {padding-left:10px;margin:2px 0;} |
||||
[(#REM) </style>] |
||||
|
||||
|
Loading…
Reference in new issue