rpi-profalux-shutters
Version:
Node library to control Profalux roller shutters with a Raspberry Pi through an HTTP API
78 lines (69 loc) • 1.43 kB
CSS
html {
height: 100%;
overflow: hidden;
outline: none;
user-select: none ;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-touch-callout: none ;
}
body {
position: relative;
margin: 0;
height: 100%;
background: #fdfcf7;
-webkit-font-smoothing: antialiased;
}
h1 {
position: absolute;
bottom: 10px;
margin: 0;
width: 100%;
color: #fdf8e1;
font-size: 48px;
font-weight: normal;
text-align: center;
text-shadow: -1px -1px 0 rgba(0, 0, 0, .3), 1px 1px 0 rgba(253, 242, 186, .3);
}
.indicator-light {
position: absolute;
top: 20px;
left: 50%;
margin-left: -8px;
width: 16px;
height: 16px;
background: rgba(0, 0, 0, .3);
border-radius: 50%;
transition: all .1s ease-in;
}
.indicator-light.on {
background: rgba(255, 0, 0, .8);
box-shadow: 0 0 10px #f00000;
}
.actions {
display: flex;
flex-direction: column;
justify-content: center;
margin: 0;
padding: 0;
height: 100%;
list-style: none;
text-align: center;
}
.actions li + li {
margin-top: 20px;
}
.button {
display: block;
margin: 0 auto;
width: 100px;
text-decoration: none;
}
.button path, .button circle {
fill: rgba(203, 190, 104, .3);
}
.button:active path, .button:active circle {
fill: rgba(203, 190, 104, .6);
}
.button--up {
transform: rotate(180deg);
}