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 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
|
body {
max-width: 1000px;
padding: 20px;
color: #222;
}
div.test {
background: linear-gradient(#afa 0px, #fff 3em);
}
div.failed {
background: linear-gradient(#faa 0px, #fff 3em) !important;
}
div.diff pre {
border: 1px solid black;
border-radius: 8px;
}
div.diff code {
border-radius: 8px;
}
div.message, div.failure {
padding-left: 4px;
padding-top: 2px;
padding-bottom: 2px;
}
div.message {
border-left: 8px #bbb solid;
}
div.failure {
border-left: 8px #f44 solid;
}
div.success {
border-left: 8px #4f4 solid;
}
div.failure > span.message {
font-weight: bold;
}
div.expandable {
min-height: 1.5em;
border: 1px solid black;
padding: 4px;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
div.expandable div.contents {
display: none;
}
div.expandable div.title {
float: left;
line-height: 1.5em;
}
div.expanded > div.title {
float: none;
line-height: 1.5em;
height: 2em;
}
div.expanded > div.contents {
display: inherit;
}
span.expandtoggle:before {
content: '+';
float: left;
margin-right: 10px;
cursor: pointer;
border: 1px black solid;
width: 1.5em;
line-height: 1.5em;
text-align: center;
border-radius: 1em;
background-color: #eee;
}
span.expandtoggle:hover:before {
background-color: #ccc;
}
div.expanded > span.expandtoggle::before {
content: '--';
}
div.img-comp-container {
position: relative;
}
div.img-comp-container .img-comp {
float: left;
position: absolute;
left: 0px;
top: 0px;
}
div.img-comp-container .img-clip {
overflow: hidden;
}
div.img-comp-container .img-b .img-clip {
border-right: 1px black solid;
}
div.img-comp-container .img-diff.hidden {
display: none;
}
|