table.ctv-table { font-size: 14px; font-family: inherit; color: #222; font-variant-numeric: tabular-nums; border-collapse: collapse; border-spacing: 0 0; /* width: 400px; */ } .ctv-table thead { position: sticky; top: 0; } .ctv-table tr { border-bottom: 1px solid #ddd; } .ctv-table th.sortable { cursor: pointer; } .ctv-table th, .ctv-table td { padding: 0.2em 0.4em; } .ctv-table th { font-weight: bold; background-color: #f5f7f9; padding: 0.3em 0.4em; } .ctv-table td .td-div { padding: 0.2em 0em; } .ctv-table td > div, .ctv-table th > div { display: flex; align-items: center; } .ctv-table td > div.string, .ctv-table th > div.string { justify-content: flex-start; text-align: left; } .ctv-table td > div.number /*, .ctv-table th > div.number */ { justify-content: flex-end; } .bar-container { width: 100%; height: 100%; display: flex; background-color: #f5f7f9; } .bar-container .bar { height: 1.2em; background-color: #222; } .map-widget * { box-sizing: border-box; } .map-widget { --menu-width: 14rem; display: grid; grid-template-areas: "title title" "map menu" "info info"; grid-template-columns: 1fr min-content; grid-template-rows: min-content minmax(50%, 1fr) min-content; position: relative; max-width: 960px; margin: 1.8em auto; height: 660px; overflow: hidden; color: #222; line-height: normal; font-size: 10px; font-family: "Inter", sans-serif; } .map-widget .title-container { grid-area: title; margin: 0.4em 0; } .map-widget .title-container h2 { font-size: 1.8em; font-weight: 700; font-family: "Inter", sans-serif; margin: 0; } .map-widget .map-container { grid-area: map; position: relative; background-color: #fafafa; } .map-widget .map-container svg { width: 100%; height: 100%; } .map-widget .menu-container { position: relative; grid-area: menu; transition: 0.5s; width: 0em; } .map-widget.menu-open .menu-container { width: var(--menu-width); } .map-widget .info-container { grid-area: info; scrollbar-width: thin; height: 24em; overflow: auto; } .map-widget .bold { font-family: "Inter", sans-serif; font-weight: 700; } .map-widget .carto-toggle { position: absolute; top: 2em; right: 2em; font-size: 1.4em; display: flex; align-items: center; justify-content: space-between; width: 8em; height: 2em; background: rgba(255, 255, 255, 0.5); overflow: hidden; transition: 0.3s; /* border-radius: 3em; */ box-shadow: 0 0 1em 0 rgba(10, 10, 10, 0.025); } .map-widget .carto-toggle > button { font-size: 0.9em; font-family: inherit; user-select: none; display: flex; align-items: center; justify-content: center; border: none; background-color: transparent; color: #666; /* border-radius: 3em; */ height: 100%; width: 50%; } .map-widget .carto-toggle > button.selected { background-color: #444; color: #fff; } .map-widget.menu-open .carto-toggle { width: 0; } #app { /* width: 100vw; */ /* height: 100vh; */ display: flex; flex-direction: column; align-items: center; justify-content: center; line-height:normal; font-family: "Inter", sans-serif; } #app div.info-container { height: 0; } .table-container { max-height: 400px; overflow: auto; } .map-widget { flex-grow: 1; width: 100%; max-width: 600px; height: 400px; } .map-widget .info-container { height: 80px; } #app button.my-location { border: none; font-family: inherit; color: #222; font-weight: 700; padding: 0.5em 1em; font-size: 16px; } #app button.my-location:hover { background: #ddd; } #app circle:hover { fill: rgb(0, 153, 255) !important; } #app .search-box { display: flex; flex-direction: row; align-items: center; /* gap: 1em; */ margin: 1em 0; } #app .search-box .word { margin: 0 1em; } #app .search-box input { border: 1px solid #222; border-radius: 0; font-family: inherit; font-weight: 700; font-size: 16px; padding: 0.2em 0.5em; } #app .search-box button.reset-search { width: 30px; border: none; background-color: transparent; font-family: inherit; font-weight: 700; } #app .search-box button.reset-search:hover { background-color: #eee; }