Add datepicker to timeline.

This commit is contained in:
Dermot Duffy
2023-03-28 19:57:26 -07:00
parent c7cab98786
commit 8c606b296f
10 changed files with 126 additions and 21 deletions
+7
View File
@@ -0,0 +1,7 @@
// The lit-flatpickr element itself is hidden as we only want the popup
// calender.
lit-flatpickr {
visibility: hidden;
width: 0px;
height: 0px;
}
+4 -1
View File
@@ -141,11 +141,14 @@ div.vis-tooltip {
pointer-events: none;
}
ha-icon.lock {
.timeline-tools {
position: absolute;
right: 2px;
bottom: 2px;
color: var(--primary-color);
z-index: 10;
}
.timeline-tools ha-icon {
cursor: pointer;
}