forked from VolodymyrBaydalka/docxjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththumbnail.example.css
52 lines (45 loc) · 971 Bytes
/
thumbnail.example.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
details.docx-thumbnails {
position: relative;
background-color: rgb(101, 101, 101);
border-right: 1px solid black;
min-width: 1rem;
}
details.docx-thumbnails[open] {
min-width: 120px;
}
details.docx-thumbnails summary {
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 1rem;
padding-left: 3px;
}
details.docx-thumbnails summary:hover {
background-color: rgb(0 0 0 / 50%);
}
details.docx-thumbnails summary::marker {
color: white;
}
.docx-thumbnails:empty {
display: none;
}
.docx-thumbnails-container {
height: 100%;
overflow: auto;
scrollbar-gutter: stable both-edges;
padding: 0.25rem;
}
.docx-thumbnail-item {
display: flex;
background-color: white;
text-decoration: none;
color: black;
align-items: center;
justify-content: center;
font-size: 3rem;
aspect-ratio: 6 / 8;
width: 100px;
box-shadow: 0 0 10px rgb(0 0 0 / 50%);
margin: 1rem;
}