PdfUploader/webPdfUploader/src/App.css

117 lines
1.7 KiB
CSS
Raw Normal View History

2026-08-19 11:04:06 +03:00
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #f4f6f8;
margin: 0;
}
.app-container {
max-width: 900px;
margin: 40px auto;
padding: 24px;
background: #fff;
border-radius: 8px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
h1 {
margin-top: 0;
}
.upload-box {
border: 1px dashed #c0c7d0;
border-radius: 6px;
padding: 16px;
margin-bottom: 24px;
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.upload-box h3 {
width: 100%;
margin: 0 0 4px 0;
}
button {
cursor: pointer;
border: none;
border-radius: 4px;
padding: 6px 12px;
background: #2f6fed;
color: #fff;
font-size: 14px;
}
button:disabled {
background: #9db3e8;
cursor: not-allowed;
}
button.danger {
background: #d64545;
}
.file-table {
width: 100%;
border-collapse: collapse;
}
.file-table th,
.file-table td {
text-align: left;
padding: 10px;
border-bottom: 1px solid #eaeef2;
}
.actions-cell {
display: flex;
gap: 8px;
}
.empty-state {
color: #6b7280;
}
.error-text {
color: #d64545;
margin-top: 8px;
}
.preview-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.preview-modal {
background: #fff;
width: 80vw;
height: 85vh;
border-radius: 6px;
display: flex;
flex-direction: column;
overflow: hidden;
}
.preview-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
border-bottom: 1px solid #eaeef2;
}
.preview-object {
flex: 1;
width: 100%;
border: none;
}