diff --git a/ckanext/charts/assets/css/charts.css b/ckanext/charts/assets/css/charts.css index 59e46f8..d9c9c0d 100644 --- a/ckanext/charts/assets/css/charts.css +++ b/ckanext/charts/assets/css/charts.css @@ -1 +1 @@ -.row.wrapper.charts-view .dataset-resource-form{position:relative;padding:0}.resource-view-charts_builder_view label.no-dots:after,.resource-view-charts_view label.no-dots:after,.row.wrapper.charts-view label.no-dots:after{display:none}.resource-view-charts_builder_view #chart-container,.resource-view-charts_view #chart-container,.row.wrapper.charts-view #chart-container{max-height:600px}.resource-view-charts_builder_view select,.resource-view-charts_view select,.row.wrapper.charts-view select{border:1px solid #d0d0d0;padding:8px;border-radius:3px;width:100%}.resource-view-charts_builder_view #chart-clear,.resource-view-charts_view #chart-clear,.row.wrapper.charts-view #chart-clear{margin-left:auto}.resource-view-charts_builder_view .tab-content,.resource-view-charts_view .tab-content,.row.wrapper.charts-view .tab-content{display:block}.resource-view-charts_builder_view #chart-indicator,.resource-view-charts_view #chart-indicator,.row.wrapper.charts-view #chart-indicator{display:none}.resource-view-charts_builder_view .htmx-request#chart-indicator,.resource-view-charts_view .htmx-request#chart-indicator,.row.wrapper.charts-view .htmx-request#chart-indicator{display:inline}.charts-filters .filter-container{margin-bottom:1rem}.charts-filters .filter-container .filter-pair{display:flex;gap:.5rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid beige}.charts-filters .filter-container .filter-pair:last-of-type{margin-bottom:0;padding-bottom:0;border-bottom:unset}.charts-filters .filter-container .filter-pair .remove-pair{top:0;flex-basis:10%;height:fit-content}.charts-filters .filter-container .filter-pair .ts-wrapper{flex-basis:45%}.charts-view--form .ts-wrapper .ts-control{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em}.charts-view--form .ts-wrapper.plugin-clear_button .ts-control{background:#fff}.charts-view--form .ts-wrapper.plugin-clear_button .ts-control .clear-button{right:.55rem;font-size:1.25rem}.charts-view--form .ts-wrapper .ts-dropdown{top:unset;margin-top:1px} \ No newline at end of file +.row.wrapper.charts-view .dataset-resource-form{position:relative;padding:0}.resource-view-charts_builder_view label.no-dots:after,.resource-view-charts_view label.no-dots:after,.row.wrapper.charts-view label.no-dots:after{display:none}.resource-view-charts_builder_view #chart-container,.resource-view-charts_view #chart-container,.row.wrapper.charts-view #chart-container{max-height:600px}.resource-view-charts_builder_view select,.resource-view-charts_view select,.row.wrapper.charts-view select{border:1px solid #d0d0d0;padding:8px;border-radius:3px;width:100%}.resource-view-charts_builder_view #chart-clear,.resource-view-charts_view #chart-clear,.row.wrapper.charts-view #chart-clear{margin-left:auto}.resource-view-charts_builder_view .tab-content,.resource-view-charts_view .tab-content,.row.wrapper.charts-view .tab-content{display:block}.resource-view-charts_builder_view #chart-indicator,.resource-view-charts_view #chart-indicator,.row.wrapper.charts-view #chart-indicator{display:none}.resource-view-charts_builder_view .htmx-request#chart-indicator,.resource-view-charts_view .htmx-request#chart-indicator,.row.wrapper.charts-view .htmx-request#chart-indicator{display:inline}.charts-filters .filter-container{margin-bottom:1rem}.charts-filters .filter-container .filter-pair{display:flex;gap:.5rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid beige}.charts-filters .filter-container .filter-pair:last-of-type{margin-bottom:0;padding-bottom:0;border-bottom:unset}.charts-filters .filter-container .filter-pair .remove-pair{top:0;height:fit-content}.charts-filters .filter-container .filter-pair .ts-wrapper{flex-basis:45%}.charts-view--form .ts-wrapper .ts-control{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em}.charts-view--form .ts-wrapper.plugin-clear_button .ts-control{background:#fff}.charts-view--form .ts-wrapper.plugin-clear_button .ts-control .clear-button{right:.55rem;font-size:1.25rem}.charts-view--form .ts-wrapper .ts-dropdown{top:unset;margin-top:1px} \ No newline at end of file diff --git a/ckanext/charts/theme/charts.scss b/ckanext/charts/theme/charts.scss index 56b10b3..c76baa1 100644 --- a/ckanext/charts/theme/charts.scss +++ b/ckanext/charts/theme/charts.scss @@ -64,7 +64,6 @@ .remove-pair { top: 0; - flex-basis: 10%; height: fit-content; }