Overview
Comment:Séparation de la CSS impression
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 31b40527e20189e3d849622693e8e45f1e408f09
User & Date: bohwaz on 2014-02-07 15:00:47
Other Links: manifest | tags
Context
2014-02-07
15:45
Style pour les mobiles et tablettes check-in: 23baeb2a1c user: bohwaz tags: trunk
15:00
Séparation de la CSS impression check-in: 31b40527e2 user: bohwaz tags: trunk
14:41
Message en cas d'absence de résultat check-in: 8658e35b26 user: bohwaz tags: trunk
Changes

Modified src/templates/admin/_head.tpl from [e04e26cee5] to [fe60fc6bc3].

1
2
3
4
5
6
7

8
9
10
11
12
13
14
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>{$title|escape}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" type="text/css" href="{$admin_url}static/admin.css" media="screen,projection,handheld,print" />

    {if isset($js)}
        <script type="text/javascript" src="{$admin_url}static/global.js"></script>
    {/if}
    {if isset($custom_js)}
        {foreach from=$custom_js item="js"}
            <script type="text/javascript" src="{$admin_url}static/{$js|escape}"></script>
        {/foreach}






|
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>{$title|escape}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" type="text/css" href="{$admin_url}static/admin.css" media="all" />
    <link rel="stylesheet" type="text/css" href="{$admin_url}static/print.css" media="print" />
    {if isset($js)}
        <script type="text/javascript" src="{$admin_url}static/global.js"></script>
    {/if}
    {if isset($custom_js)}
        {foreach from=$custom_js item="js"}
            <script type="text/javascript" src="{$admin_url}static/{$js|escape}"></script>
        {/foreach}

Modified src/www/admin/static/admin.css from [837c8acbea] to [03e449bd44].



1









2
3
4
5
6
7
8
...
641
642
643
644
645
646
647








648
649
650
651
652
653
654
....
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086


* { margin: 0; padding: 0; }










/*
    marron : #9c4f15 rgb(156, 79, 21)
    orange : #d98628 rgb(217, 134, 40)
*/

html { width: 100%; height: 100%; }
................................................................................
.wikiContent ul, .wikiContent ol, .wikiContent table, .wikiContent blockquote {
    margin-bottom: 8pt;
}

.wikiContent ul, .wikiContent ol, .wikiContent dd {
    margin-left: 2em;
}









.toolbar input {
    padding: .1em .2em;
    border: 1px solid #ccc;
    color: #000;
    background: #fff;
    cursor: pointer;
................................................................................
    width: 30%;
    overflow: auto;
}

.hidden {
    display: none;
}

@media print {
    body {
        background: #fff;
    }
    .header .menu {
        display: none;
    }
    .page {
        margin: 0;
    }
    .header h1 {
        margin: 0;
        text-align: center;
    }

    table.list thead {
        background: #000;
        color: #fff;
    }

    table.list tfoot tr {
        background: #666;
        color: #fff;
    }

    table.list tr {
        border: 1px solid #666;
    }

    table.list tr:nth-child(even) {
        background: #ddd;
    }

    table.list.multi tr:nth-child(even) {
        background: inherit;
    }

    table.list.multi tr:nth-child(4n+1), table.list.multi tr:nth-child(4n+2) {
        background: #ddd;
    }

    #rapport table table {
        border: 1px solid #666;
    }

    #rapport .parent {
        background: #ccc;
    }

    #rapport table table tfoot tr {
        background: #666;
        color: #fff;
}
>
>
|
>
>
>
>
>
>
>
>
>







 







>
>
>
>
>
>
>
>







 







<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
...
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
....
1045
1046
1047
1048
1049
1050
1051






















































body, form, p, div, hr, fieldset, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}
h1  { font-size: 2em; }
h2  { font-size: 1.5em; }
h3  { font-size: 1.2em; }
h4  { font-size: 1em; }
h5  { font-size: 0.9em; }
h6  { font-size: 0.8em; }
ul, ol { list-style-type: none; }
article, aside, figure, footer, header, hgroup, menu, nav, section { display: block; }

/*
    marron : #9c4f15 rgb(156, 79, 21)
    orange : #d98628 rgb(217, 134, 40)
*/

html { width: 100%; height: 100%; }
................................................................................
.wikiContent ul, .wikiContent ol, .wikiContent table, .wikiContent blockquote {
    margin-bottom: 8pt;
}

.wikiContent ul, .wikiContent ol, .wikiContent dd {
    margin-left: 2em;
}

.wikiContent ul {
    list-style-type: disc;
}

.wikiContent ol {
    list-style-type: decimal;
}

.toolbar input {
    padding: .1em .2em;
    border: 1px solid #ccc;
    color: #000;
    background: #fff;
    cursor: pointer;
................................................................................
    width: 30%;
    overflow: auto;
}

.hidden {
    display: none;
}






















































Added src/www/admin/static/print.css version [43c17d7432].





















































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@page {
    size: A4;
    margin: 1cm;
}

body {
    background: #fff;
    padding: 0;
}
.header .menu {
    display: none;
}
.page {
    margin: 0;
}
.header h1 {
    margin: 0;
    text-align: center;
}

table.list thead {
    background: #000;
    color: #fff;
}

table.list tfoot tr {
    background: #666;
    color: #fff;
}

table.list tr {
    border: 1px solid #666;
}

table.list tr:nth-child(even) {
    background: #ddd;
}

table.list.multi tr:nth-child(even) {
    background: inherit;
}

table.list.multi tr:nth-child(4n+1), table.list.multi tr:nth-child(4n+2) {
    background: #ddd;
}

#rapport table table {
    border: 1px solid #666;
}

#rapport .parent {
    background: #ccc;
}

#rapport table table tfoot tr {
    background: #666;
    color: #fff;
}