Dashboard Edit - Replace chart type dropdown with icon buttons (#7462)

* Dashboard Edit - Replace chart type dropdown with buttons with icons

* Update css.php

* Update template.php
This commit is contained in:
Alex
2025-08-19 15:18:28 -07:00
committed by GitHub
parent 9a47beed76
commit 3794391217
3 changed files with 52 additions and 11 deletions

View File

@@ -3206,6 +3206,30 @@ else { //default: white
cursor: pointer;
}
/* DASHBOARD EDIT **********************************************************************/
.chart_type_button {
padding: 8px 16px;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 5px;
cursor: pointer;
display: flex;
align-items: center;
}
.chart_type_button:has(input:checked) {
background-color: #F0F4FE;
border-color: #8EACF9;
}
.chart_type_button:hover {
background-color: rgba(0,0,0,0.03);
}
.chart_type_button i {
font-size: 15pt;
}
/* PLUGINS ********************************************************************/
/* bootstrap colorpicker */

View File

@@ -20,7 +20,7 @@
<link rel='stylesheet' type='text/css' href='{$project_path}/resources/bootstrap/css/bootstrap-tempusdominus.min.css.php'>
<link rel='stylesheet' type='text/css' href='{$project_path}/resources/bootstrap/css/bootstrap-colorpicker.min.css.php'>
<link rel='stylesheet' type='text/css' href='{$project_path}/resources/fontawesome/css/all.min.css.php'>
<link rel='stylesheet' type='text/css' href='{$project_path}/themes/default/css.php?updated=202508060330'>
<link rel='stylesheet' type='text/css' href='{$project_path}/themes/default/css.php?updated=202508190400'>
{*//link to custom css file *}
{if !empty($settings.theme.custom_css)}
<link rel='stylesheet' type='text/css' href='{$settings.theme.custom_css}'>