/
annotation.less
46 lines (38 loc) · 1.02 KB
/
annotation.less
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
@import '../styles/palettes/colors';
@import '../styles/variables';
@annotation-border-color: @default-text-container-border-color;
@annotation-background-color: @default-text-container-background-color;
@annotation-background-color-alternate: @default-text-container-background-color-alternate;
@annotation-flyout-menu: @default-flyout-menu-indent;
av-annotation {
display: block;
}
.Annotation {
width: 100%;
position: relative;
}
.Annotation-flyOutMenu {
position: absolute;
top: @annotation-flyout-menu;
}
.Annotation-values {
border: 1px solid @annotation-border-color;
overflow: auto;
display: flex;
}
.Annotation-value {
text-overflow: ellipsis;
word-break: break-word;
padding: 0; // Does not work: 3px 5px;
background-color: @annotation-background-color;
border: none;
overflow-y: hidden;
line-height: 1.33em;
border-left: 1px @annotation-border-color solid;
&:first-child {
border-left: none;
}
&:nth-child(even) {
background-color: @annotation-background-color-alternate;
}
}