-
Notifications
You must be signed in to change notification settings - Fork 2
/
loadxml.css
125 lines (116 loc) · 2.09 KB
/
loadxml.css
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
116
117
118
119
120
121
122
123
124
125
@charset "utf-8";
/* CSS Document */
pre {
/* using line-height rather than Element.padding so to ease max-height calculations*/
line-height: 1.5em;
font-family: "Lucida Console", Consolas, monospace;
}
.NodeName {
font-weight:bold;
color: #800080;
transition: color 2s;
}
.NodeName:not(.endTag):before {
content:"<";
color: #000;
transition: color 2s;
}
.NodeName.endTag:before {
content:"</";
color: #000;
transition: color 2s;
}
.NodeName:nth-last-child(2):after {
content:">";
color: #000;
transition: color 2s;
}
.NodeName.endTag:after {
content:">";
color: #000;
transition: color 2s;
}
.AttributeName {
font-weight:bold;
color: black;
transition: color 2s;
}
.AttributeName:after {
content:"=";
}
.AttributeValue {
color:blue;
min-width: 7em;
display: inline-block;
transition: min-width 2s, color 2s;
}
.AttributeValue:last-child:after {
content: " />";
float: right;
color: #000;
transition: color 2s;
}
.AttributeValue.last-of-class:after {
content: ">";
float: right;
transition: color 2s;
}
.NodeValue {
color: green;
transition: color 2s;
}
.NodeName + .NodeValue:before {
content: ">";
color: #000;
}
.endTag {
opacity: 1;
transition: opacity 1s, color 2s;
}
.fade {
opacity: 0;
}
.Element {
border-left-color:#C2C2C2;
border-left-width:thin;
border-left-style:solid;
padding: 0px 0px;
position: relative;
opacity: 1;
/*max-height: set by javascript*/
overflow: hidden;
transition: max-height 0.5s ease-in-out, opacity 1s;
}
.Element > .Element {
left:15px;
}
.Element_hide, .hide_metadata {
max-height: 0 !important;
opacity: 0;
overflow: hidden;
}
.Clickable {
font-weight: 900;
font-size:large;
color: #800080;
cursor:pointer;
padding-left: 5px;
padding-right:5px;
vertical-align:middle;
user-select: none;
transition: color 2s;
}
body {
background-size: auto 100%;
}
#content {
margin: 5px 0px;
}
td {
padding: 3px;
}
table {
font-family: Verdana, sans-serif;
}
table tr[id] { transition: background-color 1s;}
table tr[id] td, div.info1 { transition: color 2s;}