[llvm-readobj] - Refine the LLVM-style output to be consistent.
[llvm-complete.git] / tools / opt-viewer / style.css
blob550c7e1cdff31e1bda8744abd3a1f99bfc8d868f
1 .source {
2 table-layout: fixed;
3 width: 100%;
4 white-space: nowrap;
6 .source td {
7 white-space: nowrap;
8 overflow: hidden;
9 text-overflow: ellipsis;
11 .red {
12 background-color: #ffd0d0;
14 .cyan {
15 background-color: cyan;
17 body {
18 font-family: -apple-system, sans-serif;
20 pre {
21 margin-top: 0px !important;
22 margin-bottom: 0px !important;
24 .source-name-title {
25 padding: 5px 10px;
26 border-bottom: 1px solid #dbdbdb;
27 background-color: #eee;
28 line-height: 35px;
30 .centered {
31 display: table;
32 margin-left: left;
33 margin-right: auto;
34 border: 1px solid #dbdbdb;
35 border-radius: 3px;
37 .expansion-view {
38 background-color: rgba(0, 0, 0, 0);
39 margin-left: 0px;
40 margin-top: 5px;
41 margin-right: 5px;
42 margin-bottom: 5px;
43 border: 1px solid #dbdbdb;
44 border-radius: 3px;
46 table {
47 border-collapse: collapse;
49 .light-row {
50 background: #ffffff;
51 border: 1px solid #dbdbdb;
53 .column-entry {
54 text-align: right;
56 .column-entry-left {
57 text-align: left;
59 .column-entry-white {
60 text-align: right;
61 background-color: #ffffff;
63 .column-entry-red {
64 text-align: right;
65 background-color: #ffd0d0;
67 .column-entry-green {
68 text-align: right;
69 background-color: #d0ffd0;
71 .column-entry-yellow {
72 text-align: left;
73 background-color: #ffe1a6;
75 .column-entry-0 {
76 background-color: #ffffff;
78 .column-entry-1 {
79 background-color: #eeeeee;
81 .line-number {
82 text-align: right;
83 color: #aaa;
85 .covered-line {
86 text-align: right;
87 color: #0080ff;
89 .uncovered-line {
90 text-align: right;
91 color: #ff3300;
93 .tooltip {
94 position: relative;
95 display: inline;
96 background-color: #b3e6ff;
97 text-decoration: none;
99 .tooltip span.tooltip-content {
100 position: absolute;
101 width: 100px;
102 margin-left: -50px;
103 color: #FFFFFF;
104 background: #000000;
105 height: 30px;
106 line-height: 30px;
107 text-align: center;
108 visibility: hidden;
109 border-radius: 6px;
111 .tooltip span.tooltip-content:after {
112 content: '';
113 position: absolute;
114 top: 100%;
115 left: 50%;
116 margin-left: -8px;
117 width: 0; height: 0;
118 border-top: 8px solid #000000;
119 border-right: 8px solid transparent;
120 border-left: 8px solid transparent;
122 :hover.tooltip span.tooltip-content {
123 visibility: visible;
124 opacity: 0.8;
125 bottom: 30px;
126 left: 50%;
127 z-index: 999;
129 th, td {
130 vertical-align: top;
131 padding: 2px 5px;
132 border-collapse: collapse;
133 border-right: solid 1px #eee;
134 border-left: solid 1px #eee;
136 td:first-child {
137 border-left: none;
139 td:last-child {
140 border-right: none;
142 .expanded {
143 background-color: #f2f2f2;
144 padding-top: 5px;
145 padding-left: 5px;
147 .col-left {
148 float: left;
149 margin-bottom: -99999px;
150 padding-bottom: 99999px;
153 /* Generated with pygmentize -S colorful -f html >> style.css */
155 .hll { background-color: #ffffcc }
156 .c { color: #888888 } /* Comment */
157 .err { color: #FF0000; background-color: #FFAAAA } /* Error */
158 .k { color: #008800; font-weight: bold } /* Keyword */
159 .o { color: #333333 } /* Operator */
160 .ch { color: #888888 } /* Comment.Hashbang */
161 .cm { color: #888888 } /* Comment.Multiline */
162 .cp { color: #557799 } /* Comment.Preproc */
163 .cpf { color: #888888 } /* Comment.PreprocFile */
164 .c1 { color: #888888 } /* Comment.Single */
165 .cs { color: #cc0000; font-weight: bold } /* Comment.Special */
166 .gd { color: #A00000 } /* Generic.Deleted */
167 .ge { font-style: italic } /* Generic.Emph */
168 .gr { color: #FF0000 } /* Generic.Error */
169 .gh { color: #000080; font-weight: bold } /* Generic.Heading */
170 .gi { color: #00A000 } /* Generic.Inserted */
171 .go { color: #888888 } /* Generic.Output */
172 .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
173 .gs { font-weight: bold } /* Generic.Strong */
174 .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
175 .gt { color: #0044DD } /* Generic.Traceback */
176 .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
177 .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
178 .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
179 .kp { color: #003388; font-weight: bold } /* Keyword.Pseudo */
180 .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
181 .kt { color: #333399; font-weight: bold } /* Keyword.Type */
182 .m { color: #6600EE; font-weight: bold } /* Literal.Number */
183 .s { background-color: #fff0f0 } /* Literal.String */
184 .na { color: #0000CC } /* Name.Attribute */
185 .nb { color: #007020 } /* Name.Builtin */
186 .nc { color: #BB0066; font-weight: bold } /* Name.Class */
187 .no { color: #003366; font-weight: bold } /* Name.Constant */
188 .nd { color: #555555; font-weight: bold } /* Name.Decorator */
189 .ni { color: #880000; font-weight: bold } /* Name.Entity */
190 .ne { color: #FF0000; font-weight: bold } /* Name.Exception */
191 .nf { color: #0066BB; font-weight: bold } /* Name.Function */
192 .nl { color: #997700; font-weight: bold } /* Name.Label */
193 .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
194 .nt { color: #007700 } /* Name.Tag */
195 .nv { color: #996633 } /* Name.Variable */
196 .ow { color: #000000; font-weight: bold } /* Operator.Word */
197 .w { color: #bbbbbb } /* Text.Whitespace */
198 .mb { color: #6600EE; font-weight: bold } /* Literal.Number.Bin */
199 .mf { color: #6600EE; font-weight: bold } /* Literal.Number.Float */
200 .mh { color: #005588; font-weight: bold } /* Literal.Number.Hex */
201 .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
202 .mo { color: #4400EE; font-weight: bold } /* Literal.Number.Oct */
203 .sb { background-color: #fff0f0 } /* Literal.String.Backtick */
204 .sc { color: #0044DD } /* Literal.String.Char */
205 .sd { color: #DD4422 } /* Literal.String.Doc */
206 .s2 { background-color: #fff0f0 } /* Literal.String.Double */
207 .se { color: #666666; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */
208 .sh { background-color: #fff0f0 } /* Literal.String.Heredoc */
209 .si { background-color: #eeeeee } /* Literal.String.Interpol */
210 .sx { color: #DD2200; background-color: #fff0f0 } /* Literal.String.Other */
211 .sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */
212 .s1 { background-color: #fff0f0 } /* Literal.String.Single */
213 .ss { color: #AA6600 } /* Literal.String.Symbol */
214 .bp { color: #007020 } /* Name.Builtin.Pseudo */
215 .vc { color: #336699 } /* Name.Variable.Class */
216 .vg { color: #dd7700; font-weight: bold } /* Name.Variable.Global */
217 .vi { color: #3333BB } /* Name.Variable.Instance */
218 .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */