Spaces:
Sleeping
Sleeping
File size: 3,716 Bytes
e53c2d7 |
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 204 205 206 |
.chat-container {
display: flex;
width: 100%;
}
.chat-body {
flex: 1;
background-color: #f8f9fa;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.hero-section {
background: linear-gradient(135deg, #6e8efb, #a777e3);
color: white;
border-radius: 0 0 20px 20px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.search-container {
max-width: 800px;
margin: 0 auto;
}
.search-box {
border-radius: 10px;
border: none;
padding: 15px 25px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-search {
border-radius: 10px;
padding: 15px 30px;
background-color: #4e44ce;
border: none;
}
.file-upload {
background: white;
border-radius: 10px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.file-list {
margin-top: 10px;
}
.file-item {
background: #f1f3ff;
border-radius: 5px;
padding: 8px 12px;
margin-bottom: 5px;
}
.login-body {
font-family: Arial, sans-serif;
max-width: 400px;
margin: 0 auto;
padding: 20px;
}
.form-group {
margin-bottom: 15px;
}
.login-label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
.input-field {
width: 100%;
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
}
.login-button {
background-color: #4CAF50;
color: white;
padding: 10px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
.login-button :hover {
background-color: #45a049;
}
.error {
color: red;
font-size: 14px;
margin-top: 5px;
}
#pdf-container {
margin: 0 auto;
max-width: 100%;
overflow-x: auto;
text-align: center;
padding: 20px 0;
}
#pdf-canvas {
margin: 0 auto;
display: block;
max-width: 100%;
box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
/* Fix the page input container layout */
.page-input-container {
position: relative;
display: inline-flex;
align-items: center;
}
.page-input {
width: 50px;
padding: 8px 25px 8px 8px; /* Right padding gives space for label */
text-align: center;
border: 1px solid #ddd;
border-radius: 4px;
-moz-appearance: textfield; /* Hide number arrows in Firefox */
}
/* Hide number arrows in Chrome/Safari */
.page-input::-webkit-outer-spin-button,
.page-input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.page-input-label {
position: absolute;
right: 8px;
color: #666;
pointer-events: none; /* Allows clicking through to input */
}
/* Pagination styling */
.pagination-container {
margin: 20px 0;
text-align: center;
}
.pagination {
display: inline-flex;
align-items: center;
}
.pagination-button {
padding: 8px 16px;
background: #4a6fa5;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
gap: 5px;
}
.pagination-button-text:hover {
background-color: #e0e0e0;
transform: translateY(-1px);
}
.pagination-button-text:active {
transform: translateY(0);
}
.text-viewer {
font-family: monospace;
white-space: pre-wrap; /* Preserve line breaks but wrap text */
background: #f8f8f8;
padding: 20px;
border-radius: 5px;
line-height: 1.5;
}
.citation {
background-color: rgba(0, 255, 0, 0.2);
padding: 2px 0;
}
.no-content {
color: #999;
font-style: italic;
}
.pagination-container-text {
margin: 20px 0;
text-align: center;
}
.pagination-button-text {
padding: 8px 16px;
background: #4a6fa5;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
} |