Add ignition-based screen sleep simulation
This commit is contained in:
@@ -268,3 +268,27 @@ nav button {
|
||||
font-size: 1rem;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
|
||||
.sleep-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: #000;
|
||||
color: #777;
|
||||
z-index: 10000;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.sleep-overlay.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sleep-overlay small {
|
||||
margin-top: 10px;
|
||||
font-size: 1rem;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user