converted controls into an overlay
This commit is contained in:
parent
27435ed9a8
commit
6deb0d50fe
4 changed files with 45 additions and 7 deletions
38
css/uhr.css
38
css/uhr.css
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue