Commit Graph
60 Commits
Author SHA1 Message Date
Dermot Duffy 632e06b7f9 fix: Do not show menu icons on top of other unrelated HA content (#1617)
* fix: Do not show menu icons on top of other unrelated HA content

* Change z-indices to work when multiple cards are used

* Formatting
2024-10-05 11:59:43 -07:00
Dermot Duffy ff6dbba9f3 fix: Fix curved corners (again) (#1595) 2024-09-29 13:37:39 -07:00
Dermot Duffy 464a68ba03 fix: Menu should render over drawer (#1589) 2024-09-27 18:27:36 -07:00
Dermot Duffy b46ea36265 feat: Add loading spinner on card initialization (#1549)
* feat: Add loading spinner on card initialization

* Minor doc fix.
2024-09-20 19:39:17 -07:00
Dermot Duffy f924537025 fix: Replace max_height with height (#1539)
* fix: Replace `max_height` with `height`

BREAKING CHANGE: This entirely removes `min_height`, and replaces `max_height` with `height`. The behavior is obviously not exactly the same, but the prior behavior did not actually work correctly. CSS does not  limit the height of child elements that are `100%` of their parents height if the parent does not have an explicit height set (this caused spillage over the set max height). As such, it's simpler to just allow the user to set the actual height of the card should they need to do so, with a (hopefully) minor loss of flexibility.

* Test fixes
2024-09-15 17:29:05 -07:00
Dermot Duffy c7359188e7 Fix overlay z-index for menu . 2024-09-07 15:33:54 -07:00
Dermot Duffy e503f0e429 Initial version of status bar. 2024-08-16 20:08:21 -07:00
Dermot Duffy 7ab545738d Add initial keyboard shortcut support. 2024-06-05 21:44:17 -07:00
Dermot Duffy 06f2151bab Allow per-camera trigger borders. 2024-01-23 20:56:30 -08:00
Dermot Duffy 6012200809 Center expanded mode. 2023-04-11 20:48:04 -07:00
Dermot Duffy 1da7510c3a Add max_height and min_height dimension options. 2023-04-11 19:50:36 -07:00
Dermot Duffy e1d74dc35a Enable smooth panning between past/live. 2023-04-09 19:23:34 -07:00
Dermot Duffy fe2abfad86 Fix expanded mode / fullscreen interactions. 2023-04-01 17:03:16 -07:00
Dermot Duffy 709676cd8e Minor fixes / clarifications. 2023-03-12 13:35:19 -07:00
Dermot Duffy 94c1415e58 Fix behavior of expanded mode in certain cases. 2023-03-12 13:26:29 -07:00
Dermot Duffy 24613e7ed9 Add support for expanding the card without fullscreen. 2023-03-11 15:38:54 -08:00
Dermot Duffy 700f09c12c Expand the timeline to 100% height in panel mode. 2022-10-15 12:16:43 -07:00
Dermot Duffy c35fdc56d5 Add a hover-card menu style. 2022-10-10 20:43:35 -07:00
Dermot Duffy 9cd3413820 Fix border curve styling. 2022-09-10 09:46:38 -07:00
Dermot Duffy 46376918e4 Move scan mode pulsing border to the outer ha-card . 2022-07-23 19:25:03 -07:00
Dermot Duffy 2a33316e62 Fix thumbnail proportions in Safari 2022-06-26 16:44:39 -07:00
Dermot Duffy 95cd79270c Be more consistent in choice of background colors 2022-06-26 12:54:39 -07:00
Dermot Duffy 51ef68aa39 Fix gallery sizing in Safari 2022-06-25 15:50:08 -07:00
Dermot Duffy 0184174a52 Fix curves borders on Safari 2022-06-25 14:11:40 -07:00
Dermot Duffy 12bdb38cb2 Various timeline fixes for Safari 2022-06-25 12:55:59 -07:00
Dermot Duffy 4877c9ac3d Allow the provided URL to be used as the stock loading image. 2022-06-13 22:11:02 -07:00
Dermot Duffy 58a33c010a Fix the hover menu. 2022-05-31 19:04:20 -07:00
Dermot Duffy f7da2c2793 Refactor aspect-ratio logic. 2022-05-23 21:15:31 -07:00
Dermot Duffy 4a40e4a943 Add trigger border to outer container. 2022-05-19 17:58:17 -07:00
Dermot Duffy ab3202c9ac First skeleton of scan mode. 2022-05-18 21:24:17 -07:00
Dermot Duffy c1096619be Change hover menu to show up only when mouse is over the menu. 2022-05-08 17:05:07 -07:00
Dermot Duffy f4c95c416f Initial split of menu mode. 2022-04-23 18:28:50 -07:00
Dermot Duffy 3f96268182 Add support for a dark mode. 2022-04-17 21:10:19 -07:00
Dermot Duffy 117f5d6fdc Restore menu to relative rendering. 2022-03-13 11:21:21 -07:00
Dermot Duffy 89c1a672b3 Change menus to use fixed mode. 2022-02-25 19:22:49 -08:00
Dermot Duffy 7c8f351c33 Fix rounded corners. 2022-02-07 21:58:27 -08:00
Dermot Duffy c536ccb85b Fixes for panel mode. 2022-02-06 14:17:04 -08:00
Dermot Duffy 771387963f Render elements on top of the carousel. 2022-01-20 19:14:48 -08:00
Dermot Duffy 1229f25b11 Hide live view in preload mode if there's a message to display. 2022-01-17 11:05:00 -08:00
Dermot Duffy ba94f31a32 Support selecting menu items 2022-01-14 21:31:16 -08:00
Dermot Duffy 93ff4d8445 Initial submenu support. 2021-12-17 18:08:07 -08:00
Dermot Duffy 6c03934656 Thumbnail carousel initial draft 2021-11-22 17:07:33 -08:00
Dermot Duffy 8f86e7fcd7 Add live preload option. 2021-10-16 15:39:32 -07:00
Dermot Duffy 49455ab741 Add picture elements support. 2021-10-07 21:16:16 -07:00
Dermot Duffy 423bd9fd2b Initial attempt to get camera name from entity unique_id. 2021-09-26 20:36:54 -07:00
Dermot Duffy 7c0e0133ee Fullscreen improvements (esp. portrait media) 2021-09-26 14:05:06 -07:00
Dermot Duffy 2ab4e064f4 Update README and minor Safari fix. 2021-09-25 16:16:31 -07:00
Dermot Duffy 3b6f9dbacc Initial fullscreen functionality. 2021-09-25 10:57:23 -07:00
Dermot Duffy e3ccbb0787 Dynamically extract dimensions from loaded media. 2021-09-23 20:38:39 -07:00
Dermot Duffy 4ac69a951c CSS changes for Safari & cleanups 2021-09-21 12:47:15 -07:00