Skip to content

Commit 83b28d5

Browse files
committedAug 22, 2017
Reorganize span detail components
1 parent d16097b commit 83b28d5

12 files changed

+535
-234
lines changed
 

‎.eslintrc

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"jsx-a11y/no-static-element-interactions": 1,
2323
"jsx-a11y/href-no-hash": 0,
2424
"jsx-a11y/label-has-for": 0,
25+
"jsx-a11y/interactive-supports-focus": 0,
2526

2627
/* react */
2728
"react/jsx-filename-extension": 0,

‎src/components/App/App.css

+16-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@ THE SOFTWARE.
2424
height: 100%;
2525
}
2626

27+
.u-no-float {
28+
float: none;
29+
}
30+
31+
.u-cursor-pointer {
32+
cursor: pointer;
33+
}
34+
35+
/* override semantic UI webkit scrollbar styling (keep the other scroll styling) */
36+
body ::-webkit-scrollbar {
37+
-webkit-appearance: none;
38+
width: 7px;
39+
height: 7px;
40+
}
41+
2742
a {
2843
color: #11939A;
2944
}
@@ -70,7 +85,7 @@ a:hover {
7085
}
7186

7287
.ui.compact.table td {
73-
padding: 0.1em 0.5em;
88+
padding: 0.2em 0.5em;
7489
}
7590

7691
.ui.table td.light-grey {

‎src/components/TracePage/TraceTimelineViewer/SpanDetail.js

-233
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
Copyright (c) 2017 Uber Technologies, Inc.
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy
5+
of this software and associated documentation files (the "Software"), to deal
6+
in the Software without restriction, including without limitation the rights
7+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
copies of the Software, and to permit persons to whom the Software is
9+
furnished to do so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in
12+
all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
THE SOFTWARE.
21+
*/
22+
23+
.AccordianKeyValues {
24+
margin: 0.3em 0;
25+
text-overflow: ellipsis;
26+
}
27+
28+
.AccordianKeyValues.is-compact {
29+
margin: 0;
30+
}
31+
32+
.AccordianKeyValues--header {
33+
cursor: pointer;
34+
overflow: hidden;
35+
margin: 0 1px;
36+
padding: 0.25em 0.1em;
37+
text-overflow: ellipsis;
38+
white-space: nowrap;
39+
}
40+
41+
.AccordianKeyValues--header:hover {
42+
background: #eee;
43+
}
44+
45+
.AccordianKeyValues--header.is-high-contrast:hover {
46+
background: #ddd;
47+
}
48+
49+
.AccordianKeyValues--summary {
50+
display: inline;
51+
list-style: none;
52+
padding: 0;
53+
}
54+
55+
.AccordianKeyValues--summaryItem {
56+
display: inline;
57+
margin-left: 0.7em;
58+
}
59+
60+
.AccordianKeyValues--summaryLabel {
61+
color: #777;
62+
}
63+
64+
.AccordianKeyValues--summaryDelim {
65+
color: #aaa;
66+
padding: 0 0.1em;
67+
}

0 commit comments

Comments
 (0)