/
still-image.component.scss
99 lines (87 loc) · 1.69 KB
/
still-image.component.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
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
@import "../../../../../assets/style/config";
// sizes
$max-width: 800px;
$panelSize: 40px;
$osd-height: 460px;
:host {
// display: inline-flex;
width: 100%;
@media (max-height: 636px) {
height: 300px;
}
.osd-container {
color: $bright;
background-color: $dark;
height: 100%;
&.drawing {
cursor: crosshair;
}
&.fullscreen {
max-width: 100vw;
}
.captions-container {
.top, .bottom {
text-align: left;
.iiif-url, .copy-button {
display: inline-block;
}
.iiif-url {
a {
padding: 0px 0px 0px 16px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 50%;
}
}
.copy-button button {
background: none;
border: none;
color: white;
mat-icon {
font-size: 16px;
}
}
}
}
}
}
.annotation-tooltip {
display: none;
position: fixed;
background-color: $black-60-opacity;
color: $bright;
padding: 8px;
border-radius: $border-radius;
min-height: 24px;
max-height: 258px;
max-width: 256px;
box-sizing: border-box;
transition: 0.1s;
transform: translate(16px, 16px);
font-size: small;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
z-index: 1000;
}
/*
Overlay styling
*/
::ng-deep .region {
filter: alpha(opacity=40);
opacity: 0.4;
fill: transparent;
stroke: #00695c;
stroke-width: 2px;
}
::ng-deep .region:hover,
.region:focus {
filter: alpha(opacity=100);
opacity: 1;
cursor: pointer;
}
::ng-deep .region.active {
filter: alpha(opacity=100);
opacity: 1;
}