From 9b40088050924a234e90359fab0fd273ad4e933e Mon Sep 17 00:00:00 2001 From: Yevgeny Tomenko Date: Fri, 27 Sep 2024 21:05:39 +0300 Subject: [PATCH] extract css into theme files. provide inline css theme. add feature to teleport top buttons out of component --- templates/element/Search/v_search.php | 1 + templates/element/Search/v_templates.php | 413 +---------------------- webroot/css/default.css | 392 +++++++++++++++++++++ webroot/css/inline.css | 410 ++++++++++++++++++++++ webroot/js/main.js | 70 +--- 5 files changed, 834 insertions(+), 452 deletions(-) create mode 100644 webroot/css/default.css create mode 100644 webroot/css/inline.css diff --git a/templates/element/Search/v_search.php b/templates/element/Search/v_search.php index 168ab31..f3da469 100644 --- a/templates/element/Search/v_search.php +++ b/templates/element/Search/v_search.php @@ -15,6 +15,7 @@ window._search.values = {}; +Html->css('CakeDC/SearchFilter.default'); ?> diff --git a/templates/element/Search/v_templates.php b/templates/element/Search/v_templates.php index 27d618a..2f024d1 100644 --- a/templates/element/Search/v_templates.php +++ b/templates/element/Search/v_templates.php @@ -1,401 +1,20 @@ - -