((LitElement) => {
const html = LitElement.prototype.html;
const css = LitElement.prototype.css;
class RoombaVacuumCard extends LitElement {
static get properties() {
return {
_hass: {},
_config: {},
stateObj: {},
state: {},
style: {}
}
}
static get styles() {
return css`
.background {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}
.title-left {
font-size: 20px;
padding: 16px 16px 0;
text-align: left;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.title-right {
font-size: 18px;
padding: 16px 16px 0;
text-align: right;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.content {
cursor: pointer;
}
.flex {
display: flex;
align-items: center;
justify-content: space-evenly;
}
.button {
cursor: pointer;
padding: 16px;
}
.button-blank {
cursor: pointer;
padding: 16px 50px 16px 50px;
}
.grid {
display: grid;
grid-template-columns: repeat(2, auto);
}
.grid-content {
display: grid;
align-content: space-between;
grid-row-gap: 6px;
}
.grid-left {
text-align: left;
font-size: 110%;
padding-left: 10px;
border-left: 2px solid var(--primary-color);
}
.grid-right {
text-align: right;
font-size: 110%;
padding-right: 10px;
border-right: 2px solid var(--primary-color);
}
.tab-active {
display: grid;
}
.tab-passive {
display: none;
}
.totals {
border-right: 2px solid var(--primary-color)
}
.job {
border-right: 2px solid var(--accent-color)
}`;
}
render() {
return html`