111 lines
1.9 KiB
CSS
111 lines
1.9 KiB
CSS
|
|
body {
|
|
background-color: #F4F7F6;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
color: #333;
|
|
}
|
|
|
|
.clock-container {
|
|
background-color: #FFFFFF;
|
|
padding: 40px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
|
text-align: center;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 24px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#current-time {
|
|
font-size: 48px;
|
|
font-weight: 600;
|
|
margin-bottom: 20px;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
#status-message {
|
|
font-size: 16px;
|
|
color: #555;
|
|
margin-bottom: 30px;
|
|
min-height: 24px;
|
|
}
|
|
|
|
.btn {
|
|
border: none;
|
|
padding: 15px 30px;
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
width: 100%;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #4A90E2;
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #357ABD;
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: #D0021B;
|
|
color: white;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background-color: #A80115;
|
|
}
|
|
|
|
.btn:disabled {
|
|
background-color: #D8D8D8;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.toast {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
background-color: #333;
|
|
color: white;
|
|
padding: 15px 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
|
|
transform: translateY(-20px);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.toast.show {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.toast.success {
|
|
background-color: #50E3C2;
|
|
color: #333;
|
|
}
|
|
|
|
.toast.error {
|
|
background-color: #D0021B;
|
|
}
|