aboutsummaryrefslogtreecommitdiffstats
path: root/src/css/devtool-log.css
blob: 36557925badda50ac01601d27ee8ef3376b67310 (plain)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
body {
    border: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    font: 12px monospace;
    margin: 0;
    overflow-x: hidden;
    padding: 0;
    white-space: nowrap;
    width: 100%;
    }
#toolbar {
    padding: 8px 0;
    position: fixed;
    text-align: center;
    top: 0;
    width: 4em;
    }
#toolbar .button {
    background-color: white;
    border: none;
    cursor: pointer;
    display: block;
    font-size: large;
    margin: 0;
    padding: 0.5em 0;
    }
#toolbar .button:hover {
    background-color: #eee;
    }
#content {
    width: calc(100% - 4em);
    }
body[dir="ltr"] #content {
    margin-left: 4em;
    }
body[dir="rtl"] #content {
    margin-right: 4em;
    }
#content table {
    border: 0;
    border-collapse: collapse;
    direction: ltr;
    width: 100%;
    }
#content table tr.blocked {
    background-color: rgba(192, 0, 0, 0.1)
    }
#content table tr.allowed {
    background-color: rgba(0, 160, 0, 0.1)
    }
#content table tr.allowed.mirrored {
    background-color: rgba(255, 255, 0, 0.3)
    }
#content table tr.maindoc {
    background-color: #eee;
    }
#content table tr td {
    border: 1px solid #ccc;
    padding: 3px;
    vertical-align: top;
    }
#content table tr td:nth-of-type(1) {
    padding: 3px 0;
    text-align: center;
    }
#content table tr td:nth-of-type(2) {
    white-space: normal;
    width: 25%;
    word-break: break-all;
    word-wrap: break-word;
    }
#content table tr td:nth-of-type(3) {
    white-space: nowrap;
    }
#content table tr td:nth-of-type(4) {
    border-right: none;
    white-space: normal;
    width: 60%;
    word-break: break-all;
    word-wrap: break-word;
    }
#content table tr td:nth-of-type(4) b {
    font-weight: normal;
    }
#content table tr.blocked td:nth-of-type(4) b {
    background-color: rgba(192, 0, 0, 0.2);
    }
#content table tr.allowed td:nth-of-type(4) b {
    background-color: rgba(0, 160, 0, 0.2);
    }