make the control panel full-size on narrow (<=400px) screens, and include
all colors and languages on the main page
This commit is contained in:
parent
e03102172c
commit
fa0da37425
2 changed files with 26 additions and 7 deletions
19
css/uhr.css
19
css/uhr.css
|
@ -183,13 +183,24 @@ a.uhr-configlink {
|
|||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
@media (max-width: 400px) {
|
||||
.uhr-controlpanel .content {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 401px) {
|
||||
.uhr-controlpanel .content {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 10em;
|
||||
top : 1em;
|
||||
border-radius: 0.5em;
|
||||
box-shadow: 0 0 1em black;
|
||||
}
|
||||
}
|
||||
.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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue