forked from wojtekmaj/react-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSample.less
More file actions
65 lines (55 loc) · 1.05 KB
/
Sample.less
File metadata and controls
65 lines (55 loc) · 1.05 KB
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
body {
margin: 0;
background-color: rgb(82, 86, 89);
font-family: Segoe UI, Tahoma, sans-serif;
}
.Example {
input,
button {
font: inherit;
}
header {
background-color: rgb(50, 54, 57);
box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
padding: 20px;
color: white;
h1 {
font-size: inherit;
margin: 0;
}
}
&__container {
display: flex;
flex-direction: column;
align-items: center;
margin: 10px 0;
padding: 10px;
&__load {
margin-top: 1em;
color: white;
}
&__document {
margin: 1em 0;
.react-pdf {
&__Document {
display: flex;
flex-direction: column;
align-items: center;
}
&__Page {
max-width: calc(~'100% - 2em');
box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
margin: 1em;
canvas {
max-width: 100%;
height: auto !important;
}
}
&__message {
padding: 20px;
color: white;
}
}
}
}
}