-
Notifications
You must be signed in to change notification settings - Fork 916
/
doc_viewer.scss
72 lines (59 loc) · 1.06 KB
/
doc_viewer.scss
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
.osdDocViewerTable {
margin-top: $euiSizeS;
}
.osdDocViewer {
pre,
.osdDocViewer__value {
display: inline-block;
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
color: $euiColorFullShade;
vertical-align: top;
padding-top: 2px;
}
.osdDocViewer__field {
padding-top: 8px;
}
.dscFieldName {
color: $euiColorDarkShade;
}
td,
pre {
font-family: $euiCodeFontFamily;
}
tr:first-child td {
border-top-color: transparent;
}
tr:hover {
.osdDocViewer__actionButton {
opacity: 1;
}
}
}
.osdDocViewer__buttons,
.osdDocViewer__field {
white-space: nowrap;
}
.osdDocViewer__buttons {
width: 60px;
// Show all icons if one is focused,
// IE doesn't support, but the fallback is just the focused button becomes visible
&:focus-within {
.osdDocViewer__actionButton {
opacity: 1;
}
}
}
.osdDocViewer__field {
width: 160px;
}
.osdDocViewer__actionButton {
opacity: 0;
&:focus {
opacity: 1;
}
}
.osdDocViewer__warning {
margin-right: $euiSizeS;
}