175 lines
4.6 KiB
Plaintext
175 lines
4.6 KiB
Plaintext
<rml>
|
|
<head>
|
|
<link type="text/rcss" href="../ui/theme.rcss"/>
|
|
<link type="text/rcss" href="../ui/components.rcss"/>
|
|
<title>Lock Screen</title>
|
|
<style>
|
|
.lock-screen {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #121212;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.lock-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.lock-time {
|
|
font-size: 72px;
|
|
font-weight: 200;
|
|
color: #FFFFFF;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.lock-date {
|
|
font-size: 18px;
|
|
color: #B3B3B3;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.lock-swipe {
|
|
position: absolute;
|
|
bottom: 100px;
|
|
left: 0;
|
|
right: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.lock-swipe-text {
|
|
font-size: 14px;
|
|
color: #666666;
|
|
}
|
|
|
|
.lock-swipe-icon {
|
|
font-size: 24px;
|
|
color: #666666;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.lock-shortcuts {
|
|
position: absolute;
|
|
bottom: 32px;
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0 32px;
|
|
}
|
|
|
|
.lock-shortcut {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 24px;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
color: #FFFFFF;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lock-shortcut:hover {
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.lock-notifications {
|
|
margin-top: 48px;
|
|
width: 100%;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.lock-notification {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
border-radius: 16px;
|
|
padding: 16px;
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.lock-notification-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
background-color: #2196F3;
|
|
margin-right: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.lock-notification-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.lock-notification-title {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.lock-notification-text {
|
|
font-size: 13px;
|
|
color: #B3B3B3;
|
|
margin-top: 2px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="lock-screen" onclick="navigateTo('home')">
|
|
<!-- Status Bar -->
|
|
<div class="status-bar">
|
|
<span class="status-bar-time">12:30</span>
|
|
<div class="status-bar-icons">
|
|
<span>*</span>
|
|
<span>+</span>
|
|
<span>|</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Main Content -->
|
|
<div class="lock-content">
|
|
<div class="lock-time">12:30</div>
|
|
<div class="lock-date">Wednesday, January 15</div>
|
|
|
|
<!-- Notifications -->
|
|
<div class="lock-notifications">
|
|
<div class="lock-notification">
|
|
<div class="lock-notification-icon">M</div>
|
|
<div class="lock-notification-content">
|
|
<div class="lock-notification-title">Messages</div>
|
|
<div class="lock-notification-text">John: Hey, are you coming to...</div>
|
|
</div>
|
|
</div>
|
|
<div class="lock-notification">
|
|
<div class="lock-notification-icon" style="background-color: #4CAF50;">P</div>
|
|
<div class="lock-notification-content">
|
|
<div class="lock-notification-title">Missed Call</div>
|
|
<div class="lock-notification-text">Mom - 10 minutes ago</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Swipe to unlock -->
|
|
<div class="lock-swipe">
|
|
<div class="lock-swipe-icon">^</div>
|
|
<div class="lock-swipe-text">Swipe up to unlock</div>
|
|
</div>
|
|
|
|
<!-- Shortcuts -->
|
|
<div class="lock-shortcuts">
|
|
<div class="lock-shortcut" onclick="navigateTo('dialer')">P</div>
|
|
<div class="lock-shortcut">C</div>
|
|
</div>
|
|
</body>
|
|
</rml>
|