th3jesta / ha-lcars

LCARS theme for Home Assistant
MIT License
286 stars 22 forks source link

Calendar card is a bit of a mess #51

Open mijofa opened 1 year ago

mijofa commented 1 year ago

I did a bunch of card_mod: style: ... work to make the calendar card render better for me, so I figured I'd share that here. Here's the yaml:

card_mod:
  class: $class$
  style:
    div.header: |
      div.header {
        /* This header only holds the "name" which,
           when empty, still takes up a lot of empty space. */
        /* display:none; */
        /* LCARS made a mess of the background colour */
        background: var(--paper-listbox-background-color);
      }
    ha-full-calendar$: |
      .header {
        /* LCARS made a mess of the background colour */
        background: var(--paper-listbox-background-color);
      }
      #calendar {
        /* LCARS made a mess of the background colour */
        --card-background-color: var(--paper-listbox-background-color);
      }
      #calendar, div.fc-scroller {
        border-radius: 0px 0px 20px 0px !important;
      }

Some before screenshots (the pink is my redactions for privacy, not an issue with the theme) before_middle-rightbefore_footer-right And finally, some after screenshots (the pink is my redactions for privacy, not an issue with the theme) after_middle-rightafter_footer-right

askpatrickw commented 1 year ago

The main issue I've been noticing with Calendaring is there is no way to get back to the Month view from a day view.

image

Those calendar view buttons would be nice to have added.