92 lines
1.9 KiB
TypeScript
92 lines
1.9 KiB
TypeScript
|
import { css } from 'lit-element';
|
||
|
|
||
|
export const styles = css`
|
||
|
ha-card {
|
||
|
cursor: pointer;
|
||
|
overflow: hidden;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
ha-card.disabled {
|
||
|
pointer-events: none;
|
||
|
cursor: default;
|
||
|
}
|
||
|
ha-icon {
|
||
|
display: inline-block;
|
||
|
margin: auto;
|
||
|
}
|
||
|
ha-card.button-card-main {
|
||
|
padding: 4% 0px;
|
||
|
text-transform: none;
|
||
|
font-weight: 400;
|
||
|
font-size: 1.2rem;
|
||
|
align-items: center;
|
||
|
text-align: center;
|
||
|
letter-spacing: normal;
|
||
|
width: 100%;
|
||
|
}
|
||
|
div.divTable{
|
||
|
display: table;
|
||
|
overflow: auto;
|
||
|
table-layout: fixed;
|
||
|
width: 100%;
|
||
|
}
|
||
|
div.divTableBody {
|
||
|
display: table-row-group;
|
||
|
}
|
||
|
div.divTableRow {
|
||
|
display: table-row;
|
||
|
}
|
||
|
.divTableCell {
|
||
|
display: table-cell;
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
div {
|
||
|
text-overflow: ellipsis;
|
||
|
white-space: nowrap;
|
||
|
overflow: hidden;
|
||
|
min-width: 100%;
|
||
|
}
|
||
|
@keyframes blink{
|
||
|
0%{opacity:0;}
|
||
|
50%{opacity:1;}
|
||
|
100%{opacity:0;}
|
||
|
}
|
||
|
@-webkit-keyframes rotating /* Safari and Chrome */ {
|
||
|
from {
|
||
|
-webkit-transform: rotate(0deg);
|
||
|
-o-transform: rotate(0deg);
|
||
|
transform: rotate(0deg);
|
||
|
}
|
||
|
to {
|
||
|
-webkit-transform: rotate(360deg);
|
||
|
-o-transform: rotate(360deg);
|
||
|
transform: rotate(360deg);
|
||
|
}
|
||
|
}
|
||
|
@keyframes rotating {
|
||
|
from {
|
||
|
-ms-transform: rotate(0deg);
|
||
|
-moz-transform: rotate(0deg);
|
||
|
-webkit-transform: rotate(0deg);
|
||
|
-o-transform: rotate(0deg);
|
||
|
transform: rotate(0deg);
|
||
|
}
|
||
|
to {
|
||
|
-ms-transform: rotate(360deg);
|
||
|
-moz-transform: rotate(360deg);
|
||
|
-webkit-transform: rotate(360deg);
|
||
|
-o-transform: rotate(360deg);
|
||
|
transform: rotate(360deg);
|
||
|
}
|
||
|
}
|
||
|
.rotating {
|
||
|
-webkit-animation: rotating 2s linear infinite;
|
||
|
-moz-animation: rotating 2s linear infinite;
|
||
|
-ms-animation: rotating 2s linear infinite;
|
||
|
-o-animation: rotating 2s linear infinite;
|
||
|
animation: rotating 2s linear infinite;
|
||
|
}
|
||
|
`;
|
||
|
|
||
|
export default styles;
|