signalk-notification-player
Version:
Customizable audio and text to speech playback of Signal K notifications w/ optional Slack integration
104 lines (97 loc) • 1.82 kB
CSS
body {
font-family: Arial, sans-serif;
justify-content: center;
align-items: center;
display: flex;
position: relative;
display: flex;
flex-direction: column;
margin: 0;
height: 100%;
background-color: #101010;
}
.update-timer {
font-size: 10px;
text-anchor: middle;
}
.controls-div {
font-size: 10px;
text-anchor: middle;
color: #808080;
}
#silenceAll {
font-size: 16px;
text-anchor: middle;
border-radius: 10px;
font-weight: 700;
box-shadow: 5px 5px 9px black;
background-color: darkgray;
}
input {
font-size: 10px;
padding: 0px 10px 0px 10px;
border-radius: 7px;
}
button {
font-size: 10px;
padding: 0px 10px 0px 10px;
border-radius: 7px;
box-shadow: 4px 4px 5px black;
}
table {
background-color: dimgray;
border-radius: 6px;
}
th {
text-align: center;
font-size: 10px;
border-radius: 11px;
background-color: #c4c4c4;
}
td {
font-size: 13px;
border: 0px solid #ddd;
padding: 1px 5px 1px 5px;
text-align: left;
border-radius: 4px;
color: WhiteSmoke;
}
tr:nth-child(odd) {
background-color: #848484;
}
tr:nth-child(even) {
background-color: #545454;
}
.popupContainer {
display: none;
position: absolute;
background-color: #EDEFED;
border: 4px solid #888;
border-radius: 8px;
font-size: 11px;
padding: 10px;
pointer-events: none;
}
.popupContainerState {
display: none;
position: absolute;
background-color: #EDEFED;
border: 4px solid #888;
border-radius: 8px;
font-size: 11px;
padding: 10px;
pointer-events: none;
}
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.7);
display: none;
justify-content: center;
align-items: flex-start;
z-index: 1; /*top of other content */
color: darkred;
font-size: 2em;
}