aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.scss
blob: c7d6f988c08436a8a76ef454da3c515946f3598d (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
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
.pdfBox,
.pdfBox-interactive {
    display: inline-block;
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
    cursor:auto;
    transform-origin: top left;
    z-index: 0;
    .pdfBox-ui {
        position: absolute;
         width: 100%; 
         height: 100%;
         z-index: 1;
         pointer-events: none;

         .pdfBox-overlayButton {
             border-bottom-left-radius: 50%;
             display: flex;
             justify-content: space-evenly;
             align-items: center;
             height: 20px;
             background: none;
             padding: 0;
             position: absolute;
             pointer-events: all;
         
             .pdfBox-overlayButton-arrow {
                 width: 0;
                 height: 0;
                 border-top: 10px solid transparent;
                 border-bottom: 10px solid transparent;
                 border-right: 15px solid #121721;
                 transition: all 0.5s;
             }

             .pdfBox-overlayButton-iconCont {
                background: #121721;
                height: 20px;
                width: 25px;
                display: flex;
                position: relative;
                align-items: center;
                justify-content: center;
                border-radius: 3px;
                pointer-events: all;
             }
         }

         .pdfBox-nextIcon, 
         .pdfBox-prevIcon {
            background: #121721;
            height: 20px;
            width: 25px;
            display: flex;
            position: relative;
            align-items: center;
            justify-content: center;
            border-radius: 3px;
            pointer-events: all;
            padding: 0px;
         }
         
         .pdfBox-overlayButton:hover {
             background: none;
         }
         

         .pdfBox-settingsCont {
             position: absolute;
             right: 0;
             top: 3;
             pointer-events: all;
         
             .pdfBox-settingsButton {
                 border-bottom-left-radius: 50%;
                 display: flex;
                 justify-content: space-evenly;
                 align-items: center;
                 height: 20px;
                 background: none;
                 padding: 0;
         
                 .pdfBox-settingsButton-arrow {
                     width: 0;
                     height: 0;
                     border-top: 10px solid transparent;
                     border-bottom: 10px solid transparent;
                     border-right: 15px solid #121721;
                     transition: all 0.5s;
                 }
         
                 .pdfBox-settingsButton-iconCont {
                     background: #121721;
                     height: 20px;
                     width: 25px;
                     display: flex;
                     justify-content: center;
                     align-items: center;
                     margin-left: -2px;
                     border-radius: 3px;
                 }
             }
         
             .pdfBox-settingsButton:hover {
                 background: none;
             }
         
             .pdfBox-settingsFlyout {
                 position: absolute;
                 background: #323232;
                 box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
                 right: 20px;
                 border-radius: 7px;
                 padding: 20px;
                 display: flex;
                 flex-direction: column;
                 font-size: 14px;
                 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%;
                 }
             }
         }
         
         .pdfBox-overlayCont {
             position: absolute;
             width: calc(100% - 40px);
             height: 20px;
             background: #121721;
             bottom: 0;
             display: flex;
             justify-content: center;
             align-items: center;
             overflow: hidden;
             transition: left .5s;
             pointer-events: all;
         
             .pdfBox-searchBar {
                 width: 70%;
                 font-size: 14px;
             }
         }
    }
    .pdfBox-title-outer {
        width: 150%;
        height: 100%;
        position: relative;
        display: grid;
        z-index: 0;
        background: lightslategray;
        transform-origin: top left;
        
        .pdfBox-title {
            color:lightgray;
            margin-top: auto;
            margin-bottom: auto;
            transform-origin: 42% 15%;
            width: 100%;
            transform: rotate(55deg);
            font-size: 200;
            padding: 5%;
            overflow: hidden;
            display: inline-block;
            white-space: pre;
            text-overflow: ellipsis;
            text-align: center;
        }
    }
}

.pdfBox {
    pointer-events: none;
    .collectionFreeFormView-none {
        pointer-events: none;
    }
    .pdfViewer-text {
        .textLayer {
            span {
                user-select: none;
            }
        }
    }
}

.pdfBox-interactive {
    pointer-events: all;
    .pdfViewer-text {
        .textLayer {
            span {
                user-select: text;
            }
        }
    }
}