blob: c88a94c2861a09bcf1c34b175671549e8a58c72f (
plain)
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
|
.pdfBox-cont,
.pdfBox-cont-interactive {
display: flex;
flex-direction: row;
height: 100%;
overflow-y: scroll;
overflow-x: hidden;
.pdfBox-scrollHack {
pointer-events: none;
}
}
.pdfBox-cont {
pointer-events: none;
.pdfPage-textlayer {
span {
pointer-events: none !important;
user-select: none;
}
}
}
.pdfBox-cont-interactive {
pointer-events: all;
.pdfPage-textlayer {
span {
pointer-events: all !important;
user-select: text;
}
}
}
.react-pdf__Page {
transform-origin: left top;
position: absolute;
top: 0;
left: 0;
}
.react-pdf__Page__textContent span {
user-select: text;
}
.react-pdf__Document {
position: absolute;
}
.pdfBox-settingsCont {
position: absolute;
right: 0;
top: 0;
.pdfBox-settingsButton {
border-bottom-left-radius: 50%;
display: flex;
justify-content: space-evenly;
align-items: center;
height: 70px;
background: none;
padding: 0;
.pdfBox-settingsButton-arrow {
width: 0;
height: 0;
border-top: 25px solid transparent;
border-bottom: 25px solid transparent;
border-right: 25px solid #121721;
transition: all 0.5s;
}
.pdfBox-settingsButton-iconCont {
background: #121721;
height: 50px;
width: 70px;
display: flex;
justify-content: center;
align-items: center;
margin-left: -2px;
border-radius: 3px;
}
}
.pdfBox-settingsButton:hover {
background: none;
}
.pdfBox-settingsFlyout {
width: 600px;
position: absolute;
background: #323232;
box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
left: -400px;
border-radius: 7px;
padding: 20px;
display: flex;
flex-direction: column;
font-size: 30px;
transition: all 0.5s;
.pdfBox-settingsFlyout-title {
color: white;
}
.pdfBox-settingsFlyout-kvpInput {
margin-top: 20px;
display: grid;
grid-template-columns: 47.5% 5% 47.5%;
}
}
}
|