converted controls into an overlay

This commit is contained in:
Manuel Friedli 2014-08-10 23:14:29 +02:00
parent 27435ed9a8
commit 6deb0d50fe
4 changed files with 45 additions and 7 deletions

View file

@ -164,7 +164,43 @@ body {
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
right: 0px;
right: 0;
}
a.uhr-configlink {
cursor: pointer;
background: url("../resources/settings.png") no-repeat;
width: 24px;
height: 24px;
display: inline-block;
margin: 2px;
}
.uhr-controlpanel {
background-color: rgba(0,0,0,0.5);
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.uhr-controlpanel .content {
background-color: #fff;
margin-left: auto;
margin-right: auto;
width: 10em;
padding: 2em;
border-radius: 0.5em;
position: relative;
}
a.uhr-closecontrolpanel {
cursor: pointer;
display: inline-block;
position: absolute;
right: 3px;
top: 3px;
width: 24px;
height: 24px;
background: url("../resources/close.png") no-repeat;
}
#disclaimer {
font-size: 0.5em;