diff --git a/static/css/styles.css b/static/css/styles.css new file mode 100644 index 0000000..3bf45b7 --- /dev/null +++ b/static/css/styles.css @@ -0,0 +1,207 @@ +body { + min-height: 100vh; + display: flex; + flex-direction: column; + margin: 0; + padding: 0; +} + +.main-content { + flex: 1 0 auto; + padding: 2rem 0; + margin-bottom: 4rem; /* Platz für die fixierte Fußzeile */ +} + +.search-container { + max-width: 800px; + margin: 0 auto; +} + +.result-card { + margin-bottom: 1rem; + transition: all 0.3s ease; +} + +.result-card:hover { + transform: translateY(-2px); + box-shadow: 0 4px 8px rgba(0,0,0,0.1); +} + +.loading { + display: none; + text-align: center; + margin: 2rem 0; +} + +.phone-link, .email-link, .address-link, .customer-link { + text-decoration: none; + color: #0d6efd; +} + +.phone-link:hover, .email-link:hover, .address-link:hover, .customer-link:hover { + text-decoration: underline; +} + +.search-icon, .reset-icon { + position: absolute; + top: 50%; + transform: translateY(-50%); + color: #6c757d; + cursor: pointer; + display: none; + z-index: 10; +} + +.reset-icon { + right: 10px; +} + +.search-icon { + right: 35px; +} + +.reset-icon.visible { + display: block; +} + +.search-icon.visible { + display: block; +} + +.customer-number { + color: #6c757d; + font-size: 0.9em; +} + +.footer { + flex-shrink: 0; + text-align: center; + padding: 1rem; + background-color: #f8f9fa; + border-top: 1px solid #dee2e6; + width: 100%; + position: fixed; + bottom: 0; + left: 0; + z-index: 100; +} + +.share-feedback { + position: fixed; + bottom: 20px; + right: 20px; + background: #28a745; + color: white; + padding: 8px 16px; + border-radius: 4px; + display: none; + animation: fadeOut 2s forwards; + z-index: 1000; +} + +@keyframes fadeOut { + 0% { opacity: 1; } + 70% { opacity: 1; } + 100% { opacity: 0; } +} + +.card-actions { + display: flex; + justify-content: flex-end; + margin-top: 1rem; +} + +.share-button { + padding: 5px 10px; + border-radius: 15px; + font-size: 0.9em; + background-color: #0d6efd; + color: white; + border: none; + cursor: pointer; + transition: background-color 0.2s; +} + +.share-button:hover { + background-color: #0b5ed7; +} + +.search-fields { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 1rem; + margin-bottom: 1rem; +} + +.search-field { + position: relative; +} + +.input-group { + position: relative; +} + +.result-counts { + display: flex; + justify-content: center; + margin-bottom: 1rem; + padding: 0.5rem; + background-color: #f8f9fa; + border-radius: 4px; +} + +.result-count { + background-color: #e9ecef; + padding: 4px 12px; + border-radius: 12px; + font-size: 0.9em; + color: #6c757d; + display: none; +} + +.result-count.visible { + display: inline-block; +} + +.location-pin { + color: #dc3545; + margin-left: 4px; + font-size: 1.2em; +} + +.customer-card { + background: white; + border-radius: 8px; + padding: 1.5rem; + margin-bottom: 1.5rem; + box-shadow: 0 2px 4px rgba(0,0,0,0.05); + border-bottom: 1px solid #e9ecef; +} + +.customer-card:last-child { + border-bottom: none; +} + +.customer-info { + margin-bottom: 1rem; +} + +.footer-content { + padding: 1rem; + background-color: #f8f9fa; + border-top: 1px solid #dee2e6; + width: 100%; + position: fixed; + bottom: 0; + left: 0; + z-index: 100; +} + +.footer-link { + color: #0d6efd; + text-decoration: none; +} + +.footer-link:hover { + text-decoration: underline; +} \ No newline at end of file