Files
website/style/bucketlist.css
T
2026-09-23 17:21:50 +03:00

148 lines
3.0 KiB
CSS

/* lock screen */
.bl-lock {
width: 100%;
height: 100vh;
background: #000;
display: flex;
align-items: center;
justify-content: center;
}
.bl-lock-box {
text-align: center;
color: #F4F2F5;
}
.bl-lock-box h2 {
margin: 0 0 24px;
font-size: 1.6rem;
font-weight: 400;
letter-spacing: 2px;
}
.bl-lock-box input {
display: block;
width: 260px;
margin: 0 auto 12px;
padding: 10px 14px;
background: #1a1a1a;
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 6px;
color: #fff;
font-size: 0.95rem;
text-align: center;
outline: none;
transition: border-color 0.2s;
}
.bl-lock-box input:focus {
border-color: rgba(184, 68, 87, 0.5);
}
.bl-lock-box button {
width: 260px;
padding: 10px 0;
background: rgba(184, 68, 87, 0.8);
border: none;
border-radius: 6px;
color: #fff;
font-size: 0.9rem;
cursor: pointer;
transition: background 0.2s;
}
.bl-lock-box button:hover {
background: rgba(184, 68, 87, 1);
}
.bl-lock-box button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
#bl-err {
color: #e05555;
font-size: 0.78rem;
margin-top: 12px;
min-height: 1.2em;
}
/* lock section to viewport so body never scrolls */
#bucketlist.tab-content {
padding: 0;
height: 100vh;
overflow: hidden;
}
/* panel */
.bl-panel {
width: 420px;
height: calc(100vh - 210px);
margin: 125px 0 85px 48px;
background: rgba(35, 35, 41, 0.6);
border: 1px solid rgba(181, 177, 198, 0.18);
border-radius: 10px;
padding: 0;
color: #F4F2F5;
display: flex;
flex-direction: column;
overflow: hidden;
}
/* scrollable list */
.bl-list {
display: flex;
flex-direction: column;
gap: 8px;
overflow-y: auto;
flex: 1;
padding: 14px 16px;
}
/* item card */
.bl-item {
padding: 14px 18px;
background: rgba(35, 35, 41, 0.75);
border: 1px solid rgba(181, 177, 198, 0.08);
border-radius: 8px;
transition: border-color 0.2s, box-shadow 0.2s;
flex-shrink: 0;
}
.bl-item:hover {
border-color: rgba(184, 68, 87, 0.3);
box-shadow: 0 3px 16px rgba(184, 68, 87, 0.08);
}
/* done items */
.bl-item.bl-done { opacity: 0.5; }
.bl-item.bl-done .bl-title { text-decoration: line-through; }
.bl-item .bl-title {
color: #F4F2F5;
font-size: 0.95rem;
font-weight: 500;
margin-bottom: 2px;
}
.bl-item .bl-date {
color: rgba(244, 242, 245, 0.45);
font-size: 0.7rem;
margin-bottom: 6px;
}
.bl-item .bl-desc {
color: rgba(244, 242, 245, 0.55);
font-size: 0.78rem;
line-height: 1.5;
}
/* empty state */
.bl-empty {
text-align: center;
color: rgba(244, 242, 245, 0.3);
padding: 60px 0;
font-family: Arial, sans-serif;
font-size: 0.82rem;
}
/* mobile */
@media (max-width: 900px) {
.bl-panel {
width: auto;
height: calc(100vh - 84px);
margin: 68px 12px 16px;
}
.bl-lock-box input,
.bl-lock-box button { width: min(260px, 80vw); }
}