/
still-image.component.scss
82 lines (70 loc) · 1.27 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
// sizes
$max-width: 800px;
$panelSize: 40px;
$osd-height: 460px;
// colors
$dark: #000;
$bright: #ccc;
: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;
}
}
}
}
}
}
/*
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;
}