body {
margin: 0;
padding: 20px;
background-color: #1a1a1a;
}
#pdf {
position: relative;
margin: 0 auto;
background-color: transparent;
box-shadow: none;
}
.page {
position: relative;
margin-bottom: 20px;
overflow: hidden;
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
border-radius: 4px;
margin-bottom: 30px;
}
.textLayer {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
opacity: 0.2;
user-select: text;
transform-origin: 0 0;
line-height: 1.0;
}
.textLayer > span,
.textLayer > .endOfContent {
color: transparent;
position: absolute;
white-space: pre;
cursor: text;
transform-origin: 0% 0%;
}
.textLayer .endOfContent {
display: inline-block;
pointer-events: none;
}
.textLayer .highlight {
margin: -1px;
padding: 1px;
background-color: rgba(255, 255, 0, 0.4);
border-radius: 4px;
}
.highlightLayer {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
transform-origin: 0 0;
}
.customHighlight {
position: absolute;
background-color: rgba(255, 255, 0, 0.3);
pointer-events: auto;
cursor: pointer;
}
.dialog {
position: absolute;
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
z-index: 1000;
overflow: hidden;
width: 300px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.dialogTextarea {
width: 100%;
padding: 12px;
resize: vertical;
border: 1px solid #eaeaea;
border-radius: 4px;
box-sizing: border-box;
font-family: inherit;
font-size: 14px;
min-height: 80px;
margin: 0 0 10px 0;
}
.dialogTextarea:focus {
outline: none;
border-color: #4285f4;
box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}
.dialogButtonContainer {
display: flex;
justify-content: flex-end;
padding: 0 12px 12px 12px;
gap: 8px;
}
.dialogButton {
padding: 8px 16px;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
}
.saveButton {
background-color: #4285f4;
color: white;
}
.saveButton:hover {
background-color: #3367d6;
}
.cancelButton {
background-color: #f1f3f4;
color: #3c4043;
}
.cancelButton:hover {
background-color: #e8eaed;
}
.deleteButton {
background-color: #ea4335;
color: white;
}
.deleteButton:hover {
background-color: #d33426;
}
.dialogTooltip {
position: absolute;
background-color: #333;
color: white;
padding: 8px 12px;
border-radius: 4px;
max-width: 250px;
z-index: 1000;
font-size: 14px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.dialogTitleBar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px;
background-color: #f8f9fa;
border-bottom: 1px solid #eaeaea;
border-radius: 8px 8px 0 0;
font-weight: 500;
user-select: none;
}
.dialogCloseButton {
cursor: pointer;
font-size: 20px;
line-height: 1;
color: #5f6368;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}
.dialogCloseButton:hover {
background-color: #e8eaed;
color: #202124;
}
.dialogTimestamp {
font-size: 13px;
color: #5f6368;
}
.navToolbar {
position: fixed;
top: 20px;
right: 20px;
display: flex;
gap: 5px;
padding: 5px;
background: white;
border: 1px solid #ccc;
border-radius: 4px;
z-index: 1000;
}
.navButton {
width: 40px;
height: 40px;
border: 1px solid #ccc;
background: white;
font-size: 16px;
cursor: pointer;
}
.summaryDialog {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 600px;
max-width: 90vw;
height: 500px;
max-height: 80vh;
background-color: white;
border: 1px solid #ccc;
padding: 10px;
z-index: 2000;
}
.summaryCloseButton {
float: right;
border: none;
background: none;
font-size: 20px;
cursor: pointer;
padding: 0 5px;
}
.summaryContent {
width: 100%;
height: calc(100% - 30px);
border: 1px solid #ccc;
padding: 10px;
font-family: monospace;
resize: none;
}