| .container { |
| max-width: 800px; |
| margin: 0 auto; |
| padding: 20px; |
| } |
| |
| table { |
| width: 100%; |
| border-collapse: collapse; |
| margin: 20px 0; |
| } |
| |
| th, td { |
| padding: 8px; |
| border: 1px solid #ddd; |
| text-align: left; |
| } |
| |
| button { |
| margin: 5px; |
| padding: 8px 16px; |
| } |
| |
| .version-info { |
| background: #f5f5f5; |
| padding: 10px; |
| border-radius: 4px; |
| margin-bottom: 20px; |
| } |
| |
| .domain-input, .ip-input { |
| width: 100%; |
| padding: 4px; |
| box-sizing: border-box; |
| } |
| |
| td { |
| min-width: 200px; |
| } |
| |
| td:last-child { |
| min-width: 80px; |
| text-align: center; |
| } |
| |
| .btn-delete { |
| background-color: #ff4444; |
| color: white; |
| border: none; |
| border-radius: 4px; |
| cursor: pointer; |
| } |
| |
| .btn-delete:hover { |
| background-color: #cc0000; |
| } |
| |
| #add-host { |
| background-color: #4CAF50; |
| color: white; |
| border: none; |
| border-radius: 4px; |
| cursor: pointer; |
| } |
| |
| #save-hosts { |
| background-color: #2196F3; |
| color: white; |
| border: none; |
| border-radius: 4px; |
| cursor: pointer; |
| } |
| |
| .controls { |
| display: flex; |
| justify-content: space-between; |
| margin-top: 20px; |
| } |
| |
| .search-box { |
| margin: 20px 0; |
| } |
| |
| #search-input { |
| width: 100%; |
| padding: 8px; |
| font-size: 16px; |
| border: 1px solid #ddd; |
| border-radius: 4px; |
| box-sizing: border-box; |
| } |
| |
| .hidden-row { |
| display: none; |
| } |
| |
| .duplicate-warning { |
| color: #dc3545; |
| font-size: 0.875rem; |
| margin-top: 0.25rem; |
| } |
| |
| .table th { |
| position: relative; |
| } |
| |
| .pagination { |
| margin-bottom: 0; |
| } |
| |
| .form-control:focus { |
| box-shadow: none; |
| border-color: #80bdff; |
| } |
| |
| .btn-delete { |
| padding: 0.25rem 0.5rem; |
| } |
| |
| .table td { |
| vertical-align: middle; |
| } |
| |
| .input-group-text { |
| background-color: #f8f9fa; |
| } |
| |
| .card { |
| box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); |
| } |
| |
| .table-responsive { |
| min-height: 400px; |
| } |