forked from tokee/quack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quack.css
170 lines (153 loc) · 3.18 KB
/
quack.css
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
.xmlvalue {
color: #066;
}
#zoom-display {
position: relative;
margin-right: 340px;
height: 900px;
border: 1px solid black;
overflow: hidden;
}
div.openseadragon-canvas canvas {
/*
Since we're doing QA and are likely to look at pixels,
we try to disable fancy scaling
Seems not to be working...
*/
image-rendering:optimizeSpeed; /* Legal fallback */
image-rendering:optimize-contrast; /* CSS3 Proposed */
image-rendering:-moz-crisp-edges; /* Firefox */
image-rendering:-o-crisp-edges; /* Opera */
image-rendering:-webkit-optimize-contrast; /* Chrome (and eventually Safari) */
-ms-interpolation-mode:nearest-neighbor; /* IE8+ */
}
#gridbox {
position: absolute;
z-index: 10;
pointer-events: none;
width : 100%;
margin-right: 400px;
height: 900px;
overflow: hidden;
}
.control {
position: absolute;
width: 250px;
right: 10px;
margin-right: 2em;
padding: 0.5em 1.5em 0.5em 1em;
border: 3px solid #999;
}
.control p {
margin-bottom: 0;
margin-top: 0;
}
.gridline {
position: absolute;
pointer-events: none;
background: #00C;
}
.gridlinex {
height: 1px;
width: 100%;
}
.gridliney {
height: 100%;
width: 1px;
}
.highlight {
opacity: 0.4;
filter: alpha(opacity=40);
border: 2px solid #BE3333;
background-color: transparent;
}
.highlight:hover, .highlight:focus {
filter: alpha(opacity=70);
opacity: 0.7;
border: 4px solid #FF3333;
}
.group {
background-color: #9999FF;
}
.next {
background-color: #3333FF;
opacity: 0.8;
filter: alpha(opacity=80);
}
.illustration {
opacity: 0.4;
filter: alpha(opacity=40);
border: 2px solid #3333BE;
background-color: transparent;
}
.illustration.group {
border: 3px solid #9999FF;
opacity: 1.0;
filter: alpha(opacity=100);
}
.composed {
opacity: 0.4;
filter: alpha(opacity=40);
outline: 2px solid #CCCC33;
background-color: transparent;
}
#idbox #idnextbox {
width: 100%;
min-height: 1.5em;
}
#ocrbox {
width: 100%;
min-height: 20em;
border: 2px solid #FF3333;
}
.warning {
background: #F99;
}
.thumblink {
margin-right: 1em;
}
ul.alternatives {
font-size: 70%;
margin-left: 0;
padding-left: 0;
}
ul.alternatives li {
display: inline;
margin-left: 0;
padding-left: 0;
}
ul.alternatives li + li:before {
content: " | ";
}
.histogram img {
border: 1px dotted grey;
}
.whiteoverlay {
background-size: 100% 100%;
pointer-events: none;
}
#presentation-display {
position: relative;
margin-right: 340px;
height: 900px;
border: 1px solid black;
overflow: hidden;
}
/* Folder view specific styles below */
div.imagelinks {
clear: both;
}
div.thumb {
float: left;
}
div.thumbs a {
position: relative;
display: block;
}
.thumboverlay {
/* Hidden by default, enable with JavaScript */
display: none;
position: absolute;
top: 0;
left: 0;
}