html, body { height: 100%; margin: 0; } #header { background-color: #4CAF50; color: white; text-align: center; padding: 15px; font-size: 24px; position: absolute; top: 0; width: 100%; z-index: 10; } #controls { position: absolute; top: 20px; right: 10px; z-index: 20; background-color:#4CAF50; padding: 10px; border: 1px solid #ccc; border-radius: 5px; } #mapContainer { position: absolute; top: 60px; bottom: 0; width: 100%; transition: height 0.3s ease; } #tableContainer { position: absolute; bottom: 0; height: 0; width: 100%; border-top: 1px solid #ccc; overflow: hidden; background: white; transition: height 0.3s ease; } #toggleTableButton { position: absolute; right: 15px; bottom: 15px; z-index: 20; background-color: #4CAF50; color: white; border: none; padding: 10px 20px; cursor: pointer; border-radius: 5px; transition: bottom 0.3s ease; /* Tạo hiệu ứng mượt mà */ } /* Ẩn logo và bản quyền trong FeatureTable */ .esri-feature-table .esri-widget-footer { display: none; /* Ẩn footer chứa bản quyền */ } /* Ẩn phần tử chứa thông tin bản quyền */ .esri-attribution__sources, .esri-attribution__powered-by { display: none !important; } /* Thu hẹp bảng chỉ dẫn */ .esri-legend { max-width: 200px; /* Giới hạn chiều rộng */ max-height: 130px; /* Giới hạn chiều cao */ overflow-y: auto; /* Bật thanh cuộn nếu nội dung vượt quá */ font-size: 12px; /* Thu nhỏ kích thước chữ */ font-weight: bold; padding: 5px; border: 1px solid #ccc; /* Viền cho bảng */ border-radius: 5px; background: rgba(255, 255, 255, 0.637); align-items: center; /* Nền trắng, độ trong suốt */ } /* Thu nhỏ các biểu tượng trong bảng chỉ dẫn */ .esri-legend__layer-cell { margin: 1px 0; /* Giảm khoảng cách giữa các mục */ }