content/xml/document/resources/XMLPrettyPrint.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/xml/document/resources/XMLPrettyPrint.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +@charset "UTF-8";
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +@import url("resource://gre-resources/viewsource.css");
    1.10 +
    1.11 +#header {
    1.12 +  background-color: #ccc;
    1.13 +  border-bottom: 3px solid black;
    1.14 +  padding: 0.5em;
    1.15 +  margin-bottom: 1em;
    1.16 +}
    1.17 +
    1.18 +.expander-content {
    1.19 +  padding-left: 1em;
    1.20 +}
    1.21 +
    1.22 +.expander {
    1.23 +  cursor: pointer;
    1.24 +  -moz-user-select: none;
    1.25 +  text-align: center;
    1.26 +  vertical-align: top;
    1.27 +  width: 1em;
    1.28 +  display: inline-block;
    1.29 +  margin-left: -1em;
    1.30 +}
    1.31 +
    1.32 +#top > .expander-open, #top > .expander-closed {
    1.33 +  margin-left: 1em;
    1.34 +}
    1.35 +
    1.36 +.expander-closed > .expander-content {
    1.37 +  display: none;
    1.38 +}
    1.39 +
    1.40 +.comment {
    1.41 +  font-family: monospace;
    1.42 +  white-space: pre;
    1.43 +}
    1.44 +

mercurial